Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 b140b50591ac6a17…

MALICIOUS

Office (OOXML)

41.9 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: d0756f433b5d770393fab9aa0bb53e91 SHA-1: 4368d25ced51e9780539ba9ae91562810f7cd87d SHA-256: b140b50591ac6a178e935ee34d4c0fc31043d3be09e1f250cffa39396f338975
260 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1204.002 Malicious File T1087.002 Local Account T1059.003 Windows Command Shell

The file contains a Workbook_Open macro, a common technique for executing malicious code upon opening an Office document. This macro references PowerShell and cmd.exe, and uses WMI (Win32_Process) to launch processes. The VBA code itself appears to be heavily obfuscated, suggesting an attempt to hide its true functionality, which is likely to download and execute a secondary payload. The presence of these elements strongly indicates a malicious intent to compromise the user's system.

Heuristics 6

  • 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.
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • GetObject call high OLE_VBA_GETOBJ
    GetObject call
  • cmd.exe reference in VBA high OLE_VBA_CMD
    cmd.exe reference in VBA
  • VBA project inside OOXML medium OOXML_VBA
    Document contains a VBA project — VBA macros present

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
fe9b77d9b3507b4af28e5d4dd14fb80447c23022f348024ffe55cff5da03576d
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 35503 bytes
vbaProject_00.bin
03b65bd954cf9ecaaaa39c4fa77f86e130dbcb32f8a6711d859fd8ae29f8b2c0
vba-project OOXML VBA project: xl/vbaProject.bin 11776 bytes