{
  "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": [],
  "faq_count": 0,
  "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"
  ]
}