aftermath v2.0 releases: Swift-based, open-source macOS incident response framework
Aftermath
Aftermath is a Swift-based, open-source incident response framework.
Aftermath can be leveraged by defenders in order to collect and subsequently analyze the data from the compromised host. Aftermath can be deployed from an MDM (ideally), but it can also run independently from the infected user’s command line.
Aftermath first runs a series of modules for collection. The output of this will either be written to the location of your choice, via the -o or –output option, or by default, it is written to the /tmp directory.
Once the collection is complete, the final zip/archive file can be pulled from the end user’s disk. This file can then be analyzed using the –analyze argument pointed at the archive file. The results of this will be written to the /tmp directory. The administrator can then unzip that analysis directory and see a parsed view of the locally collected databases, a timeline of files with the file creation, last accessed, and last modified dates (if they’re available), and a storyline which includes the file metadata, database changes, and browser information to potentially track down the infection vector.
Usage
Aftermath needs to be rooted, as well as full disk access (FDA) in order to run. FDA can be granted to the Terminal application in which it is running.
The default usage of Aftermath runs
sudo ./aftermath
To specify certain options
sudo ./aftermath [option1] [option2]
Examples
sudo ./aftermath -o /Users/user/Desktop --deep
sudo ./aftermath --analyze <path_to_collection_zip>
Changelog v2.0
- Changes from v1.2.0 include:
- support for Arc & Edge browsers
- eslogger
- collection of extended attributes
- pcap file from tcpdump
- collection and parsing of XPdb from XProtectBehavioralServices on macOS 13+
- bug fixes
- other minor changes
Download
Copyright 2022 JAMF Software, LLC