Lumu Named Leader in GigaOm NDR Radar 2026

Already have an account? Sign in

Sign in

Malware

S0032

Gh0st RAT

Type

Remote Access Trojan (RAT)

Associated threat actors

State-sponsored groups (such as Emissary Panda and other Chinese APTs), Cybercriminal syndicates

Key Capabilities

Grants full remote control of the system, logs keystrokes, hijacks webcams and microphones, and wipes Windows Event Logs.

OS Targeted

Windows

IoCs on Maltiverse

Maltiverse provides updated IoCs for easy SIEM/SOAR/Firewall/EDR integration.

What is Gh0st RAT?

Gh0st RAT (S0032) is a notorious Remote Access Trojan. It first appeared around 2008. Chinese state-sponsored actors originally used it for cyber espionage. However, the original developers eventually leaked the source code. Today, a wide variety of cybercriminals use customized versions of the tool to infiltrate corporate networks and steal sensitive data.

The malware gives attackers total control over an infected machine. Once installed, it operates silently in the background by injecting itself into legitimate processes or utilizing DLL side-loading. Criminals can browse internal files, execute commands via a reverse shell, and log every keystroke. The software even allows attackers to turn on webcams and microphones to spy on victims in real time.

Attackers typically distribute Gh0st RAT through spear-phishing emails or malicious website links. The tool is highly persistent. It manipulates the Windows registry (often altering the InstallTime subkey or creating new Run keys) to ensure it starts automatically every time the computer reboots. The software also clears Windows event logs and resets the System Service Dispatch Table (SSDT) to unhook security sensors, erasing evidence of the intrusion and hiding from network defenders.

How to Defend Against Gh0st RAT?

Defending against Gh0st RAT requires robust endpoint monitoring, strict access controls, and automated network defense.

  • Secure the email vector: Attackers rely on targeted phishing emails to deliver the initial payload. Implement strong filtering to catch malicious links and archive attachments before they reach users.
  • Monitor endpoint behaviors: The malware logs keystrokes and modifies the Windows registry for persistence. Deploy endpoint detection tools to inspect unauthorized system changes, block unusual microphone or webcam access, and generate immediate alerts when Windows Event Logs are cleared (Event IDs 1102 or 104).
  • Monitor endpoint behaviors: The malware logs keystrokes and modifies the Windows registry for persistence. Deploy endpoint detection tools to inspect unauthorized system changes, block unusual microphone or webcam access, and leverage Lumu’s Log Tampering Detections to generate immediate alerts when Windows Event Logs are cleared (Event IDs 1102 or 104).
  • Eliminate network blind spots: Legacy RATs often gain entry through forgotten, internet-facing assets. Use platforms like Lumu Discover to gain continuous visibility into your external attack surface and secure unmonitored endpoints.
  • Hunt for historical compromises: Stealthy remote access trojans often dwell quietly in a network for months. Leverage Lumu Archive to analyze historical network traffic and uncover hidden, long-term compromises from the past.
  • Track abnormal network behaviors: Gh0st RAT maintains a continuous connection with external servers using custom TCP network protocols. Because the source code leaked, attackers frequently alter the default 5-byte network header (the ‘Gh0st’ magic bytes) to custom strings like ‘EyeG’ or ‘MAGC’. Deploy NDR platforms like Lumu Defender to flag these suspicious outbound connections, detect custom magic byte signatures, and block C2 communication.
  • Block malicious indicators: Leverage threat intelligence platforms like Lumu Maltiverse to automatically correlate and block known infrastructure, domains, and IP addresses linked to RAT campaigns.

Join our pre-day 
workshop waitlist

By clicking “Submit Request” you agree to the Lumu Terms of Service and Privacy Policy.