Securitylab•September 16, 2026•🇷🇺Translated from Russian

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

BoletimSec•Vulnerabilities & Exploits

Cybercriminals Exploit Drupal Installer Flaw CVE-2026-136716 to Hijack Sites Without Authentication

Cybercriminals are actively exploiting a critical flaw in the Drupal core installer that allows unauthenticated attackers to fully compromise websites. The Drupal security team confirmed the attacks on November 25, 2026, and released patches for all supported core branches. The vulnerability, tracked as CVE-2026-136716, affects sites where the installer remains publicly accessible, including production instances that had applied earlier fixes. Successful exploitation grants complete control over the site, exposing private data and enabling modification or deletion of content. The issue follows a related November 18 advisory covering CVE-2026-132165, which was added to the CISA Known Exploited Vulnerabilities catalog. Administrators must run update.php after applying the new patches, review access logs for signs of prior compromise on user account 1, and ensure install.php is properly restricted.

BoletimSec•Vulnerabilities & Exploits

Palo Alto Patches Kernel Flaw CVE-2026-46300 Chained with PHP2Shell for Root Access on Firewalls

Palo Alto Networks has released a fix for a Linux kernel vulnerability tracked as CVE-2026-46300, known as Fragnesia, that allows attackers with limited access to escalate to root on PAN-OS firewalls. The flaw was observed being exploited in attacks targeting internet-exposed management interfaces, often after first compromising the device via the PHP2Shell pair of PHP vulnerabilities disclosed in October. Palo Alto states that Fragnesia alone cannot open the firewall from the outside and requires prior exploitation of CVE-2026-109618 to reach root privileges. The company observed a suspected China-linked actor using the chain to compromise 24 firewalls and one internal management server. Unit 42 confirmed the findings and noted that only 0.02 percent of customer devices worldwide had exposed management interfaces, yet those devices control critical network traffic. Patches are available for PAN-OS versions 10.2, 11.1, 11.2, 12.1, and 12.2, while newer releases ship with the fix included.

安全客•Vulnerabilities & Exploits

AI Uncovers Critical Java Zero-Day CVE-2026-114938 in 3 Hours for Under $200

CISA issued an urgent advisory on November 24 directing agencies to immediately scan Java environments, prioritizing internet-facing systems, after the disclosure of CVE-2026-114938, nicknamed Java4Shell. The vulnerability is a memory corruption flaw in the OpenJDK Base64 decoder that can lead to JVM crashes, heap memory disclosure, and remote code execution under specific conditions. A security firm named Calif reported discovering the flaw and building the first working exploit in just three hours using AI, with token costs below $200. The issue affects systems with AVX-512 VBMI and BW instruction set support and has already been validated for pre-auth RCE on Keycloak, Atlassian Jira, Confluence, JFrog Artifactory, Jenkins, and PingFederate. Oracle included a fix in its November patch cycle, though exploitation requires heap layout manipulation and ASLR bypass. The discovery highlights how AI is dramatically lowering the cost and time required for vulnerability research across core infrastructure components.

Habr•Vulnerabilities & Exploits

Fake Radio Station Exposes Race Conditions and Insecure Design in Open-Source Flat-File PHP CMS

A developer released the first version of PIG-CMS, a decentralized flat-file CMS written in pure PHP that uses JSON files instead of databases and implements P2P messaging via cURL. An anonymous tester registered a station named Mukhomor SPb on a non-existent domain, triggering errors that revealed the registry accepted unverified nodes without DNS checks or handshakes. The incident prompted a full architectural review that uncovered five critical design flaws, including unprotected JSON write races, plaintext passwords in config.php, disabled SSL verification in cURL, raw IP storage in metrics, and IP-based brute-force bans that fail under NAT. Fixes involved atomic flock-protected read-modify-write functions, salted SHA-256 hashes stored outside executable files, strict certificate verification with graceful fallback, hashed visitor identifiers, and dynamic math captchas. The entire refactoring touched 15 core files and was released as v2026.2.