macos-triage
Skill0 starsChanged 6 months agoApache-2.0View on GitHub
macOS DFIR artifact triage. Use when evidence is macOS (APFS image, plist, Unified Logs tracev3, KnowledgeC, Spotlight). Encodes FOR518 + DFIR Cheat Sheet APFS section.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- kaandgnsh/Claude-Bluetheir own version, first seen Nov 1, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- kaandgnsh/Claude-Blue★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository13 other files it gives its agents.
- accuracy-reportSkill
- containment-recommenderSkill
- evidence-pinSkill
- exec-reportSkill
- gap-acknowledgmentSkill
- ir-narrativeSkill
- linux-triageSkill
- memory-forensicsSkill
- remediation-plannerSkill
- self-correctSkill
- threat-huntingSkill
- triage-orchestratorSkill
- windows-triageSkill
The file
Files
macOS Triage
Filesystem (APFS)
Reference: SANS DFIR Cheat Sheet pp. 15-17.
- Container superblock — first to parse; gives volume layout, snapshot list, encryption state
- Volume superblock — per-volume metadata, root tree OID
- B-tree nodes — file records, extent records, inode records
- Object headers — every object has
obj_oid,obj_xid,obj_type,obj_subtype. Verify checksums. - Snapshots — APFS snapshots may contain pre-attack state. Always enumerate.
User Activity
- KnowledgeC.db —
~/Library/Application Support/Knowledge/knowledgeC.db(SQLite). App usage, screen time, Bluetooth, focus, locations. - Unified Logs —
/var/db/diagnostics/*.tracev3. Uselog show --archiveorlog collect. Subsystems:com.apple.*. Predicate filters required for tractable size. - Spotlight —
.Spotlight-V100(per-volume). Metadata index. Can reveal deleted files referenced. - QuarantineEventsV2 —
~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV2. SQLite. Files downloaded, source URL, sender, timestamp. - Shell history —
~/.bash_history,~/.zsh_history(also session-isolated~/.zsh_sessions/) - Recent items —
~/Library/Preferences/com.apple.recentitems.plist
iOS Apps (if backup ingested)
DFIR Cheat Sheet pp. 22-33 documents 40+ apps with exact DB paths. Examples:
- Signal:
~/Library/Application Support/Signal/sql/db.sqlite(encrypted; key in Keychain) - WhatsApp:
~/Library/Mobile Documents/.../ChatStorage.sqlite - Telegram:
Documents/postbox/.../db_sqlite - Slack:
~/Library/Application Support/Slack/Cache
Refer to source booklet for full path table.
MCP Tools
mcp__protocol_sift__mac_apfs_inspect(image_path)→ container/volume/snapshot treemcp__protocol_sift__mac_plist_get(path, key_path)→ typed valuemcp__protocol_sift__mac_tracev3_query(archive, predicate, time_range)→ log entriesmcp__protocol_sift__mac_knowledgec_query(db, table, query)→ activity rowsmcp__protocol_sift__mac_spotlight_query(volume, query)→ metadata results
Pin Format
{
"artifact": "knowledgeC.db",
"tool": "mac_knowledgec_query",
"table": "ZOBJECT",
"row_id": 12345,
"raw_excerpt": "..."
}Cross-Confirmation Rules
- App execution: KnowledgeC
/app/usage+ Unified Logcom.apple.launchservices=confirmed - File download: QuarantineEventsV2 + browser history =
confirmed. QuarantineEventsV2 alone =inferred.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

