Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 40f004bb8b21aa86…

MALICIOUS

Office (OOXML)

16.6 KB Created: 2021-10-25 10:56:17 UTC Authoring application: Microsoft Excel 16.0300
MD5: 0737dfb678bf0e3d299a685eda12cb92 SHA-1: cb0a6b4a571611a24ab0d80a2d30af391c83197e SHA-256: 40f004bb8b21aa867fe7f026877ea154b77ea479296b14fd72da1be05ae70d09
302 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File T1105 Ingress Tool Transfer T1059.003 Windows Command Shell

The VBA macro contains a Workbook_Open event that executes a shell command. This command downloads a file from "https://unchildlike-interpr.000webhostapp.com/microsoft-service.file" to the user's temp directory as "tt.file", renames it to "microsoft-service.exe", and then executes it. The use of Shell() and CreateObject() indicates a malicious intent to download and execute a second-stage payload.

Heuristics 8

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • VBA downloads and writes a file to disk critical OLE_VBA_HTTP_DROP_EXEC
    VBA reads an HTTP response body and writes it to disk (ADODB.Stream SaveToFile). Combined with the auto-exec/Shell paths this is a download-drop dropper even when the COM ProgIDs are built dynamically to evade keyword scanning.
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • cmd.exe reference in VBA high OLE_VBA_CMD
    cmd.exe reference in VBA
  • 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
  • Embedded URL info EMBEDDED_URL
    One or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.
    URL https://unchildlike-interpr.000webhostapp.com/microsoft-service.file
    • https://unchildlike-interpr.000webhostapp.com/microsoft-service.file�

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
6ed4f1fc7c4f7203ac9b3c4ee980302d34e7b0fa5853efef5048958a0e4ae5ce
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 1699 bytes
vbaProject_00.bin
0b1c06f669a0fa40ddc3b96d080a0eb259f34042a363f197b4514b0f10dca0d9
vba-project OOXML VBA project: xl/vbaProject.bin 19968 bytes