Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 5a21ba664b525f75…

MALICIOUS

Office (OLE)

82.5 KB Created: 2016-05-12 23:30:00 Authoring application: Microsoft Office Word First seen: 2017-12-24
MD5: 8db1b6bfff2a4958854af226e93b9c98 SHA-1: 8812d834c360585340bef85894751d657173ec0d SHA-256: 5a21ba664b525f75597ca4042315853cb7de8e8735148c95f57f2b3b43d4d9b9
172 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File T1566.001 Spearphishing Attachment

The file is a malicious OLE document containing VBA macros, specifically a Document_Open macro designed to execute code. The presence of the 'Doc.Dropper.Agent-6403834-0' ClamAV detection strongly suggests it acts as a dropper for other malware. The VBA code, while obfuscated, indicates an attempt to run external code, likely a second-stage payload.

Heuristics 7

  • ClamAV: Doc.Dropper.Agent-6403834-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Agent-6403834-0
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • VBA macros detected medium 2 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • 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.
  • Document_Open macro low OLE_VBA_DOCOPEN
    Document_Open macro
    Matched line in script
    End Sub
    Private Sub Document_Open()
    Dim dWpVrc As Boolean
  • Suspicious extracted artifact info 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.
  • 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://www.w3.org/1999/02/22-rdf-syntax-ns# In document text (OLE body)
    • http://ns.adobe.com/xap/1.0/In document text (OLE body)
    • http://ns.adobe.com/xap/1.0/mm/In document text (OLE body)
    • http://ns.adobe.com/xap/1.0/sType/ResourceRef#In document text (OLE body)
    • http://schemas.openxmlformats.org/drawingml/2006/mainIn 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) 962 bytes
SHA-256: 4f4969b65b80cd24e0fea4e1676a3fcd2aa95397bc944cc3d5aed9db11b91c07
Detection
ClamAV: No threats found
Obfuscation or payload: likely
25 of 47 identifiers look randomly generated (e.g. 'cctFI0k3FgWx2d') — consistent with name-mangling obfuscation.
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
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 fDZFHim(ByVal KXhrdA As String, ByVal zHbISYR As String)
wHTiRT
If mjspzU(9002, 675, "pHSUfIWtMS1") Then
jGxNa True, "Xm8sNzgkJFS", "7cctFI0k3FgWx2d"
QwNZHX
tmRfIVJh 807
End If
End Sub
Private Sub AieuB(ByVal CcjoWhBh As Integer)
YoQROe 280, "luy5QYdPCP", 3880
nSBNYIEqi
szgGkotf 3197, "VEY3QBHYW", True
End Sub
Private Sub Document_Open()
Dim dWpVrc As Boolean
YEVWrnxjZw.IdmgRsM
End Sub
Private Sub FDRSuguNZf()
mqxGfUKgzi 6499, "qUBEQcUuFXEWj", "k0YqWvHPfgo"
MmaltzrlX 1715
If hBTkqIt("PjLaitTZmv") Then
rRoMb
Else
yqyGeqxn
End If
End Sub
Private Function sRDnUwJHSD() As String
yhlAeROGu
sRDnUwJHSD = "VFaG1negNe6bV"
End Function