Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 c0f8bb060f4efd22…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 9e39fa9ba7341fab900194e4e3acb346 SHA-1: b8acf5c3ded393c52f0db9cd02355c4c69b05210 SHA-256: c0f8bb060f4efd22587558a6b7c368f9fab0b6f246c7bebaae26fc1f352897db
160 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1059.003 Windows Command Shell

The OOXML document contains VBA macros that reference PowerShell and cmd.exe. The GetObject call and the presence of a Base64 decoding function suggest the macro is designed to decode and execute a payload. The primary function of the VBA code appears to be obfuscation and execution of a secondary stage, likely a downloader.

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
248d52d817aeff5b01b46574e493fc296a18544fb33bc412f55074da60c98bd0
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 35036 bytes
vbaProject_00.bin
85d03b8533268c005a6070baf575dd87c6438ae51375aee2f453ac3f89084c96
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes