SlimAgent
- Type
- Spyware
- Capabilities
- Keylogging
- Delivery
- Spearphishing
- Platforms
- Windows
SlimAgent is a C++ spyware implant for Windows used by the Russian cyberespionage group APT28, also known as Sednit and Fancy Bear. It records keystrokes, captures screenshots, and collects clipboard data. Its keylogging output uses HTML formatting to distinguish application names, window titles, and captured input. Screenshots are captured through Windows APIs, encrypted using AES and RSA, and stored locally with timestamps.
SlimAgent was discovered on a Ukrainian government computer in April 2024 and publicly documented in June 2025. It has been deployed alongside the BeardShell backdoor, including in attacks against Ukrainian government organizations using social engineering through Signal chats. Code-level similarities in keylogging logic and HTML log formatting link SlimAgent to the keylogger module of APT28’s older X-Agent implant. Related samples sharing its codebase were used against governmental entities in two European countries as early as 2018.
Associated vulnerabilities
1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
The researchers uncovered these malware families after discovering SlimAgent, a keylogging implant deployed in a Ukrainian government system capable of keystroke capture, clipboard collection, and screenshot capture.
Techniques & procedures
16 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
1 technique
Resource Development
MITRE ATT&CK techniques ... T1587.001 Develop Capabilities: Malware BeardShell and SlimAgent are custom malware.
Initial Access
2 techniques
Initial Access
Spear phishing campaigns or the SedKit exploit kit delivered the Seduploader first stage.
“Sednit typically compromises its targets through social engineering over Signal Desktop or WhatsApp Desktop, persuading them to open Trojanized Excel or Word documents. In some cases, the attackers even call their targets to increase the chances of success.”
Execution
3 techniques
Execution
It can execute PowerShell commands in a .NET runtime environment and was used together with SlimAgent.
MITRE ATT&CK techniques ... T1129 Shared Modules BeardShell and SlimAgent are full-fledged DLL files.
The two pieces of malware have been used recently to target central executive bodies of Ukraine in attacks that exploited the CVE-2026-21509 vulnerability in Microsoft Office via malicious DOC files.
Persistence
1 technique
Persistence
MITRE ATT&CK techniques ... T1546.015 Event Triggered Execution: Component Object Model Hijacking BeardShell and SlimAgent are made persistent by hijacking COM objects.
Privilege Escalation
1 technique
Privilege Escalation
MITRE ATT&CK techniques ... T1546.015 Event Triggered Execution: Component Object Model Hijacking BeardShell and SlimAgent are made persistent by hijacking COM objects.
Stealth
2 techniques
Stealth
MITRE ATT&CK techniques ... T1480 Execution Guardrails BeardShell only executes in taskhost.exe or taskhostw.exe. SlimAgent only executes in explorer.exe.
MITRE ATT&CK techniques ... T1564 Hide Artifacts SlimAgent logs are written into a hidden file.
Credential Access
1 technique
Credential Access
在同一操作基础设施上发现的名为Slimagent的键盘记录器,与APT28十多年前的标志性植入程序X-Agent有直接代码渊源。
Collection
4 techniques
Collection
MITRE ATT&CK techniques ... T1005 Data from Local System BeardShell, Covenant, and SlimAgent collect data from a compromised machine.
在同一操作基础设施上发现的名为Slimagent的键盘记录器,与APT28十多年前的标志性植入程序X-Agent有直接代码渊源。
SlimAgent is a simple yet efficient spying tool capable of logging keystrokes, capturing screenshots, and collecting clipboard data.
SlimAgent is a simple yet efficient spying tool capable of logging keystrokes, capturing screenshots, and collecting clipboard data.
Command and Control
1 technique
Command and Control
该组织从稳定的恶意软件框架转向部署短效、单一用途的工具,一旦暴露立即弃用。
Exfiltration
2 techniques
Exfiltration
Результаты выгружаются как зашифрованные изображения с расширениями .bmp/.gif/.jpeg/.png/.tiff через тот же облачный канал (T1041, T1567.002).
...эксфильтрация документов через тот же облачный канал (Exfiltration to Cloud Storage, T1567.002).
Observables
2 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
22 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.