
Generatore di timeline forense per macOS che utilizza i DB dei risultati di analisi di mac_apt
Questo è uno strumento DFIR per generare una timeline forense macOS dai database dei risultati di analisi di mac_apt.
% git clone https://github.com/mnrkbys/ma2tl.git
% python ./ma2tl.py -h
usage: ma2tl.py [-h] [-i INPUT] [-o OUTPUT] [-ot OUTPUT_TYPE] [-s START] [-e END] [-t TIMEZONE] [-l LOG_LEVEL] plugin [plugin ...]
Forensic timeline generator using mac_apt analysis results. Supports only SQLite DBs.
positional arguments:
plugin Plugins to run (space separated).
optional arguments:
-h, --help show this help message and exit
-i INPUT, --input INPUT
Path to a folder that contains mac_apt DBs.
-o OUTPUT, --output OUTPUT
Path to a folder to save ma2tl result.
-ot OUTPUT_TYPE, --output_type OUTPUT_TYPE
Specify the output file type: SQLITE, XLSX, TSV (Default: SQLITE)
-s START, --start START
Specify start timestamp. (ex. 2021-11-05 08:30:00)
-e END, --end END Specify end timestamp.
-t TIMEZONE, --timezone TIMEZONE
Specify Timezone: "UTC", "Asia/Tokyo", "US/Eastern", etc (Default: System Local Timezone)
-l LOG_LEVEL, --log_level LOG_LEVEL
Specify log level: INFO, DEBUG, WARNING, ERROR, CRITICAL (Default: INFO)
The following 4 plugins are available:
FILE_DOWNLOAD Estrae le attività di download di file.
PERSISTENCE Estrae le impostazioni di persistenza.
PROG_EXEC Estrae le attività di esecuzione dei programmi.
VOLUME_MOUNT Estrae le attività di montaggio/smontaggio dei volumi.
----------------------------------------------------------------------------
ALL Esegue tutti i plugin

Sfortunatamente, l'ultima versione di mac_apt non è in grado di analizzare correttamente i file di Unified Logs. Quindi è necessario sostituire UnifiedLogs.db con un database creato da helper tools.
Questo strumento è stato pubblicato alla Japan Security Analyst Conference 2022 (JSAC2022).
Le slide sono disponibili qui sotto: