# KGB RAT: Fully Undetectable Windows Trojan (NjRAT-based MaaS) Built to Spy, Steal, and Terrorize

> Group-IB analyzes KGB RAT (K.G.B RAT), a Windows remote access trojan sold as malware-as-a-service at roughly $150/month to $800/year with a separate $500 network-spreading add-on. Analyzed samples are obfuscated VB.NET binaries identified as NjRAT 0.7D Lime Edition, with keylogging, screen and clipboard capture, Credential Manager theft, a crypto clipper, scheduled-task and Run-key persistence, and heavy sandbox/analysis-tool evasion.

- **Published:** 2026-11-26T09:44:05Z
- **Last reviewed:** 2026-11-26T09:44:05Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-6913
- **Card image:** https://intel.threadlinqs.com/og/threat/TL-2026-6913.png
- **ID:** TL-2026-6913
- **Severity:** HIGH
- **Category:** MALWARE
- **Status:** ACTIVE
- **Detections:** 9 (1 shown free below) · **IOCs:** 28 (3 shown free below)

## Description

KGB RAT is a commodity Windows RAT marketed on underground forums since at least late 2025 as a 'fully undetectable' (FUD) MaaS offering with free and paid tiers. Group-IB malware analysts (Alpomish Asadov, Razvan Raducu) published their analysis on 2026-10-14. The sellers advertise remote desktop and HVNC, webcam/microphone access, file/registry/process/service managers, keylogging, password recovery, UAC bypass, persistence, a payload builder (EXE, BAT, REG, HTA), a FUD binder, a Unique Stub Generator, LAN spreading (a $500 add-on), multi-client management, Telegram alerts, a crypto clipper and a 'fun' menu (screamers, forced crashes). The vendor claims more than 10,000 users; this is a seller claim and unverified. An early version-0.1 server reference appears in a public disclosure dating to late January 2022, which suggests development well before the commercial launch.

The analyzed samples are x86 .NET PE files compiled in VB.NET (Microsoft Linker 11.0), detected as obfuscated NjRAT 0.7D Lime Edition (NjRAT is also tracked as Bladabindi / Lime-Worm). Samples fall into three groups: unobfuscated, obfuscated, and encrypted droppers/loaders. Configuration is held in an 'OK' class: C2 host/port, Telegram bot token and chat ID, a Pastebin option to change C2 without rebuilding, scheduled-task name, persistence flags, clipper wallet fields, and an 'ANYRUN' flag that gates the UAC bypass. The beacon is a single delimited message using the '|Ghost|' separator, carrying a build header, a Base64 victim separator (VmljdGlt = 'Victim'), hostname, user, date, OS, admin status and installed AV, sent over a raw TCP socket. Screen captures are sent as JPEG with an MD5 of the last frame used for de-duplication. A Telegram Bot API sendMessage call can notify the operator, and ip-api.com is used for geolocation.

Installation: the dropper copies itself to %TEMP%\svchost.exe, starts it suspended, injects into svchost.exe and deletes the original. Persistence uses a scheduled task named ChromeUpdate (ONLOGON, highest run level), a Run value under HKCU\...\Policies\Explorer\Run ('Loader'), and a hidden Startup-folder copy plus a .url shortcut (SHELL32.dll icon index 17). Options also copy the binary to removable drives (USB_SP). The UAC bypass hijacks the ms-settings\shell\open\command key with DelegateExecute so that ComputerDefaults.exe launches the payload; Group-IB reports it is disabled in all analyzed samples. The malware also sets HKCU\Environment\SEE_MASK_NOZONECHECKS=1, sets ShowSuperHidden=0, and can mark itself a critical process via NtSetInformationProcess so that termination causes a BSOD. A BotKiller/KOTH routine (enabled in one sample) removes rival malware that is unsigned, hidden/system-attributed, or in user-writable paths. Credential theft reads the Windows Credential Manager vault (GUID 4BF4C442-9B8A-41A0-B380-DD4A704DDB28, Policy.vpol, Latest.dat). Keylogging polls GetAsyncKeyState. One sample enables a clipper that swaps BTC, ETH and TRC-20 wallet addresses stored under HKCU\Software\Clipper.

Anti-analysis is extensive: it aborts on baseboard strings associated with VMs/sandboxes, on a long list of analysis tools (procexp, Wireshark, processhacker, dnSpy, ILSpy, VBoxService and others), uses long sleeps, and checks NICs, printers, USB history and mouse activity. A self-delete ('Melty') runs through cmd.exe choice/Del, and an execution guard file obito.txt ensures the decoy message appears only on first run.

Infrastructure and attribution: most samples beacon to 104.248.130.195 (ports 7489, 7490, 7492); one uses 2.59.134.215:443. Group-IB sees multiple distinct operators sharing a common builder and does not name a threat actor or report victims, sectors or regions. The tool's authors are said to be publicly identifiable by nicknames and social-media profiles, but none are given. Marketing materials mention ransomware capability, but the report contains no ransomware analysis. A BeaconBeagle lookup of both C2 IPs returned HTTP 404 (no record). Severity HIGH is an analyst judgment from capability breadth and commodity availability.

## MITRE ATT&CK

- T1059.001 PowerShell
- T1047 Windows Management Instrumentation
- T1053.005 Scheduled Task
- T1547.001 Registry Run Keys / Startup Folder
- T1546.001 Change Default File Association
- T1548.002 Bypass User Account Control
- T1036 Masquerading
- T1027.002 Software Packing
- T1620 Reflective Code Loading
- T1112 Modify Registry
- T1070.004 File Deletion
- T1497.001 System Checks
- T1056.001 Keylogging
- T1555.004 Windows Credential Manager
- T1082 System Information Discovery
- T1518.001 Security Software Discovery
- T1113 Screen Capture
- T1071.001 Web Protocols
- T1565 Data Manipulation

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**KGB RAT: svchost.exe Masquerade Executing From %TEMP% or User-Writable Path (Exploitation / Execution)** (`TL-2026-6913-SPL-001`)

TL-2026-6913 KGB RAT (NjRAT 0.7D Lime Edition) dropper copies itself to %TEMP%\svchost.exe, starts it suspended, injects into svchost.exe and deletes the original. Alerts on svchost.exe running from AppData, Temp, ProgramData or Users\Public (never legitimate), or on any process whose SHA-256 matches the 12 Group-IB listed KGB RAT samples.

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1036, T1027.002
- **Data sources:** sysmon
- **Severity:** high
- **Confidence:** high

### Splunk SPL

```spl
index=sysmon sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=1 ((Image="*\\svchost.exe" (Image="*\\AppData\\*" OR Image="*\\Temp\\*" OR Image="*\\Users\\Public\\*" OR Image="*\\ProgramData\\*")) OR Hashes IN ("*SHA256=559df77441172452*","*SHA256=581c440644f93a17*","*SHA256=d4fc7867caf1349b*","*SHA256=d8fb0d64ea8b4a32*","*SHA256=df792f965f693b0a*","*SHA256=836ebabb6304dd87*","*SHA256=1b3c95cf2a030df1*","*SHA256=d691e9721c381047*","*SHA256=22255c3c488d4c92*","*SHA256=25eb0dfbe57dc07d*","*SHA256=8c3e8d0a5fadbd69*","*SHA256=3d71f8b5171f2fe4*"))
| eval known_kgb_hash=if(match(Hashes,"(?i)sha256=(559df77441172452|581c440644f93a17|d4fc7867caf1349b|d8fb0d64ea8b4a32|df792f965f693b0a|836ebabb6304dd87|1b3c95cf2a030df1|d691e9721c381047|22255c3c488d4c92|25eb0dfbe57dc07d|8c3e8d0a5fadbd69|3d71f8b5171f2fe4)"),1,0)
| stats count min(_time) as first_seen max(_time) as last_seen values(ParentImage) as parent values(CommandLine) as cmdline by host User Image known_kgb_hash
| convert ctime(first_seen) ctime(last_seen)
| table first_seen last_seen host User Image parent cmdline known_kgb_hash count
```

### Microsoft KQL

```kql
let kgb_hashes = dynamic(["559df774411724520865fa15aa8b7e209d0ee133db4dc3d3cd180e895d597a36", "581c440644f93a17191b98158c467be5ae5972ab19668c6e8530a2034833bd45", "d4fc7867caf1349bbbfd1f2972fe92acedd8507ae89fa822c07f09a194127894", "d8fb0d64ea8b4a32d6c5869212a62a3c9c6357e4fd7e4cf090a67d22d8f78b62", "df792f965f693b0a2b5bffd9a1ea5127cbd4b13daa9ddb2559f54523604777d8", "836ebabb6304dd873343e85eb51a9e8c9b3de8a68d5152c3ab0d496c8fc0fdf7", "1b3c95cf2a030df15d1474af2ae96bfe9a6ed160319c1a8782237206035d82c7", "d691e9721c38104777664f8afd3941ededcadd433b3b593de3e21aa14d60f1f2", "22255c3c488d4c92ea3567d1032e7a7c790a22cde989a8f0eb257c2d6d811ed4", "25eb0dfbe57dc07d461e62643262c45de052b012529ad05c7f19c5eb0c1ed646", "8c3e8d0a5fadbd696bcbd56313d69d94f41f1b2678cfea4db83999a6ad62a63e", "3d71f8b5171f2fe47d9a247a193c1b48c1aaa4d533811e208b8d94ffa5800c9e"]);
DeviceProcessEvents
| where Timestamp > ago(24h)
| where (FileName =~ "svchost.exe" and FolderPath matches regex @"(?i)\\(AppData|Temp|Users\\Public|ProgramData)\\") or SHA256 in~ (kgb_hashes)
| project Timestamp, DeviceName, AccountName, FolderPath, ProcessCommandLine, InitiatingProcessFileName, InitiatingProcessFolderPath, SHA256
```

### Sigma

```yaml
title: KGB RAT - svchost.exe Masquerade Running From User-Writable Path
id: 3c1f7a52-8e44-4b0d-9a6e-1d2b5f7c9a11
status: experimental
description: Detects svchost.exe launched from Temp, AppData, ProgramData or Users Public (KGB RAT / NjRAT 0.7D Lime dropper persisted copy as svchost.exe in the Temp folder) or a process image hash matching Group-IB listed KGB RAT samples.
references:
    - https://www.group-ib.com/blog/kgb-rat-windows-fud-trojan/
author: Threadlinqs Team
date: 2026/11/26
tags:
    - attack.defense-evasion
    - attack.t1036
    - attack.t1027.002
    - detection.emerging-threats
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        Image|endswith: '\svchost.exe'
        Image|contains:
            - '\AppData\'
            - '\Temp\'
            - '\Users\Public\'
            - '\ProgramData\'
    selection_hash:
        Hashes|contains:
            - 'SHA256=559df774411724520865fa15aa8b7e209d0ee133db4dc3d3cd180e895d597a36'
            - 'SHA256=581c440644f93a17191b98158c467be5ae5972ab19668c6e8530a2034833bd45'
            - 'SHA256=d4fc7867caf1349bbbfd1f2972fe92acedd8507ae89fa822c07f09a194127894'
            - 'SHA256=d8fb0d64ea8b4a32d6c5869212a62a3c9c6357e4fd7e4cf090a67d22d8f78b62'
            - 'SHA256=df792f965f693b0a2b5bffd9a1ea5127cbd4b13daa9ddb2559f54523604777d8'
            - 'SHA256=836ebabb6304dd873343e85eb51a9e8c9b3de8a68d5152c3ab0d496c8fc0fdf7'
            - 'SHA256=1b3c95cf2a030df15d1474af2ae96bfe9a6ed160319c1a8782237206035d82c7'
            - 'SHA256=d691e9721c38104777664f8afd3941ededcadd433b3b593de3e21aa14d60f1f2'
            - 'SHA256=22255c3c488d4c92ea3567d1032e7a7c790a22cde989a8f0eb257c2d6d811ed4'
            - 'SHA256=25eb0dfbe57dc07d461e62643262c45de052b012529ad05c7f19c5eb0c1ed646'
            - 'SHA256=8c3e8d0a5fadbd696bcbd56313d69d94f41f1b2678cfea4db83999a6ad62a63e'
            - 'SHA256=3d71f8b5171f2fe47d9a247a193c1b48c1aaa4d533811e208b8d94ffa5800c9e'
    condition: selection_img or selection_hash
falsepositives:
    - Software packaging or test harnesses that stage a renamed svchost.exe in a temp path (rare)
level: high
```

**Known false positives:**

- Third-party installers or test harnesses that legitimately stage a renamed svchost.exe in a temp path
- Malware-analysis or red-team lab hosts replaying KGB RAT samples

**Tuning notes:** Restrict to workstation host groups, exclude known software-packaging build hosts by host or ParentImage, and keep the hash list synced with new Group-IB/TL IOC updates. Prioritise as critical when known_kgb_hash=1.

### 8 more detection rules (Splunk SPL, Microsoft KQL, Sigma), unlock with TL Creds

- KGB RAT: Dropped Execution Artifacts [indicator] / [indicator] / [indicator] in Temp (Exploitation) (locked: unlock with TL Creds)
- KGB RAT: ms-settings Shell Open Command UAC Bypass via ComputerDefaults.exe (Post-Exploitation) (locked: unlock with TL Creds)
- KGB RAT: Non-Browser Access to [indicator] and [indicator] from User-Writable Process (C2 / Command and Control) (locked: unlock with TL Creds)
- KGB RAT: SEE_MASK_NOZONECHECKS Zone-Check Bypass and HKCU Clipper Wallet Configuration (Post-Exploitation) (locked: unlock with TL Creds)
- KGB RAT: Melty Self-Delete (cmd choice/Del) and Win32_BaseBoard Sandbox Check (Post-Exploitation) (locked: unlock with TL Creds)
- KGB RAT: Credential Manager Vault Access by Non-System Process (Post-Exploitation / Credential Access) (locked: unlock with TL Creds)
- KGB RAT: ChromeUpdate Scheduled Task and Policies\Explorer\Run\Loader Persistence (Post-Exploitation) (locked: unlock with TL Creds)
- KGB RAT: Outbound Connection to [indicator] / [indicator] C2 (C2 / Command and Control) (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sample indicators (3 of 28)

Defanged, TLP:CLEAR.

- IP address: `104.248.130[.]195`
- Domain: `kgbrat[.]org`
- File hash: `559df774411724520865fa15aa8b7e209d0ee133db4dc3d3cd180e895d597a36`

Full set of 28 indicators unlocks with TL Creds: https://threadlinqs.com/tl-creds

## Sources

- [KGB RAT: A Fully Undetectable Windows Trojan Built to Spy, Steal, and Terrorize (Group-IB)](https://www.group-ib.com/blog/kgb-rat-windows-fud-trojan/)
- [KGB RAT trojan packs webcam spying, password theft and a "fun" menu to terrorize victims (Help Net Security)](https://www.helpnetsecurity.com/2026/10/15/kgb-rat-windows-trojan-webcam-spying-password-theft/)
- [Experts uncover bizarre new malware that spooks users with jump scares and screams (TechRadar)](https://techradar.com/pro/security/experts-uncover-bizarre-new-malware-that-spooks-users-with-jump-scares-and-screams)
- [BrinzTech breach alert: new K.G.B RAT tool detected](https://www.brinztech.com/breach-alerts/brinztech-alert-new-k-g-b-rat-tool-share-is-detected/)
- [K.G.B RAT (GBHackers)](https://gbhackers.com/k-g-b-rat/)
- [K.G.B RAT malware (Cyber Press)](https://cyberpress.org/k-g-b-rat-malware/)
- [Threat actors allegedly promoting fully undetectable K.G.B RAT on hacker forums (Cryptika)](https://www.cryptika.com/threat-actors-allegedly-promoting-fully-undetectable-k-g-b-rat-on-hacker-forums/)
- [Full Disclosure mailing list, Feb 2022 (KGB RAT v0.1 server reference)](https://seclists.org/fulldisclosure/2022/Feb/2)
- [Malpedia: NjRAT (win.njrat)](https://malpedia.caad.fkie.fraunhofer.de/details/win.njrat)
- [MITRE ATT&CK: NjRAT (S0385)](https://attack.mitre.org/software/S0385/)
- [Group-IB detonation report (KGB RAT sample)](https://detonation.group-ib.com/report/3b5f7975-70ca-4824-822f-49670f0d4bf5)
- [Analyzing njRAT Lime and Green Edition (iss4cf0ng)](https://iss4cf0ng.github.io/2026/03/18/2026-3-18-njRATLime)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-6913
