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

Static analysis result for SHA-256 17afd43002c0fd89…

MALICIOUS

Office (OLE) / .XLS

151.5 KB Created: 2015-06-05 18:17:20 Authoring application: Microsoft Excel
MD5: 0ca2a1ca1d1174f7bb2a06a61e425d11 SHA-1: a8f32942a5dddaafd1c04b65e4f4a5c32c2cb8b6 SHA-256: 17afd43002c0fd89aec8164c396cccf242e2e7a6fe6f66f9c217c8c69326c3a0
302 Risk Score

Malware Insights

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

The sample is an Excel file containing VBA macros that are automatically executed upon opening (Workbook_Open). These macros reconstruct and execute a batch file from a string literal, which in turn downloads and executes payloads from a list of embedded URLs. The presence of CreateObject and Wscript.Shell firings, along with the reconstructed batch file path, indicates a downloader functionality.

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