Clone of https://github.com/rmusser01/Infosec_Reference . For those who would prefer to not be tracked by MS.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

36 KiB

Forensics & Incident Response

Table of Contents

Sort

End Sort


Sniper Forensics

http://windowsir.blogspot.com/2013/11/sniper-forensics-memory-analysis-and.html


General


Writeups


Hacking Exposed - Automating DFIR Series

Tools

  • MIG: Mozilla InvestiGator
    • Mozilla's real-time digital forensics and investigation platform.
  • SSDeep
    • ssdeep is a program for computing context triggered piecewise hashes (CTPH). Also called fuzzy hashes, CTPH can match inputs that have homologies. Such inputs have sequences of identical bytes in the same order, although bytes in between these sequences may be different in both content and length.
  • binwally
    • Binary and Directory tree comparison tool using the Fuzzy Hashing concept (ssdeep)
  • PDF Tools - Didier Stevens
  • Xmount
    • What is xmount? xmount allows you to convert on-the-fly between multiple input and output harddisk image types. xmount creates a virtual file system using FUSE (Filesystem in Userspace) that contains a virtual representation of the input image. The virtual representation can be in raw DD, DMG, VHD, VirtualBox's virtual disk file format or in VmWare's VMDK file format. Input images can be raw DD, EWF (Expert Witness Compression Format) or AFF (Advanced Forensic Format) files. In addition, xmount also supports virtual write access to the output files that is redirected to a cache file. This makes it possible to boot acquired harddisk images using QEMU, KVM, VirtualBox, VmWare or alike.
  • Extensible Metadata Platform
    • The Extensible Metadata Platform (XMP) is an ISO standard, originally created by Adobe Systems Inc., for the creation, processing and interchange of standardized and custom metadata for digital documents and data sets.
  • PEview
    • PEview provides a quick and easy way to view the structure and content of 32-bit Portable Executable (PE) and Component Object File Format (COFF) files. This PE/COFF file viewer displays header, section, directory, import table, export table, and resource information within EXE, DLL, OBJ, LIB, DBG, and other file types.
  • firepwd.py
    • firepwd.py, an open source tool to decrypt Mozilla protected passwords
  • osxcollector
    • OSXCollector is a forensic evidence collection & analysis toolkit for OSX.
  • Jeffrey's Image Metadata Viewer
  • Android
    • wechat-dump
      • Dump wechat messages from android. Right now it can dump messages in text-only mode, or generate a single-file html containing voice messages, images, emoji, etc.

Firmware


Bitlocker


IR

  • Rapier
    • RAPIER is a security tool built to facilitate first response procedures for incident handling. It is designed to acquire commonly requested information and samples during an information security event, incident, or investigation. RAPIER automates the entire process of data collection and delivers the results directly to the hands of a skilled security analyst
  • triage-ir
    • Triage: Incident Response automatically collect information from a system that needs basic triage functions performed upon it. The script allows for easy modification for customization to your needs, in an easy to comprehend and implement language. This tool uses a lot others to get its information. Eventually I hope to eliminate the need for them, but use them as verification. This tool requires you to download the Sysinternals Suite if you want full functionality to it.
  • Fully Integrated Defense Operation (FIDO)
    • FIDO is an orchestration layer used to automate the incident response process by evaluating, assessing and responding to malware. FIDO’s primary purpose is to handle the heavy manual effort needed to evaluate threats coming from today's security stack and the large number of alerts generated by them. As an orchestration platform FIDO can make using your existing security tools more efficient and accurate by heavily reducing the manual effort needed to detect, notify and respond to attacks against a network.
  • Triaging Malware Incidents
    • Good writeup/blogpost from Journey into Incidence Response
  • Computer Security Incident Handling Guide - NIST
  • An Incident Handling Process for Small and Medium Businesses - SANS 2007
  • PowerForensics - PowerShell Digital Forensics
    • The purpose of PowerForensics is to provide an all inclusive framework for hard drive forensic analysis. PowerForensics currently supports NTFS and FAT file systems, and work has begun on Extended File System and HFS+ support.
  • Invoke-IR
  • Practical Comprehensive Bounds on Surreptitious Communication Over DNS

IOC


Browser Forensics

  • 101
  • Articles/Papers/Talks/Writeups
  • General
  • Tools
    • MozillaRecovery
      • Recovers the master password of key3.db files, i.e. Thunderbird, Firefox
    • Extension Finder
      • Python and PowerShell utilities for finding installed browser extensions, plug-ins and add-ons. Attempts to find installed browser extensions (sometimes called add-ons or plug-ins, depending on the browser).
    • MozillaRecovery
      • Recovers the master password of key3.db files, i.e. Thunderbird, Firefox
    • Chrome Ragamuffin
      • Volatility plugin designed to extract useful information from Google Chrome's address space. The goal of this plugin is to make possible the analysis of a Google Chrome running instance. Starting from a memory dump, Chrome Ragamuffin can list which page was open on which tab and it is able to extract the DOM Tree in order to analyze the full page structure.
    • firefox_decrypt
      • Firefox Decrypt is a tool to extract passwords from Mozilla (Firefox/Thunderbird/Seabird) profiles
  • Miscellaneous

Chrome Book Forensics


Memory Forensics

  • 101
  • Articles/Papers/Talks/Writeups
  • General
  • Tools
    • Detekt
      • Detekt is a Python tool that relies on Yara, Volatility and Winpmem to scan the memory of a running Windows system (currently supporting Windows XP to Windows 8 both 32 and 64 bit and Windows 8.1 32bit). Detekt tries to detect the presence of pre-defined patterns that have been identified through the course of our research to be unique identifiers that indicate the presence of a given malware running on the computer.
    • Dshell
      • An extensible network forensic analysis framework. Enables rapid development of plugins to support the dissection of network packet captures.
    • LiME - Linux Memory Extractor
      • A Loadable Kernel Module (LKM) which allows for volatile memory acquisition from Linux and Linux-based devices, such as Android. This makes LiME unique as it is the first tool that allows for full memory captures on Android devices. It also minimizes its interaction between user and kernel space processes during acquisition, which allows it to produce memory captures that are more forensically sound than those of other tools designed for Linux memory acquisition.
    • Volatility
      • An advanced memory forensics framework
    • VolUtility
      • Web Interface for Volatility Memory Analysis framework
    • evolve
      • Web interface for the Volatility Memory Forensics Framework
    • Vortessence
      • Vortessence is a tool, whose aim is to partially automate memory forensics analysis. Vortessence is a project of the Security Engineering Lab of the Bern University of Applied Sciences.
  • Miscellaneous

Training material

  • ENISA CERT Exercises and Training
    • ENISA CERT Exercises and training material was introduced in 2008, in 2012 and 2013 it was complemented with new exercise scenarios containing essential material for success in the CERT community and in the field of information security. In this page you will find the ENISA CERT Exercise material, containing Handbook for teachers, Toolset for students and Virtual Image to support hands on training sessions.
  • Packet Capture Examples from "Practical Packet Analysis"

Transport Neutral Encapsulation Format


Presentations & Talks

  • Forensic Imager Tools: You don't have the Evidence - Shmoocon 2014*
  • Ways to Identify Malware on a System Ryan Irving
  • Investigating PowerShell Attacks - Ryan Kazanciyan and Matt Hastings - DEFCON22
    • This presentation will focus on common attack patterns performed through PowerShell - such as lateral movement, remote command execution, reconnaissance, file transfer, etc. - and the sources of evidence they leave behind. We'll demonstrate how to collect and interpret these forensic artifacts, both on individual hosts and at scale across the enterprise. Throughout the presentation, we'll include examples from real-world incidents and recommendations on how to limit exposure to these attacks.
  • Human Hunting
    • Much of what appears to be happening in information security seems to be focused on replacing humans with magic boxes and automation rather than providing tools to augment human capabilities. However, when we look at good physical security we see technology is being used to augment human capabilities rather than simply replace them. The adversary is human so we are ultimately looking for human directed behaviors. If analysts don't know how to go looking for evil without automated detection tools then they are not going to be able to effectively evaluate if the detection tools are working properly or if the deployment was properly engineered. An over reliance on automated detection also puts organizations in a position of paying protection money if they want to remain secure. We should be spending more resources on honing analyst hunting skills to find human adversaries rather than purchasing more automated defenses for human adversaries to bypass.
  • Finding Bad Guys with 35 million Flows, 2 Analysts, 5 Minutes and 0 Dollars
    • There are a lot of proof of concepts out there for building open source networks forensics analysis environments. Taking them into production in an enterprise? Another story entirely. This talk will focus on my journey into constructing a large scale Netflow security analytics platform for a large healthcare management company's complex environment on no additional budget. Important points to be covered were technology considerations, scalability, and how to quickly break the collected data down to find malicious activity on the network with minimal effort.
  • Fraud detection and forensics on telco networks - Hack.lu 2016
  • Commercial Spyware - Detecting the Undetectable

Anti-Forensics

  • Destroying Evidence Before Its Evidence
  • And That's How I Lost My Other Eye...Explorations in Data Destruction
  • Secure Deletion of Data from Magnetic and Solid-State Memory
  • usbkill
    • A tool that shuts down your computer if USB devices change, for example if you unplug or plug-in a device.
  • An Anti-Forensics Primer - Jason Andress
    • This talk will cover the basics of anti-forensics, the tools and techniques that can be used to make life harder for computer forensic examiners. We will cover some of the basic methods that are used (disk wiping, time stomping, encryption, etc…) and talk about which of these methods might actually work and which are easily surmounted with common forensic tools.
  • OpenPuff Steganography
  • Forensics Impossible: Self-Destructing Thumb Drives - Brandon Wilson
  • CleanAfterMe
    • CleanAfterMe allows you to easily clean files and Registry entries that are automatically created by the Windows operating system during your regular computer work. With CleanAfterMe, you can clean the cookies/history/cache/passwords of Internet Explorer, the 'Recent' folder, the Registry entries that record the last opened files, the temporary folder of Windows, the event logs, the Recycle Bin, and more.| http://
  • Hiding Data in Hard-Drive's Service Areas
    • In this paper we will demonstrate how spinning hard-drives’ serv ice areas 1 can be used to hide data from the operating-system (or any software using the standard OS’s API or the standard ATA commands to access the hard- drive)
  • Anti-Forensics and Anti-Anti-Forensics Attacks - Michael Perkins
    • Everyone's heard the claim: Security through obscurity is no security at all. Challenging this claim is the entire field of steganography itself - the art of hiding things in plain sight. Most people know you can hide a text file inside a photograph, or embed a photograph inside an MP3. But how does this work under the hood? What's new in the stego field? This talk will explore how various techniques employed by older steganographic tools work and will discuss a new technique developed by the speaker which embodies both data hiding and data enciphering properties by encoding data inside NTFS volumes. A new tool will be released during this talk that will allow attendees to both encode and decode data with this new scheme.
    • Slides: Slides(link)
  • Beyond The CPU:Defeating Hardware Based RAM Acquisition
  • Hardware Backdooring is Practical** -Jonathan Brossard
  • Hiding the breadcrumbs: Forensics and anti-forensics on SAP systems - Juan Perez-Etchegoyen
    • The largest organizations in the world rely on SAP platforms to run their critical processes and keep their business crown jewels: financial information, customer data, intellectual property, credit cards, human resources salaries, sensitive materials, suppliers and more. Everything is there and attackers know it. For several years at Onapsis we have been researching on how cyber-criminals might be able to break into ERP systems in order to help organizations better protect themselves. This has enabled us to gain a unique expertise on which are the most critical attack vectors and what kind of traces they leave (and don’t) over the victim’s SAP platforms. SAP systems need to be ready for Forensic Analysis, so the big question is: Are your systems prepared to retain the attackers breadcrumbs in the event of an attack? Join us and learn how to do a forensic analysis of an SAP system, looking for traces of a security breach We will also show novel techniques being used by attackers to avoid being detected during post attack forensic investigations. Vulnerabilities related to anti-forensic techniques will be presented together with their mitigation. NEW New attacks never presented before will be shown. JAVA, ABAP and BO systems will be covered.
  • int0x80 (of Dual Core) -- Anti-Forensics for the Louise - Derbycon

Mobile Device Forensics

Android Forensics


####iOS Forensics

http://www.forensicswiki.org/wiki/Apple_iPhone

http://www.iosresearch.org/


.NET Forensics

  • dotNET_WinDBG
    • This python script is designed to automate .NET analysis with WinDBG. It can be used to analyse a PowerShell script or to unpack a binary packed using a .NET packer.
  • Unravelling .NET with the Help of WinDBG - TALOS
    • This article describes: How to analyse PowerShell scripts by inserting a breakpoint in the .NET API; How to easily create a script to automatically unpack .NET samples following analysis of the packer logic.

PDF Forensics

http://countuponsecurity.com/2014/09/22/malicious-documents-pdf-analysis-in-5-steps/


###< a name="photo">Photo Forensics

  • jhead
    • Exif Jpeg header manipulation tool

VBA Analysis

  • ViperMonkey
    • ViperMonkey is a VBA Emulation engine written in Python, designed to analyze and deobfuscate malicious VBA Macros contained in Microsoft Office files (Word, Excel, PowerPoint, Publisher, etc).

Tools:

Ghiro

  • StegExpose
    • StegExpose is a steganalysis tool specialized in detecting LSB (least significant bit) steganography in lossless images such as PNG and BMP. It has a command line interface and is designed to analyse images in bulk while providing reporting capabilities and customization which is comprehensible for non forensic experts. StegExpose rating algorithm is derived from an intelligent and thoroughly tested combination of pre-existing pixel based staganalysis methods including Sample Pairs by Dumitrescu (2003), RS Analysis by Fridrich (2001), Chi Square Attack by Westfeld (2000) and Primary Sets by Dumitrescu (2002). In addition to detecting the presence of steganography, StegExpose also features the quantitative steganalysis (determining the length of the hidden message). StegExpose is part of my MSc of a project at the School of Computing of the University of Kent, in Canterbury, UK.

Linux Forensics

Windows Forensics

  • General
    • 101
    • Articles/Papers/Talks/Writeups
      • How to parse Windows Eventlog
      • Techniques for fast windows forensics investigations
        • Look at sniper forensics, skip around, 18min has resources you want to grab for snapshots
      • Event Tracing for Windows and Network Monitor
        • "Event Tracing for Windows, (ETW), has been around for quite a while now as it was introduced in Windows 2000. It's basically instrumented logging that describes what a component is doing. Conceptually, it’s something like the proverbial printf("here1") concept used by programmers, but it is present in retail builds. When you enable logging in a component the result is an ETL (Event Trace Log) file. What’s new is that that Network Monitor can read any ETL file. And with the supplied parsers many network oriented ETW providers can be decoded."
    • Educational
    • General
    • Tools
      • WMI_Forensics
        • This repository contains scripts used to find evidence in WMI repositories
      • NTDSXtract - Active Directory Forensics Framework
        • Description from the page: This framework was developed by the author in order to provide the community with a solution to extract forensically important information from the main database of Microsoft Active Directory (NTDS.DIT).
      • Did it Execute? - Mandiant
        • You found a malicious executable! Now you’ve got a crucial question to answer: did the file execute? We’ll discuss a few sources of evidence you can use to answer this question. In this post, we will focus on static or “dead drive” forensics on Windows systems. We will cover four main sources of evidence: Windows Prefetch, Registry, Log Files, and File Information.
      • Get-InjectedThread.ps1
        • Code from "Taking Hunting to the Next Level: Hunting in Memory" presentation at SANS Threat Hunting Summit 2017 by Jared Atkinson and Joe Desimone
      • HowTo: Determine Program Execution
      • Kansa -A Powershell incident response framework
        • A modular incident response framework in Powershell. Note there's a bug that's currently cropping up in PowerShell version 2 systems, but version 3 and later should be fine
      • DPAPIck
        • This is a forensic tool to deal, in an offline way, with Microsoft Windows® protected data, using the DPAPI (Data Protection API
      • WinPrefetchView v1.25
        • Each time that you run an application in your system, a Prefetch file which contains information about the files loaded by the application is created by Windows operating system. The information in the Prefetch file is used for optimizing the loading time of the application in the next time that you run it. WinPrefetchView is a small utility that reads the Prefetch files stored in your system and display the information stored in them. By looking in these files, you can learn which files every application is using, and which files are loaded on Windows boot.
      • BTA - AD Security Audit Framework
        • BTA is an open-source Active Directory security audit framework. Its goal is to help auditors harvest the information they need to answer such questions as:
          • Who has rights over a given object (computer, user account, etc.) ?
          • Who can read a given mailbox ?
          • Which are the accounts with domain admin rights ?
          • Who has extended rights (userForceChangePassword, SendAs, etc.) ?
          • What are the changes done on an AD between two points in time ?
      • Claimsman
        • Claimsman logs all file handle creation on Windows systems, and logs to both a local file and centralized log management system.
      • FastIR Collector
        • This tool collects different artefacts on live Windows and records the results in csv or json files. With the analyses of these artefacts, an early compromission can be detected.
        • FastIR Collector on advanced threats
      • Windows Attribute changer
      • PowerForensics - PowerShell Digital Forensics
        • The purpose of PowerForensics is to provide an all inclusive framework for hard drive forensic analysis. PowerForensics currently supports NTFS and FAT file systems, and work has begun on Extended File System and HFS+ support.
      • LogonTracer
        • Investigate malicious Windows logon by visualizing and analyzing Windows event log
      • PoSH-R2
        • PoSH-R2 is a set of Windows Management Instrumentation interface (WMI) scripts that investigators and forensic analysts can use to retrieve information from a compromised (or potentially compromised) Windows system. The scripts use WMI to pull this information from the operating system. Therefore, this script will need to be executed with a user that has the necessary privileges.
    • Miscellaneous

OS X Forensics Tools

  • OS X Audiotr
    • OS X Auditor is a free Mac OS X computer forensics tool.
  • OS X Forensics Generals
  • OSX Lion User Interface Preservation Analysis
  • Knock Knock
    • KnockKnock displays persistent items (scripts, commands, binaries, etc.), that are set to execute automatically on OS X
  • Pac4Mac
    • Pac4Mac (Plug And Check for Mac OS X) is a portable Forensics framework (to launch from USB storage) allowing extraction and analysis session informations in highlighting the real risks in term of information leak (history, passwords, technical secrets, business secrets, ...). Pac4Mac can be used to check security of your Mac OS X system or to help you during forensics investigation.
  • Mac OS X Keychain Forensic Tool
    • The chainbreaker can extract user credential in a Keychain file with Master Key or user password in forensically sound manner. Master Key candidates can be extracted from volafox or volatility keychaindump module. Supports: Snow Leopard, Lion, Mountain Lion, Mavericks, Yosemite, El Capitan, (High) Sierra

Bootkit Disk Forensics