{"id":16930967,"url":"https://github.com/notoriousrebel/configpersist","last_synced_at":"2025-10-04T14:15:34.456Z","repository":{"id":127621970,"uuid":"240851302","full_name":"NotoriousRebel/ConfigPersist","owner":"NotoriousRebel","description":"Modifies machine.config for persistence after installing signed .net assembly onto GAC ","archived":false,"fork":false,"pushed_at":"2022-03-17T21:40:13.000Z","size":26,"stargazers_count":13,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T18:40:21.239Z","etag":null,"topics":["csharp","dotnet","hooking","persistence","redteam"],"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/NotoriousRebel.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-16T07:40:04.000Z","updated_at":"2025-03-31T02:42:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"4beaebe4-705a-4a56-8e35-fa2e1e3eccbb","html_url":"https://github.com/NotoriousRebel/ConfigPersist","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NotoriousRebel/ConfigPersist","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotoriousRebel%2FConfigPersist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotoriousRebel%2FConfigPersist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotoriousRebel%2FConfigPersist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotoriousRebel%2FConfigPersist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NotoriousRebel","download_url":"https://codeload.github.com/NotoriousRebel/ConfigPersist/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotoriousRebel%2FConfigPersist/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278322148,"owners_count":25967874,"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-10-04T02:00:05.491Z","response_time":63,"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":["csharp","dotnet","hooking","persistence","redteam"],"created_at":"2024-10-13T20:42:55.576Z","updated_at":"2025-10-04T14:15:34.413Z","avatar_url":"https://github.com/NotoriousRebel.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ConfigPersist\n\nUtilizes modifying machine.config for persistence through CLR hooking, after installing signed .NET assembly\nonto Global Assembly Cache. \n\n### Note\n\nFor this technique to work you will need to generate a \nkeyfile, you can use a tool called [sn](https://docs.microsoft.com/en-us/dotnet/framework/tools/sn-exe-strong-name-tool) which stands for strong name.\nPlace that keyfile and make sure it is called **key.snk** inside the Keyfile \ndirectory or you can place key.snk and the executable in the same directory.\n\u003cbr/\u003e\n\nTo learn more about this technique feel free to read this [post](https://secbytes.net/Configuring-our-Machine-for-Persistence).\n\nFor a more updated version of this technique visit this [PR for SharpSploit](https://github.com/cobbr/SharpSploit/pull/46).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotoriousrebel%2Fconfigpersist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnotoriousrebel%2Fconfigpersist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotoriousrebel%2Fconfigpersist/lists"}