Prikormka is a modular Windows cyberespionage malware family associated with Operation Groundbait. Identified by ESET in the third quarter of 2015, it has been active since at least 2008 and includes both 32-bit and 64-bit components. Its targeting has focused primarily on individuals in Ukraine, particularly separatists in the self-proclaimed Donetsk and Luhansk People’s Republics. Other targets have included Ukrainian government officials, politicians, journalists, and members of Right Sector.
Prikormka is distributed primarily through spearphishing emails containing malicious executable attachments or links to malicious files. Payloads masquerade as documents, and droppers display decoy documents tailored to recipients’ political or professional interests. It establishes persistence through Registry-based autostart mechanisms and DLL search-order hijacking. Some screensaver-form payloads check execution arguments to evade automated sandbox analysis.
Its downloader retrieves a core component that manages command-and-control communications, downloads additional modules, and uploads stolen information. Surveillance modules capture keystrokes and foreground window titles, take desktop screenshots, record microphone audio and Skype calls, and steal credentials saved in browsers and other applications. Document collection includes recently modified files on removable media and USB-connected fixed drives; this is a collection capability rather than a documented propagation mechanism. Additional modules inventory files, profile the operating system, identify installed antivirus software, collect the current username and network configuration, and estimate victim location using nearby Wi-Fi information. Command-and-control traffic uses Base64 encoding and Blowfish encryption.
36 distinct techniques documented for this family, organized by ATT&CK tactic.
The main infection vector that we identified during our research consists of spear-phishing emails with attached malicious executables or with a download link to a malicious file hosted on a remote server.
The main infection vector that we identified during our research consists of spear-phishing emails with attached malicious executables or with a download link to a malicious file hosted on a remote server.
The malware authors have also included a new value called roboconid, which represents the Operator’s ID. Our investigation allowed us to confirm that this ID is a unique number for the malware operator, who performs cyber operations and is assigned to infect, spy on, and track a particular target.
[Prikormka](https://attack.mitre.org/software/S0113) uses DLL search order hijacking for persistence by saving itself as ntshrui.dll to the Windows directory so it will load before the legitimate ntshrui.dll saved in the System32 subdirectory.(Citation: ESET Operation Groundbait)
[Prikormka](https://attack.mitre.org/software/S0113) adds itself to a Registry Run key with the name guidVGA or guidVSA.(Citation: ESET Operation Groundbait)
[Prikormka](https://attack.mitre.org/software/S0113) adds itself to a Registry Run key with the name guidVGA or guidVSA.(Citation: ESET Operation Groundbait)
The content repeatedly describes payloads, strings, configuration files, scripts, URLs, and binaries being obfuscated or encoded using Base64, XOR, RC4, AES, RSA, hex encoding, custom algorithms, and other methods across many malware families and threat actors.
Some resources in [Prikormka](https://attack.mitre.org/software/S0113) are encrypted with a simple XOR operation or encoded with Base64.(Citation: ESET Operation Groundbait)
When the user clicks on a malicious attachment that is masquerading as a document, the Prikormka dropper displays a decoy document in order to trick victims and distract their attention...
After encrypting its own log files, the log encryption module in [Prikormka](https://attack.mitre.org/software/S0113) deletes the original, unencrypted files from the host.(Citation: ESET Operation Groundbait)
[Prikormka](https://attack.mitre.org/software/S0113) uses rundll32.exe to load its DLL.(Citation: ESET Operation Groundbait)
Thus, this simple check allowed the malware to bypass some sandboxes used for automatic sample processing.
[Prikormka](https://attack.mitre.org/software/S0113) uses DLL search order hijacking for persistence by saving itself as ntshrui.dll to the Windows directory so it will load before the legitimate ntshrui.dll saved in the System32 subdirectory.(Citation: ESET Operation Groundbait)
[Prikormka](https://attack.mitre.org/software/S0113) contains a keylogger module that collects keystrokes and the titles of foreground windows.(Citation: ESET Operation Groundbait)
A module in [Prikormka](https://attack.mitre.org/software/S0113) collects passwords stored in applications installed on the victim.(Citation: ESET Operation Groundbait)
A module in [Prikormka](https://attack.mitre.org/software/S0113) gathers logins and passwords stored in applications on the victims, including Google Chrome, Mozilla Firefox, and several other browsers.(Citation: ESET Operation Groundbait)
A module in [Prikormka](https://attack.mitre.org/software/S0113) collects information from the victim about its IP addresses and MAC addresses.(Citation: ESET Operation Groundbait)
A module in [Prikormka](https://attack.mitre.org/software/S0113) collects information from the victim about the current user name.(Citation: ESET Operation Groundbait)
A module in [Prikormka](https://attack.mitre.org/software/S0113) collects information from the victim about Windows OS version, computer name, battery info, and physical memory.(Citation: ESET Operation Groundbait)
A module in [Prikormka](https://attack.mitre.org/software/S0113) collects information about the paths, size, and creation time of files with specific file extensions, but not the actual content of the file.(Citation: ESET Operation Groundbait)
A module in [Prikormka](https://attack.mitre.org/software/S0113) collects information on available printers and disk drives.(Citation: ESET Operation Groundbait)
Thus, this simple check allowed the malware to bypass some sandboxes used for automatic sample processing.
A module in [Prikormka](https://attack.mitre.org/software/S0113) collects information from the victim about installed anti-virus software.(Citation: ESET Operation Groundbait)
This module is responsible for geo locating the infected computer.
The CORE module downloads additional components, which are used to harvest various types of data.
[Prikormka](https://attack.mitre.org/software/S0113) contains a module that collects documents with certain extensions from removable media or fixed drives connected via USB.(Citation: ESET Operation Groundbait)
[Prikormka](https://attack.mitre.org/software/S0113) contains a keylogger module that collects keystrokes and the titles of foreground windows.(Citation: ESET Operation Groundbait)
The content repeatedly describes adversaries and malware storing collected data, command output, credentials, archives, or files in local temporary folders, working directories, hidden directories, registry locations, recycle bins, or specific files prior to exfiltration.
[Prikormka](https://attack.mitre.org/software/S0113) creates a directory, <code>%USERPROFILE%\AppData\Local\SKC\</code>, which is used to store collected log files.(Citation: ESET Operation Groundbait)
[Prikormka](https://attack.mitre.org/software/S0113) contains a module that captures screenshots of the victim's desktop.(Citation: ESET Operation Groundbait)
This module is responsible for recording sound from a microphone.
After collecting documents from removable media, [Prikormka](https://attack.mitre.org/software/S0113) compresses the collected files, and encrypts it with Blowfish.(Citation: ESET Operation Groundbait)
The communication is encrypted with the Blowfish cipher and then base64 encoded.
The DOWNLOADER module makes an HTTP request to one of its C&C servers... The communication is encrypted with the Blowfish cipher and then base64 encoded.
The DOWNLOADER module makes an HTTP request to one of its C&C servers, receives data, decrypts the data, saves it under the name hauthuid.dll and then loads the DLL.
ADVSTORESHELL C2 traffic is encrypted, then encoded with Base64 encoding. APT19 HTTP malware variant used Base64 to encode communications to the C2 server. APT33 has used base64 to encode command and control traffic.
[Prikormka](https://attack.mitre.org/software/S0113) encodes C2 traffic with Base64.(Citation: ESET Operation Groundbait)
The content is a catalog of malware and threat groups that encrypt command-and-control communications using algorithms such as DES, AES, RC4, XOR, Blowfish, RSA, Camellia, RC2, RC6, and custom ciphers.
[Prikormka](https://attack.mitre.org/software/S0113) encrypts some C2 traffic with the Blowfish cipher.(Citation: ESET Operation Groundbait)
The CORE module checks periodically for such log files and when a log is available, it uploads it to the remote server.
329 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
64 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.