{"id":20790972,"url":"https://github.com/outflanknl/sharphide","last_synced_at":"2025-04-06T06:08:28.399Z","repository":{"id":44329112,"uuid":"216374421","full_name":"outflanknl/SharpHide","owner":"outflanknl","description":"Tool to create hidden registry keys.","archived":false,"fork":false,"pushed_at":"2019-10-23T10:44:22.000Z","size":12,"stargazers_count":480,"open_issues_count":2,"forks_count":94,"subscribers_count":24,"default_branch":"master","last_synced_at":"2025-03-30T05:04:51.263Z","etag":null,"topics":[],"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/outflanknl.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":"2019-10-20T14:25:47.000Z","updated_at":"2025-03-27T10:19:05.000Z","dependencies_parsed_at":"2022-09-09T12:12:42.905Z","dependency_job_id":null,"html_url":"https://github.com/outflanknl/SharpHide","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/outflanknl%2FSharpHide","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outflanknl%2FSharpHide/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outflanknl%2FSharpHide/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outflanknl%2FSharpHide/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/outflanknl","download_url":"https://codeload.github.com/outflanknl/SharpHide/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247441051,"owners_count":20939239,"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":"2024-11-17T15:39:39.929Z","updated_at":"2025-04-06T06:08:28.382Z","avatar_url":"https://github.com/outflanknl.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SharpHide\nJust a nice persistence trick to confuse DFIR investigation.\nUses NtSetValueKey native API to create a hidden (null terminated) registry key.\nThis works by adding a null byte in front of the UNICODE_STRING key valuename.\n\nMore info about this technique can be found in the following whitepaper:\nhttps://github.com/ewhitehats/InvisiblePersistence/blob/master/InvisibleRegValues_Whitepaper.pdf\n\nThe tool uses the following registry path in which it creates the hidden run key:\n(HKCU if user, else HKLM)\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run\"\n\n## Usage\nTo Create hidden registry (Run) key:\n\n```\nSharpHide.exe action=create keyvalue=\"C:\\Windows\\Temp\\Bla.exe\" \n```\n\nTo Create a hidden registry (Run) key with parameters:\n\n```\nSharpHide.exe action=create keyvalue=\"C:\\Windows\\Temp\\Bla.exe\" arguments=\"arg1 arg2\"\n```\n\nDelete hidden registry (Run) key:\n\n```\nSharpHide.exe action=delete\n```\n\nThis tool also works with Cobalt Strike's execute-assembly.\n\n## Credits\nAuthor: Cornelis de Plaa (@Cneelis) / Outflank\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutflanknl%2Fsharphide","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foutflanknl%2Fsharphide","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutflanknl%2Fsharphide/lists"}