ResokerRAT
ResokerRAT is a newly identified Windows remote access trojan (RAT) analyzed by K7 Security Labs. It targets Windows systems and uses Telegram’s Bot API over HTTPS as its command-and-control channel, polling Telegram getUpdates with hardcoded bot token and chat ID values to receive text-based commands and exfiltrate data, which it URL-encodes before transmission. The malware is delivered as an executable named Resoker.exe and is designed to blend malicious traffic into normal Telegram-related communications rather than relying on a traditional dedicated C2 server.
Reported capabilities include remote tracking and control of infected hosts, screenshot capture, keylogging, downloading and deploying additional payloads, persistence, privilege escalation, and interference with user and analyst tools. On execution, it creates the mutex Global\ResokerSystemMutex to ensure a single instance runs, checks for debugging with IsDebuggerPresent, and triggers custom exception handling when analysis is detected. It attempts to relaunch itself with administrator rights via ShellExecuteExA using the runas option, enumerates running processes, and terminates tools such as Taskmgr.exe, Procexp.exe, and ProcessHacker.exe. Reported behavior also includes blocking Task Manager, installing a global keyboard hook with SetWindowsHookExW, and blocking shortcuts including ALT+TAB and CTRL+ALT+DEL.
For persistence, the /startup command adds the malware path to HKCU\Software\Microsoft\Windows\CurrentVersion\Run using the registry value name Resoker. The /screenshot command runs a hidden PowerShell script, creates a Screenshots folder locally, and saves captured screens as PNG files. The /download command retrieves additional files from attacker-controlled URLs through hidden PowerShell. The /uac-min command modifies UAC-related settings, including setting ConsentPromptBehaviorAdmin to 0 and disabling the secure desktop prompt, in order to weaken Windows security alerts while making UAC appear enabled. High-confidence indicators and artifacts mentioned in reporting include the executable name Resoker.exe, mutex Global\ResokerSystemMutex, persistence via the Run key entry Resoker, and suspicious outbound HTTPS traffic to api.telegram.org from unexpected processes.
Techniques & procedures
20 distinct techniques documented for this family, organized by ATT&CK tactic.
Persistence
3 techniques
Persistence
ResokerRAT also alters multiple UAC-related registry keys to hinder Windows security alerts
Aside from supporting commands for visual surveillance, persistence, and further payload retrieval
The /startup command drops the malware’s path into the Windows Run registry key, ensuring it survives reboots.
Privilege Escalation
4 techniques
Privilege Escalation
Aside from supporting commands for visual surveillance, persistence, and further payload retrieval
The /startup command drops the malware’s path into the Windows Run registry key, ensuring it survives reboots.
ResokerRAT also harnesses ShellExecuteEx to restart with elevated privileges
The malware also attempts to restart itself with administrator rights using ShellExecuteExA with the “runas” option... The /uac-min command quietly weakens User Account Control by setting ConsentPromptBehaviorAdmin to 0, removing security prompts without the user’s knowledge.
Stealth
5 techniques
Stealth
When issued, the malware creates a Screenshots folder in its local directory and runs a hidden PowerShell script to capture the full screen, saving it as a PNG file, all without showing any window to the user.
After creating a mutex that ensures lone malware execution in the targeted system
Resoker.exe begins its attack chain immediately upon execution, running a series of pre-checks and evasion routines before making contact with the attacker’s Telegram bot.
The team noted that the malware combines Windows API calls with hidden PowerShell commands to carry out its tasks without drawing the user’s attention.
ResokerRAT ... moves to identify attached debuggers and prompt custom exception handling should any be discovered
Defense Impairment
2 techniques
Defense Impairment
ResokerRAT also alters multiple UAC-related registry keys to hinder Windows security alerts
killing monitoring tools to circumvent analysis
Credential Access
1 technique
Credential Access
It also installs a global keyboard hook via SetWindowsHookExW... ResokerRAT carries a wide range of harmful capabilities, including screen capture, keylogging...
Discovery
3 techniques
Discovery
while enumerating running processes
Resoker.exe begins its attack chain immediately upon execution, running a series of pre-checks and evasion routines before making contact with the attacker’s Telegram bot.
ResokerRAT ... moves to identify attached debuggers and prompt custom exception handling should any be discovered
Collection
2 techniques
Collection
It also installs a global keyboard hook via SetWindowsHookExW... ResokerRAT carries a wide range of harmful capabilities, including screen capture, keylogging...
The /screenshot command runs a hidden PowerShell script to silently capture the screen and save it as a PNG file.
Command and Control
6 techniques
Command and Control
Communication between the malware and the attacker flows entirely through the Telegram Bot API. The malware constructs a URL using a hardcoded bot token and chat ID to continuously poll Telegram for new instructions.
The most distinctive element of ResokerRAT is its use of the Telegram Bot API as a full command-and-control channel. The malware constructs a URL with a hardcoded bot token and chat ID, then polls Telegram’s getUpdates endpoint for new instructions.
ResokerRAT malware ... leverages Telegram Bot API to facilitate remote tracking and control of compromised systems ... obtains simple text-based commands from Telegram
Aside from supporting commands for visual surveillance, persistence, and further payload retrieval
Before transmitting collected data, the malware encodes the content using URL encoding to help it pass through network filters without being flagged.
A new remote access trojan known as ResokerRAT has come to light, using Telegram’s bot API as its core communication channel to silently monitor and control infected Windows machines.
Observables
1 indicator attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.