Malicious Office (OOXML) / .XLSX — malware analysis report

Static analysis result for SHA-256 e8cd0badf905e26e…

MALICIOUS

Office (OOXML) / .XLSX

152.3 KB Created: 2020-05-05 09:40:17 UTC Authoring application: Microsoft Excel 15.0300
MD5: c4d7a7a89876fd645ccfd37e887990f5 SHA-1: f0df6e95204e90409319e5654d10cd7cf81adb40 SHA-256: e8cd0badf905e26e3f13e6fbf3a5641244a270cff6d4968dc6f32dc84246d57b
260 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059 Command and Scripting Interpreter T1204.002 Malicious File

The OOXML file contains a Workbook_Open macro, a common technique for auto-execution upon opening. This macro utilizes character-shifting functions (Asc, Chr, Mid) to decode a Shell command, which is then executed. This pattern strongly suggests the macro is designed to download and run a secondary malicious payload.

Heuristics 6

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • VBA character-shift decoded Shell command critical OLE_VBA_ASC_CHR_SHIFT_SHELL
    VBA auto-exec macro stores an encoded command string, decodes it with a Mid/Asc/Chr character-shift loop, and passes the recovered text to Shell. This is a high-confidence command stager.
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • Suspicious extracted artifact high EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
  • VBA project inside OOXML medium OOXML_VBA
    Document contains vbaProject.bin — VBA macros present

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
3721a849c3d110fb8768923edcc468b1f68e7daf59262b7427a8f151b784add8
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 2027 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.
vbaProject_00.bin
b21d28df63562ec22fc95590049ed5aa70943eec8c617ed0adf0a5dea36dcad6
vba-project OOXML VBA project: xl/vbaProject.bin 14336 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.