{"id":21283278,"url":"https://github.com/puffycid/macos-launchd","last_synced_at":"2025-07-11T11:30:43.972Z","repository":{"id":113038624,"uuid":"463399312","full_name":"puffyCid/macos-launchd","owner":"puffyCid","description":"A library to parse macOS Launchd data","archived":false,"fork":false,"pushed_at":"2022-08-28T05:03:07.000Z","size":8,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-30T18:06:54.423Z","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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-02-25T04:43:03.000Z","updated_at":"2025-03-11T09:06:19.000Z","dependencies_parsed_at":"2023-03-13T13:23:30.427Z","dependency_job_id":null,"html_url":"https://github.com/puffyCid/macos-launchd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/puffyCid/macos-launchd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puffyCid%2Fmacos-launchd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puffyCid%2Fmacos-launchd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puffyCid%2Fmacos-launchd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puffyCid%2Fmacos-launchd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/puffyCid","download_url":"https://codeload.github.com/puffyCid/macos-launchd/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puffyCid%2Fmacos-launchd/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264795383,"owners_count":23665227,"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":["incident-response","macos","rust"],"created_at":"2024-11-21T11:07:40.988Z","updated_at":"2025-07-11T11:30:43.732Z","avatar_url":"https://github.com/puffyCid.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# macos-launchd\nA simple macOS launchd parser (and library) written in Rust!  \n[launchd](https://en.wikipedia.org/wiki/Launchd) is a service management daemon for macOS.  \nThis library/parser focuses on parsing common persistence mechanisms using launchd. Specifically:  \n* LaunchAgents\n* LaunchDaemons\n\n# Use Case\nParsing LaunchAgents and LaunchDaemons is mainly useful for forensic investigations.  You can parse both artifacts to identify possible persistence locations.\n\n# LaunchAgents/LaunchDaemons Data\nBoth LaunchAgents/LaunchDaemons are stored in PLIST files in a variety locations such as:\n* `/System/Library/LaunchDaemons/`\n* `/Library/launchdaemons/`\n* `/Library/Apple/System/Library/LaunchDaemons/`\n* `/Users/\u003cUSER\u003e/Library/LaunchAgents/`\n* `/System/Library/LaunchAgents/`\n* `/Library/Apple/System/Library/LaunchAgents/`\n\nBoth LaunchAgents/LaunchDaemons contain similar/same data. However, many features are optional. LaunchAgents/LaunchDaemons only have two required features. Some data includes:\n* Label (Required according to Apple. However, not not all LaunchAgents/LaunchDaemons have a label)\n* ProgramArguments (Required according to Apple. However, not not all LaunchAgents/LaunchDaemons have a label)  \n\nSome potential optional features:\n* Program Path\n* EnvironmentVariables\n* LaunchEvents\n* EnableTransactions\n\n# References\nhttps://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingLaunchdJobs.html  \nhttp://technologeeks.com/docs/launchd.pdf  \nhttps://www.sentinelone.com/blog/how-malware-persists-on-macos/  \nman launchd.plist\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpuffycid%2Fmacos-launchd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpuffycid%2Fmacos-launchd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpuffycid%2Fmacos-launchd/lists"}