Malicious Office (OLE) / .DOC — malware analysis report

Static analysis result for SHA-256 087b6b2a3ee1aef4…

MALICIOUS

Office (OLE) / .DOC

7.5 KB First seen: 2022-06-16
MD5: 3199c14632a6a70bb07c00499b403f9a SHA-1: 8ebd0e1a787d5f573274b69458a5ebec4ba2026f SHA-256: 087b6b2a3ee1aef453e84dc6c7108bc72566b3c258e5502f29c99aa39772521a
242 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1218.010 System Binary Proxy Execution: Regsvr32

The sample contains a VBA macro with an Auto_Close subroutine that executes a command. This command uses 'rundll32.exe' to launch 'mshta.exe' with a URL pointing to a snippet on bitbucket.org. This pattern strongly suggests the macro is designed to download and execute a second-stage payload from the provided URL, a common technique for initial payload delivery.

Heuristics 7

  • LOLBin reference in VBA critical OLE_VBA_LOLBIN
    LOLBin reference in VBA
  • Reference to mshta.exe high SC_STR_MSHTA
    Reference to mshta.exe
  • Auto_Close macro high OLE_VBA_AUTOCLOSE
    Auto_Close 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.
  • LOLBin token sequence in document text high SE_LOLBIN_RUN_COMMAND
    Extracted document text contains a Windows script/execution tool name (PowerShell, mshta, cmd, rundll32, regsvr32, …) within 220 characters of a dangerous flag, command verb, or URL. This is a visible 'run this' instruction in HTML/PDF/RTF lure bodies, or — in macro-laden Office files — the macro's own string-pool entries appearing adjacent in extracted text.
  • 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 https://bitbucket.org/!api/2.0/snippets/12sds/yEEB75/46d5dee97ac6d62571f3408cd575a63dd860c277/files/snippet.txt

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
3f5e0476c15c268ff622318e425a43f0020ab5cb5077445e4814e7b29e867654
vba-macro oletools.olevba.extract_macros (decoded VBA source) 337 bytes