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

Static analysis result for SHA-256 2a7811607023a04c…

MALICIOUS

Office (OLE) / .DOC

4.30 MB Created: 2021-03-09 14:29:00 Authoring application: Microsoft Office Word
MD5: 0c8555a71a055a1e553ffe8865cb3ea6 SHA-1: a8e77218bdb915adec62580f95d3a8a679b18215 SHA-256: 2a7811607023a04ca559e46d7106588f4542af11352972ff84d28b49e59d4507
282 Risk Score

Malware Insights

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

The sample is a malicious OLE document containing a large VBA macro. The AutoOpen macro is present and configured to execute shell commands, indicating an attempt to run arbitrary code. Heuristics suggest the use of WinExec and ShellExecute APIs, along with heap spraying and VirtualAlloc, pointing towards a downloader or dropper functionality. The VBA macro is likely responsible for downloading and executing a second-stage payload.

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
091e13883767f920961cf988a9ee8e231627d36502f134cb4d72fe787d16f3d2
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).