{"id":24302819,"url":"https://github.com/narhen/procjack","last_synced_at":"2025-09-26T05:32:09.984Z","repository":{"id":141724897,"uuid":"119704189","full_name":"narhen/procjack","owner":"narhen","description":"PoC of injecting code into a running Linux process","archived":false,"fork":false,"pushed_at":"2019-09-11T17:12:22.000Z","size":9,"stargazers_count":23,"open_issues_count":3,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-08T01:11:09.010Z","etag":null,"topics":["hijack","injection","linux","linux-process","poc","ptrace","ptrace-injection","shellcode","shellcode-injector"],"latest_commit_sha":null,"homepage":null,"language":"C","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/narhen.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,"publiccode":null,"codemeta":null}},"created_at":"2018-01-31T15:19:39.000Z","updated_at":"2023-11-24T06:43:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"5f0cc0e0-e909-4dc5-9509-7dacf4e4839c","html_url":"https://github.com/narhen/procjack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/narhen/procjack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/narhen%2Fprocjack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/narhen%2Fprocjack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/narhen%2Fprocjack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/narhen%2Fprocjack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/narhen","download_url":"https://codeload.github.com/narhen/procjack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/narhen%2Fprocjack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277025280,"owners_count":25747203,"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-09-26T02:00:09.010Z","response_time":78,"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":["hijack","injection","linux","linux-process","poc","ptrace","ptrace-injection","shellcode","shellcode-injector"],"created_at":"2025-01-17T00:19:30.601Z","updated_at":"2025-09-26T05:32:09.972Z","avatar_url":"https://github.com/narhen.png","language":"C","readme":"# procjack\n\nPoC of injecting code into a running Linux process.\nSpawns a new thread to host the injected code.\n\n## Example\n\nThis will inject shellcode, contained in the [`count`](src/count.asm) binary, into a running process 'dummy'.\n```\n$ cd src\n$ make\n$ ./dummy \u0026\n$ ./inject -p $(pidof dummy) -f ./count\n```\n\nQuick-n-dirty command to verify that a process is running multiple threads\n```\n$ ps -eLF | head -1; ps -eLF | grep -i dummy\n```\n\n## Dependencies\n\n* [Capstone](http://www.capstone-engine.org/documentation.html) (`apt-get install libcapstone3 libcapstone-dev`)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnarhen%2Fprocjack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnarhen%2Fprocjack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnarhen%2Fprocjack/lists"}