{"id":13845301,"url":"https://github.com/mnrkbys/ma2tl","last_synced_at":"2025-07-12T01:32:44.280Z","repository":{"id":38839400,"uuid":"459053934","full_name":"mnrkbys/ma2tl","owner":"mnrkbys","description":"macOS forensic timeline generator using the analysis result DBs of mac_apt","archived":false,"fork":false,"pushed_at":"2023-09-07T03:07:02.000Z","size":606,"stargazers_count":89,"open_issues_count":2,"forks_count":10,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-08-05T17:44:16.118Z","etag":null,"topics":["dfir","forensics","macos","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mnrkbys.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-02-14T07:13:49.000Z","updated_at":"2024-07-17T14:31:54.000Z","dependencies_parsed_at":"2024-02-09T05:33:47.954Z","dependency_job_id":null,"html_url":"https://github.com/mnrkbys/ma2tl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnrkbys%2Fma2tl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnrkbys%2Fma2tl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnrkbys%2Fma2tl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnrkbys%2Fma2tl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mnrkbys","download_url":"https://codeload.github.com/mnrkbys/ma2tl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225784384,"owners_count":17523634,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dfir","forensics","macos","python"],"created_at":"2024-08-04T17:03:19.457Z","updated_at":"2024-11-21T18:31:06.193Z","avatar_url":"https://github.com/mnrkbys.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# ma2tl (mac_apt to timeline)\n\nThis is a DFIR tool for generating a macOS forensic timeline from the analysis result DBs of [mac_apt](https://github.com/ydkhatri/mac_apt).\n\n## Requirements\n\n- Python 3.7.0 or later\n- pytz\n- tzlocal\n- xlsxwriter\n\n## Installation\n\n```Shell\n% git clone https://github.com/mnrkbys/ma2tl.git\n```\n\n## Usage\n\n```Shell\n% python ./ma2tl.py -h\nusage: ma2tl.py [-h] [-i INPUT] [-o OUTPUT] [-ot OUTPUT_TYPE] [-s START] [-e END] [-t TIMEZONE] [-l LOG_LEVEL] plugin [plugin ...]\n\nForensic timeline generator using mac_apt analysis results. Supports only SQLite DBs.\n\npositional arguments:\n  plugin                Plugins to run (space separated).\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -i INPUT, --input INPUT\n                        Path to a folder that contains mac_apt DBs.\n  -o OUTPUT, --output OUTPUT\n                        Path to a folder to save ma2tl result.\n  -ot OUTPUT_TYPE, --output_type OUTPUT_TYPE\n                        Specify the output file type: SQLITE, XLSX, TSV (Default: SQLITE)\n  -s START, --start START\n                        Specify start timestamp. (ex. 2021-11-05 08:30:00)\n  -e END, --end END     Specify end timestamp.\n  -t TIMEZONE, --timezone TIMEZONE\n                        Specify Timezone: \"UTC\", \"Asia/Tokyo\", \"US/Eastern\", etc (Default: System Local Timezone)\n  -l LOG_LEVEL, --log_level LOG_LEVEL\n                        Specify log level: INFO, DEBUG, WARNING, ERROR, CRITICAL (Default: INFO)\n\nThe following 4 plugins are available:\n    FILE_DOWNLOAD       Extract file download activities.\n    PERSISTENCE         Extract persistence settings.\n    PROG_EXEC           Extract program execution activities.\n    VOLUME_MOUNT        Extract volume mount/unmount activities.\n    ----------------------------------------------------------------------------\n    ALL                 Run all plugins\n```\n\n## Generated timeline example\n\n![Scenario](images/demo_scenario.png)\n![Timeline](images/demo_timeline.png)\n\n## Notes\nUnfortunately, the latest version of mac_apt cannot parse Unified Logs files correctly. So you have to replace UnifiedLogs.db with a database created by [helper tools](https://github.com/mnrkbys/ma2tl/tree/main/helper_tools).\n\n## Presentation\n\nThis tool was published on [Japan Security Analyst Conference 2022](https://jsac.jpcert.or.jp/en/index.html) (JSAC2022).\n\nSlides are available below:\n\n- [Japanese version](https://jsac.jpcert.or.jp/archive/2022/pdf/JSAC2022_2_kobayashi_jp.pdf)\n- [English version](https://jsac.jpcert.or.jp/archive/2022/pdf/JSAC2022_2_kobayashi_en.pdf)\n\n## Author\n\n[Minoru Kobayashi](https://twitter.com/unkn0wnbit)\n\n## License\n\n[MIT](http://opensource.org/licenses/mit-license.php)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmnrkbys%2Fma2tl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmnrkbys%2Fma2tl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmnrkbys%2Fma2tl/lists"}