Threat Hunt Class FAQ 2022-10
Threat Hunt Class FAQ 2022-10
The webcast starts at 10:30am eastern time (14:30 UTC, 07:30 Pacific) on Tuesday
October 4th, 2022:
10:30 eastern/14:30 UTC: Setup questions and Pre-show banter
11:00 eastern/15:00 UTC: start of class
17:00 eastern/21:00 UTC: approximate end of class.
Links
Labs
Download
Option 1 - full virtual machine
Option 2 - install tools on existing Centos/Ubuntu system
Option 3 - Run the entire thing on a Cloud instance
Using
Keyboard layout
VMware
KVM
Mac
Other virtualization tools
Cloud
Errors
Datamash
Links
Join us in the #live-webcast-chat channel on Discord for chat during the training:
https://discord.gg/threathunter/
Questions related to the material: #live-webcast-chat
General chat about the webcast: #live-webcast-chat
Course material and FAQ download: #acm-webcast-content
Problems (audio/video): #feedback
Demo/more information requests: #acm-general
Labs
The labs are distributed as a virtual machine for vmware. Please download it well in
advance of the webcast, install them, and test that you can successfully log in.
To run more than one command at once, you can switch between consoles with
ctrl-alt-f2 , ctrl-alt-f3, etc if you're typing a Windows or Linux system, or fn-option-f2, fn-option-f3
on a Mac.
Don't worry if you don't have network access once you load the VM. All labs will be done
within the VM itself. We have some cool pcaps and Zeek files to play with. There is no GUI.
We're going commando line on this one!
Download
You need one of the following; either download a full virtual machine or the script that will
try to install the tools.
sha256sum thunt-1-day-v2-vmware.zip
Which should return:
DB2287FACE7DD9C2EE2417C5151EA60F9FC9CEB61A246D81170607CF6BB57B34
, or:
sha256sum thunt-1-day-v2-vbox.zip
which should return:
CF3072EF905C7F3A3BF036A228B4598A19E845668713B04AB40469C47D12E6CD
To confirm a checksum on windows, get in to Powershell and run (example)
get-filehash -alg SHA256 .\thunt-1-day-v2-vmware.zip
which should return the right checksum for your downloaded file (see above).
If you're on Mac OS and cannot unzip a file with unzip, the zip file cannot be opened by
unzip supplied with Mac OS. To open, create a lab directory and use "ditto" (included with Mac
OS) to open:
mkdir thuntclass
cd thuntclass
ditto -x -k /path/to/thunt-1-day-v2-vmware.zip ./
Now that you have the image downloaded, import the image into your virtual machine
software (vmware).
In VMware, please find the menu option to import a virtual machine and point it at your
opened directory.
Here are some alternate steps for VMWare Fusion (courtesy of Dante Smith!). Your
steps may vary;
1) You've already opened the zip file.
2) Go to VMWare
3) Click on New -> Create a custom VM
4) Under Custom VM, select Ubuntu 64-bit
5) Select Legacy Bios
6) Under Virtual Disk, select "Use an existing Virtual DIsk" and select "Choose Virtual Disk".
7) In the dropdown menu choose the directory that contains thunt-1-day-v2-vmware.vmx .
8) Select the thunt-1-day-v2-vmware.vmdk file and select choose. Step through the remaining
defaults and enter the login information provided.
Name: thunt-1-day-v2-vbox.zip
Size: 2551355632 bytes (2433 MiB)
CRC32: 1BADA356
CRC64: 8BE02D1A6874C80C
SHA1: A85937BA27B743B71F0C4E01C9085A961A606230
SHA256: CF3072EF905C7F3A3BF036A228B4598A19E845668713B04AB40469C47D12E6CD
Name: thunt-1-day-v2-vmware.zip
Size: 2545104167 bytes (2427 MiB)
CRC32: 22DC703D
CRC64: F1518AC0B37DE654
SHA1: 9A1476084F1C778904E0FA7525584904D99DF0D7
SHA256:
DB2287FACE7DD9C2EE2417C5151EA60F9FC9CEB61A246D81170607CF6BB57B34
Name: install-tools.v0.3.4.sh
Size: 10958 bytes (10 KiB)
CRC32: C8DC8F18
CRC64: B18E6E4ADECBA9A1
SHA1: 8A1978D32E7E05756F0EE91CA5388B029032924D
SHA256:
7926BA51500D7EDB1BC3451F397B56D4CE558E72D0D7248E6CB9AE70E46E0FA1
Using
If your virtual machine hangs with one or more "uninitialized urandom read" messages
on the console and never gives you a login prompt, try pressing lots and lots of keys randomly.
Seriously. The kernel is looking for random input to serve different services that need a random
number to start correctly; pressing keys over and over should give it that information.
(unconfirmed fix)
Login details:
Login: thunt
Pass: aybab2u
Data files are in /home/thunt/lab* . Verify that you can see the lab files:
thunt@thunt-one-day:~$ pwd
/home/thunt
thunt@thunt-one-day:~$ ls -Al lab[123]/
lab1/:
-rw-r--r-- 1 thunt thunt 1769129 Feb 17 12:25 conn.log
-rw-r--r-- 1 thunt thunt 48722 Feb 17 12:25 dhcp.log
-rw-r--r-- 1 thunt thunt 1529159 Feb 17 12:25 dns.log
-rw-r--r-- 1 thunt thunt 169343 Feb 17 12:25 files.log
-rw-r--r-- 1 thunt thunt 1444115 Feb 17 12:25 http.log
-rw-r--r-- 1 thunt thunt 819 Feb 17 12:25 ntp.log
-rw-r--r-- 1 thunt thunt 254 Feb 17 12:25 packet_filter.log
-rw-r--r-- 1 thunt thunt 109204 Feb 17 12:25 ssl.log
-rwxr-xr-x 1 thunt thunt 85294077 Jun 10 2020 trace1.pcap
-rw-r--r-- 1 thunt thunt 15630 Feb 17 12:25 weird.log
-rw-r--r-- 1 thunt thunt 235138 Feb 17 12:25 x509.log
lab2/:
-rw-r--r-- 1 thunt thunt 1281 Jan 22 11:01 conn.log
-rw-r--r-- 1 thunt thunt 453834 Jan 22 11:01 dns.log
-rw-r--r-- 1 thunt thunt 253 Jan 22 11:01 packet_filter.log
-rw-r--r-- 1 thunt thunt 470 Jan 22 11:01 weird.log
lab3/:
-rw-r--r-- 1 thunt thunt 1294975 Feb 18 04:09 conn.log
-rw-r--r-- 1 thunt thunt 48738 Feb 18 04:09 dhcp.log
-rw-r--r-- 1 thunt thunt 1463736 Feb 18 04:09 dns.log
-rw-r--r-- 1 thunt thunt 176430 Feb 18 04:09 files.log
-rw-r--r-- 1 thunt thunt 26802 Feb 18 04:09 http.log
-rw-r--r-- 1 thunt thunt 254 Feb 18 04:09 packet_filter.log
-rw-r--r-- 1 thunt thunt 125354 Feb 18 04:09 ssl.log
-rw-r--r-- 1 thunt thunt 323949399 Feb 17 12:17 trace3.pcap
-rw-r--r-- 1 thunt thunt 15621 Feb 18 04:09 weird.log
-rw-r--r-- 1 thunt thunt 266437 Feb 18 04:09 x509.log
All of the labs will be performed from the command line, so if you can see the files you
are set to go!
Keyboard layout
If you need a keyboard layout other than English/US, run:
sudo dpkg-reconfigure keyboard-configuration
VMware
If you do not have VMWare installed, see
https://www.vmware.com/products/workstation-player.html for details about VMWare Player.
If you are running an older version of VMWare (like 14), you may get a version error
when you try to load the VMWare VM. Try this quick hack:
1) Open "thunt-1-day-v2-vmware.vmx" with Notepad or a similar text editor
2) Search for the line: virtualHW.version = "16" (should be towards the top)
3) Change this line to read = virtualHW.version = "14"
4) Save your changes
5) Launch the VM
KVM
If you'd like to use KVM, please see
https://jensoroger.wordpress.com/2021/02/22/attending-cyber-threat-hunting-level-1-w-chris-bre
nton-4-hours-and-want-to-run-the-vm-in-qemu-kvm-this-is-how-i-got-it-to-work-activecmeasures-
activecountermeasures-aihunter-threathunting-bea/ . (We've not reviewed this)
Mac
A good approach would be to 1) Install Virtualbox, 2) Create an Ubuntu 18.04 virtual
machine from the Ubuntu 18.04 ISO file ( download from
https://releases.ubuntu.com/18.04.5/ubuntu-18.04.5-live-server-amd64.iso ), and use the
install-tools script (above) to install the needed tools and sample data files.
Cloud
If none of the above approaches work for you, you can always create a cloud server at
any provider you like. Pick Ubuntu 18.04 LTS, 64 bit, 5 or more GB of memory, 10 or more GB
of disk, and any number of processors. Once it comes up, log in, download the install-tools
script (see above), and run it to install the needed tools and sample data files.
We have step-by-step instructions for DigitalOcean in the #acm-webcast-content
channel on Discord.
Errors
Datamash
If you get "invalid numeric value in line 1 field #" using datamash it's due to the language
specific decimal separator. To fix this execute "export LC_NUMERIC=en_US.UTF-8" before
using datamash. (Thanks Bytewolf!)
Followup
Within a few weeks we'll have a recording of the class at
https://www.activecountermeasures.com/cyber-threat-hunting-training-course/ . Within a day or
two we'll also email you a certificate for the class.