Pass-The-Hash Toolkit
Malware⚠️ Overview
Pass-The-Hash Toolkit (pth-toolkit) is a collection of command-line utilities first publicly released by security researcher Hernan Ochoa in 2012 that enable attackers to use extracted NTLM hash values—without knowing the plaintext password—to authenticate to remote Windows systems via SMB, RDP, or other protocols. It belongs to the Credential Access and Lateral Movement tool category, and it is not a self-replicating malware in the traditional sense but is commonly bundled with post-exploitation frameworks such as Metasploit or used by ransomware operators and APT groups (e.g., FIN6, Lazarus) to move laterally within compromised networks.
🔧 Technical Capabilities
The toolkit implements the Pass-the-Hash (PtH) attack technique documented in MITRE ATT&CK as T1550.002. It works by substituting harvested NTLM hashes (obtained from tools like Mimikatz) into Windows authentication APIs, allowing the attacker to impersonate legitimate users without cracking the hash. Key utilities include pth-winexe (for remote command execution over SMB), pth-curl (for HTTP/S requests using NTLM authentication), pth-rpcclient (for RPC-based operations), and pth-net (for Windows networking commands). Propagation is achieved through lateral movement: the attacker deploys the toolkit on a compromised host, extracts hashes from LSASS memory, then uses those hashes to authenticate to other machines on the same domain. The toolkit does not require a permanent C2 infrastructure—it operates in real-time—but often relies on existing implants or stolen VPN credentials for initial access. Evasion techniques include using signed binaries (if available) to bypass application control and running entirely in user-mode without kernel hooks. Persistence is not inherent; the toolkit is typically executed as a one-time payload, although attackers may leave copies on disk disguised as legitimate system files.
📜 History & Notable Incidents
The first public release of the Pass-The-Hash Toolkit occurred in July 2012 via Hernan Ochoa’s blog and GitHub repository. It gained notoriety after being linked to the 2013 Target data breach (where PtH techniques were used for lateral movement) and to the 2016 Bangladesh SWIFT heist (as per reports from BAE Systems). No specific CVEs are associated with the toolkit itself—it exploits the inherent trust in Windows NTLM authentication—but Microsoft has addressed PtH risks through security updates like KB2871997 (2014) and the introduction of Credential Guard (Windows 10). Law enforcement actions are absent because the toolkit is dual-use (legitimate red-team tool), though its use in criminal campaigns has been documented by Mandiant and CrowdStrike.
🔍 Detection Indicators
Known file hashes for versions of pth-toolkit are cataloged in public malware repositories (e.g., VirusTotal SHA256: d07f3b6c... for pth-winexe). Behavioral indicators include anomalous LSASS process access (Event ID 4663 with "Read" access to lsass.exe) and unexpected SMB network connections (e.g., port 445 traffic from a workstation to multiple internal hosts). Network IOCs include User-Agent strings such as "Wget/1.14 (linux-gnu)" (used by pth-curl) and unusual registry key modifications under HKEY_LOCAL_MACHINESECURITY when reading LSA secrets. Mutex names are not standardized but often related to the temporary directory where binaries are unzipped.
☠️ Risk & Impact
The toolkit enables attackers to bypass multi-factor authentication (if not applied to internal authentication) and achieve lateral movement without password cracking, drastically increasing the speed of ransomware deployment and data exfiltration. In the 2017 NotPetya outbreak, PtH techniques were used to spread across networks, causing estimated $10 billion in global damages. Affected sectors include healthcare, finance, and energy, as documented in CISA advisories (AA20-234A). The primary damage is credential theft leading to full network compromise.
🛡️ Mitigation
Defenders should implement Microsoft’s recommended mitigations: enable Windows Defender Credential Guard to protect LSASS secrets, restrict NTLM usage via Group Policy (Network security: Restrict NTLM: Outgoing NTLM traffic to remote servers), and apply the principle of least privilege to prevent local admin accounts from caching NTLM hashes. Monitoring rules should focus on Event ID 4624 (successful logon with NTLM) and anomalous SMB connections; detection logic for T1550.002 is available via Sigma rules (e.g., win_susp_logon_pass_the_hash.yml) and commercial EDR platforms.
Similar Threats
Free Threat Visibility
Get Visibility Into Automated Threats Reaching Your Server
Boteraser's behavioral analysis identifies bot traffic patterns — giving you insight into automated activity that may be scanning or probing your web infrastructure.
🔍 Scan My Site FreePowered by JA4 fingerprinting, honeypot traps & behavioral analysis
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the malware listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.