{"id":13538036,"url":"https://github.com/landhb/hideprocess","last_synced_at":"2025-04-05T08:05:46.317Z","repository":{"id":47130749,"uuid":"84139775","full_name":"landhb/HideProcess","owner":"landhb","description":"A basic Direct Kernel Object Manipulation rootkit that removes a process from the EPROCESS list, hiding it from the Task Manager","archived":false,"fork":false,"pushed_at":"2019-03-26T03:35:57.000Z","size":7179,"stargazers_count":665,"open_issues_count":8,"forks_count":116,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-03-29T07:06:11.882Z","etag":null,"topics":["dkom","kernel-driver","old-school","rootkit"],"latest_commit_sha":null,"homepage":null,"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/landhb.png","metadata":{"files":{"readme":"README.md","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}},"created_at":"2017-03-07T01:30:15.000Z","updated_at":"2025-03-22T06:32:01.000Z","dependencies_parsed_at":"2022-08-30T23:50:36.388Z","dependency_job_id":null,"html_url":"https://github.com/landhb/HideProcess","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/landhb%2FHideProcess","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/landhb%2FHideProcess/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/landhb%2FHideProcess/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/landhb%2FHideProcess/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/landhb","download_url":"https://codeload.github.com/landhb/HideProcess/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247305933,"owners_count":20917208,"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":["dkom","kernel-driver","old-school","rootkit"],"created_at":"2024-08-01T09:01:05.977Z","updated_at":"2025-04-05T08:05:46.295Z","avatar_url":"https://github.com/landhb.png","language":"C","readme":"# HideProcess\r\n\r\n#### Update: Now works for both 64bit and 32bit architecture! Tested on: \r\n\r\n * Windows 10 Enterprise Edition x64 Build 15063.rs2_release.170317-1834\r\n * Windows 7 SP1 x86\r\n\r\n![Demo](https://github.com/landhb/HideProcess/blob/master/img/demo.PNG?raw=true \"Demo\")\r\n\r\n### Writeup\r\n\r\nFor more information on the concepts used here please check out my [article](http://www.landhb.me/posts/v9eRa/a-basic-windows-dkom-rootkit-pt-1/).\r\n\r\n### Limitations\r\n\r\nDoes not bypass PatchGuard or driver signing requirements.\r\n\r\nPlease use a VM whenever you run this. Current tests on Windows 10 observe it takes about 30 minutes after unlinking the process to induce a BSOD.\r\n\r\n### Compiling The Driver \r\n\r\nThe driver has a number of dependencies and you'll need to compile it using msbuild or visual studio. I used Visual Studio during the development process. You'll need:\r\n\r\n1. [The Windows 10 SDK](https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk)\r\n2. [WDK 10](https://msdn.microsoft.com/en-us/library/windows/hardware/ff557573(v=vs.85).aspx)\r\n\r\nOnce those are setup and integrated with Visual Studio, start a new empty KMDF (Kernel Mode Driver Framework) project and import the files in the /driver folder. \r\n\r\nUnder Debug -\u003e [ProjectName] Properties -\u003e Driver Settings -\u003e General, make sure your Target OS Version is Windows 7 and the Target Platform is Desktop.\r\n\r\nThen under Build -\u003e Configuration Manager, make sure the Platform is Win32, and x86 is selected under \"Active solution platform\".\r\n\r\nNow you should be able to use Build -\u003e Build [ProjectName] to build the project. This will generate a .sys file if everything went well. Then put the .sys file in c:\\Windows\\System32\\drivers\\[ProjectName].sys, or change the following define statement in loader.c to the path you've specified:\r\n\r\n#define DRIVER \"c:\\\\\\\\Windows\\\\System32\\\\drivers\\\\Rootkit.sys\"\r\n\r\n#### Compiling The Loader\r\n\r\nFor the loader you can simply use the makefile and mingw to cross compile it. \r\n\r\n```\r\nsudo apt-get install mingw-w64\r\n```\r\n\r\nThen you can create a 32-bit Windows executable using the makefile with:\r\n\r\n```\r\nmake 32bit\r\n```\r\n\r\nAnd a 64-bit Windows executable with:\r\n\r\n```\r\nmake 64bit\r\n```\r\n","funding_links":[],"categories":["\u003ca id=\"9eee96404f868f372a6cbc6769ccb7f8\"\u003e\u003c/a\u003e新添加的","\u003ca id=\"9eee96404f868f372a6cbc6769ccb7f8\"\u003e\u003c/a\u003e工具"],"sub_categories":["\u003ca id=\"31185b925d5152c7469b963809ceb22d\"\u003e\u003c/a\u003e新添加的"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flandhb%2Fhideprocess","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flandhb%2Fhideprocess","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flandhb%2Fhideprocess/lists"}