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

Static analysis result for SHA-256 8378e0704cb6516a…

MALICIOUS

Office (OLE) / .XLS

142.0 KB Created: 2015-06-05 18:17:20 Authoring application: Microsoft Excel
MD5: 1fafefa9c87404b42806464ab0a6e144 SHA-1: 1c234d6c44f13536d1fb15af542f4725a4bfc20d SHA-256: 8378e0704cb6516aa62e95e5996393b284cd3565b6ce31ddc2092e833da2d3cf
280 Risk Score

Malware Insights

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

The sample is a macro-enabled Excel file that contains a Workbook_Open macro. This macro uses CreateObject to instantiate Wscript.Shell and Scripting.FileSystemObject. It then proceeds to write two files to disk: 'c:\programdata\jledshf.bat' and 'c:\programdata\sduoixo.vbs'. The batch file appears to be a loader for the VBScript, which in turn is responsible for downloading and executing a second-stage payload from one of the several hardcoded URLs. The PowerShell command embedded within the DOC BODY, 'powershell -e BGZDSRFgtshk4usthkdfhg gzdfghsklehklyxdjfhDTjufyjxFdHxdrgxdh5687ogfy78o9ghu&start /B /WAIT %hjhdrdresas%%YUderhdD3%%VvdsFHd4%%HJtre4edtgf%%bsRHYdtsughzsd23zfg%%cvxerses3srYHDFj%%fgdsahkaw3DF%', is heavily obfuscated but indicates the execution of a PowerShell payload.

Heuristics 7

  • 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.
  • Suspicious extracted artifact high EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code

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
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.