ADModule

A Microsoft-signed DLL for the ActiveDirectory PowerShell module is called the ADModule. It acts as a backup for the MicrosoftActiveDirectory PowerShell module, which is installed and available in Server 2016 using RSAT (Remote Server Administration Tools). Generally speaking, the DLL may be found in C:\Windows\Microsoft.NET\assembly\GAC 64\The remaining module files are located in C:\Windows\System32\WindowsPowerShell\v1.0\Modules\ActiveDirectory\, along with Microsoft.ActiveDirectory.Management.

The ADModule is a Microsoft-signed DLL for theActiveDirectory PowerShell module. It serves as a backup for the MicrosoftActiveDirectory PowerShell module found in Server 2016 with RSAT (Remote ServerAdministration Tools) and the module installed. The DLL is typically located atC:\Windows\Microsoft.NET\assembly\GAC_64\Microsoft.ActiveDirectory.Management,and the rest of the module files are at C:\Windows\System32\WindowsPowerShell\v1.0\Modules\ActiveDirectory\.

Usage

You can use this DLL to enumerate Active Directory withoutinstalling RSAT and without requiring administrative privileges.

PowerShell Script:

Using Import-ActiveDirectory.ps1:

 

List All Cmdlets:

To list all the cmdlets in the module, import the module aswell. Remember to import the DLL first.

 

Benefits

The ADModule provides various benefits, including:

Low     Chances of Detection by AV:

     
  • The      usage of this module has low chances of detection by antivirus software.

Wide   Coverage by Cmdlets:

     
  • It      offers extensive coverage with a wide range of cmdlets for Active      Directory management.

Good     Filters for Cmdlets:

     
  • Provides      effective filters for cmdlets to refine the output.

Microsoft     Signed:

     
  • The      DLL is signed by Microsoft, ensuring authenticity.
  1. Constrained     Language Mode Compatibility:
     
  • The      module works flawlessly from PowerShell's Constrained Language Mode.

Additional Information

·        Repository: ADModule on GitHub

·        Usage Documentation: Refer to the provided examples in the README.md file in the GitHub repository.

·        Security Considerations: Use responsibly, and beaw are of the potential security implications when interacting with Active Directory.

Table of Contents: