Glupteba
- Type
- Backdoor
- Capabilities
- Credential theftSession hijackingExfiltrationPersistencePrivilege escalationLateral movementDefense evasionReconnaissanceScanningBrute force
- Delivery
- MalvertisingExploit kitCracked software
- Platforms
- WindowsNetwork device
Glupteba is a modular Windows backdoor and botnet malware family used for additional malware delivery, credential and browser-cookie theft, cryptocurrency mining, and proxy operation. Its Go-based components support downloading and executing payloads, uploading files, capturing screenshots, querying processes, collecting system information, and managing mining modules. Distribution mechanisms include malvertising, exploit kits, fake pirated-software installers, and other malware loaders. Glupteba was historically distributed through Operation Windigo infrastructure and has compromised both personal computers and enterprise environments.
Glupteba establishes persistence through scheduled tasks, services, and startup configuration, while watchdog components restart failed or removed modules. It bypasses Windows User Account Control and manipulates access tokens to obtain SYSTEM privileges. Kernel rootkit components conceal files and processes, interfere with security and analysis tools, and restrict administrators' ability to stop malicious services. Other evasion measures include virtualization and sandbox checks, Microsoft Defender exclusions, and encrypted command-and-control communications. Glupteba scans networks and spreads laterally by exploiting EternalBlue, tracked as CVE-2017-0144; additional modules perform service discovery and SSH brute-force attacks.
A distinctive resilience mechanism retrieves replacement command-and-control addresses from Bitcoin transactions. Glupteba queries Electrum servers, extracts encrypted data from OP_RETURN records, decrypts the configuration, and updates its server list, allowing deployed infections to recover after conventional infrastructure disruption. Browser-stealing modules collect passwords, cookies, account names, and browsing history. A separate router-exploitation component targets MikroTik RouterOS devices through CVE-2018-14847, steals administrator credentials, installs scheduled tasks, and configures compromised routers as SOCKS proxies for relaying malicious traffic.
Associated vulnerabilities
2 CVEs 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
4 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
In our report, we’ve taken a deep dive into what makes the Glupteba malware distinctive. The core malware is, in essence, a dropper with extensive backdoor functionality...
UNCOVERING A BROAD CRIMINAL ECOSYSTEM POWERED BY ONE OF THE LARGEST BOTNETS, GLUPTEBA
Glupteba malware was first seen in the year 2014... Basically Glupteba malware are Remote Access (Backdoor) Trojans, capable of spreading using EternalBlue exploits.
Il dépose entre 40 et 50 exécutables ... et installe simultanément plusieurs familles de malwares : Glupteba (botnet/backdoor avec rootkit)
Techniques & procedures
70 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
5 techniques
Resource Development
We recently caught a malvertising attack distributing the malware Glupteba
The Glupteba malware family is distributed primarily through pay-per-install (PPI) networks and via traffic purchased from traffic distribution systems (TDS).
"Many of these malware [families] are botnets targeting Linux and IoT devices to either install crypto miners or enroll the infected machine into DDoS botnets."
The PseudoManuscrypt loader makes its way onto user systems via a MaaS platform that distributes malware in pirated software installer archives.
All of these networks use search engine optimization to put a “bait” webpage on the first page of results for search engine queries seeking “crack” versions of a variety of software products.
Initial Access
4 techniques
Initial Access
It allows the attackers to grab the administrator’s credentials from unpatched routers.
Redirected requests would hit DNS servers under the control of Windigo’s operators... These usually hosted exploit kits. Upon successful exploitation, Glupteba would be installed.
MikroTik said the attackers abused an old vulnerability (CVE-2018-14847) in its RouterOS to assemble their botnet using devices that haven't been updated by their owners.
a bot joining a chat room and trying to trick the other user into clicking a link
Execution
7 techniques
Execution
Once credentials are successfully obtained, a task is added to the scheduler of the router... The router exploiter component scheduled a task named “U6” on compromised routers for command and control.
...были найдены определенно подозрительные задачи... Вторая с использованием легитимной программы certutil.exe и переданного параметра urlcache загружает... app.exe ... после чего обеспечивает его запуск.
The bot also begins scanning the public internet for routers made by MikroTik, and attempts to exploit any it finds using scripts embedded into the dropper.
Добавление исключений на WFP командой «cmd.exe /C „netsh advfirewall firewall add rule...
There are several Glupteba modules aimed at exploiting vulnerabilities in various Internet of Things (IoT) appliances from vendors, such as MikroTik and Netgear.
These chains are diverse, but they all begin with fake pirated software installer archives.
Droppers are a type of Trojan horse virus: they appear as a legitimate application to the user, but once downloaded, they deliver malware to the user’s device.
Persistence
10 techniques
Persistence
Once credentials are successfully obtained, a task is added to the scheduler of the router... The router exploiter component scheduled a task named “U6” on compromised routers for command and control.
...были найдены определенно подозрительные задачи... Вторая с использованием легитимной программы certutil.exe и переданного параметра urlcache загружает... app.exe ... после чего обеспечивает его запуск.
It allows the attackers to grab the administrator’s credentials from unpatched routers.
It creates a registry key HKEY_USERS\<sid>\Software\Microsoft\TestApp to store all the acquired information.
We’ve also come across bots trying specially crafted HTTP POST requests in an attempt to find webshells.
"...it has increasingly become a target for advanced threats, including bootkits documented in real systems..." and "...detects multiple real-world UEFI bootkits, including Glupteba, BlackLotus, LoJax, and MosaicRegressor."
“The installer has a function main_writeEfiGuard that writes files in the ESP… bootmgfw.efi is renamed… embedded\bootmgfw.efi is written… embedded\EfiGuardDxe.efi is written…” | “We will focus on… a Unified Extensible Firmware Interface (UEFI) bootkit. This bootkit can intervene and control the OS boot process… create a stealthy persistence…”
des services aux noms VirtualBox (VBoxGuest, VBoxMouse, VBoxSF, VBoxService, VBoxVideo, VBoxWddm)
the dropper is capable of backdooring the infected machine.
...был прописан в автозапуске в реестре (HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run) под именем «BillowingBreeze».
Privilege Escalation
10 techniques
Privilege Escalation
Once credentials are successfully obtained, a task is added to the scheduler of the router... The router exploiter component scheduled a task named “U6” on compromised routers for command and control.
...были найдены определенно подозрительные задачи... Вторая с использованием легитимной программы certutil.exe и переданного параметра urlcache загружает... app.exe ... после чего обеспечивает его запуск.
Shellcode embedded in the Glupteba dropper that the bot injects into other processes
If process is not elevated, it tries to exploit the fodhelper method to get it elevated. If it is elevated but not running as a SYSTEM user, it uses the “Run as Trusted Installer” method, likely inspired by this code, which uses a stolen winlogon process token to run process as SYSTEM.
It allows the attackers to grab the administrator’s credentials from unpatched routers.
it uses the “Run as Trusted Installer” method... which uses a stolen winlogon process token to run process as SYSTEM
des services aux noms VirtualBox (VBoxGuest, VBoxMouse, VBoxSF, VBoxService, VBoxVideo, VBoxWddm)
the dropper is capable of backdooring the infected machine.
...был прописан в автозапуске в реестре (HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run) под именем «BillowingBreeze».
If process is not elevated, it tries to exploit the fodhelper method to get it elevated.
Stealth
14 techniques
Stealth
The main dropper binary has embedded a few rootkit drivers used for hiding files and processes
Inside the file is another ZIP file that contains encrypted malware and a text file with a password.
One of the most common ways PPI affiliates generate revenue is by secretly bundling the PPI network’s installer with pirated software titles that are widely available for download via the web or from file-sharing networks.
Копирование своего исполняемого файла в C:\Windows\RSS\csrss.exe;
Shellcode embedded in the Glupteba dropper that the bot injects into other processes
update Terminate and remove current version, replace with new version cleanup Uninstall
It allows the attackers to grab the administrator’s credentials from unpatched routers.
it uses the “Run as Trusted Installer” method... which uses a stolen winlogon process token to run process as SYSTEM
...с использованием легитимной программы certutil.exe и переданного параметра urlcache загружает с ресурса hxxps://fotamene[.]com/app/app.exe... Обратите внимание, что в созданной задаче применяется техника Living-off-the-Land ... с использованием certutil.exe.
...проверка окружения на предмет виртуализации: Открытие \\.\VBoxMiniRdrDN; Проверка имени процессора: Nehalem; Проверка запущенных процессов: VBoxTray.exe, VBoxService.exe... vmtoolsd.exe.
...проверка окружения на соответствие следующим параметрам... По названию функции (main.isRunningInsideAnyRun) нетрудно догадаться, что вредонос проверяет, не попал ли он в песочницу Any.Run.
"...it has increasingly become a target for advanced threats, including bootkits documented in real systems..." and "...detects multiple real-world UEFI bootkits, including Glupteba, BlackLotus, LoJax, and MosaicRegressor."
“The installer has a function main_writeEfiGuard that writes files in the ESP… bootmgfw.efi is renamed… embedded\bootmgfw.efi is written… embedded\EfiGuardDxe.efi is written…” | “We will focus on… a Unified Extensible Firmware Interface (UEFI) bootkit. This bootkit can intervene and control the OS boot process… create a stealthy persistence…”
embedded a few rootkit drivers used for hiding files and processes
Defense Impairment
3 techniques
Defense Impairment
It creates a registry key HKEY_USERS\<sid>\Software\Microsoft\TestApp to store all the acquired information.
This story includes detections for changes to 'ChannelAccess' and 'CustomSD' registry values, as well as the use of tools like 'sc.exe sdset', 'icacls' and 'subinacl' to modify securable objects (files, registry, services, etc) permissions.
Добавление исключений на WFP... Добавление исключений Windows Defender (через реестр): процесс csrss.exe и папка C:\Windows; | ...github.com/hfiref0x/UPGDSED ... (отключение PatchGuard), github.com/hfiref0x/DSEFix..., отключение службы PcaSvc;
Credential Access
5 techniques
Credential Access
...а также брутфорса серверов по протоколу SSH... Брутфорсеры паролей SSH. Используют очень небольшой словарь наиболее популярных слабых паролей;
We’ve also seen Glupteba used to attempt password-reuse attacks... it allows spreading the queries across multiple IP addresses
Its goal is to extract browser passwords and cookies
A browser stealer that can steal sensitive data, for example, browsing history, website cookies, and account names and passwords from browsers
На этом же этапе (если операционная система определена как Windows 7) устанавливается сертификат:
Discovery
6 techniques
Discovery
The malware collects details about the system ... Some of the system information that will be POSTed to the C2 include build_number, firmware_type, mac, machine_guid, secure_boot, etc, along with the list of softwares installed in the machine.
It looks into the default gateway of the victim’s network... Once the component successfully connects to the device listening on port 8291
sendParentProcesses acquires machine_guid from the registry... and names of parent processes.
The dropper first initializes ‘config information’ by acquiring current application information, operating information, hardware information
...проверка окружения на предмет виртуализации: Открытие \\.\VBoxMiniRdrDN; Проверка имени процессора: Nehalem; Проверка запущенных процессов: VBoxTray.exe, VBoxService.exe... vmtoolsd.exe.
...проверка окружения на соответствие следующим параметрам... По названию функции (main.isRunningInsideAnyRun) нетрудно догадаться, что вредонос проверяет, не попал ли он в песочницу Any.Run.
Lateral Movement
2 techniques
Lateral Movement
were identified as using the EternalBlue exploit to move into local networks and run Monero (XMR) cryptocurrency miners | it then attempts to exploit the device with the CVE-2018-14847 vulnerability, which affects the RouterOS system used on MikroTik routers.
...were identified as using the EternalBlue exploit to move into local networks and run Monero (XMR) cryptocurrency miners.
Collection
1 technique
Collection
sc Take screenshot
Command and Control
14 techniques
Command and Control
infected systems can retrieve backup domains encrypted in the latest transaction from Bitcoin wallet addresses that are hard coded in the binaries.
the response contains the session and the port that Glupteba will connect to for retrieval of the proxying jobs | When launched, Glupteba sends the same beacon to its C&C... Beacon sent to the C&C: GET /stat?... HTTP/1.0
...запросы к /api/cdn на C2... с CDN загружается и запускается указанный исполняемый файл...
Регистрация. Для этого ВПО отправляет TXT-query к домену вида .<C2_domain>:
A compromised router will be configured as a SOCKS proxy to relay malicious traffic
AWMProxy.net sells residential proxy servers that allow customers (including criminals) to conceal their location through the use of devices infected by the botnet.
Using Opera VPN - opera-proxy client (recently started)
We saw a remote server establish SMTP connections to different mail servers through the SOCKS proxy of compromised routers.
“The technique, named Blockchain Dead Drops (BDD), stores payloads in on-chain transactions and smart contracts where infected devices can retrieve them on demand.” The article explicitly maps it to “T1102.001 (Web Service: Dead Drop Resolver).”
« Blockchain Dead Drops (BDD) ... stocker des instructions de malware ou des configurations C2 sur des blockchains publiques » ; « Smart contracts sur Polygon utilisés comme résolveurs C2 ».
the dropper downloaded two undocumented components aside from the Glupteba malware
Модуль, «общающейся» с сервером злоумышленника по протоколу WebRTC...
This malware can update its C&C server address through the blockchain via the function discoverDomain
The query is AES 256-encrypted.
Exfiltration
2 techniques
Exfiltration
cookies, history, and other profile files are zipped and uploaded to the information collection server to path /api/log
10 сентября 2021 мы зафиксировали распространение команды, в которой передавались параметры авторизации на FTP-сервере и задача по выгрузке на него конфигурационного файла зараженного устройства.
Impact
4 techniques
Impact
At any moment, the power of the Glupteba botnet could be leveraged for use in a powerful ransomware or distributed denial-of-service (“DDoS”) attack.
The second configuration disabled services, including winbox, telnet, api, and api-ssl... Then it opened the SSH and SOCKS services... and created a firewall rule...
The botnet is known to steal user credentials and cookies from infected hosts, mine cryptocurrencies, and deploy and operate proxy components.
Неделю назад стало известно о рекордной DDoS-атаке на компанию Яндекс с впечатляющим значением в 21,8 млн RPS.
Observables
271 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
57 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.