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

Static analysis result for SHA-256 6340ad4121698908…

MALICIOUS

Office (OLE) / .XLSX

151.0 KB Created: 2015-06-05 18:17:20 Authoring application: Microsoft Excel
MD5: 39bbbbe5cf0b3f1a36e081bf26878bae SHA-1: 5fe11f47c0e32c9cf7ae5169133976c956d62705 SHA-256: 6340ad4121698908c67b695ef38516da1531f582a4f1a6b51238066a43295803
302 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1105 Ingress Tool Transfer

The sample contains VBA macros, specifically a Workbook_Open event, which is a common technique for executing malicious code upon opening an Excel file. The heuristics indicate that these macros are designed to reconstruct and download payloads from a list of 11 embedded URLs. The reconstructed command line in the DOC BODY also indicates the execution of a batch file and a VBScript, likely to facilitate the download and execution of further stages.

Heuristics 8

  • URL reconstructed from VBA cell-staged base64 dropper (11 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.EmotetExcel02222-9938901-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.EmotetExcel02222-9938901-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 http://sumedhaonline.com/wp-content/HyzNXJ30XOQVcBSRH/
    • http://divachintextiles.com/wp-includes/WWhWRKs8KvzNFm6/
    • http://hotelandamalabo.com/1520/bUdhEPdf/
    • http://shwenantawwin.com/copma/XTnZIi02vfVblK7/
    • https://khibra-academy.com/wp-content/c1dR8wP4OdhzApHn/
    • https://dwwmaster.com/wp-content/W7XGpodRs5kYvnV/
    • http://edinsonjhernandez.net/wp-content/vndSGB/
    • https://stayathomeamer
    • http://quetzalgt.coffee/images/B5WUc/
    • http://edinsonjhernandez.info/wp-content/BaazJljahSR2/
    • http://xn--90agbba9adnzt3i.com/ALFA_DATA/ucCbi6G/

Extracted artifacts 1

Files carved from inside the sample during analysis.

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