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

A word on obfuscation and de-obfuscation tools

There are several tools that are useful for both obfuscating and de-obfuscating malicious scripts. We'll touch on several of these, and also their de-obfuscation counterparts.

Invoke-Obfuscation and PSDecode

Invoke-Obfuscation is a powerful tool written by an ex-Mandiant red-team employee. It can take existing PowerShell scripts that have not been obfuscated in any way, and fully obfuscate them to evade endpoint detection and response (EDR) detection and make analysis more difficult for analysts. If you'd like to practice creating obfuscated scripts, the tool can be downloaded from https://github.com/danielbohannon/Invoke-Obfuscation. You can see the tool in action in the following screenshot:

Figure 8.20 – The splash screen and options for Invoke-Obfuscation

Figure 8.20 – The splash screen and options for Invoke-Obfuscation

The blue-team counterpoint to Invoke-Obfuscation is PSDecode, which attempts to go through line by line to de-obfuscate and reverse...

lock icon The rest of the chapter is locked
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 €18.99/month. Cancel anytime