Flagpro
Flagpro is a malware family associated with the China-linked BlackTech threat group. The provided content describes it as being used in the initial stage of attacks to investigate a target environment, download and execute a second-stage malware payload, and exfiltrate data to its command-and-control (C2) server. Its C2 communications are bidirectional and Base64-encoded. Flagpro has been distributed via spearphishing email attachments and can execute malicious VBA macros embedded in .xlsm files, relying on user interaction with the malicious attachment. It can execute commands such as "net view" on a targeted system for discovery. The malware can check the name of the window displayed on the system and determine whether the target system is using Japanese, Taiwanese, or English by detecting specific Windows Security and Internet Explorer dialogs. It can also close specific Windows Security and Internet Explorer dialog boxes to mask external connections. The content further notes that U.S. and Japanese agencies observed BlackTech targeting multiple Cisco versions with custom malware including Flagpro.
Hunt this family in your stack
Mallory pivots from this family to the IOCs, detections, and named campaigns that touch your stack, and pages you when something new lands.
Groups observed using it
1 distinct threat actor attributed by public researchers. Open in Mallory to see the full evidence chain and overlapping campaigns.
BlackTech uses a new malware for these attack cases. We call it “Flagpro”. Flagpro is used in the initial stage of attacks to investigate target’s environment, download a second stage malware and execute it.
Techniques & procedures
26 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
1 techniqueA sophisticated hacking group tied to the government of China is exploiting routers in attacks on a variety of organizations... The group specifically targets “branch routers” — smaller appliances used at more remote branch offices to connect to a corporate headquarters.
Initial Access
1 techniqueAn attack case using Flagpro starts with a spear phishing e-mail. The message is adjusted to its target organization... The attackers attach a password protected archived file (ZIP or RAR) to the email... The archived file includes an xlsm format file and it contains a malicious macro.
Execution
4 techniquesFollowing list indicates Flagpro’s main functions: ... Execute OS commands and send the results
The archived file includes an xlsm format file and it contains a malicious macro. If a user activates the macro, a malware will be dropped.
The content repeatedly describes victims being lured into opening malicious attachments, enabling macros, launching installers, clicking embedded files/links, or otherwise directly executing malicious content.
The archived file includes an xlsm format file and it contains a malicious macro. If a user activates the macro, a malware will be dropped.
Persistence
2 techniquesThe content repeatedly describes malware and threat actors establishing persistence by adding values under HKCU/HKLM\Software\Microsoft\Windows\CurrentVersion\Run or RunOnce, and by placing executables, scripts, or .lnk files in the Startup folder. | Examples include malware copied to '%AppData%\Microsoft\Windows\Start Menu\Programs\Startup', creation of '.lnk' shortcuts in Startup, and scripts or batch files placed in Startup folders.
Specifically, upon gaining an initial foothold into a target network and gaining administrator access to network edge devices, BlackTech cyber actors often modify the firmware to hide their activity across the edge devices to further maintain persistence in the network.
Privilege Escalation
1 techniqueThe content repeatedly describes malware and threat actors establishing persistence by adding values under HKCU/HKLM\Software\Microsoft\Windows\CurrentVersion\Run or RunOnce, and by placing executables, scripts, or .lnk files in the Startup folder. | Examples include malware copied to '%AppData%\Microsoft\Windows\Start Menu\Programs\Startup', creation of '.lnk' shortcuts in Startup, and scripts or batch files placed in Startup folders.
Stealth
5 techniquesThe content repeatedly describes malware and threat actors using obfuscated code, encrypted strings, Base64/XOR/RC4/AES encoding, VMProtect/ConfuserEx/SmartAssembly, stack strings, control-flow flattening, opaque predicates, and hidden payloads to evade analysis and detection.
"Bumblebee has been delivered as password-protected zipped ISO files" / "Flagpro has been delivered within ZIP or RAR password-protected archived files." / "TA505 has password-protected malicious Word documents."
In the most cases, this created EXE files are named “dwm.exe”.
In Flagpro v2.0, the same codes... are repeatedly inserted to hide important as a handy obfuscation technique.
Flagpro can close specific Windows Security and Internet Explorer dialog boxes to mask external connections.
Defense Impairment
1 techniqueSpecifically, upon gaining an initial foothold into a target network and gaining administrator access to network edge devices, BlackTech cyber actors often modify the firmware to hide their activity across the edge devices to further maintain persistence in the network.
Credential Access
2 techniquesThe content references collection of credential material from local systems, including "Bumblebee can capture and compress stolen credentials from the Registry and volume shadow copies," "GALLIUM collected ... password hashes from the SAM hive in the Registry," and "Windigo has used a script to gather credentials in files left on disk by OpenSSH backdoors."
Specifically, upon gaining an initial foothold into a target network and gaining administrator access to network edge devices, BlackTech cyber actors often modify the firmware to hide their activity across the edge devices to further maintain persistence in the network.
Discovery
6 techniquesMultiple malware families are described as identifying/enumerating open windows or capturing foreground window titles (e.g., via EnumWindows, GetForegroundWindow, GetWindowText) to understand user activity and provide context for keylogging/screencapture.
The content repeatedly describes actors and malware using commands and APIs such as ipconfig /all, ifconfig, arp -a, route print, netsh interface show, GetAdaptersInfo, and GetIpNetTable to gather IP addresses, MAC addresses, DNS, DHCP, gateways, routing tables, ARP cache, proxy settings, and network adapter/interface details.
During the 2015 Ukraine Electric Power Attack, Sandworm Team remotely discovered systems over LAN connections. OT systems were visible from the IT network as well, giving adversaries the ability to discover operational assets.
Flagpro v2.0 checks whether both username and password are filled in a dialog as an additional feature before clicking the OK button.
The content repeatedly describes malware and threat actors obtaining lists of running processes, using utilities such as tasklist, ps, WMI, Get-Process, CreateToolhelp32Snapshot, EnumProcesses, and similar APIs/commands to enumerate active processes on victim systems.
Avaddon checks for specific keyboard layouts and OS languages to avoid targeting Commonwealth of Independent States (CIS) entities... Bazar can perform a check to ensure that the operating system's keyboard and language settings are not set to Russian... Clop has checked the keyboard language using the GetKeyboardLayout() function... Ryuk has been observed to query the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\Language and the value InstallLanguage.
Collection
1 techniqueThe content repeatedly describes threat actors and malware collecting, stealing, identifying, copying, or staging files, documents, credentials, logs, databases, and other information from compromised hosts or local systems.
Command and Control
3 techniquesFlagpro communicates with C&C server using HTTP.
Flagpro is used in the initial stage of attacks to investigate target’s environment, download a second stage malware and execute it... Regarding to downloading and executing a tool, Flagpro stores the downloaded file in file path “%Temp%\~MY[0-9A-F].tmp” first. Then, Flagpro adds extension “.exe” to the name of stored file and executes the file.
The received commands from a C&C server are encoded with Base64... It encodes data with Base64 and sends to the C&C server.
Exfiltration
1 techniqueADVSTORESHELL exfiltrates data over the same channel used for C2... Agrius exfiltrated staged data using tools such as Putty and WinSCP, communicating with command and control servers... numerous malware and groups sent victim data, files, credentials, or host information over existing C2 channels.
Other
1 techniqueRecent activity
34 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
Custom malware family cited as part of BlackTech’s toolkit for stealthy access and persistence.
Flagpro is an initial-stage malware used in spear-phishing campaigns. It is dropped via malicious macro-enabled XLSM files, persists via the startup folder often as dwm.exe, communicates with a C&C server over HTTP using Internet Explorer COM objects, executes OS commands, collects Windows authentication information, and downloads and executes second-stage payloads.
Malware that identifies system language by detecting specific localized Windows Security and Internet Explorer dialogs.
Malware that Base64-encodes bidirectional communications with command-and-control servers.
The version that knows your environment.
Match every observed IP, domain, and hash against your live telemetry.
Named campaigns wielding this family, with evidence pinned to each claim.
CVEs this family uses for access and lateral movement.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Every documented technique, ranked by evidence weight.
Reddit, Mastodon, and CTI community discussion around this family.