{
  "family": "hpursnif",
  "sample_count": 1,
  "category": "trojan",
  "description": "<h3>Executive Summary</h3>\nHpursnif is a highly dangerous and sophisticated alias/variant of the infamous **Ursnif** (also known as Gozi or ISFB) Banking Trojan. Recognized as one of the most prolific and long-standing financial threats in the cybersecurity landscape, Hpursnif is engineered to steal banking credentials, intercept online transactions, and facilitate massive financial fraud, primarily targeting enterprise environments and financial institutions.\n\n<h3>Propagation and Execution Lifecycle</h3>\nHpursnif utilizes multiple, highly sophisticated vectors for distribution. It is most frequently delivered via targeted spear-phishing campaigns utilizing weaponized Office documents (often containing heavily obfuscated VBA macros or exploiting Equation Editor vulnerabilities) or via exploit kits (like RIG) hosted on compromised websites.\n\nOnce a host is compromised, Hpursnif's operations are extensive and highly evasive:\n<ul>\n<li><strong>Advanced Evasion and Fileless Execution:</strong> Modern variants of Hpursnif rely heavily on \"fileless\" techniques. The initial macro executes PowerShell scripts that download and inject the Hpursnif DLL directly into memory (often into legitimate processes like `explorer.exe`), leaving minimal footprint on the hard drive to evade static antivirus detection.</li>\n<li><strong>Web Injection and MitB Attacks:</strong> Hpursnif is a classic Man-in-the-Browser (MitB) threat. It hooks into browser APIs (Chrome, Firefox, IE) to intercept web traffic. It injects malicious HTML/JavaScript into legitimate banking websites, allowing attackers to steal login credentials, intercept 2FA tokens, and silently alter wire transfer details in real-time.</li>\n<li><strong>Data Exfiltration:</strong> Beyond banking, Hpursnif acts as a comprehensive info-stealer, harvesting email credentials, system information, and digital certificates, exfiltrating this data to command-and-control (C2) servers hidden behind Tor or fast-flux networks.</li>\n</ul>\n\n<h3>Threat Assessment</h3>\nAn Hpursnif infection is a critical, high-impact security incident. It represents a direct and immediate threat of massive financial loss, corporate account takeover, and severe data breaches for the affected organization. Its use of fileless techniques makes it incredibly difficult to detect and eradicate.\n\n<h3>Eradication and Incident Response</h3>\n<ul>\n<li><strong>Immediate Network Containment:</strong> The infected machine must be immediately physically disconnected from the network to halt active financial data exfiltration and prevent the trojan from pivoting laterally.</li>\n<li><strong>Financial Account Lockdown:</strong> Immediately notify the organization's financial institutions to freeze all associated corporate accounts and closely monitor for unauthorized wire transfers.</li>\n<li><strong>System Wipe and Re-image:</strong> Attempting to \"clean\" an Hpursnif infection using antivirus software is highly ineffective due to its in-memory execution and deep system hooks. The only guaranteed method of eradication is a complete wipe and re-image of the compromised host from a known good baseline.</li>\n</ul>",
  "cta": "Published by the SystemHelpdesk team.",
  "aliases": [
    "Trojan.Ursnif",
    "Banker.Gozi",
    "Win32/ISFB",
    "Trojan-Banker.Win32.Ursnif"
  ],
  "enrichment_level": "expert-seo",
  "faq": [
    {
      "@type": "Question",
      "name": "What is Hpursnif and what threat category does it belong to?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Hpursnif 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."
      }
    },
    {
      "@type": "Question",
      "name": "How does Hpursnif establish persistence and evade defensive controls?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Hpursnif 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 Hpursnif compromise?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Security teams responding to Hpursnif 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 secondary payloads and staging behaviors are commonly associated with Trojan.Ursnif?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Trojan.Ursnif 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."
      }
    },
    {
      "@type": "Question",
      "name": "How can security operations teams effectively detect and hunt for Trojan.Ursnif across enterprise endpoints?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Defenders should hunt for Trojan.Ursnif 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."
      }
    }
  ],
  "faq_count": 5,
  "mitre_attack": [
    "T1056.004",
    "T1185",
    "T1114",
    "T1055.001"
  ],
  "cisa_advisory": null,
  "last_updated": "2026-10-15",
  "type": "Banking Trojan",
  "target_industries": [
    "Global / Opportunistic"
  ],
  "motivation": "Opportunistic",
  "threat_actors": [
    "Unknown / Cybercriminal"
  ],
  "target_geographies": [
    "Global"
  ],
  "attack_stage": [
    "execution",
    "persistence"
  ],
  "ecosystem": [
    "windows_pe"
  ],
  "is_emerging": false,
  "mitre_attack_detail": [
    {
      "id": "T1056.004",
      "name": "Input Capture: Credential API Hooking",
      "tactic": "Credential Access"
    },
    {
      "id": "T1185",
      "name": "Browser Session Hijacking (Ad injection and tracking)",
      "tactic": "Collection"
    },
    {
      "id": "T1114",
      "name": "Email Collection (Harvesting addresses for spamming)",
      "tactic": "Collection"
    },
    {
      "id": "T1055.001",
      "name": "Dynamic-link Library Injection",
      "tactic": "defense-evasion"
    }
  ],
  "containment_steps": [
    "Sever network connectivity for the flagged endpoint to terminate persistent command-and-control (C2) communication channels and stop Hpursnif from retrieving secondary stage payloads.",
    "Capture process memory triage to detect and terminate malicious threads injected by Hpursnif into legitimate system processes such as explorer.exe or svchost.exe.",
    "Audit Windows Registry Run keys (HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Run) and Task Scheduler entries to locate and purge Hpursnif persistence hooks.",
    "Deploy updated enterprise EDR detection signatures and conduct an out-of-band endpoint scan to isolate dropped binaries and staged payloads.",
    "Rotate all credentials, domain user passwords, and session cookies active on the system during the Hpursnif execution timeframe."
  ],
  "what_to_avoid": [
    "Do not assume the incident is resolved simply because an antivirus tool removed the initial Hpursnif dropper; always verify that secondary payloads and persistence hooks have been eradicated.",
    "Avoid logging in with Domain Admin or privileged credentials on a machine suspected of running Hpursnif until memory triage is complete.",
    "Do not delay host isolation; automated lateral movement and credential dumping can occur within minutes of initial execution."
  ],
  "target_platforms": [
    "Windows 11",
    "Windows 10",
    "Windows 7"
  ]
}