Netpass

Category: trojan · Aliases: None known · Sample count (EMBER 2018): 9 · Enrichment: expert-seo · Updated: 2026-06-09
Category: TrojanActor: Unknown / CybercriminalIndustry: Global / OpportunisticMotivation: Opportunistic

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 the MITRE ATT&CK framework:

TechniqueNameTactic
T1003OS Credential Dumping (Querying Windows Credential Manager)Credential Access
T1555Credentials from Password StoresCredential Access
T1059.004Command and Scripting Interpreter (Command-line execution)Execution
T1105Ingress Tool TransferCommand and Control

Tactical Mitigations

Based on the techniques used by this family, consider the following defensive strategies:

Generated Detections (Boilerplate)

These YARA and Sigma rules are auto-generated based on the family name and aliases. They must be heavily tuned before deployment in a production environment.

YARA Rule

rule MALWARE_WIN_NETPASS {
    meta:
        description = "Detects Netpass (trojan)"
        author = "SystemHelpdesk Boilerplate Generator"
        date = "2026-07-06"
    strings:
        $s1 = "netpass" ascii wide nocase
    condition:
        uint16(0) == 0x5a4d and any of them
}

Sigma Rule

title: Suspicious Netpass Activity
id: 95482e267322f13031715049fe04e137
status: experimental
description: Detects generic indicators of the netpass malware family.
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        Image|endswith:
            - '\cmd.exe'
            - '\powershell.exe'
        CommandLine|contains:
            - "*netpass*"
    condition: selection
level: medium

Containment & Response Steps

Home Users: If you suspect a malware infection on your personal device, disconnect from the internet immediately and run a full system scan with your antivirus software. The steps below are intended for IT professionals responding to enterprise incidents.

Ordered checklist for responders. Adapt to your environment and engage professional support for active incidents.

  1. Isolate the endpoint immediately; active credential dumping means an attacker is currently operating on the machine and attempting to move laterally.
  2. 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.
  3. 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).
  4. 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.

  1. Do not assume the execution was legitimate administrative activity without explicitly verifying with the IT team; attackers frequently rename these tools to blend in.
  2. Avoid closing the incident simply by deleting the tool; the passwords have already been extracted and exfiltrated.

References & External Analysis

Frequently Asked Questions

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.

Related Families (Category: trojan)

Explore other malware families in the same category:

Protect Your Network Against Trojans

Want to prevent Netpass and similar threats from compromising your organization? Read our comprehensive defensive guide: Banking Trojan Protection.

Need help with an active incident? Published by the SystemHelpdesk team.

Machine-readable

Get this profile as JSON: https://jordan123234-malware-families-explorer.static.hf.space/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.