Formbook

Category: spyware · Aliases: InfoStealer.FormBook, Trojan.FormGrabber, Win32/FormBook · Sample count (EMBER 2018): 35 · Enrichment: curated_sourced · Updated: 2026-07-02T07:47:42Z
First seen: 2016Status: active

Overview

Executive Summary

FormBook is a highly prevalent Information Stealer (InfoStealer) and Form Grabber that has been sold as Malware-as-a-Service (MaaS) on underground hacking forums since 2016. It is explicitly designed to harvest sensitive user data, including login credentials, banking details, and personal information, directly from the memory of web browsers and other applications before it is encrypted and sent over the network.

Infection Vector and Technical Capabilities

FormBook operators rely almost exclusively on massive phishing and malspam campaigns. Lures typically impersonate shipping companies (DHL, FedEx) or financial institutions, containing malicious attachments (PDFs, DOCX with macros, or executable files disguised as invoices). Its technical operation focuses on comprehensive data theft:

Threat Assessment

A FormBook infection is a severe data breach. The immediate threat is the total compromise of every account the user accesses from the infected machine, leading directly to financial fraud, Business Email Compromise (BEC), and potential corporate network breaches if VPN credentials are stolen.

Incident Response and Remediation

Known aliases

Threat reports may refer to this family under multiple names:

MITRE ATT&CK Techniques

Observed techniques used by this family, mapped to the MITRE ATT&CK framework:

TechniqueNameTactic
T1566.001Spearphishing Attachment
T1055.012Process Hollowing
T1555.003Credentials from Web Browsers
T1056.001Keylogging

Indicators of Compromise

Public indicators drawn from CISA advisories and vendor reporting. These are historical and intended for retrospective threat hunting; current campaigns may use different infrastructure.

Delivery vectors

Network indicators

Persistence mechanisms

Detection Guidance

Detection ideas drawn from public reporting. Tune to your environment before deploying.

Generated Detections (Boilerplate)

These YARA and Sigma rules are auto-generated based on the family name and aliases. They must be heavily tuned before deployment in a production environment.

YARA Rule

rule MALWARE_WIN_FORMBOOK {
    meta:
        description = "Detects Formbook (spyware)"
        author = "SystemHelpdesk Boilerplate Generator"
        date = "2026-07-06"
    strings:
        $s1 = "formbook" ascii wide nocase
        $s2 = "infostealer.formbook" ascii wide nocase
        $s3 = "trojan.formgrabber" ascii wide nocase
        $s4 = "win32/formbook" ascii wide nocase
    condition:
        uint16(0) == 0x5a4d and any of them
}

Sigma Rule

title: Suspicious Formbook Activity
id: dbdf04e70d844c5d9373f9069998bbcb
status: experimental
description: Detects generic indicators of the formbook malware family.
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        Image|endswith:
            - '\cmd.exe'
            - '\powershell.exe'
        CommandLine|contains:
            - "*formbook*"
            - "*infostealer.formbook*"
            - "*trojan.formgrabber*"
            - "*win32/formbook*"
    condition: selection
level: medium

Containment & Response Steps

Ordered checklist for responders. Adapt to your environment and engage professional support for active incidents.

  1. Isolate host and collect volatile memory
  2. Rotate all browser-stored and FTP-client credentials
  3. Block C2 gate URLs at perimeter and DNS
  4. Audit other hosts in the org receiving the same phishing lure

What to Avoid

Common mistakes during response to this family that can destroy evidence, spread the infection, or worsen recovery.

  1. Do not rely on disk-based AV scans alone — FormBook often runs in memory only
  2. Do not assume container files like ISO are safe to open
  3. Do not delay credential rotation

References & External Analysis

Frequently Asked Questions

What is FormBook?

A widely-sold information stealer, in use since at least 2016, that harvests credentials and data from browsers, email, and FTP clients.

What is the relationship between FormBook and XLoader?

XLoader is the later evolution of FormBook; MITRE tracks the lineage together, with FormBook as the earlier name.

How is FormBook sold?

As a Malware-as-a-Service (MaaS), rented out to different operators.

How is FormBook distributed?

Through phishing campaigns with malicious attachments or links.

How can I protect credentials from FormBook/XLoader?

Use a password manager and multi-factor authentication, and be cautious with unexpected attachments.

Where is the authoritative reference?

MITRE ATT&CK's XLoader/FormBook entry (S1207), linked on this page.

Related Families (Category: spyware)

Explore other malware families in the same category:

Need help with an active incident? Published by the SystemHelpdesk team.

Machine-readable

Get this profile as JSON: https://jordanricky1604-ship-it.github.io/malware-families-catalog/api/formbook.json

Ecosystem & Interactive Environments

This profile is part of the Malware Families Catalog, a public dataset of 2,899 malware families. The catalog is also published across our ecosystem: Hugging Face, Kaggle, Replit, StackBlitz, CodeSandbox, and CodePen.