Skip to main content
Mallory
MalwareUsed by 3 actorsExploits 5 CVEs

FormBook

Also known asXLoader

FormBook is a Windows information-stealing malware family, also referred to in the provided content alongside the alias XLoader. It has been sold on public hacking forums since at least early 2016, including as a malware-as-a-service offering, and is widely distributed through phishing and malspam campaigns. Observed delivery methods include phishing attachments such as PDFs with embedded links, malicious Word and Excel documents, JavaScript and VBScript droppers, and archive files including ZIP, RAR, ACE, and ISO containing executable payloads. It has also been delivered by GuLoader and through multi-stage chains using PowerShell, .NET loaders, DLL side-loading, and IPFS-hosted payloads disguised as JPEG files.

Its core capabilities described in the content include stealing web form data, browser credentials, cookies, clipboard contents, email client passwords, and other login credentials; keylogging; and screenshot capture. Additional reported functionality includes collecting credentials stored in email clients, downloading and executing files from command-and-control servers, receiving remote commands, and in some analyses clearing browser cookies, rebooting or shutting down the system, and downloading and unpacking ZIP archives.

FormBook uses multiple evasion and anti-analysis techniques. Reported behaviors include routines to evade antivirus detection, dynamic API resolution, loading or manually mapping a fresh copy of ntdll.dll to evade user-mode hooks and monitoring, direct syscall-style interaction with the OS, anti-debugging and sandbox checks, and use of decoy command-and-control domains in configuration to hinder sandbox analysis. One analysis also notes persistence through randomized installation paths and registry Run keys, while related XLoader reporting states it can create scheduled tasks for persistence and add its executable path to Microsoft Defender exclusions.

The malware has been observed targeting a range of sectors and geographies. FireEye reported high-volume campaigns primarily targeting Aerospace, Defense Contractor, and Manufacturing organizations in the United States and South Korea. WatchGuard reported phishing campaigns targeting companies in Greece, Spain, Slovenia, Bosnia and Herzegovina, and Latin and Central America. TG Soft CRAM weekly reporting repeatedly identified FormBook in Italian-language malspam campaigns using business-themed lures such as orders, payments, requests, shipments, bank transfers, documents, and offers.

High-confidence indicators and artifacts mentioned in the content include the C2 URL www[.]clicks-track[.]info/list/hx28/ from one analyzed sample; an analyzed FormBook sample MD5 CE84640C3228925CC4815116DDE968CB; a decrypted FormBook payload MD5 66274853e6f35e3fef0645a6587cb892 from GuLoader-related analysis; and a VBScript-led FormBook delivery chain with VBS SHA256 95f69328694f351bb21526bc7970646af26380f2be3a1008ce58311c12d11f54, MD5 d107b3bf4609b4c1bc3ecc06d518d2df, and SHA1 67b8d5dea53db8c174c1c17c7b06da59770e179e. Associated filenames in that chain included KIZAD_WSP-2025-PRO.vbs, ahppysnewfud.vbs, and Name_File.vbs. The content also notes exploitation chains involving CVE-2017-11882 associated with FormBook delivery.

Share:
For your environment

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.

EXPLOITED CVES

Vulnerabilities exploited

5 CVEs Mallory has correlated with this family across public research and vendor advisories. Each row links to the full Mallory page for that vulnerability.

5 CVES
CVE-2017-11882Microsoft Office Equation Editor Remote Code ExecutionExploited in the wild

CVE-2017-11882 ... Products Associated Malware: Loki, FormBook, Pony/FAREIT | CVE-2017-11882 Vulnerable Products: Microsoft Office 2007 SP3/2010 SP2/2013 SP1/2016 Products Associated Malware: Loki, FormBook, Pony/FAREIT Mitigation: Update affected Microsoft products with the latest security patches | CVE-2017-11882 ... Associated Malware: Loki, FormBook, Pony/FAREIT | CVE-2017-11882 Vulnerable Products: Microsoft Office 2007 SP3/2010 SP2/2013 SP1/2016 Products Associated Malware: Loki, FormBook, Pony/FAREIT

via cisa advisoriescisa.gov
CVE-2018-0798Microsoft Office Equation Editor Memory Corruption RCEExploited in the wild

BITTER has exploited Microsoft Office vulnerabilities... CVE-2018-0798...

via mitre attackattack.mitre.org
CVE-2017-0199Microsoft Office/WordPad Remote Code Execution VulnerabilityExploited in the wild

Cisco Talos has been tracking a new campaign involving the FormBook malware since May 2018... FormBook is an inexpensive stealer available as "malware as a service." ... It is able to record keystrokes, steal passwords (stored locally and in web forms) and can take screenshots.

via talos intelligence blogblog.talosintelligence.com
CVE-2022-30190Follina

The analytic detects a Microsoft Office product spawning the Windows msdt.exe process... may indicate an attempt to exploit protocol handlers to bypass security controls... Associated Analytic Story: Microsoft Support Diagnostic Tool Vulnerability CVE-2022-30190.

via splunk researchresearch.splunk.com
CVE-2021-40444Microsoft MSHTML Remote Code Execution VulnerabilityExploited in the wild

The following analytic detects Office products writing .cab or .inf files, indicative of CVE-2021-40444 exploitation. This activity is significant as it may signal an attempt to load malicious ActiveX controls and download remote payloads, a known attack vector. | https://www.trustwave.com/en-us/resources/blogs/spiderlabs-blog/trojanized-onenote-document-leads-to-formbook-malware/

via splunk researchresearch.splunk.com
THREAT ACTORS

Groups observed using it

3 distinct threat actors attributed by public researchers. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details
RATicate

"...families of RATs and infostealers. These included Lokibot, Betabot, Formbook, and AgentTesla."

via sophos threat researchnews.sophos.com
ComicForm

...Deploy Formbook Malware in Eurasian Cyberattacks

via cloudatg insightscloudatg.com
SectorJ149

...Deploy Formbook Malware in Eurasian Cyberattacks

via cloudatg insightscloudatg.com
MITRE ATT&CK

Techniques & procedures

29 distinct techniques documented for this family, organized by ATT&CK tactic.

Initial Access

3 techniques
T1566PhishingEvidence2

WatchGuard telemetry identified two different phishing campaigns targeting Greek, Spanish, Slovenian, Bosnian and Latin and Central American companies, that use different techniques to delivery FormBook malware.

T1566.001Spearphishing AttachmentEvidence6

According to U.S. Government technical analysis, malicious cyber actors most often exploited vulnerabilities in Microsoft’s Object Linking and Embedding (OLE) technology. OLE allows documents to contain embedded content from other applications such as spreadsheets. | Malicious cyber actors most often exploited vulnerabilities in Microsoft’s Object Linking and Embedding (OLE) technology. | Malicious cyber actors most often exploited vulnerabilities in Microsoft’s Object Linking and Embedding (OLE) technology. OLE allows documents to contain embedded content from other applications such as spreadsheets.

T1566.002Spearphishing LinkEvidence1

A smaller subset of entries mention attachments or PDFs containing malicious links, such as 'Wizard Spider has used spearphishing attachments to deliver ... PDFs containing malicious links to download either Emotet, Bokbot, TrickBot, or Bazar' and 'XLoader has been delivered as a phishing attachment, including PDFs with embedded links.'

Execution

6 techniques
T1053.005Scheduled TaskEvidence2

During the 2022 Ukraine Electric Power Attack, Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.

T1059.001PowerShellEvidence1
TacticExecution

When executed, the JavaScript drops two files, Ollo.png and Til.png, and calls Powershell passing as argument a very long string encoded in Base64.

T1059.007JavaScriptEvidence1
TacticExecution

In the other campaign observed, inside of the attachment has a JavaScript file, which is highly obfuscated.

T1106Native APIEvidence2
TacticExecution

Import and use NtCreateFile to get the handle of ntdll.dll... Get the size of ntdll.dll to allocate heap memory using NtQueryInformationFile... Read RAW bytes into the allocated memory using NtReadFile.

T1203Exploitation for Client ExecutionEvidence1
TacticExecution

U.S. Government reporting has identified the top 10 most exploited vulnerabilities... malicious cyber actors most often exploited vulnerabilities in Microsoft’s Object Linking and Embedding (OLE) technology... the three vulnerabilities used most frequently across state-sponsored cyber actors from China, Iran, North Korea, and Russia are CVE-2017-11882, CVE-2017-0199, and CVE-2012-0158. | Malicious cyber actors most often exploited vulnerabilities in Microsoft’s Object Linking and Embedding (OLE) technology. OLE allows documents to contain embedded content from other applications such as spreadsheets. | U.S. Government reporting has identified the top 10 most exploited vulnerabilities by state, nonstate, and unattributed cyber actors from 2016 to 2019 as follows: CVE-2017-11882, CVE-2017-0199, CVE-2017-5638, CVE-2012-0158, CVE-2019-0604, CVE-2017-0143, CVE-2018-4878, CVE-2017-8759, CVE-2015-1641, and CVE-2018-7600. According to U.S. Government technical analysis, malicious cyber actors most often exploited vulnerabilities in Microsoft’s Object Linking and Embedding (OLE) technology. | U.S. Government reporting has identified the top 10 most exploited vulnerabilities by state, nonstate, and unattributed cyber actors from 2016 to 2019 as follows: CVE-2017-11882, CVE-2017-0199, CVE-2017-5638, CVE-2012-0158, CVE-2019-0604, CVE-2017-0143, CVE-2018-4878, CVE-2017-8759, CVE-2015-1641, and CVE-2018-7600. | U.S. Government reporting has identified the top 10 most exploited vulnerabilities by state, nonstate, and unattributed cyber actors from 2016 to 2019 as follows: CVE-2017-11882, CVE-2017-0199, CVE-2012-0158, CVE-2018-4878, CVE-2017-8759, and CVE-2015-1641. According to U.S. Government technical analysis, malicious cyber actors most often exploited vulnerabilities in Microsoft’s Object Linking and Embedding (OLE) technology.

T1204User ExecutionEvidence1
TacticExecution

By relying on basic social engineering – an attack technique that takes advantage of human traits such as curiosity, trust and greed in order to obtain confidential information or to have the victim perform a certain action – it is suffice to say that certain threat actors (both criminal and nation state) are exploiting these unprecedented times for various nefarious means.

Persistence

4 techniques
T1053.005Scheduled TaskEvidence2

During the 2022 Ukraine Electric Power Attack, Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.

T1112Modify RegistryEvidence2

Across the content, malware repeatedly 'adds Registry Run keys', 'creates Registry entries', 'modifies the Windows Registry', or 'overwrites registry keys' to maintain persistence.

T1547Boot or Logon Autostart ExecutionEvidence1

Examples include 'adds Registry Run keys to establish persistence', 'creates a shortcut in the Startup folder', and 'RunOnce Registry key to run itself on safe mode.'

T1547.001Registry Run Keys / Startup FolderEvidence2

The 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, .lnk files, or .bat files in the Windows Startup folder. | CozyCar ... adding a Registry value under one of the following Registry keys: HKLM\Software\Microsoft\Windows\CurrentVersion\Run\ HKCU\Software\Microsoft\Windows\CurrentVersion\Run\ HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run

T1053.005Scheduled TaskEvidence2

During the 2022 Ukraine Electric Power Attack, Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.

T1055Process InjectionEvidence1

the name is reversed, as so its content, which later is Base64 decoded and the result is injected in the process also passed as argument, that we could see in Figure X that is RegAsm.

T1547Boot or Logon Autostart ExecutionEvidence1

Examples include 'adds Registry Run keys to establish persistence', 'creates a shortcut in the Startup folder', and 'RunOnce Registry key to run itself on safe mode.'

T1547.001Registry Run Keys / Startup FolderEvidence2

The 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, .lnk files, or .bat files in the Windows Startup folder. | CozyCar ... adding a Registry value under one of the following Registry keys: HKLM\Software\Microsoft\Windows\CurrentVersion\Run\ HKCU\Software\Microsoft\Windows\CurrentVersion\Run\ HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run

Stealth

6 techniques
T1027Obfuscated Files or InformationEvidence4
TacticStealth

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.

T1027.013Encrypted/Encoded FileEvidence1
TacticStealth

Examples throughout the content include 'encrypted payloads decrypted and executed in memory,' 'encrypts its configuration file,' 'AES-encrypted resource,' 'RC4 encrypted embedded scripts,' and 'payload includes an encrypted main component.'

T1055Process InjectionEvidence1

the name is reversed, as so its content, which later is Base64 decoded and the result is injected in the process also passed as argument, that we could see in Figure X that is RegAsm.

T1070.004File DeletionEvidence2
TacticStealth

The content repeatedly describes adversaries and malware deleting files, directories, droppers, scripts, logs, archives, staged data, and other artifacts from compromised systems, e.g., 'APT29 has used SDelete to remove artifacts from victim networks' and 'Lazarus Group malware has deleted files in various ways, including "suicide scripts" to delete malware binaries from the victim.'

T1140Deobfuscate/Decode Files or InformationEvidence2
TacticStealth

The content repeatedly describes malware and threat actors decoding, decrypting, or deobfuscating payloads, strings, configuration data, commands, and C2 traffic prior to execution or use, e.g., 'APT28 macro uses the command certutil -decode to decode contents of a .txt file storing the base64 encoded payload' and 'Action RAT can use Base64 to decode actor-controlled C2 server communications.'

T1620Reflective Code LoadingEvidence2
TacticStealth

The procedure of the ntdll.dll mapping is performed in 3 steps: Reading RAW ntdll.dll from disk into memory; Manually mapping ntdll.dll headers and sections; Dynamically loading function addresses from the mapped DLL.

T1112Modify RegistryEvidence2

Across the content, malware repeatedly 'adds Registry Run keys', 'creates Registry entries', 'modifies the Windows Registry', or 'overwrites registry keys' to maintain persistence.

Credential Access

2 techniques
T1056.004Credential API HookingEvidence1

it maps ntdll.dll in memory to act as a form-grabber that uses an inline hook mechanism to capture information from some browsers.

T1555Credentials from Password StoresEvidence1

Agent Tesla has the ability to steal credentials from FTP clients and wireless profiles. APT33 has used a variety of publicly available tools like LaZagne to gather credentials. APT39 has used the Smartftp Password Decryptor tool to decrypt FTP passwords. Mimikatz performs credential dumping to obtain account and password information useful in gaining access to additional systems and enterprise network resources. It contains functionality to acquire information about credentials in many ways, including from the credential vault and DPAPI.

Discovery

3 techniques
T1033System Owner/User DiscoveryEvidence1
TacticDiscovery

The content repeatedly describes malware and threat actors collecting usernames, identifying logged-in users, running whoami/query user/quser, checking admin status, and enumerating user sessions.

T1082System Information DiscoveryEvidence1
TacticDiscovery

The content repeatedly describes malware and threat actors collecting host details such as OS version, hostname, architecture, CPU, memory, BIOS, domain, language, and other configuration data; e.g., "APT41 uses multiple built-in commands such as systeminfo and net config Workstation to enumerate victim system basic configuration information."

T1614.001System Language DiscoveryEvidence1
TacticDiscovery

Examples include "Bazar can also check if the Russian language is installed on the infected machine and terminate if it is found," "DropBook has checked for the presence of Arabic language," and "Maze has checked the language of the infected system using the GetUSerDefaultUILanguage function."

Collection

4 techniques
T1056.004Credential API HookingEvidence1

it maps ntdll.dll in memory to act as a form-grabber that uses an inline hook mechanism to capture information from some browsers.

T1113Screen CaptureEvidence2

Agent Tesla became popular among business email compromise (BEC) scammers, who use it to record keystrokes and take screenshots on the infected host.

T1115Clipboard DataEvidence2

The malware injects itself into various processes and installs function hooks to log keystrokes, steal clipboard contents, and extract data from HTTP sessions.

T1560Archive Collected DataEvidence2

Examples include 'During APT28 Nearest Neighbor Campaign, APT28 unarchived data using the GUI version of WinRAR,' 'DarkWatchman has the ability to self-extract as a RAR archive,' and 'XLoader can be distributed as a self-extracting RAR archive.'

T1071.001Web ProtocolsEvidence3

The content repeatedly describes threat actors, malware, and campaigns using HTTP and/or HTTPS for command and control, including examples such as BlackEnergy communicating with C2 over HTTP POST requests and many other families using HTTP/S for C2.

T1105Ingress Tool TransferEvidence1

A distinguishing feature of GuLoader is that the encrypted payload is uploaded to a remote server... the loader downloads the payload from a remote server... GuLoader still downloads payloads from Google Drive in most cases.

Other

1 technique
T1562Impair DefensesEvidence1

The malware can also collect information about the system, steal data from the clipboard, and includes routines for killing running analysis processed and antivirus solutions.

INDICATORS OF COMPROMISE

IOCs tracked for this family

291 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Full values are available in Mallory.

View more in app
Network
144 tracked

IPs, domains, and DNS infrastructure linked to this family.

Hashes
103 tracked

File hashes (MD5, SHA-1, SHA-256) from samples and reports.

Other
44 tracked

Other indicator types observed in public reporting.

TypeValueLatest sighting
domain●●●●●●●●●●●●View more in app16 days ago
domain●●●●●●●●●●●●View more in app16 days ago
domain●●●●●●●●●●●●View more in app16 days ago
hash.sha256●●●●●●●●●●●●View more in app17 days ago
domain●●●●●●●●●●●●View more in app22 days ago
uri●●●●●●●●●●●●View more in app24 days ago
What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching291

Match every observed IP, domain, and hash against your live telemetry.

Threat actor attribution3

Named campaigns wielding this family, with evidence pinned to each claim.

Exploited vulnerabilities5

CVEs this family uses for access and lateral movement.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

MITRE ATT&CK mapping29

Every documented technique, ranked by evidence weight.

Researcher chatter

Reddit, Mastodon, and CTI community discussion around this family.