Friday, February 22, 2019

Virtualbox 6.x Ubuntu 18 and Auto Resize Guest Display

Hello,
I use Ubuntu in a VirtualBox machine as my primary web browser. My host OS is Windows 10. (I should probably swap this around, but whatever) After my 1803 update, virtual box crashed pretty frequently. At the time I was on one of the 5.x versions because it was stable. After the update and even 5.x being unstable, I went to 6.x
And by unstable, I mean the VMs refusing to load, getting error messages to reinstall virtual box, and even then then wouldn't load. Even new VMs would fail to load after installing Ubuntu.

So, I got 6.x working semi ok. I would get memory crashes of the VM, but I was able to restart. (Instruction at 0x... reference memory at 0x...) However, the video driver was being a pain. It wouldn't auto resize, and installing software would crash the display, reverting to 800x600.

To fix this, I tried more and less cpu cores, increased and decreased video memory, enabled and disabled 3d acceleration. None of this worked by the way.

I changed the graphics controller to VboxVGA and auto resizing was fixed.
And so far, it hasn't has a memory crash for the past hour, I will update if that comes back.

Tuesday, February 12, 2019

Group policy is not applying even though it says it is applying

I map my drives via a group policy. That group policy maps different drives to different user groups via item level targeting. The drives are mapped via Update (vs Create/Replace/etc)
I had one user that was not mapping drives.
Checking on the DC, it listed the group policies that applied, including the one I needed.
gpresult /r also showed the policy was applying, even though the shared drives were not there.

I logged in as another user, and the new user mapped their drives.

Original user did not.

What I did to fix this:

netsh winsock reset

(this was done logged in as the user)

Dumb, right?
Well, it worked in my situation.

Domain level 2012
Computer Windows 10 1803
Group policy with item level targeting.

Saturday, February 9, 2019

accessing Plex server from another computer on the network

I've been running Plex for a while now, the computer running it is not in a convenient place to get a keyboard and monitor hooked up, but I found out I can access the server by https://(serverIP):32400/web
This is probably super dumb, but it makes it easier to scan for new media.

Plex is offline or unreachable with Tomato and Plex

I was getting the old "Plex is offline or unreachable" message on my Vizio TVs, iPhone would oddly play any movie, but the home page would not load. Roku would not play anything.
I had recently loaded Tomato 1.28.0000 -3.5-140 k26ARM USB AIO-64k. Plex was working fine before the firmware flash.

After doing some digging, I went through forums of port forwarding, enabling UPnP and NAT-PMP, all with no help.

What ended up fixing the issue was a setting called Prevent DNS-rebind attacks, I took the checkmark out and I was able to use Plex on all my devices.

Advanced Settings>DHCP/DNS>Prevent DNS-rebind attacks

Thursday, February 7, 2019

Openvas on ubuntu 18

I only needed to use Openvas, so I thought I'd do it on Ubuntu. I didn't need the other tools, and since this was going to be a VM in my environment, I didn't want all those tools floating around.
I found this cool article:
https://www.techrepublic.com/article/how-to-install-the-openvas-vulnerability-scanner-on-ubuntu-16-04/
It didn't work, so I did these things:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install PostgreSQL
sudo apt-get install openvas
sudo openvas-setup
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get redis
sudo service redis start
sudo openvas-start

fuck it, none of this worked.
I just loaded Kali.

Getting RTL8812au passed to Virtualbox VM (Ubuntu)

There are no guarantees, I just write these notes so I can come back to them. First, get the dongle working on the host OS. After going thro...