Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Malware Analysis Techniques

You're reading from   Malware Analysis Techniques Tricks for the triage of adversarial software

Arrow left icon
Product type Paperback
Published in Jun 2021
Publisher Packt
ISBN-13 9781839212277
Length 282 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Dylan Barker Dylan Barker
Author Profile Icon Dylan Barker
Dylan Barker
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. Section 1: Basic Techniques
2. Chapter 1: Creating and Maintaining your Detonation Environment FREE CHAPTER 3. Chapter 2: Static Analysis – Techniques and Tooling 4. Chapter 3: Dynamic Analysis – Techniques and Tooling 5. Chapter 4: A Word on Automated Sandboxing 6. Section 2: Debugging and Anti-Analysis – Going Deep
7. Chapter 5: Advanced Static Analysis – Out of the White Noise 8. Chapter 6: Advanced Dynamic Analysis – Looking at Explosions 9. Chapter 7: Advanced Dynamic Analysis Part 2 – Refusing to Take the Blue Pill 10. Chapter 8: De-Obfuscating Malicious Scripts: Putting the Toothpaste Back in the Tube 11. Section 3: Reporting and Weaponizing Your Findings
12. Chapter 9: The Reverse Card: Weaponizing IOCs and OSINT for Defense 13. Chapter 10: Malicious Functionality: Mapping Your Sample to MITRE ATT&CK 14. Section 4: Challenge Solutions
15. Chapter 11: Challenge Solutions 16. Other Books You May Enjoy

Installing the FLARE VM package

Before the critical step of isolating our VM from the outside world can be undertaken, tools that require the internet to be downloaded must first be loaded on the VM. Our brand-new VM would be largely useless to us without the requisite tools utilized by malware analysts to glean information, of which there are a multitude.

Thankfully, the folks at FireEye have created a wonderful installation package called FLARE VM, a PowerShell script that can automatically download and install nearly every tool a malware analyst would need. The script is publicly available on GitHub at the following address: https://github.com/fireeye/flare-vm. This script will save a great deal of tedium and allow us to instantly install the necessary tooling:

Figure 1.15 – Downloading the FLARE VM package from GitHub

Figure 1.15 – Downloading the FLARE VM package from GitHub

Once you have downloaded the ZIP file containing the repository for FLARE VM, right-click the ZIP archive and extract it. Once extracted, you'll be presented with a directory containing several files, including a .ps1 script. From here, we can begin the tooling installation process.

To begin the tooling installation process, it is first necessary that we obtain an administrative console in PowerShell. To do so, we can utilize WinKey + X, which presents the option to open a Windows PowerShell prompt as an administrator:

Figure 1.16 – Administrative PowerShell option in the Start menu

Figure 1.16 – Administrative PowerShell option in the Start menu

Once the administrative shell has been obtained, starting the installation is a matter of two commands issued in a single line:

cd C:\Users\$Your_Username\Downloads\flare-vm-master\flare-vm-master; powershell.exe -ExecutionPolicy Bypass -File .\Install.ps1

With these commands issued, FLARE's Chocolatey-based installer will take over and prompt for credentials stored as secure strings. Once these credentials are entered, the installation will proceed, rebooting the VM several times, and logging in automatically following each reboot. No further action is required on our part during the installation:

Figure 1.17 – FLARE's install.ps1 prompting for credentials

Figure 1.17 – FLARE's install.ps1 prompting for credentials

Analysis tip

FLARE installs a lot of tools. It may take quite a while to install, depending on the speed of your internet connection. It would be wise to utilize this time to make a sandwich, relax, or catch up on your favorite TV show.

Once the entire process has been completed, you'll be presented with the following desktop:

Figure 1.18 – The FLARE VM desktop

Figure 1.18 – The FLARE VM desktop

Several changes are apparent here. First, we have a FLARE folder, which is chock full of great malware analysis and dissection tools.

Additionally, you have the official FLARE VM wallpaper. Our malware analysis workstation is now set up and very nearly ready to go!

You have been reading a chapter from
Malware Analysis Techniques
Published in: Jun 2021
Publisher: Packt
ISBN-13: 9781839212277
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime