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

Static analysis result for SHA-256 8a87c11a8e4b0046…

MALICIOUS

Office (OLE) / .DOC

4.30 MB Created: 2021-03-09 14:29:00 Authoring application: Microsoft Office Word
MD5: 7f9056a0be01d4a37d28c87855516227 SHA-1: ead6fc70906801d45e8490a302b5dcac10e75547 SHA-256: 8a87c11a8e4b004631d5420f059c51d6f868776354ad12a5e076695aabdc744d
282 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1059.003 Windows Command Shell

The sample contains VBA macros, specifically an AutoOpen macro, which is designed to execute automatically. Heuristics indicate the use of WinExec and ShellExecute APIs, along with a direct reference to cmd.exe within the VBA code. This suggests the macro is intended to download and execute a second-stage payload. The heap spray pattern further indicates a potential exploit or obfuscation technique.

Heuristics 10

  • Heap-spray pattern detected high SC_HEAP_SPRAY
    Repeated 0x41 (A) bytes found
  • Reference to WinExec API high SC_STR_WINEXEC
    Reference to WinExec API
  • Reference to ShellExecute API high SC_STR_SHELLEXEC
    Reference to ShellExecute API
  • 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.
  • Reference to VirtualAlloc API medium SC_STR_VIRTUALALLOC
    Reference to VirtualAlloc API
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code
  • Suspicious extracted artifact info 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.
  • 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://schemas.openxmlformats.org/drawingml/2006/main

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
b3dfa590780a2a453daf3da7d30cc042a1003504977c46abd829f9f6f96ef93c
vba-macro oletools.olevba.extract_macros (decoded VBA source) 44837 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s).