Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 6e97a14823c62678…

MALICIOUS

Office (OOXML)

41.5 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 9314b76b9a1be4c4eea4a6fe4f230444 SHA-1: 9e599b813ddfe69794d503afeed728e85a871550 SHA-256: 6e97a14823c6267825e863f30c9e078c5b8b73138b4c746af7223c944bfc532e
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 that reference cmd.exe and PowerShell. The GetObject call and the presence of a Base64 decoding function suggest that the macro is designed to download and execute a secondary payload. The specific obfuscation and decoding routine indicate a downloader or droppper functionality.

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