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