Bazarloader — Office (OLE) / .DOC malware analysis

Static analysis result for SHA-256 f1823cc4afe967bd…

MALICIOUS

Office (OLE) / .DOC

4.63 MB Created: 2021-03-24 12:30:00 Authoring application: Microsoft Office Word
MD5: 483b2fbcd08f73e3fbac60318bf98e5e SHA-1: 73551297beaf2202a156f0374b167f6598eff0ca SHA-256: f1823cc4afe967bdfc26bb56c24bd9aa321b316e84ca97fb7febc5ac66a94e25
360 Risk Score

Malware Insights

Bazarloader · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1059.003 Windows Command Shell T1204.002 Malicious File

The sample is identified as Bazarloader by ClamAV. Static analysis reveals the presence of VBA macros, specifically an AutoOpen macro that references cmd.exe and uses WinExec. This indicates the macro is designed to execute commands, likely to download and run a second-stage payload. The appended payload further supports this malicious intent.

Heuristics 10

  • ClamAV: Win.Malware.Bazarloader-9875317-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Win.Malware.Bazarloader-9875317-0
  • Reference to WinExec API high SC_STR_WINEXEC
    Reference to WinExec API
  • Suspicious cmd.exe invocation with execution flag high SC_STR_CMD
    Suspicious cmd.exe invocation with execution flag
  • OLE file has appended executable-looking payload bytes high OLE_APPENDED_PAYLOAD
    OLE compound file contains a large high-entropy region beyond the declared major streams and that region includes shellcode, PE, or loader API markers. This is a payload-carrier signal, not a specific CVE attribution by itself.
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • cmd.exe reference in VBA high OLE_VBA_CMD
    cmd.exe reference in VBA
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Compiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
  • Suspicious extracted artifact high EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code
  • Embedded URL info EMBEDDED_URL
    One or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.
    URL http://ns.adobe.com/xap/1.0/
    • http://www.w3.org/1999/02/22-rdf-syntax-ns#
    • http://purl.org/dc/elements/1.1/
    • http://ns.adobe.com/xap/1.0/mm/
    • http://ns.adobe.com/xap/1.0/sType/ResourceEvent#
    • http://ns.adobe.com/xap/1.0/sType/ResourceRef#
    • http://ns.adobe.com/tiff/1.0/
    • http://ns.adobe.com/exif/1.0/
    • http://ns.adobe.com/photoshop/1.0/
    • http://schemas.openxmlformats.org/drawingml/2006/main

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
8c5daabbfa962890d621e5ced7295be35e97fa016cd345a361dce2c746d89e2f
vba-macro oletools.olevba.extract_macros (decoded VBA source) 13239 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 shell/COM execution token(s). Carved macro source contains an auto-exec entry point and execution/download terms.