{"id":13712263,"url":"https://github.com/samratashok/ADModule","last_synced_at":"2025-05-06T21:33:42.322Z","repository":{"id":39706468,"uuid":"155557312","full_name":"samratashok/ADModule","owner":"samratashok","description":"Microsoft signed ActiveDirectory PowerShell module","archived":false,"fork":false,"pushed_at":"2019-10-03T03:45:04.000Z","size":1799,"stargazers_count":891,"open_issues_count":6,"forks_count":204,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-04-04T09:09:20.052Z","etag":null,"topics":[],"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/samratashok.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":"2018-10-31T12:54:53.000Z","updated_at":"2025-04-03T09:01:21.000Z","dependencies_parsed_at":"2022-07-16T01:00:48.347Z","dependency_job_id":null,"html_url":"https://github.com/samratashok/ADModule","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/samratashok%2FADModule","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samratashok%2FADModule/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samratashok%2FADModule/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samratashok%2FADModule/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samratashok","download_url":"https://codeload.github.com/samratashok/ADModule/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252772486,"owners_count":21801929,"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-08-02T23:01:16.504Z","updated_at":"2025-05-06T21:33:41.528Z","avatar_url":"https://github.com/samratashok.png","language":"PowerShell","funding_links":[],"categories":["Summary"],"sub_categories":[],"readme":"# ADModule\nMicrosoft signed DLL for the ActiveDirectory PowerShell module\n\nJust a backup for the Microsoft's ActiveDirectory PowerShell module from Server 2016 with RSAT and module installed. The DLL is usually found at this path: C:\\Windows\\Microsoft.NET\\assembly\\GAC_64\\Microsoft.ActiveDirectory.Management\n\nand the rest of the module files at this path:\nC:\\Windows\\System32\\WindowsPowerShell\\v1.0\\Modules\\ActiveDirectory\\\n\n## Usage\nYou can copy this DLL to your machine and use it to enumerate Active Directory without installing RSAT and without having administrative privileges. \n\nPS C:\\\\\u003e Import-Module C:\\ADModule\\Microsoft.ActiveDirectory.Management.dll -Verbose\n![Alt text](/img/AD_Module.png?raw=true \"ADModule\")\n\nYou can also use the Import-ActiveDirectory.ps1 (Thanks to PR by @D1iv3) to load the script using download-execute cradles and without writing the DLL to disk:\n\nPS C:\\\\\u003e iex (new-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/samratashok/ADModule/master/Import-ActiveDirectory.ps1');Import-ActiveDirectory\n![Alt text](/img/AD_Module_Array.png?raw=true \"ADModule_Array\")\n\n\nTo be able to list all the cmdlets in the module, import the module as well. Remember to import the DLL first. \n\nPS C:\\\\\u003e Import-Module C:\\ADModule\\Microsoft.ActiveDirectory.Management.dll -Verbose\n\nPS C:\\\\\u003e Import-Module C:\\AD\\Tools\\ADModule\\ActiveDirectory\\ActiveDirectory.psd1\n\nPS C:\\\\\u003e Get-Command -Module ActiveDirectory\n\n## Benefits\nThere are many benefits like very low chances of detection by AV, very wide coverage by cmdlets, good filters for cmdlets, signed by Microsoft etc. The most useful one, however, is that this module works flawlessly from PowerShell's Constrained Language Mode\n![Alt text](/img/AD_Module_CLM.png?raw=true \"ADModule in CLM\")\n\n\n\n## Blog \nhttps://www.labofapenetrationtester.com/2018/10/domain-enumeration-from-PowerShell-CLM.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamratashok%2FADModule","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamratashok%2FADModule","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamratashok%2FADModule/lists"}