Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 dffcd5896599ea6c…

MALICIOUS

Office (OLE)

60.0 KB Created: 2016-05-08 21:25:00 Authoring application: Microsoft Office Word First seen: 2018-01-23
MD5: 085b26396dc62a72ded5d4d286ef79a1 SHA-1: b7d054ad84367055224c9ebd629e5521e50301cf SHA-256: dffcd5896599ea6c8af4cc260ec667ed9f73a30e7a1800673421e8b60a5d0554
262 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1203 Exploitation for Client Execution

The sample is a malicious Office document containing VBA macros. The macros utilize `CreateObject` to instantiate `MSXML2.ServerXMLHTTP.6.0` and `ADODB.Stream`, and critically, `WScript.Shell`. The `WScript.Shell` object is used to execute commands, indicating the likely intent to download and execute a second-stage payload. The presence of `Shell()` calls and `WScript.Shell` usage strongly suggests a dropper or downloader functionality.

Heuristics 7

  • ClamAV: Doc.Dropper.Agent-6425780-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Agent-6425780-0
  • VBA macros detected medium 3 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
    Matched line in script
    Public Function WkzoLVUm() As Object
    Set WkzoLVUm = CreateObject("WScript.Shell")
    End Function
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
    Matched line in script
    Public Function trKHrrHdmg() As Object
    Set trKHrrHdmg = CreateObject("MSXML2.ServerXMLHTTP.6.0")
    End Function
  • 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.
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • 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://schemas.openxmlformats.org/drawingml/2006/main In document text (OLE body)

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 343 bytes
SHA-256: 93523b665228df4ca489f475c432998c717638381c526c89358d0c5eb580181f
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "VtvPtzpL"
Public Function trKHrrHdmg() As Object
Set trKHrrHdmg = CreateObject("MSXML2.ServerXMLHTTP.6.0")
End Function
Public Function iOxSJWxSk() As Object
Set iOxSJWxSk = CreateObject("ADODB.Stream")
End Function
Public Function WkzoLVUm() As Object
Set WkzoLVUm = CreateObject("WScript.Shell")
End Function