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

Static analysis result for SHA-256 63d78fc8971e49b3…

MALICIOUS

Office (OLE) / .DOCX

165.8 KB Created: 2020-09-14 11:42:00 Authoring application: Microsoft Office Word
MD5: d43c4b7a27dfc4e34805b6e5db52d6df SHA-1: a935bc3b5d6c95f7d5cb6790bb79474984cbb69a SHA-256: 63d78fc8971e49b3625ff232b04e81225700856d546eb6f81b4a18eb74e7897e
262 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1566.001 Spearphishing Attachment

This document contains a VBA macro that executes a Document_Open subroutine. This subroutine is designed to decode and execute a PowerShell command. The decoded command is a complex PowerShell stager that appears to download and execute a second-stage payload from a remote source. The presence of the Document_Open macro and the obfuscated PowerShell stager strongly indicate a malicious downloader.

Heuristics 7

  • Hidden UserForm PowerShell EncodedCommand stager critical OLE_USERFORM_OBFUSCATED_POWERSHELL
    OLE document contains a UTF-16LE form/property string with an obfuscated PowerShell -EncodedCommand payload. The observed macro family reconstructs this hidden string with Split/Join or UserForm property reads and launches it through WMI/COM process creation. This is downloader malware, not an Office CVE exploit.
  • ClamAV: Doc.Downloader.Generic-9759992-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Generic-9759992-0
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open 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.
  • 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
21906a5a0abde96faec8374301375697a3e8b4bd728c1429248ea92df8224a99
vba-macro oletools.olevba.extract_macros (decoded VBA source) 25189 bytes