Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 a008d6773bf91323…

MALICIOUS

Office (OOXML)

29.3 KB Created: 2021-06-08 07:44:17 UTC Authoring application: Microsoft Excel 16.0300
MD5: 77787036d839cf009dee3d36696a1294 SHA-1: ea77a7ec9ce71c39324af8518d9a598ef8e53fc3 SHA-256: a008d6773bf913230f9bc774d646491d598fc325009aec90678bed3dd495d652
302 Risk Score

Malware Insights

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

The Workbook_Open macro constructs the string 'powershell' and uses it to execute a downloaded file. The script downloads content from https://YourWebSite.com/?your_query_parameters, saves it to C:\test\wp1\file.csv, and then attempts to execute calc.exe and copies cmd.exe to c:\test\wp1\gg1.exe. This indicates an attempt 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://YourWebSite.com/?your_query_parameters

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
28c3817f1c2a81581d708adba784bb831bca76df2a4c6ae2b932a357f8c41895
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 1941 bytes
vbaProject_00.bin
4cb688b629ce712d34c6234cfd9d985830b9bb34447fdd108ee103048c490ce4
vba-project OOXML VBA project: xl/vbaProject.bin 19456 bytes