Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 7b1c12e397506d72…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 5f430e7f1d772d283a400685ee344eec SHA-1: 09971ed96560b602255c764d0dcc3f57512b80e1 SHA-256: 7b1c12e397506d72f390d46890f003332062c81499bcd4225555172b463044fc
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 file is an OOXML document containing VBA macros. Heuristics indicate the VBA code references cmd.exe and PowerShell, suggesting it's designed to execute commands on the host system. The GetObject call further supports the possibility of object instantiation for malicious purposes. The primary function of the VBA script appears to be the execution of external commands, likely for downloading and running a secondary payload.

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