Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 2f30c867e1d7bc9b…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 1df96272761ebf66db20ed1dbf7c05cc SHA-1: ca2c95299f917ebc41809995ca3e9de8368534f8 SHA-256: 2f30c867e1d7bc9b5da984b3149dade1429826ef6e80399fbb874be845bd5815
160 Risk Score

Malware Insights

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

The file is an OOXML document containing VBA macros. Heuristics indicate the VBA code references PowerShell and cmd.exe, and uses the GetObject function. The VBA macro itself appears to be heavily obfuscated, but its presence and the associated heuristics strongly suggest it's designed to download and execute a second-stage payload. The specific obfuscation technique used in the Decode64 function is a common method for hiding malicious code.

Heuristics 4

  • PowerShell reference in VBA critical OLE_VBA_PS
    PowerShell reference in VBA
  • 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
d70c0cbd1e55a4c93f30361b479e48ed41afbb2cfc029bdbb7e3f2d51ca42f15
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 35036 bytes
vbaProject_00.bin
cb018c0fafc65fa5feb5690ed486d4ae8d13aa1024d23f4e21761b201322c628
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes