Wednesday, September 16, 2026

Telegram-Based ResokerRAT Adds Screenshot Capture and Persistence

Hackers are deploying a new Windows malware called ResokerRAT, a Telegram‑based Remote Access Trojan (RAT) that gives attackers stealthy remote control over infected systems.

Instead of relying on a traditional command‑and‑control (C2) server, ResokerRAT abuses the Telegram Bot API to receive commands and exfiltrate data, blending in with legitimate encrypted traffic.

When the user runs Resoker.exe, the malware first creates a mutex named “Global\ResokerSystemMutex” using CreateMutexW to ensure that only one instance of the RAT executes on the system at a time.

It then performs an anti‑debugging check via IsDebuggerPresent; if a debugger is detected, ResokerRAT triggers custom exception logic to complicate analysis.

Anti-Analysis Debugger Check (Source : K7 security labs).
Anti-Analysis Debugger Check (Source : K7 security labs).

The malware also attempts to relaunch itself with administrator privileges by calling ShellExecuteExA with the “runas” verb, exiting the original process if elevation succeeds and reporting failures back to its Telegram C2.

According to the report, ResokerRAT enumerates running processes with Process32NextW and terminates popular monitoring tools such as Taskmgr.exe, Procexp.exe, and ProcessHacker.exe via OpenProcess and TerminateProcess.

Beyond process killing, it installs a global keyboard hook using SetWindowsHookExW with the WH_KEYBOARD_LL flag, not to log keystrokes, but to block sensitive key combinations like ALT+TAB, ALT+F4, CTRL+SHIFT+ESC, CTRL+ALT+DEL, and the Windows key.

Anti-Analysis Process Termination (Source : K7 security labs).
Anti-Analysis Process Termination (Source : K7 security labs).

This prevents victims from easily switching windows, opening Task Manager, or using secure attention sequences to disrupt the malware.

Telegram-Based ResokerRAT

ResokerRAT exposes several Telegram commands that let the attacker control the host remotely in real time.

The /screenshot command creates a local “Screenshots” folder and runs a hidden PowerShell script that loads System.Windows.Forms and System.Drawing, captures the current screen using CopyFromScreen, and saves it as a PNG image, giving the operator a live visual view of user activity.

Because PowerShell runs with -WindowStyle Hidden, the victim sees no visible window. The /download command uses another hidden PowerShell call to retrieve arbitrary payloads from attacker‑supplied URLs into a “downloads” folder, then verifies whether the file was saved before optionally reporting status back to the bot.

The malware also manipulates Windows settings for stealth and persistence. With /block_taskmgr, it sets the DisableTaskMgr registry value to 1, preventing Task Manager from opening; /unblock_taskmgr resets the same value to 0 to reduce suspicion if the attacker wants to restore normal behavior.

Disable Task Manager (Source : K7 security labs).
Disable Task Manager (Source : K7 security labs).

Persistence is established through the /startup command, which writes the malware path into HKCU\Software\Microsoft\Windows\CurrentVersion\Run under the “Resoker” value and confirms success with a “Added to startup” message sent over Telegram.

Two commands, /uac-min and /uac-max, are dedicated to weakening or restoring User Account Control without drawing attention.

When /uac-min runs, ResokerRAT silently sets ConsentPromptBehaviorAdmin to 0 and PromptOnSecureDesktop to 0 while keeping EnableLUA at 1, effectively turning off UAC prompts and secure desktop while still appearing enabled to the user and avoiding a reboot.

In contrast, /uac-max restores the defaults (ConsentPromptBehaviorAdmin = 2, PromptOnSecureDesktop = 1, EnableLUA = 1) after checking existing values, re‑enabling UAC pop‑ups and the dimmed secure desktop environment.

ConsentPromptBehaviourAdmin (Source : K7 security labs).
ConsentPromptBehaviourAdmin (Source : K7 security labs).

From a defensive perspective, ResokerRAT overlaps several MITRE ATT&CK techniques. Its hidden PowerShell usage aligns with T1059.001 (PowerShell) under Execution and T1202 (Indirect Command Execution) for leveraging PowerShell as an intermediary to capture screenshots, download files, and send data.

Persistence via HKCU Run keys corresponds to T1547.001 (Registry Run Keys/Startup Folder), while process enumeration maps to T1057 (Process Discovery).

Defense evasion includes T1562.001 (Impair Defenses) for disabling Task Manager and T1564.003 (Hidden Window) for hidden PowerShell execution, and its keyboard hook behavior fits T1056.001 (Input Capture).

Stealth and Evasion Tactics

For command and control, ResokerRAT constructs Telegram Bot API URLs containing a hardcoded bot token and chat ID to poll for commands (getUpdates) and send status messages (sendMessage) over HTTPS.

Telegram Bot API URL Used for C2 Communication (Source : K7 security labs).
Telegram Bot API URL Used for C2 Communication (Source : K7 security labs).

This traffic, observed in tools like Wireshark, appears as encrypted connections to api.telegram.org over IPs such as 149[.]154[.]166[.]110, making it hard to distinguish from legitimate Telegram use.

The RAT also writes a local log file in its working directory to record events such as successful elevation and messages sent to the bot, and URL‑encodes data before exfiltration to ensure reliable transmission over HTTP(S).


Command-and-Control Traffic Observed in Wireshark (Source : K7 security labs).
Command-and-Control Traffic Observed in Wireshark (Source : K7 security labs).

Security teams should monitor for suspicious Telegram Bot API traffic from endpoints, abnormal PowerShell invocations launched with hidden windows, unexpected Run‑key entries named “Resoker”, and registry changes around DisableTaskMgr and UAC‑related values.

Users are advised to keep reputable security suites like K7TotalSecurity updated, avoid executing unknown attachments or tools from untrusted sources, and remain alert to disabled system utilities or unusual system behavior that may indicate a Telegram‑controlled RAT infection.

IOCs

HashFile NameDetection name
7a1d6c969e34ea61b2ea7a714a56d143Resoker.exeTrojan ( 0001140e1 )

Follow us on Google NewsLinkedIn, and X to Get Instant Updates and Set GBH as a Preferred Source in Google.

Mayura Kathir
Mayura Kathirhttps://gbhackers.com/
Mayura Kathir is a cybersecurity reporter at GBHackers News, covering daily incidents including data breaches, malware attacks, cybercrime, vulnerabilities, zero-day exploits, and more.

Hot this week

How To Access Dark Web Anonymously and know its Secretive and Mysterious Activities

What is Deep Web The deep web, invisible web, or...

How to Build and Run a Security Operations Center (SOC Guide) – 2023

Today’s Cyber security operations center (CSOC) should have everything...

Russian Hackers Bypass EDR to Deliver a Weaponized TeamViewer Component

TeamViewer's popularity and remote access capabilities make it an...

Web Server Penetration Testing Checklist – 2026

Web server pentesting is performed under three significant categories: identity,...

ATM Penetration Testing – Advanced Testing Methods to Find The Vulnerabilities

ATM Penetration testing, Hackers have found different approaches to...

Google Search Makes It Harder to See Where a Link Really Goes Before You Click

Google has begun routing some organic Search result links...

Phishing Attacks Abuse Trusted Email Infrastructure and URL Cloaking to Evade Security Filters

Phishing operators are increasingly shifting away from malware-laden attachments...

Hackers Actively Exploit Critical WooCommerce Plugin Vulnerability to Upload PHP Backdoors

Threat actors are actively exploiting a critical vulnerability in...

Weekly Cybersecurity Newsletter – Top 50 Biggest Cybersecurity Stories of the Week

Microsoft Patches 973 CVEs, Claude Agents Automate Attacks, China...

WordPress Events Calendar Vulnerabilities Let Hackers Take Over 600,000 Websites

Two critical unauthenticated vulnerability chains in the widely used...

Telegram Desktop XSS Vulnerability Lets Attackers Steal Entire Chat Histories

A stored cross-site scripting (XSS) vulnerability in Telegram Desktop...

Marimo RCE Flaw Lets Hackers Steal AWS Credentials and Pivot to Bastion Host in 8 Seconds

A threat actor exploited a critical pre-authentication remote code...

Related Articles

Recent News