Vb.net Resource file injection (by GQQGLEE)

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Seçkin Üye
Katılım
13 Ara 2015
Mesajlar
410
Tepki puanı
1
10 HİZMET YILI
Evet Beyler Çoğu kişinin kullandığı budur tempe atıp injectler işte neyse Alın Kodları Kullanın Resourcese bi dosya ekleyin işte neyse uzun olur anlatmak  uğraşamam alın kullanın .

PHP:
Imports System.IO

Dim dlls As New Dictionary(Of String, String)
    Private Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Integer, ByVal bInheritHandle As Integer, ByVal dwProcessId As Integer) As Integer
    Private Declare Function VirtualAllocEx Lib "kernel32" (ByVal hProcess As Integer, ByVal lpAddress As Integer, ByVal dwSize As Integer, ByVal flAllocationType As Integer, ByVal flProtect As Integer) As Integer
    Private Declare Function WriteProcessMemory Lib "kernel32" (ByVal hProcess As Integer, ByVal lpBaseAddress As Integer, ByVal lpBuffer() As Byte, ByVal nSize As Integer, ByVal lpNumberOfBytesWritten As UInteger) As Boolean
    Private Declare Function GetProcAddress Lib "kernel32" (ByVal hModule As Integer, ByVal lpProcName As String) As Integer
    Private Declare Function GetModuleHandle Lib "kernel32" Alias "GetModuleHandleA" (ByVal lpModuleName As String) As Integer
    Private Declare Function CreateRemoteThread Lib "kernel32" (ByVal hProcess As Integer, ByVal lpThreadAttributes As Integer, ByVal dwStackSize As Integer, ByVal lpStartAddress As Integer, ByVal lpParameter As Integer, ByVal dwCreationFlags As Integer, ByVal lpThreadId As Integer) As Integer
    Private Declare Function WaitForSingleObject Lib "kernel32" (ByVal hHandle As Integer, ByVal dwMilliseconds As Integer) As Integer
    Private Declare Function CloseHandle Lib "kernel32" (ByVal hObject As Integer) As Integer



    Private Function Inject(ByVal pID As Integer, ByVal dllLocation As String) As Boolean
        Dim hProcess As Integer = OpenProcess(&H1F0FFF, 1, pID)
        If hProcess = 0 Then Return False
        Dim dllBytes As Byte() = System.Text.Encoding.ASCII.GetBytes(dllLocation)
        Dim allocAddress As Integer = VirtualAllocEx(hProcess, 0, dllBytes.Length, &H1000, &H4)
        If allocAddress = Nothing Then Return False
        Dim kernelMod As Integer = GetModuleHandle("kernel32.dll")
        Dim loadLibAddr = GetProcAddress(kernelMod, "LoadLibraryA")
        If kernelMod = 0 OrElse loadLibAddr = 0 Then Return False
        WriteProcessMemory(hProcess, allocAddress, dllBytes, dllBytes.Length, 0)
        Dim libThread As Integer = CreateRemoteThread(hProcess, 0, 0, loadLibAddr, allocAddress, 0, 0)

        If libThread = 0 Then
            Return False
        Else
            WaitForSingleObject(libThread, 5000)
            CloseHandle(libThread)
        End If

        CloseHandle(hProcess)

        Return True
    End Function



    Private Sub Timer1_Tick_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        Dim TempFile As String = My.Computer.FileSystem.GetTempFileName
        IO.File.WriteAllBytes(TempFile, My.Resources.MyResourceFile)'bu dosyaadını yazın uzantısız hali
        Dim TargetProcess As Process() = Process.GetProcessesByName("wolftü")'uzantısız hedef proess
        If TargetProcess.Length = 0 Then

        Else
            Dim ProcID As Integer = Process.GetProcessesByName("wolftü")(0).Id
  Inject(ProcID, TempFile)          
  Timer1.Stop()
          

        End If
    End Sub
 
Bilinmiyor
Efsane Üye
Katılım
26 Şub 2016
Mesajlar
4,271
Çözümler
3
Tepki puanı
792
Ödüller
13
10 HİZMET YILI
Yararlı Konu Sağolasın :)
 
Banlı Üye
Katılım
1 Eki 2016
Mesajlar
1,521
Tepki puanı
334
Yaş
32
9 HİZMET YILI
Yararli,konu bayadir,ariyordum kardesm :)))
 
  • Konuyu başlatan
  • Yasaklandı
  • #4
Seçkin Üye
Katılım
13 Ara 2015
Mesajlar
410
Tepki puanı
1
10 HİZMET YILI
güncel source eklerim isteyen olusra
 
I'm the Boss
Ultra Üye
Katılım
4 Ağu 2016
Mesajlar
887
Tepki puanı
30
9 HİZMET YILI
eyw yararılı konu ama ben tempe atmıycam tempe indirip injectliycem Ehueheu :D
Neyse yararlı konu
 
Üye
Katılım
26 Mar 2016
Mesajlar
47
Tepki puanı
3
10 HİZMET YILI
internetten bulun injector yapımını . sonra inject edilecek dosyanın kısmına resource file ekleyin. bu kadar basit. kardeşim yinede ellerine sağlık. bizi bilgilendirdiğin için.
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Üst