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

Static analysis result for SHA-256 6a13ae0c3a5d3f8d…

MALICIOUS

Office (OLE) / .XLSX

142.0 KB Created: 2015-06-05 18:17:20 Authoring application: Microsoft Excel
MD5: 41f3cfc86153f50fc4c52d2296fdceb3 SHA-1: 3e8a075f3072e890cdb719cc5ee5a4efa6597155 SHA-256: 6a13ae0c3a5d3f8dd117162ffff13b393144fe048720d065955275c8b3b50744
302 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File

The sample is a malicious Excel file containing VBA macros that are designed to execute a second-stage payload. The Workbook_Open macro is triggered upon opening, which then uses CreateObject to interact with Wscript.Shell and the Scripting.FileSystemObject. It attempts to download and execute payloads from multiple URLs, including reconstructed URLs like 'http://goyaluat.vmesh.in/0v6kcny/CG/'. The macro also attempts to write a batch file to 'c:\programdata\jledshf.bat' and a VBScript to 'c:\programdata\sduoixo.vbs' for execution.

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.Malware.Valyria-10004384-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Valyria-10004384-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://goyaluat.vmesh.in/0v6kcny/CG/
    • https://mars.srl/wp-admin/7Ffk6LLN2Xs2W/
    • http://franmulero.es/mbx/8c5RBJx6/
    • http://varafood.com/Ajax/cnM91G/
    • https://7jcat.com/wp-content/t/
    • http://blog.centralhome.h
    • http://zimrights.co.zw/oldsite/k0EoCWycU9tNo1d/
    • https://mudhands.com/error/BfH/
    • http://albatrospatagonia.com/phkcvt/t53ceSMDqgPQlq/
    • http://mapcommunications.co.zw/wp-admin/mdRRbSdU3aB7Xpx6z/
    • http://dushkin.net/img/bhQSTNicEMtNQxP/

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
527d0656a0c2c323955d068683ef8f7e20c035cda247a1e24383595c0eb3403b
vba-macro oletools.olevba.extract_macros (decoded VBA source) 7821 bytes