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

Static analysis result for SHA-256 10dfa4008dbd0845…

MALICIOUS

Office (OLE) / .DOCX

53.5 KB Created: 2017-09-04 12:07:00 Authoring application: Microsoft Office Word First seen: 2022-03-17
MD5: 088a8f3a238ae77ae3472e67dd6a3dc7 SHA-1: 753d7400c95ddc30f838aa880e4a243fc01525cd SHA-256: 10dfa4008dbd0845cbaea54b99fc635019ccea0fb61fef24074865605c63aa04
442 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1566.001 Spearphishing Attachment

This document contains VBA macros that automatically execute upon opening. The macros construct and run a PowerShell command, indicated by the 'powershell -noP -sta -w 1 -enc' sequence. This PowerShell command is designed to manipulate system settings and logging, as suggested by the string manipulation and references to WMI process creation. The presence of AutoOpen and Document_Open macros, along with the PowerShell execution, strongly indicates a malicious dropper functionality.

Heuristics 11

  • PowerShell reference in VBA critical OLE_VBA_PS
    PowerShell reference in VBA
  • VBA WMI Win32_Process launcher critical OLE_VBA_WMI_PROCESS_CREATE
    VBA macro builds or references a WMI moniker for Win32_Process and invokes .Create to start a command. This is a high-confidence macro execution chain that often hides the WMI class name through string concatenation or helper functions.
  • ClamAV: Doc.Dropper.Donoff-5743532-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Donoff-5743532-0
  • Reference to PowerShell high SC_STR_POWERSHELL
    Reference to PowerShell
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • GetObject call high OLE_VBA_GETOBJ
    GetObject 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.
  • 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 http://schemas.openxmlformats.org/drawingml/2006/main

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
84d48ab44de6e1e5b3d06f62b65123714d4a773cee4146fab091f3307eec72b4
vba-macro oletools.olevba.extract_macros (decoded VBA source) 6008 bytes