Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
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
Practical Memory Forensics

You're reading from   Practical Memory Forensics Jumpstart effective forensic analysis of volatile memory

Arrow left icon
Product type Paperback
Published in Mar 2022
Publisher Packt
ISBN-13 9781801070331
Length 304 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Authors (2):
Arrow left icon
Oleg Skulkin Oleg Skulkin
Author Profile Icon Oleg Skulkin
Oleg Skulkin
Svetlana Ostrovskaya Svetlana Ostrovskaya
Author Profile Icon Svetlana Ostrovskaya
Svetlana Ostrovskaya
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. Section 1: Basics of Memory Forensics
2. Chapter 1: Why Memory Forensics? FREE CHAPTER 3. Chapter 2: Acquisition Process 4. Section 2: Windows Forensic Analysis
5. Chapter 3: Windows Memory Acquisition 6. Chapter 4: Reconstructing User Activity with Windows Memory Forensics 7. Chapter 5: Malware Detection and Analysis with Windows Memory Forensics 8. Chapter 6: Alternative Sources of Volatile Memory 9. Section 3: Linux Forensic Analysis
10. Chapter 7: Linux Memory Acquisition 11. Chapter 8: User Activity Reconstruction 12. Chapter 9: Malicious Activity Detection 13. Section 4: macOS Forensic Analysis
14. Chapter 10: MacOS Memory Acquisition 15. Chapter 11: Malware Detection and Analysis with macOS Memory Forensics 16. Other Books You May Enjoy

Examining kernel objects

To begin with, rootkits are loaded kernel modules. Accordingly, we need methods to detect loaded modules. For this case, Volatility has a couple of nice plugins: linux_lsmod, which enumerates kernel modules, and linux_hidden_modules, which carves memory to find hidden kernel modules.

The first plugin enumerates kernel modules by walking the global list stored within the modules variable. The output looks as follows:

Figure 9.38 – List of loaded kernel modules

Here, we can see the names of the loaded modules and their size. Note that if you used tools that require the kernel module to be loaded when dumping, the loaded module will also be on this list. For example, in our case, in the first line, you can see the lime module.

The linux_hidden_modules plugin scans memory for instances of a module structure and then compares the results with the list of modules reported by linux_lsmod. It looks like this:

...
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 $19.99/month. Cancel anytime