← Lab /Security & privacy

BRUSHWORM backdoor spreads via USB and BRUSHLOGGER keylogger uses DLL side-loading against a South Asian bank

The BRUSHWORM and BRUSHLOGGER malware were custom-built, low-sophistication tools used by an inexperienced actor to exfiltrate files and capture keystrokes from a South Asian financial institution.

Security & privacy Elastic Security Labs 27 Mar 2026 Incident analysis Real-world evidence

Published as “Elastic Security Labs uncovers BRUSHWORM and BRUSHLOGGER”

Why it matters

The analysis shows that even low-sophistication malware can achieve persistent access, USB-based propagation, and credential collection, highlighting the need for detection rules and monitoring of removable media usage.

Summary

Elastic Security Labs analyzed two custom binaries-BRUSHWORM backdoor and BRUSHLOGGER keylogger-found on a South Asian financial institution. BRUSHWORM establishes persistence via a scheduled task, downloads modular DLLs, spreads to removable media with lure-named executables, and stages a wide range of file types for exfiltration. BRUSHLOGGER is a DLL that side-loads as libcurl.dll, installs a low-level keyboard hook, records keystrokes with window context, and writes XOR-encrypted logs. The evidence is based on static analysis of the binaries, limited telemetry from the victim, and VirusTotal samples of earlier development versions.

What they found 3

  1. BRUSHWORM copies itself to removable drives using lure-named executables to spread via USB.

    “Removable drive infection: The backdoor copies itself to any connected removable storage devices using socially-engineered filenames designed to entice victims in a corporate financial environment: Salary Slips.exe Notes.exe Documents.exe Important.exe Dont Delete.exe Presentation.exe Emails.exe Attachments.exe”

  2. BRUSHLOGGER captures system-wide keystrokes with window title context and stores them in XOR-encrypted .trn files.

    “The core capture logic resides in the hook callback, which processes every keyboard event in the system.”

  3. BRUSHWORM performs simple sandbox checks such as screen resolution and mouse movement before executing.

    “Screen resolution check: If the display resolution is less than 1024×768 pixels, execution terminates immediately.”

Caveats 5

  • If a hypervisor is detected, the malware does not terminate - it merely sleeps for one second before continuing execution.
  • The backdoor writes its decrypted configuration to disk in cleartext before encrypting and saving a second copy, then deletes the cleartext file.
  • The victim environment had only SIEM-level visibility enabled, which limited post-exploitation telemetry.
  • We were unable to recover the downloaded payload during our investigation.
  • Given the absence of a kill switch, the use of free dynamic DNS servers in testing versions, and some coding mistakes, we assess with moderate confidence that the author is relatively inexperienced.

What’s new here 4

  • Identification of a new malware family consisting of BRUSHWORM and BRUSHLOGGER.
  • Detailed description of USB worm propagation using socially engineered filenames.
  • Analysis of a DLL side-loading keylogger that captures window context and encrypts logs with a static XOR key.
  • Evidence of iterative development through multiple VirusTotal testing versions.