Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 a4f16e6509ca2ab9…

MALICIOUS

Office (OOXML)

41.5 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 41179f00c4748c6be7ab163fc67032d3 SHA-1: 1a0261b48f3acd07c3308129ac4f0c01b6cd8860 SHA-256: a4f16e6509ca2ab9e49a2adea96cc660d4a3a3e97c274ad6582b7091b38caae5
160 Risk Score

Malware Insights

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

The OOXML file contains VBA macros that reference cmd.exe and PowerShell. The GetObject call and the presence of VBA macros suggest an attempt to execute arbitrary code. The macro's obfuscated Base64 decoding function likely decodes and executes a malicious payload, which is a common technique for downloading and running further stages of malware.

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
8b4d745d87af2f70aaad23e6d81c7fd294aa1d5bc685eaed6d9b268432cbcdcd
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 34430 bytes
vbaProject_00.bin
74a625733842ac838a66d2633b6d2bca21873eba2cad2fa71f85516be7906804
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes