You can down load the appliance from SourceForge here: http://sfi.re/xTH1nH
The virtual appliance is based on FreeBSD 9.0 (i386) and requires 4GB of RAM on your host and 20-30GB of hard disk space. We build the VM in VMWare ESXi, but it should run on any hypervisor that can import an Open Virtualization Format archive (OVA) virtual machine; in this guide I will be using VirtualBox.
The appliance ships with the following components:
- Razorback Dispatcher
- Razorback Master Nugget
- Archive Inflate Nugget
- ClamAV Nugget
- File Log Nugget (disabled by default, test/sample nugget)
- Flash Inspector Nugget
- OfficeCat Nugget - More info: http://sfi.re/yYHpRs
- PDF Dissector Nugget (disabled by default requires aditional installation steps)
- PDF Fox (disabled by default, beta release)
- Script Nugget
- Syslog Output Nugget
- Virus Total Nugget (disabled by default, requires API key).
- Yara Nugget - More info: http://sfi.re/zkPxcl
- Razorback Web Interface
- File Inject
- File System Walk
- Snort 220.127.116.11 with Razorback Collection
- Systems Management Web Interface (Based on FreeNAS interface)
- MySQL Server
- Memcached Server
- ActiveMQ Server
Importing the appliance
Select the following menu option based on your hypervisor:
- VMWare Workstation - File->Open
- VMWare vCenter (ESXi) - File->Deploy OVF Template
- VirtualBox - File->Import Appliance
Select the OVA file that you have downloaded and follow the prompts to deploy the machine; if you are asked if you would like to reset the VM's network cards' MAC addresses at any point you should select yes (or tick the box in the case of VirtualBox).
After you have installed the appliance you can start it up and you should be presented with a screen like this:
If you see a bunch of output related to masterNugget or dispatcher then you may just hit return and the menu should present its self.
Now we need to set up a username and password to access the system, open your browser and enter the address for the management web interface (in this case http://10.7.1.56:8080). You should be presented with the following screen:
Now click the large account button in the top right, and select change password from the tabs in the window that opens:
Enter your new password and confirmation leaving old password blank. Make sure that "Change root password as well" is selected and click the "Change Admin Password" button. Now the Alert button in the top right should be solid green rather than flashing red.
Next we need to configure the network interface of the VM. Expand the network item in the tree on the left, and then the Interfaces sub item and select "Add Interface":
Configure the interface to fit your environment (I'm using DHCP in the example) and click ok. If you are moving to a static IP configuration you will need to go the the "Global Configuration" item under network and set your default gateway and name servers.
Now we need to add a user to the system to allow access to the Razorback web interface, to do this expand the Account item in the tree on the left, and then the Users item and select "Add User":
In this example we are adding a user that can only access the web interface so we select the following options:
- Primary Group - nogroup
- Home Directory - /nonexistent
- Shell - nologin
Now you should reboot the appliance to make sure that the network configuration changes took. Select "Reboot" from the menu.
Once the machine has rebooted you should be able to log into the razorback web interface by browsing to the URL listed on the boot menu (in this case, http://10.7.1.56/).
You should be presented with a screen like so:
Changing active inspection nuggets:
Log into the system web interface with the admin user (whose password we set earlier). Expand the Razorback element in the tree and select "Control Nuggets".
To change the configuration items for a nugget click the spanner icon next to the on/off switch.
To turn a nugget on or off just click on the on/off button, your changes should be reflected on the razorback interface under nugget status.
Enabling Snort for traffic capture:
To do this we need to add a capture interface to the appliance, making sure that you enable promiscuous mode for the interface.
You will need to make the following changes based on your hypervisor:
- VMWare ESXi - Change the configuration of the vSwitch and the port to allow promiscuous mode for the interface.
- VMWare Workstation - Follow this guide to enable promiscuous for a guest: http://sfi.re/whE6dR
- VirtualBox - Select "Allow All" under Advanced->Promiscuous Mode as shown above.
After you have added the interface, start the virtual machine and log into the admin interface. Expand the Services item in the navigation tree and select "Control Services", then click on the on/off switch next to Snort to enable the service:
The appliance also supports inline traffic capture, follow these steps to enable it:
- Add a third interface to the appliance connected to your second virtual network.
- Select shell from the system console.
- Editing /etc/rc.conf:
- Comment out the lines starting ifconfig_em1 and snort_interface under the heading "TAP/Span interface on em1".
- Un-comment the lines under "Inline configuration em1+em2".
- Reboot the appliance.
More information about the appliance can be found here: http://sfi.re/ws6diq