Hacking Tools

NewMachineAccount : Streamlining Active Directory Machine Account Creation For Penetration Testing

NewMachineAccount.exe is a lightweight, standalone executable designed for creating machine accounts in Active Directory (AD) domains.

This tool is particularly useful for system administrators and penetration testers who need to automate the creation of machine accounts with custom configurations, including passwords and organizational units (OUs).

Developed by @decoder_it, it provides a command-line interface for seamless integration into scripts and workflows.

Features And Functionality

The tool supports the following key features:

  • Domain Controller Specification: Allows users to specify which domain controller to use.
  • Custom Machine Account Names: Users can define unique names for machine accounts.
  • Password Assignment: Enables setting secure passwords for each machine account.
  • Organizational Unit Placement: Optional placement of accounts in specific OUs.
  • Authentication Options: Supports explicit credentials (username and password) for authentication.
  • User Account Control (UAC) Configuration: Optional UAC flags for advanced configurations.
bashNewMachineAccount.exe -dc <DomainController> -name <MachineAccount> -domain <Domain> -password <MachinePassword> [-ou <OU>] [-user <Username>] [-pass <Password>] [-uac <UAC Flags>]
  • -dc: Specifies the domain controller to target.
  • -name: Sets the name of the machine account.
  • -domain: Defines the target domain.
  • -password: Assigns a password to the account.
  • [-ou]: (Optional) Specifies the organizational unit.
  • [-user] & [-pass]: (Optional) Provide credentials for authentication.
  • [-uac]: (Optional) Configures UAC flags.

Example Commands

  1. Basic account creation: bashNewMachineAccount.exe -dc DC01 -name NewMachine -domain example.com -password StrongPass123!
  2. Advanced creation with OU and explicit credentials: bashNewMachineAccount.exe -dc DC02 -name TestMachine -domain test.com -password Passw0rd! -ou "OU=Computers,DC=test,DC=com" -user admin -pass AdminPass
  3. Ensure you have sufficient permissions to create machine accounts in the specified domain.
  4. The default Active Directory setting allows unprivileged users to create up to 10 machine accounts (controlled by the ms-DS-MachineAccountQuota attribute).
  5. Use explicit credentials (-user and -pass) if required for authentication.
  6. The tool can be leveraged for both legitimate administrative tasks and red team operations, emphasizing the need for proper monitoring.

The tool was created by @decoder_it and is aimed at simplifying machine account management within AD environments.

Varshini

Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies.

Recent Posts

Ransomware Tool Matrix : The Arsenal Of Cyber Defense

The Ransomware Tool Matrix is a valuable repository designed to catalog tools commonly used by…

34 minutes ago

RustDesk : A Comprehensive Remote Desktop Solution

RustDesk is an open-source remote desktop software built using the Rust programming language. It offers…

34 minutes ago

CrimsonEDR : A Cutting-Edge Tool For Simulating And Bypassing EDR Systems

CrimsonEDR is an open-source tool developed by Matthias Ossard, designed to simulate the behavior of…

5 hours ago

PCI-SegTest : Streamlining PCI DSS v4.0 Compliance Through Advanced Network Segmentation And Security Testing

The "PCI-SegTest" tool is a specialized utility designed to ensure compliance with PCI DSS v4.0…

5 hours ago

WID_LoadLibrary : The Intricacies Of DLL Management In Windows

WID_LoadLibrary is a custom implementation inspired by the Windows API function LoadLibrary, which is used…

1 day ago

Locksmith : A Tool For Securing Active Directory Certificate Services

Locksmith is a specialized tool designed to identify and remediate vulnerabilities in Active Directory Certificate…

1 day ago