https://github.com/LETHAL-FORENSICS/MacOS-Analyzer-Suite
A collection of PowerShell scripts for analyzing macOS Forensic Artifacts
https://github.com/LETHAL-FORENSICS/MacOS-Analyzer-Suite
apple dfir dfir-tools digital-forensics forensic-tools incident-response macos
Last synced: 4 days ago
JSON representation
A collection of PowerShell scripts for analyzing macOS Forensic Artifacts
- Host: GitHub
- URL: https://github.com/LETHAL-FORENSICS/MacOS-Analyzer-Suite
- Owner: LETHAL-FORENSICS
- License: mit
- Created: 2025-11-04T12:18:11.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2026-03-16T07:34:43.000Z (5 months ago)
- Last Synced: 2026-03-16T19:10:52.340Z (5 months ago)
- Topics: apple, dfir, dfir-tools, digital-forensics, forensic-tools, incident-response, macos
- Language: PowerShell
- Homepage:
- Size: 39 MB
- Stars: 23
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- ForensicsTools - MacOs Analyzer Suite - A collection of PowerShell scripts for analyzing macOS Forensic Artifacts (Challenges / OS X Forensics)
README
# MacOS-Analyzer-Suite
A collection of PowerShell scripts for analyzing macOS Forensic Artifacts
## The following MacOS Forensic Artifacts are supported yet:
* Aftermath Storyline → Storyline-Analyzer
* Aftermath File Timeline → Timeline-Analyzer
* BTM dump file(s) → BTM-Analyzer
* .DS_Store file(s) → DSStore-Analyzer
* File Hash Lists → VirusTotal-Analyzer
* FSEvent Logs → FSEvents-Analyzer
* KnockKnock Results → KnockKnock-Analyzer (incl. VirusTotal-Analyzer)
* LSQuarantine database file(s) → Quarantine-Analyzer
* TCC database file(s) → TCC-Analyzer
* XProtect Behavioral Service database file(s) → XProtect-Analyzer
> [!NOTE]
> MacOS-Analyzer-Suite includes all external tools by default.
## Prerequisites
1. Windows PowerShell 5.1 or newer.
## Setup
1. Download the latest version of the **MacOS-Analyzer-Suite** from the [Releases](https://github.com/LETHAL-FORENSICS/MacOS-Analyzer-Suite/releases/latest) section.
2. Install [ImportExcel](https://github.com/dfinke/ImportExcel) PowerShell module to import/export Excel spreadsheets, without Excel.
```powershell
Install-Module -Name ImportExcel
```
3. Install [Python 3](https://www.python.org/downloads/windows/) and add it to your PATH environment variable.
4. Run the specific script in PowerShell (e.g. TCC-Analyzer.ps1).
5. Optional: Edit `Config.json` to choose your own Excel color scheme.
## Usage
Open PowerShell and navigate to the directory containing e.g. TCC-Analyzer.ps1 and run the script with following command: `.\TCC-Analyzer.ps1`

**Fig 1:** Select your TCC Database file
You can skip the file selection dialog and provide the file path to your log file with following command:
`.\TCC-Analyzer.ps1 -Path "$env:USERPROFILE\Desktop\tcc_"`
You can specify the output directory with following command:
`.\TCC-Analyzer.ps1 -Path "H:\macos-collector\tcc_" -OutputDir "H:\MacOS-Analyzer-Suite"`
> [!NOTE]
> Default output directory is `$env:USERPROFILE\Desktop\TCC-Analyzer`
> The subdirectory 'TCC-Analyzer' is automatically created.

**Fig 1:** FSEvents-Analyzer

**Fig 2:** MessageBox

**Fig 3:** Quarantine-Analyzer

**Fig 4:** TCC-Analyzer

**Fig 5:** XProtect-Analyzer

**Fig 6:** XProtect Behavior Service

**Fig 7:** Bastion-Rules.xlsx (Stats)

**Fig 8:** BTM-Analyzer (Background Task Management)
> [!TIP]
> ```Aftermath Collection\Persistence\btm.txt``` or ```sudo sfltool dumpbtm > ~/Desktop/btm.txt```

**Fig 9:** BTM.xlsx

**Fig 10:** DSStore-Analyzer

**Fig 11:** Storyline-Analyzer

**Fig 12:** Storyline-Analyze.db (SQLite database w/ Views)

**Fig 13:** KnockKnock-Analyzer (incl. VirusTotal-Analyzer)

**Fig 14:** VirusTotal-Analyzer (Standalone)

**Fig 15:** VirusTotal-Report.xlsx
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## Feedback
Feel free to send comments and feedback to [github@lethal-forensics.com](mailto:github@lethal-forensics.com) or open an [issue](https://github.com/LETHAL-FORENSICS/MacOS-Analyzer-Suite/issues).
## Links
[Aftermath by Jamf Threat Labs](https://github.com/jamf/aftermath)
[macos-collector by LETHAL-FORENSICS](https://github.com/LETHAL-FORENSICS/macos-collector)
[DB Browser for SQLite](https://sqlitebrowser.org/dl/)
[Arsenal Image Mounter (AIM)](https://arsenalrecon.com/products/arsenal-image-mounter)
[APFS for Windows by Paragon Software](https://www.paragon-software.com/home/apfs-windows/)
[VirusTotal CLI](https://github.com/VirusTotal/vt-cli)