{"id":21283282,"url":"https://github.com/puffycid/macos-loginitems","last_synced_at":"2025-10-25T04:37:14.672Z","repository":{"id":37706563,"uuid":"462520481","full_name":"puffyCid/macos-loginitems","owner":"puffyCid","description":"A library to parse macOS LoginItems","archived":false,"fork":false,"pushed_at":"2022-08-28T05:00:18.000Z","size":39,"stargazers_count":18,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-21T06:49:06.178Z","etag":null,"topics":["incident-response","macos","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/puffyCid.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}},"created_at":"2022-02-23T00:15:08.000Z","updated_at":"2025-04-09T05:28:13.000Z","dependencies_parsed_at":"2022-07-12T16:43:41.396Z","dependency_job_id":null,"html_url":"https://github.com/puffyCid/macos-loginitems","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/puffyCid/macos-loginitems","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puffyCid%2Fmacos-loginitems","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puffyCid%2Fmacos-loginitems/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puffyCid%2Fmacos-loginitems/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puffyCid%2Fmacos-loginitems/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/puffyCid","download_url":"https://codeload.github.com/puffyCid/macos-loginitems/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puffyCid%2Fmacos-loginitems/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280906491,"owners_count":26411403,"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","status":"online","status_checked_at":"2025-10-25T02:00:06.499Z","response_time":81,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["incident-response","macos","rust"],"created_at":"2024-11-21T11:07:42.151Z","updated_at":"2025-10-25T04:37:14.657Z","avatar_url":"https://github.com/puffyCid.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# macos-loginitems\n\nA simple macOS LoginItems parser (and library) written in Rust!  \nLoginItems are a form of persistence on macOS. They are triggered when a user logs into a system.  This simple library lets you parse this data.\n\nLoginItems can be created for each macOS user, it can also be embedded in an Application. \n\n# Use Case\nParsing LoginItems on a macOS system is mainly useful for forensic investigtions. It can be used to identify possibly persistence on a system.  \n\n\n# LoginItems Data\nLoginItems contain a variety of intersting data such as:\n1. Path to target binary\n2. Target creation time\n3. Volume UUID\n4. Volume creation\n5. Localized Name\n\nLoginItems can exist per user at:\n* `/Users/\u003cUSER\u003e/Library/Application Support/com.apple.backgroundtaskmanagementagent/backgrounditems.btm`  \n\nAnd macOS Applications can bundle LoginItems which should be registered at:\n* `/var/db/com.apple.xpc.launchd/loginitems.\u003cUID\u003e.plist`\nBoth files are PLIST files. However, `backgrounditems.btm` is a binary PLIST file that contains macOS Bookmark data. The Bookmark data contains the LoginItem\n\n# References\nhttp://michaellynn.github.io/2015/10/24/apples-bookmarkdata-exposed/  \nhttps://mac-alias.readthedocs.io/en/latest/bookmark_fmt.html  \nhttps://www.sentinelone.com/blog/how-malware-persists-on-macos/  \nhttps://theevilbit.github.io/beyond/beyond_0003/  \n\n# Other Bookmark/LoginItems parsing tools\nhttps://github.com/al45tair/mac_alias  \nhttps://github.com/strozfriedberg/plistutils  \nhttps://github.com/objective-see/KnockKnock  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpuffycid%2Fmacos-loginitems","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpuffycid%2Fmacos-loginitems","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpuffycid%2Fmacos-loginitems/lists"}