Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 4e1b3ade18bffce7…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: a800dcd16736ddfb88725970d4f7342b SHA-1: cbc43c9d2ed468a0ee582af4514795b289c62e6e SHA-256: 4e1b3ade18bffce792c260cef9cace463228b7c80b1ab6dbe0710aabbf6f5ee2
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 sample is an Office 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 presence of a Base64 decoding function within the VBA code further supports the hypothesis that it's intended to download and execute a secondary payload, likely obfuscated.

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