VM setup for Malware RE labs. Follow the steps below, celebrate at the correct times, and create issues on github if you face any problems.
- Vmware Workstation (you can get a trial license for 30 days)
- Virtualbox (free) Note: Use Virtualbox 5.2 or below. 6.0 will not support 32 bit VMs
- Hyper-V (pre-installed in some MSFT enterprise machines)
-
Download VM from here.
- Select Win7 with IE8, and the hypervisor you will be using.
-
Import this image into your hypervisor (Hyper-V, Virtualbox, VMWare, or whatever you're using).
- When creating the VM, use the Settings menu to increase the RAM to 2048
-
Once the VM is created, take a snapshot at this stage. Call it "Initial-Carrie".
-
Enable Shared Clipboard in VM settings. Or if you're using Hyper-V, use the "Clipboard" menu in the VM menu bar.
-
In an administrator powershell, run:
PS C:\Windows\system32> Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/bsoman3/Meeseeks/master/Carrie.ps1'))- This step may take a while to run. If it successful, you will see several new icons on the desktop and in the start menu.
- Play with some of your new tools-- run IDA from the start menu and click around its interface
- Open OllyDBG and drag any exe file into its window. What do you notice?
-
Take a snapshot at this stage. Call it "Clean".
-
Celebrate!! Sample jig for celebration
Note: This is optional, and will not be used in the workshop. Feel free to skip to the Data Transfer Section.
-
Download a REMnux image here.
-
Import the image into your hypervisor.
-
Take a snapshot at this stage. Call it "Initial-Sue"
-
Enable Shared Clipboard in VM settings.
-
In the terminal window, run
remnux@remnux:~$ wget https://raw.githubusercontent.com/bsoman3/Meeseeks/master/Sue.sh remnux@remnux:~$ sudo chmod +x Sue.sh remnux@remnux:~$ sudo ./Sue.sh -
Take a snapshot at this stage. Call it "Ready".
-
Celebrate!! Sample jig for celebration
-
If you have Virtualbox or VMware
- Go to Settings > Network and change the network adapter to "Host-only Adapter".
- Devices > Drag and Drop > Bidrectional
-
If you have Hyper-V
- Create a new Internal Virtual Switch.
- Connect both your virtual machines to that switch.
- Gotcha: Hyper-V doesn't allow bi-directional clipboard. In the menu bar on the VM window, there is a "Clipboard" option. You will be using that instead.
- Try transfering a file on to your VM from your host. This is critical.
(Steps 2-5 are optional, and needed only if you set up the sniffer VM)
-
Ping from Carrie to Sue.
PS C:\Users\IEUser> ping 192.168.12.1 -
Ping from Sue to Carrie.
remnux@remnux:~$ ping 192.168.12.2 -
Start inetsim on Sue by
remnux@remnux:~$ inetsim -
Open Google chrome on Carrie and type
192.168.12.1in the address bar. You should see the the default html page for Inetsim
- Celebration is a really important part of learning. Here is another classy dance song in case you need ideas.