BazarLoader — Office (OLE) / .DOC malware analysis

Static analysis result for SHA-256 50550a54819aba34…

MALICIOUS

Office (OLE) / .DOC

130.5 KB Created: 2021-09-29 00:56:00 Authoring application: Microsoft Office Word First seen: 2021-10-07
MD5: 87c5aebc5161603fb6082e18c2a9a292 SHA-1: bd2fddb1b74344b261491c22b018e2912eb2833b SHA-256: 50550a54819aba34fc9376f4fe668f8998522ae26184574b0a72bd1c72b27ec5
182 Risk Score

Malware Insights

BazarLoader · confidence 95%

MITRE ATT&CK
T1566.001 Spearphishing Attachment T1059.005 Visual Basic T1059.003 Windows Command Shell

The critical ClamAV detection and high-severity heuristics for OLE_VBA_DOCOPEN and OLE_VBA_PCODE_AUTOEXEC_EXEC indicate a malicious Office document. The Document_Open macro, triggered by the 'document_open' subroutine, calls a function 's' which in turn calls 'wordExcel' and 'earthWindows'. The 'earthWindows' function executes a command constructed from the string 'jumpOfficialHop...hTa'. This indicates the macro downloads and executes a second-stage payload. The family is identified as BazarLoader based on the ClamAV signature.

Heuristics 6

  • ClamAV: Doc.Downloader.BazarBlue09211-9898945-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.BazarBlue09211-9898945-0
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • 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.
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code
  • Macro/content-enable lure medium SE_ENABLE_LURE
    Document instructs the user to enable macros or editing — a common technique used by malware droppers to bypass Office macro security settings
  • 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/photoshop/1.0/
    • 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://schemas.openxmlformats.org/drawingml/2006/main

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
e02c086c43955984c992bf96466ca85c122c740604f00a1133d8ea14458e66a4
vba-macro oletools.olevba.extract_macros (decoded VBA source) 1155 bytes