layout |
---|
default |
This isn't a full walkthrough, it's meant to be a quick and dirty quick-start.
If you already have ROCK installed and just need to understand getting test data in, skip to the end.
Do this to get started.
- Download the latest ROCK ISO
- Download a hypervisor (I'll walk through VMWare Fusion and VirtualBox, but there are many options)
- VMWare Fusion (paid) or VirtualBox (free)
Select the right hypervisor you're using.
If you're using VirtualBox, go to those instructions
- Install VMWare Fusion
- Create a New virtual Machine
- Select Install from disc or image
- Select the ROCK ISO you downloaded
- Select Legacy BIOS or UEFI (it doesn't really matter for this)
- Click "Customize Settings"
- Click on "Processors & Memory", set 4 processor cores and
12288
MB - Click on "Add Device", add another Network Adapter
- Click on "Hard Disk", move it to
50.00
GB or more - Move onto deploying ROCK
If you're using VMWare Fusion, go to those instructions
- Install VirtualBox
- Create a New Virtual Machine, Type: "Linux", Version: "Red Hat (64-bit)"
- Memory size:
12288
- Accept the defaults for Hard disk, make the size
50.00
Gb or more - Select the new VM, click on "Settings"
- In Processor, change to
4
- In Storage, click on the "CD" icon, then on the "CD" icon next to "Optical Drive", "Choose a disk file..." and select the ROCK ISO you downloaded
- In Network, click on Adapter 1, click on Port Forwarding
- Add one for HTTPS, Host IP:
127.0.0.1
, Host Port:4443
, Guest IP:10.0.2.15
, Guest Port:443
- Add one for SSH, Host IP:
127.0.0.1
, Host Port:2222
, Guest IP:10.0.2.15
, Guest Port:22
- In Network, click on Adapter 2, enable it, and set it to "Internal Network"
- Move onto deploying ROCK
Now that we've prepped the hypervisors, let's install ROCK.
- Start the VM
- Select "Automated install of ROCK x.x.x-xxxx"
- Click on "USER CREATION", make sure you check the "Make this user administrator" box
- Type
c
to continue - Log in and type
sudo rock setup
to launch the Text User Interface (TUI) - Navigate through the menu items, generally speaking, you can just use the defaults for the Interfaces, setting Management IP, Online or Offline, enable all components
- Write Config
- Run Installer - this takes about 10 minutes
Finally, let's get data into ROCK.
Download some malicious pcap. I like to use Malware Traffic Analysis Example:
curl -OL [malware file.pcap.zip]
unzip [file.pcap.zip] (password: infected)
sudo tcpreplay -t -i [monitor interface] [file.pcap]
Note: the -t
flag in tcpreplay
will fire the traffic all at once and may overrun you network socket buffer and cause you to drop traffic. Remove the -t
flag if you have this issue, but tcpreplay
will run for as long as it took the pcap to be captured - so a 2 hour pcap will take 2 hours to replay.
In the home directory of the user you created during the installation, there is a file called KIBANA_CREDENTIALS.txt
. In there you'll find your username and passphrase.
Browse to https://ROCK_IP_ADDRESS
and use the Kibana credentials to log in.
Pop over to the blog for pcap examples in ROCK.
If you run into issues, feel free to check out the ROCK documentation, the ROCK community page, or the ROCK Github page.