Import Vulnerable Machine
Now that we have OPNsense installed and setup it is time to import a vulnerable machine from vulnhub. I will be using DC 1 from DCAU as it is a beginner machine.
First download the machine:
Once downloaded open a terminal and extract the DC-1.zip with unzip DC-1.zip
You should now have a DC-1 folder with a DC-1.ova file. We will import this into virtualbox.
Importing DC-1
In VirtualBox Manager click File > Import Appliance...

Click the Folder icon to the right of File and select the DC-1.ova file in the Downloads directory.


Once DC-1 is imported we need to make a change in the network secton.
Click Network under Audio:

And Change "Attached to:" to Internal Network. Then Change Name: to Cyber-Isolated.

Click OK and start the machine.
Once the machine is booted up we can check for an IP address one of two ways.
First Method:
In Kali we can do a No port scan with nmap. Simply open a terminal and type
nmap -sn 10.6.6.1/24
This will scan our entire isolated network for live host.

We now know that DC-1 IP address is 10.6.6.11 and we can start hacking this machine.
Second Method:
In OPNsense Click Services > DHCPv4 > Leases. Here we can also see DC-1 at 10.6.6.11.

To learn how to exploit this machine check out my write up!
This concludes Setting up OPNsense in VirtualBox. Enjoy your hacking journey!
Last updated
Was this helpful?