Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 9ae7ae3bbef45e2e…

MALICIOUS

Office (OOXML)

10.4 KB
MD5: 87294d3aa612f1ed6daab8f35e124f2c SHA-1: 3a7e4e4094816f187f795fe4e20dd2768fb20f9f SHA-256: 9ae7ae3bbef45e2e852cd8307c458ce2798fa1337a61dfc598df94999e0f140f
200 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1566.001 Spearphishing Attachment

The sample is an OOXML document containing a VBA project with an Auto_Open macro. This macro utilizes ShellExecuteA via a dynamically declared function to execute a command. The critical heuristic indicates that the 'powershell' token was reassembled from split string literals, suggesting the macro's intent is to launch PowerShell. This is a common technique for downloading and executing further malicious content.

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/kasodkasodk.b)

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
ddc6d9a15b8cb01e401d1a60f5479c690b217a3578b3b9689acfa1159ecd5996
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 2435 bytes
vbaProject_00.bin
24bd9930ce9764e5a130d6822b647b033b36d5c8539f5bd800cae30754e49067
vba-project OOXML VBA project: ppt/kasodkasodk.b 23040 bytes