BloodHound, smbmap and enum4linux-ng: Essential Tools for Starting Active Directory Penetration Testing
Internal penetration testing almost always leads to the same destination. No matter how access is initially obtained—through leaked credentials, infostealer logs, or an exposed legacy server—Active Directory is usually the next target. Most corporate networks are built around a domain, and even environments with significant Linux or macOS presence ultimately rely on domain controllers for management.
Beginners often lose the most time here. Dozens of overlapping AD tools exist, and without a clear understanding of when and why to run each one, reconnaissance generates excessive noise, triggers detectors, and produces data that is difficult to act upon. In practice, domains are frequently compromised without exploiting vulnerabilities at all—simply by methodically collecting small pieces of information.
Reconnaissance begins with domain name and domain controller location
Once inside the network, possibly without domain credentials and on a Linux host with only local privileges, directly attacking the domain controller is rarely effective. The first step is to locate basic landmarks: the domain name, the location of the domain controller, and its IP address. Standard port scanning with nmap revealing open ports 88 (Kerberos) and 389 (LDAP) strongly indicates a domain controller. Native Windows utilities can also extract this information from a domain-joined host without noisy network sweeps.
Old, unpatched hosts such as Windows XP machines remain attractive targets when discovered near the domain, as public exploits can grant quick access.
Significant information can be gathered without credentials
A common misconception is that valid domain credentials are required for reconnaissance. Tools such as enum4linux-ng can retrieve the domain name, user lists, groups, and password policy via null sessions. Although null sessions are less common on modern domain controllers, they still appear regularly and provide enough material to plan subsequent attacks. Password policy details, such as minimum length and history requirements, help attackers tune brute-force attempts to avoid account lockouts.
SMB shares often contain overlooked sensitive data
Few techniques deliver results as consistently as enumerating network shares. smbmap leverages SMB on port 445 to list shares across the domain and identify read or write access. Careful examination frequently uncovers SSH keys, certificates, plaintext passwords, password-manager databases, and service account configuration files. Real-world examples include KeePass files that were brute-forced or quarterly pentest reports left in accessible folders containing still-valid credentials.
BloodHound provides a map rather than an automated attack button
After initial data collection, BloodHound helps determine the next steps. Collectors such as SharpHound gather information about users, groups, computers, and relationships, which BloodHound visualizes as a graph. The resulting map shows concrete paths from a low-privileged account to Domain Admins. In mature environments with active SOC monitoring, quieter collectors are preferred over the default noisy SharpHound to reduce detection risk.
Protocol understanding separates script users from effective attackers
Techniques such as Kerberoasting and AS-REP Roasting rely on tools from the impacket suite, including GetADUsers. However, success depends on understanding the underlying Kerberos and NTLM protocols. An obtained NTLM hash can be reused directly via pass-the-hash rather than cracked, opening additional movement options that are invisible to operators who only copy commands.
Network attacks require caution and stealth
Tools such as mitm6 and ntlmrelayx enable relay attacks in networks without protocol encryption. These techniques must be executed carefully to avoid disrupting availability or alerting defenders. Heavy scanners like Nessus are generally avoided during pentests because they are noisy; experienced operators prefer targeted, low-noise actions.
Beginner checklist for Active Directory reconnaissance
- Locate domain name, domain controller, and IP address via port scanning (88, 389).
- Collect initial data without credentials using enum4linux-ng and null sessions.
- Enumerate SMB shares with smbmap for keys, certificates, and passwords.
- Map attack paths with SharpHound and BloodHound.
- Apply protocol-aware techniques such as Kerberoasting and pass-the-hash.
- Maintain stealth by filtering data collection and minimizing noisy actions.
Additional resources include an interactive AD pentest map from Orange Cyberdefense and the Red September CyberED course on Active Directory attacks covering Kerberos, NTLM, DACL abuse, delegation, and certificate services.
Related articles
Apple Releases iOS 27 and iPadOS 27 with Fixes for 126 Vulnerabilities
Apple has released iOS 27 and iPadOS 27, addressing a total of 126 CVEs across multiple system components. The updates target issues in the kernel, WebKit, Bluetooth, video encoding, and media handling frameworks. Twenty kernel vulnerabilities were resolved, including problems that could allow memory corruption or privilege escalation to root level. Separate patches were also issued for older devices via iOS 26.7 and iPadOS 26.7. Notable fixes include CVE-2026-43689 in the kernel and CVE-2026-65414 affecting Bluetooth. The release was made available on September 14, 2026.
GitSpawn Exposes Persistent Git Config Execution Risks in Coding Agents
Manifold Security released GitSpawn, detailing eight vulnerabilities across seven coding agents where opening a folder triggers arbitrary code execution via Git configuration before any user prompt. The core issue stems from the core.fsmonitor setting in .git/config, which Git executes during index updates like git status or git diff. While vendors including Anthropic patched Claude Code in version 2.1.196, the fix only blocks agent-initiated calls and leaves manual Git commands or other tools vulnerable. Additional vectors include nested bare repositories tracked under CVE-2026-45033 affecting GitHub Copilot CLI and unpatched agents such as Qwen Code and Grok Build. The researcher also released the Stroq tool to inspect repositories for dangerous settings like core.fsmonitor and postinstall scripts before opening them. The findings highlight that repository trust mechanisms from 2021 remain bypassed by modern AI coding tools.
Critical Unauthenticated File Upload Flaw in WooCommerce Wholesale Lead Capture Enables Active PHP Web Shell Attacks
A critical vulnerability tracked as CVE-2026-27540 affects WooCommerce Wholesale Lead Capture versions 2.0.3.1 and earlier, allowing unauthenticated attackers to upload arbitrary files including PHP web shells. The flaw resides in the wwlc_file_upload_handler AJAX action, where the file extension allowlist can be manipulated through the file_settings parameter to accept .php files. Exploitation has been observed in the wild with more than 100,000 blocked attempts since June 2026, including sustained campaigns from repeat IP addresses. The developer released version 2.0.3.2 on 20 February 2026 to address the issue, yet many sites remain unpatched. Organizations are advised to update immediately, audit wp-content/uploads for unexpected PHP files, and monitor admin-ajax.php requests for suspicious activity. In confirmed compromise cases, full remediation requires credential rotation and restoration from verified backups.
AWS Systems Manager Agent Flaw Allows Bypass of Port Forwarding Restrictions
Amazon has fixed a vulnerability in the AWS Systems Manager agent that permits an authenticated attacker to bypass restrictions on port forwarding sessions. The issue, tracked as CVE-2026-89049, stems from inadequate validation of equivalent representations of blocked link-local addresses. As a result, attackers can reach the EC2 instance metadata service at 169.254.169.254 and obtain temporary credentials tied to the instance's IAM role. Affected versions are those prior to 3.3.4851.0, with the fix included in that release and all subsequent versions. AWS recommends reviewing custom builds of the agent, restricting access to the AWS-StartPortForwardingSessionToRemoteHost document, auditing Session Manager activity, and applying least-privilege principles to IAM roles.