Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 a1d5c169149aa5e2…

MALICIOUS

Office (OOXML)

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

Malware Insights

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

This Excel document contains VBA macros that reference PowerShell and cmd.exe. The GetObject call and the presence of VBA macros suggest an attempt to execute arbitrary code. The VBA code includes a Base64 decoding function, which is often used to obfuscate malicious payloads. The primary function of the script appears to be downloading and executing a second-stage 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
d203f6ab99fb5875f054c996cdcc8cfdc12948993f85aae2b4b6bebe2b89f7d5
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 35036 bytes
vbaProject_00.bin
fc6f9f50623c1d9aaa1c62573e7af1cc85e877fe83689c534af87355b478241e
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes