For this exercise you will need the malware archive.
You will also need a Linux environment with Cuckoo sandbox installed and a running Windows VM. One can be downloaded from here.
You will need to have Linux VM (we have tested with Ubuntu 20.04) and then install the Cuckoo sandbox on top of it. You can access Cuckoo sandbox from a browser, and to limit the impact of the malware analysis process please do so from the same VM (i.e. install a graphical server and a browser on the Linux VM).
$startx (to start the graphical interface)
After the installation you need to power on the cuckoo sandbox system using the following commands. To verify that cuckoo sandboxing is running open the hxxp://127.0.0.1:8000 into a browser.
$cuckoo web runserver $cuckoo -d (!!! do not run as sudo)
Next, inside your Linux VM one needs to run a second VM with Windows. This one is used by the Cuckoo framework to do the automatic malware analysis. Follow the tutorials available and make sure that the Windows VM is available. In the case of misconfigured guest VM (i.e., the Windows 7 VirtualBox VM), you can reset it to the initial configuration. 1
VBoxManage snapshot "win7cuckoo" take "original" --pause
VBoxManage controlvm "win7cuckoo" poweroff
VBoxManage snapshot "win7cuckoo" restorecurrent
All this setup is already done in the following VM https://drive.google.com/file/d/14-7DqZ1jNKuqxr73Wk8TcTylRl7tNKNk/view?usp=sharing
To start the malware investigation, submit the received files using the dashboard and select Analyze from the “Configure your Analysis” page. Please configure a 500 seconds Timeout to allow enough time for execution and make sure that the package type is “exe” from the left-side panel for a proper lunch.
After the report has been generated, you should be able to answer the following questions.
All the monitored actions are stored by Cuckoo in the “.cuckoo” configuration folder under the storage directory.
Cuckoo sandbox has a lot of extra tools that it can use for deeper analysis, including snort IDS, IDA for binary or Yara for signature matching. The Yara rules can be run against the binary itself, against the memory dump or accessed URLs. In this exercise we are going to use the Yara rules available on the following github repository. Just copy them in the yara configuration directory and re-run the analysis.
Redo the analysis using the https://any.run/ platform.