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

Static analysis result for SHA-256 14db6132f124a2c0…

MALICIOUS

Office (OLE) / .XLSX

151.5 KB Created: 2015-06-05 18:17:20 Authoring application: Microsoft Excel
MD5: f1999462c62f6c6f9f545b67bd403aa0 SHA-1: 97f19b142e73be7c4f87745c5ca9d5770632818f SHA-256: 14db6132f124a2c042f9760027d012a0a9005ea7d544d887db7b1bdba2620073
302 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File T1566.001 Spearphishing Attachment

The sample contains VBA macros that are automatically executed upon opening the workbook, as indicated by the Workbook_Open heuristic. These macros reconstruct and execute a batch file from ProgramData, which in turn downloads and executes a second-stage payload from a list of embedded URLs. The presence of CreateObject and Wscript.Shell firings further supports the execution of external commands and scripts.

Heuristics 8

  • URL reconstructed from VBA cell-staged base64 dropper (10 URLs) critical OLE_VBA_CELL_DROPPER_URL
    VBA reads worksheet cells, strips junk substrings via Replace(), and base64/UTF-16 decodes the result into a PowerShell EncodedCommand payload. The download URL is never contiguous in the file bytes; it was recovered by removing the macro's Replace() junk tokens from the cell strings and decoding the staged base64.
  • ClamAV: Doc.Downloader.EmotetExcel02226-9938630-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.EmotetExcel02226-9938630-0
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • 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 macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code
  • 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://moneyquote.ja.deals/assets/jcCwxvuSRpES7VhWxj/
    • https://vestaseguridad.com.ar/wp-content/7JD9gufnwG/
    • https://mail.reddeeducacionvirtual.com/wp-includes/BqJi1K/
    • http://veluxcounterapi.orbitalwaves.it/assets/WW9KfK84
    • http://mylibass.in/wp-content/SYERoa6um9/
    • https://www.edhacare.com/Fox-C404/XDEQNngeH6Dg/
    • http://openhouse.co.zw/admin/l0nzhQ/
    • http://ilifetrend.com/wp-admin/qC/
    • http://sedes.si/wordpress/UVpGY5pQBX5X7pMxHs/
    • https://farmand

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
c49f2df77c50e10269216d97c3efdf7c32f9f18ba5d8fd42a9b144f48e100040
vba-macro oletools.olevba.extract_macros (decoded VBA source) 5709 bytes