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

Static analysis result for SHA-256 f7d2fa51abb13fda…

MALICIOUS

Office (OLE) / .DOC

34.5 KB Created: 2020-10-20 07:31:00 Authoring application: Microsoft Office Word
MD5: 4108785cacf4c5167421745a5ac00421 SHA-1: 382a7a47249d8d0e619cdd2491a80267e18714d8 SHA-256: f7d2fa51abb13fda6023fc4959328f815b6d9400beeb6a9bf1af1696cc6c0faa
308 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1204.002 Malicious File

The sample contains a VBA macro with an AutoOpen function, which is designed to execute automatically upon opening the document. Critical heuristics indicate the use of Shell() calls and character-shift decoding to execute commands, suggesting the macro's purpose is to download and execute a second-stage payload. The presence of the 'macros.bas' artifact further supports this. The document body is heavily corrupted and unreadable, providing no contextual clues.

Heuristics 9

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • VBA character-shift decoded Shell command critical OLE_VBA_ASC_CHR_SHIFT_SHELL
    VBA auto-exec macro stores an encoded command string, decodes it with a Mid/Asc/Chr character-shift loop, and passes the recovered text to Shell. This is a high-confidence command stager.
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • 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
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)
  • 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
c99fe447fcccc6aefe2c81a7e35ff3a822e5a4af3107aecab9eb64356a9acee1
vba-macro oletools.olevba.extract_macros (decoded VBA source) 5179 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.