Mastering Python Forensics

Master the art of digital forensics and analysis with Python

Mastering Python Forensics

Dr. Michael Spreitzenbarth, Dr. Johann Uhrmann

1 customer reviews
Master the art of digital forensics and analysis with Python
Mapt Subscription
FREE
€29.98/m after trial
eBook
€24.36
RRP €34.78
Save 29%
Print + eBook
€35.99
RRP €35.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
€0.00
€24.36
€35.99
€29.98p/m after trial
RRP €34.78
RRP €35.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781783988044
Paperback192 pages

Book Description

Digital forensic analysis is the process of examining and extracting data digitally and examining it. Python has the combination of power, expressiveness, and ease of use that makes it an essential complementary tool to the traditional, off-the-shelf digital forensic tools.

This book will teach you how to perform forensic analysis and investigations by exploring the capabilities of various Python libraries.

The book starts by explaining the building blocks of the Python programming language, especially ctypes in-depth, along with how to automate typical tasks in file system analysis, common correlation tasks to discover anomalies, as well as templates for investigations. Next, we’ll show you cryptographic algorithms that can be used during forensic investigations to check for known files or to compare suspicious files with online services such as VirusTotal or Mobile-Sandbox.

Moving on, you’ll learn how to sniff on the network, generate and analyze network flows, and perform log correlation with the help of Python scripts and tools. You’ll get to know about the concepts of virtualization and how virtualization influences IT forensics, and you’ll discover how to perform forensic analysis of a jailbroken/rooted mobile device that is based on iOS or Android.

Finally, the book teaches you how to analyze volatile memory and search for known malware samples based on YARA rules.

Table of Contents

Chapter 1: Setting Up the Lab and Introduction to Python ctypes
Setting up the Lab
Introduction to Python ctypes
Summary
Chapter 2: Forensic Algorithms
Algorithms
Supporting the chain of custody
Real-world scenarios
Summary
Chapter 3: Using Python for Windows and Linux Forensics
Analyzing the Windows Event Log
Analyzing the Windows Registry
Implementing Linux specific checks
Summary
Chapter 4: Using Python for Network Forensics
Using Dshell during an investigation
Using Scapy during an investigation
Summary
Chapter 5: Using Python for Virtualization Forensics
Considering virtualization as a new attack surface
Searching for misuse of virtual resources
Using virtualization as a source of evidence
Summary
Chapter 6: Using Python for Mobile Forensics
The investigative model for smartphones
Android
Apple iOS
Summary
Chapter 7: Using Python for Memory Forensics
Understanding Volatility basics
Using Volatility on Android
Using Volatility on Linux
Summary
Where to go from here

What You Will Learn

  • Explore the forensic analysis of different platforms such as Windows, Android, and vSphere
  • Semi-automatically reconstruct major parts of the system activity and time-line
  • Leverage Python ctypes for protocol decoding
  • Examine artifacts from mobile, Skype, and browsers
  • Discover how to utilize Python to improve the focus of your analysis
  • Investigate in volatile memory with the help of volatility on the Android and Linux platforms

Authors

Table of Contents

Chapter 1: Setting Up the Lab and Introduction to Python ctypes
Setting up the Lab
Introduction to Python ctypes
Summary
Chapter 2: Forensic Algorithms
Algorithms
Supporting the chain of custody
Real-world scenarios
Summary
Chapter 3: Using Python for Windows and Linux Forensics
Analyzing the Windows Event Log
Analyzing the Windows Registry
Implementing Linux specific checks
Summary
Chapter 4: Using Python for Network Forensics
Using Dshell during an investigation
Using Scapy during an investigation
Summary
Chapter 5: Using Python for Virtualization Forensics
Considering virtualization as a new attack surface
Searching for misuse of virtual resources
Using virtualization as a source of evidence
Summary
Chapter 6: Using Python for Mobile Forensics
The investigative model for smartphones
Android
Apple iOS
Summary
Chapter 7: Using Python for Memory Forensics
Understanding Volatility basics
Using Volatility on Android
Using Volatility on Linux
Summary
Where to go from here

Book Details

ISBN 139781783988044
Paperback192 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Python Network Programming Cookbook Book Cover
Python Network Programming Cookbook
€ 23.98
€ 16.80
Python Machine Learning Book Cover
Python Machine Learning
€ 39.58
€ 27.72
Mastering Object-oriented Python Book Cover
Mastering Object-oriented Python
€ 23.98
€ 16.80
Python Web Penetration Testing Cookbook Book Cover
Python Web Penetration Testing Cookbook
€ 35.98
€ 25.20
Python Network Programming Cookbook Book Cover
Python Network Programming Cookbook
€ 23.98
€ 16.80
Learning Linux Binary Analysis Book Cover
Learning Linux Binary Analysis
€ 39.58
€ 27.72