{
  "family": "nirsoft",
  "sample_count": 2,
  "category": "advanced_threat",
  "description": "Riskware:Win32/Nirsoft refers to a highly popular suite of legitimate, incredibly useful, and free administrative utilities developed by Nir Sofer. However, because these tools specialize in recovering passwords (e.g., WebBrowserPassView, WirelessKeyView, MailPassView) and monitoring networks, they are flagged almost universally by enterprise security software. Threat actors heavily utilize Nirsoft utilities during the post-exploitation phase of an attack to effortlessly dump credentials stored locally on a compromised machine.<br><br><b>Understanding Nirsoft (Riskware/HackTools)</b><br>To an IT administrator, Nirsoft tools are lifesavers for recovering lost passwords for users. For a SOC analyst, the unauthorized execution of a Nirsoft password recovery tool is a glaring, 'red alert' Indicator of Compromise (IoC) signaling that an attacker is actively harvesting credentials (`T1003`) to escalate privileges or move laterally. They represent a classic 'Living off the Land' (LotL) risk.<br><br><b>Execution and Credential Harvesting Mechanics</b><br>Attackers typically drop Nirsoft utilities onto a machine after achieving initial access. They execute these small, portable executables (`T1204.002`) often via command-line arguments to silently dump the output to a text file (e.g., `/stext keys.txt`). These tools operate by decrypting the protected storage mechanisms of web browsers (Chrome, Firefox DPAPI), email clients (Outlook), and the Windows OS itself (LSA secrets, Wi-Fi profiles). The attacker then exfiltrates the resulting text file.<br><br><b>Indicators of Compromise & Impact</b><br>The impact is immediate and severe credential compromise. Host-based IoCs include EDR alerts explicitly flagging the execution of known Nirsoft binaries (based on their distinct hashes or internal strings). Command-line logging (Event ID 4688) will often capture the execution of these tools with silent output flags (`/shtml`, `/stext`). The sudden creation of text files containing parsed credentials in `%Temp%` or `C:\\ProgramData` is a critical indicator.",
  "cta": "Published by the SystemHelpdesk team.",
  "aliases": [],
  "enrichment_level": "expert-seo",
  "faq": [
    {
      "@type": "Question",
      "name": "What is Nirsoft and what threat category does it belong to?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Nirsoft is classified as a Advanced Threat. 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."
      }
    },
    {
      "@type": "Question",
      "name": "How does Nirsoft establish persistence and evade defensive controls?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Nirsoft 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."
      }
    },
    {
      "@type": "Question",
      "name": "What are the essential incident response steps for mitigating a Nirsoft compromise?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Security teams responding to Nirsoft 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."
      }
    },
    {
      "@type": "Question",
      "name": "What lateral movement and credential access tactics does Nirsoft leverage in enterprise intrusions?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Nirsoft frequently utilizes privileged account harvesting techniques such as LSASS memory dumping, Kerberoasting, and token impersonation to escalate privileges. Once administrative credentials are acquired, it pivots across the victim network utilizing living-off-the-land binaries (LOLBins) such as WMI, PowerShell remoting, and PsExec, or abuses remote desktop protocols (RDP) to reach critical internal repositories and domain controllers."
      }
    },
    {
      "@type": "Question",
      "name": "How does Nirsoft maintain covert communications and evade perimeter network monitoring?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Nirsoft often relies on multi-stage command and control (C2) architectures utilizing encrypted protocols over standard web ports (HTTPS/443 or DNS tunneling) to blend in with legitimate enterprise network traffic. Many variants incorporate proxy networks, domain fronting, or cloud services (such as Microsoft Graph API, Google Drive, or Telegram) to masquerade C2 channels, bypassing traditional signature-based egress filtering."
      }
    }
  ],
  "faq_count": 5,
  "mitre_attack": [
    "T1003",
    "T1555.003",
    "T1059.003"
  ],
  "cisa_advisory": null,
  "last_updated": "2026-06-09",
  "mitre_attack_detail": [
    {
      "id": "T1003",
      "name": "OS Credential Dumping (Extracting passwords from browsers/LSA)",
      "tactic": "Credential Access"
    },
    {
      "id": "T1555.003",
      "name": "Credentials from Password Stores: Credentials from Web Browsers",
      "tactic": "Credential Access"
    },
    {
      "id": "T1059.003",
      "name": "Command and Scripting Interpreter: Windows Command Shell (Automating the tools)",
      "tactic": "Execution"
    }
  ],
  "containment_steps": [
    "Isolate the endpoint immediately; if a Nirsoft tool was executed by an attacker, they now possess the plaintext credentials of the user.",
    "Mandate an immediate password reset for the affected user, encompassing all corporate accounts, web portals, and VPN access.",
    "Investigate EDR telemetry to determine *how* the Nirsoft tool was dropped onto the system (to identify the initial infection vector).",
    "Ensure Application Control (AppLocker/WDAC) policies explicitly block the execution of the entire Nirsoft suite by hash and publisher."
  ],
  "what_to_avoid": [
    "Do not whitelist Nirsoft tools globally, even if requested by IT support; the risk of attacker abuse far outweighs the administrative convenience.",
    "Avoid assuming the attack is over once the tool is deleted; the attacker has already stolen and exfiltrated the passwords."
  ],
  "target_industries": [
    "Global / Opportunistic"
  ],
  "motivation": "Opportunistic",
  "threat_actors": [
    "Unknown / Cybercriminal"
  ],
  "target_geographies": [
    "Global"
  ],
  "attack_stage": [
    "execution",
    "persistence"
  ],
  "ecosystem": [
    "windows_pe"
  ],
  "is_emerging": false,
  "target_platforms": [
    "Windows 11",
    "Windows 10",
    "Windows Server 2022",
    "Windows Server 2019"
  ]
}