Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 4b84c537c317a51d…

MALICIOUS

Office (OLE)

96.0 KB Created: 2019-11-04 20:04:32 Authoring application: Microsoft Excel
MD5: e952df96ed8a0dce47a87203a292bb4f SHA-1: 163172f5016c075248b0aea90bd1bd1b849db1c6 SHA-256: 4b84c537c317a51d6c6b2de361e7f6251585e7e2486fdc4ed4bff2460facba69
282 Risk Score

Malware Insights

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

The sample is an Excel document containing a Workbook_Open VBA macro that is designed to execute a payload. The macro constructs a command that appears to be 'powershell -ExecutionPolicy Bypass -NoProfile -WindowStyle H' and then executes it, likely to download and run a second-stage payload from the embedded URL. This indicates a macro-based downloader, commonly used in spearphishing attacks.

Heuristics 8

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • Reference to ShellExecute API high SC_STR_SHELLEXEC
    Reference to ShellExecute API
  • Reference to PowerShell high SC_STR_POWERSHELL
    Reference to PowerShell
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_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.
  • 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://invoice-acc.com/ss/3loyaSLADo1ZNLp.exe

Extracted artifacts 1

Files carved from inside the sample during analysis.

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