Netpass
Table of Contents
Overview
HackTool:Win32/Netpass is a heuristic detection applied to the legitimate NirSoft utility 'Network Password Recovery' (`netpass.exe`), as well as modified variants of it. This tool is designed to recover all network passwords stored on the local system by the current logged-on user (including saved Wi-Fi keys, RDP credentials, and Outlook Exchange passwords). While it has legitimate administrative uses, threat actors and malware heavily abuse it during the post-exploitation phase to quickly harvest local credentials for lateral movement.
Understanding Netpass Abuse
To a standard user, Netpass is invisible; it is a command-line utility. For a security analyst, the execution of `netpass.exe` (or a renamed variant) by a standard user account is a massive red flag. It indicates that an attacker has gained a foothold on the endpoint and is actively dumping the Windows Credential Manager to find passwords that will allow them to pivot to other machines or servers on the domain.
Execution and Credential Harvesting Mechanics
Netpass is typically dropped onto the system by an Initial Access Broker trojan or manually copied by an attacker after establishing a reverse shell (`T1105`). The attacker executes the tool (`T1204.002`), often using command-line arguments to silently output the results to a text file (e.g., `netpass.exe /scomma %temp%\creds.csv`) (`T1059.004`). The tool queries the Windows Data Protection API (DPAPI) and the Credential Manager (`T1003`) to extract plaintext passwords that the user has opted to 'Save' or 'Remember'. The attacker then exfiltrates the resulting text file via their C2 channel.
Indicators of Compromise & Impact
The impact is the total compromise of all saved network credentials for that user profile, significantly accelerating lateral movement within the enterprise. The primary IoC is an EDR alert for the execution of a file matching the hash or metadata of the NirSoft Netpass utility, especially if executed from a temporary directory (`%Temp%` or `C:\PerfLogs`). Analysts should look for command-line arguments involving silent execution (`/scomma`, `/stext`) targeting text files.
MITRE ATT&CK Techniques
Observed techniques used by this family, mapped to our technical analysis hubs and the official MITRE ATT&CK framework:
| Technique | Name | Tactic | Official Spec |
|---|---|---|---|
T1003 | OS Credential Dumping (Querying Windows Credential Manager) | Credential Access | ATT&CK ↗ |
T1555 | Credentials from Password Stores | Credential Access | ATT&CK ↗ |
T1059.004 | Command and Scripting Interpreter (Command-line execution) | Execution | ATT&CK ↗ |
T1105 | Ingress Tool Transfer | Command and Control | ATT&CK ↗ |
Tactical Mitigations
Based on the techniques used by this family, consider the following defensive strategies:
- T1003: Monitor for LSASS memory dumping or registry SAM extraction. Enable Credential Guard on Windows systems.
- T1059.004: Restrict execution of scripting languages such as PowerShell, VBScript, or Python to authorized administrators. Enforce Script Block Logging.
- T1105: Implement network intrusion detection systems (NIDS) and host-based firewalls to block unauthorized inbound or outbound file transfers.
MITRE D3FEND™ Defensive Countermeasures
Defensive techniques mapped to counter the offensive tradecraft observed in this family (via the MITRE D3FEND matrix):
| D3FEND ID | Countermeasure Name | Tactic | Countered ATT&CK | Defensive Guidance |
|---|---|---|---|---|
D3-LSA | LSASS Memory Protection | Harden | T1003 | Enable Windows Credential Guard (LsaCfgFlags) and restrict debug privileges (SeDebugPrivilege). |
D3-SEA | Script Execution Analysis | Detect | T1059.004 | Analyze script block syntax and command arguments at runtime to detect malicious automation. |
D3-NTI | Network Traffic Inspection | Detect | T1105 | Inspect deep packet payloads for anomalous staging binaries and unauthorized egress protocols. |
D3-PMA | Password Manager Access Control | Harden | T1555 | Enforce device compliance checks and multi-factor biometric authentication before unlocking stored credential vaults. |
Tiered Detection Rules (Cisco CAIRN Model)
Modern threat detection requires multi-layered rule engineering. We classify detections into three operational tiers based on signal fidelity:
Tier 1 Primitive Artifact Rule (Fast Triage)
Matches raw strings and file markers. Vulnerable to binary repacking and simple obfuscation.
rule MALWARE_WIN_NETPASS_T1_ARTIFACT {
meta:
description = "Tier 1 Primitive Artifact: Raw string matches for Netpass"
tier = "T1 - Primitive Artifact"
confidence = "Low-Medium (Fast Triage)"
author = "SystemHelpdesk Threat Research Desk"
date = "2026-10-14"
strings:
$s1 = "netpass" ascii wide nocase
condition:
uint16(0) == 0x5a4d and any of them
}
Tier 2 Behavioral Context Rule (Process Chains & Sigma)
Tracks parent-child process anomalies and suspicious scripting telemetry. Resilient against file renames.
title: SystemHelpDesk Detection - Netpass (Trojan) Execution & Triage
id: 59cbb314-2538-5291-ad7b-32aa460f5d40
status: production
description: Detects execution, defense evasion, and persistence behaviors associated
with the Netpass malware family. Detects suspicious execution from temporary user
directories with hidden window flags and background transfer utilities.
references:
- https://malware-families-catalog.systemhelpdesk.com/families/netpass
- https://malware-families-catalog.systemhelpdesk.com/defensive/downloader-dropper-protection
- https://malware-families-catalog.systemhelpdesk.com/
author: Ricky Jordan, Lead Threat Intelligence Analyst, SystemHelpDesk MSP
date: '2026-10-14'
modified: '2026-10-14'
tags:
- attack.trojan
- author.ricky-jordan
- source.systemhelpdesk-mfc
- attack.t1555
- attack.t1105
- attack.t1003
- attack.t1059_004
logsource:
category: process_creation
product: windows
detection:
selection_process:
Image|endswith:
- \cmd.exe
- \powershell.exe
- \cscript.exe
- \wscript.exe
CommandLine|contains:
- AppData\Local\Temp
- -WindowStyle Hidden
- /e:jscript
- bitsadmin /transfer
condition: selection_process
falsepositives:
- Legitimate enterprise administrative scripts during approved change windows
- Authorized IT software deployment utilities and backup management agents
level: medium
Tier 3 Attribution Fingerprint Rule (High Fidelity)
Deep signature matching distinctive operational fingerprints and payload characteristics.
rule MALWARE_WIN_NETPASS_T3_ATTRIBUTION {
meta:
description = "Tier 3 Attribution Fingerprint: Heuristic detection for Netpass tradecraft"
tier = "T3 - Attribution Fingerprint"
confidence = "High (Confirmed Family Signature)"
author = "SystemHelpdesk Threat Research Desk"
date = "2026-10-14"
strings:
// Core family identifier & heuristic payload signatures
$attrib_str = "netpass" ascii wide nocase
$pe_magic = "MZ" ascii
$net_marker = "http" ascii nocase
condition:
uint16(0) == 0x5a4d and ($attrib_str and $net_marker) and filesize < 15MB
}
Containment & Response Steps
Ordered checklist for responders. Adapt to your environment and engage professional support for active incidents.
- Isolate the endpoint immediately; active credential dumping means an attacker is currently operating on the machine and attempting to move laterally.
- Assume all passwords stored in the Windows Credential Manager (RDP, network shares, Outlook) are compromised. Enforce an immediate password reset for the affected user account.
- Investigate EDR logs to determine *how* the Netpass utility was dropped onto the machine to identify the initial entry vector (e.g., a reverse shell or a dropper trojan).
- Hunt across the enterprise for the specific hash of the Netpass utility to ensure the attacker hasn't copied it to other machines.
What to Avoid
Common mistakes during response to this family that can destroy evidence, spread the infection, or worsen recovery.
- Do not assume the execution was legitimate administrative activity without explicitly verifying with the IT team; attackers frequently rename these tools to blend in.
- Avoid closing the incident simply by deleting the tool; the passwords have already been extracted and exfiltrated.
References & External Analysis
- Search "netpass" on VirusTotal (External Analysis)
- Search "netpass" on Any.Run (Sandbox Sandbox)
- Search "netpass" on MalwareBazaar (Malware Samples)
Frequently Asked Questions
What is Netpass and what threat category does it belong to?
Netpass is classified as a Trojan. Documented across security telemetry, it is engineered to execute unauthorized operations, establish persistent footholds on target endpoints, and facilitate malicious campaigns targeting enterprise and individual environments.
How does Netpass establish persistence and evade defensive controls?
Netpass typically establishes persistence through registry run keys, scheduled tasks, or service installations, while evading signature-based antivirus solutions through code obfuscation, memory injection, or anti-analysis sandbox checks.
What are the essential incident response steps for mitigating a Netpass compromise?
Security teams responding to Netpass should immediately isolate affected endpoints from the network, perform memory triage to capture volatile forensic artifacts, audit registry and startup persistence mechanisms, revoke exposed user credentials, and restore systems from verified, clean backups.
What secondary payloads and staging behaviors are commonly associated with Netpass?
Netpass frequently operates as a loader or dropper designed to establish a foothold before downloading and executing secondary high-impact malware payloads. Depending on the threat actor's objectives, these dropped modules can range from ransomware and banking injects to modular infostealers and remote management backdoors.
How can security operations teams effectively detect and hunt for Netpass across enterprise endpoints?
Defenders should hunt for Netpass by deploying behavioral endpoint detection and response (EDR) rules that monitor suspicious process spawning (such as cmd.exe or powershell.exe spawned from office documents or temporary directories), anomalous outbound network connections from non-browser binaries, and unauthorized modifications to Windows Run keys and scheduled task registries.
How do I remove the Netpass Trojan from Windows?
Manual removal of Netpass is highly discouraged as it may leave persistence mechanisms intact. We recommend disconnecting the device from the internet and utilizing a professional incident response service or enterprise-grade EDR software to conduct a full forensic sweep.
Is Netpass a virus or a Trojan?
Netpass is classified as a Trojan. Unlike traditional viruses that infect files, modern malware like Netpass typically operates as a standalone payload designed to compromise systems, steal data, or deploy secondary stage implants.
What are the main symptoms of a Netpass infection?
Symptoms of Netpass can include unexpected system slowness, unauthorized outbound network traffic to unknown IP addresses, disabled security software, and suspicious background processes running from AppData or Temp directories.
Protect Your Network Against Trojans
Want to prevent Netpass and similar threats from compromising your organization? Read our comprehensive defensive guide: Banking Trojan Protection for Businesses.
📣 Threat Intel Correction or Update?
Notice an outdated IOC, unlisted alias, or disputed attribution? Threat researchers are invited to propose an update on GitHub or contact the SystemHelpDesk research desk. All community revisions are credited in our public CHANGELOG.
Machine-readable
Get this profile as JSON: https://malware-families-catalog.systemhelpdesk.com/api/netpass.json
Ecosystem & Interactive Environments
This profile is part of the Malware Families Catalog, a public dataset of 2,899 malware families. The catalog is also published across our ecosystem: Hugging Face, Kaggle, Zenodo, Replit, StackBlitz, CodeSandbox, and CodePen.