Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 8eb8e45cc57c1f6f…

MALICIOUS

Office (OOXML)

41.5 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 6d14db270a8ed1a70cfb2e640d33635d SHA-1: 3794ecaecc886669d04aa8f3f128e175a65b649e SHA-256: 8eb8e45cc57c1f6f1d2e57d1c2496d35363888b93c704f486c6325e88268cf43
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 document contains VBA macros that reference cmd.exe and PowerShell. The GetObject call and the presence of a VBA project indicate that the document is designed to execute malicious code. The VBA macro itself appears to be a Base64 decoder, suggesting it is used to obfuscate and then execute a secondary payload, likely downloaded from an external source.

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