{
  "family": "refogkeylogging",
  "sample_count": 2,
  "category": "advanced_threat",
  "description": "Spyware:Win32/Refogkeylogging (or Refog) is a commercial keylogger and surveillance application. Like Lightlogger, it is marketed to parents and businesses for 'monitoring' purposes, but it is frequently classified as malware (Spyware/PUP) because it operates stealthily, can be installed without the user's consent, and is actively abused by malicious actors (such as abusive partners or cybercriminals) to steal credentials and surveil activity (`T1056.001`).<br><br><b>Understanding Refog (Commercial Spyware)</b><br>To an end-user, Refog operates completely invisibly. There are no icons, no taskbar entries, and it actively hides itself from the standard Windows Task Manager. For a security operations center, the presence of Refog is a serious privacy and security violation. It captures every keystroke, logs websites visited, intercepts chat messages, and takes periodic screenshots, transmitting this sensitive information to the person who installed it (`T1113`).<br><br><b>Execution and Surveillance Mechanics</b><br>Refog requires local physical access or administrative privileges to install (`T1078`). Once installed, it utilizes API hooking to intercept all keyboard input before it reaches the intended application (`T1056.001`). It establishes persistence via deep registry modifications or as a hidden Windows Service. The captured data is encrypted and stored locally in hidden log files, and then periodically exfiltrated via email (SMTP), FTP, or a proprietary cloud dashboard controlled by the attacker. Advanced versions can even bypass clipboard clearing tools to steal copied text (`T1115`).<br><br><b>Indicators of Compromise & Impact</b><br>The impact is the total compromise of user privacy and the theft of all credentials entered on the machine. Host-based IoCs include EDR alerts for extensive keyboard hooking, the presence of the Refog executables (often disguised with generic names in `C:\\ProgramData` or `%AppData%`), and hidden, rapidly growing log files containing encrypted surveillance data. Network IoCs include periodic, automated outbound connections via SMTP or HTTP to exfiltrate the logs to the Refog servers.",
  "cta": "Published by the SystemHelpdesk team.",
  "aliases": [],
  "enrichment_level": "expert-seo",
  "faq": [
    {
      "@type": "Question",
      "name": "What is Refogkeylogging and what threat category does it belong to?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Refogkeylogging 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 Refogkeylogging establish persistence and evade defensive controls?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Refogkeylogging 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 Refogkeylogging compromise?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Security teams responding to Refogkeylogging 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 Refogkeylogging leverage in enterprise intrusions?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Refogkeylogging 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 Refogkeylogging maintain covert communications and evade perimeter network monitoring?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Refogkeylogging 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": [
    "T1115",
    "T1113",
    "T1056.001"
  ],
  "cisa_advisory": null,
  "last_updated": "2026-06-09",
  "mitre_attack_detail": [
    {
      "id": "T1056.001",
      "name": "Input Capture: Keylogging (The primary function of the spyware)",
      "tactic": "Credential Access"
    },
    {
      "id": "T1113",
      "name": "Screen Capture (Taking periodic screenshots of the user's desktop)",
      "tactic": "Collection"
    },
    {
      "id": "T1115",
      "name": "Clipboard Data (Stealing copied text, often including passwords)",
      "tactic": "Collection"
    }
  ],
  "containment_steps": [
    "Immediately isolate the machine to prevent further exfiltration of captured keystrokes and screenshots.",
    "Assume all passwords (corporate and personal) typed on that machine have been compromised and initiate forced resets.",
    "Use a dedicated anti-spyware/anti-malware tool to locate and permanently remove the hidden Refog service and its associated log files.",
    "Investigate how the software was installed; if an employee installed it without authorization, treat it as an insider threat incident."
  ],
  "what_to_avoid": [
    "Do not allow the user to log into any sensitive accounts while the machine is active, as the keylogger is recording everything.",
    "Avoid relying solely on Windows Defender, as commercial keyloggers sometimes obtain digital signatures or use techniques to bypass basic AV."
  ],
  "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"
  ]
}