Ir para conteúdo
Sistema de Servidores de Jogos ×
  • Quem está por aqui   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.

Posts Recomendados

Olá a todos, sou novo com o delphi 7 então preciso da ajuda de vocês...

criei um injector mas ele está com alguns virus maliciosos(eu acho, pq o mediafire não deixou fazer o upload) e queria tentar tira-los, e também ele está com um bug(so vi um por enquanto): assim que seleciona a dll ela já é injetada sem clicar no botão de injetar.

ai o scan: [sCAN]

É necessário se cadastrar para acessar o conteúdo.
[/sCAN]

vejam se realmente algum desses virus é maliciose e por favor me ajuda a tira-lo.

 

Source:

 

unit Unit1;

 

interface

 

uses

Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,

Dialogs, ExtCtrls, StdCtrls, TlHelp32;

 

type

TForm1 = class(TForm)

Edit1: TEdit;

Edit2: TEdit;

Button1: TButton;

OpenDialog1: TOpenDialog;

Timer1: TTimer;

Button2: TButton;

Label3: TLabel;

Label1: TLabel;

Label2: TLabel;

procedure Button1Click(Sender: TObject);

procedure Button2Click(Sender: TObject);

procedure Timer1Timer(Sender: TObject);

private

{ Private declarations }

public

{ Public declarations }

end;

 

var

Form1: TForm1;

 

implementation

 

{$R *.dfm}

 

function GetPID(ProcessName: string): DWORD;

var MyHandle: THandle;

Struct: TProcessEntry32;

begin

Result:=0;

try

MyHandle:=CreateToolHelp32SnapShot(TH32CS_SNAPPROCESS, 0);

Struct.dwSize:=Sizeof(TProcessEntry32);

if Process32First(MyHandle, Struct) then

if Struct.szExeFile=ProcessName then

begin

Result:=Struct.th32ProcessID;

Exit;

end;

while Process32Next(MyHandle, Struct) do

if Struct.szExeFile=ProcessName then

begin

Result:=Struct.th32ProcessID;

Exit;

end;

except on exception do

Exit;

end;

end;

 

function InjectDll(PID:DWORD; sDll:string):Boolean;

var

hLib: Pointer;

hThread: THandle;

pMod: Pointer;

hOpen: THandle;

dWritten: Cardinal;

ThreadID: Cardinal;

begin

Result := FALSE;

hOpen := OpenProcess(PROCESS_ALL_ACCESS, FALSE, PID);

if hOpen <> INVALID_HANDLE_VALUE then

begin

hLib := GetProcAddress(GetModuleHandle(PChar('kernel32.dll')), PChar('LoadLibraryA'));

pMod := VirtualAllocEx(hOpen, nil, Length(sDll) + 1, MEM_COMMIT or MEM_RESERVE, PAGE_EXECUTE_READWRITE);

if WriteProcessMemory(hOpen, pMod, @sDll[1], Length(sDll), dWritten) then

Result := TRUE;

hThread := CreateRemoteThread(hOpen, nil, 0, hLib, pMod, 0, ThreadID);

WaitForSingleObject(hThread, INFINITE);

CloseHandle(hOpen);

CloseHandle(hThread);

end;

end;

 

procedure TForm1.Button1Click(Sender: TObject);

begin

if not OpenDialog1.Execute then Exit;

Edit2.Text:=OpenDialog1.FileName;

end;

 

procedure TForm1.Button2Click(Sender: TObject);

begin

Timer1.Enabled:=True;

end;

 

procedure TForm1.Timer1Timer(Sender: TObject);

var PID: DWORD;

begin

Timer1.Enabled:=False;

PID:=GetPID(Edit1.Text);

if PID=0 then

begin

Timer1.Enabled:=True;

Exit;

end;

Timer1.Enabled:=False;

if InjectDll(PID, Edit2.Text) then

MessageBoxA(Handle, 'DLL injetada com sucesso!', 'DLL Injector', MB_ICONEXCLAMATION+MB_SYSTEMMODAL)

else

MessageBoxA(Handle, 'Erro ao injetar DLL.', 'DLL Injector', MB_ICONERROR+MB_SYSTEMMODAL);

end;

 

end.

 

Link para o comentário
https://www.webcheats.com.br/topic/1886616-ajuda-com-injector/
Compartilhar em outros sites

Essa parte ai dela injetar na hora que vc seleciona a dll, deve ser pq ta em modo de autoinjeção, injeta automaticamente.

Link para o comentário
https://www.webcheats.com.br/topic/1886616-ajuda-com-injector/#findComment-7845986
Compartilhar em outros sites

isso não é virus, é por conta do seu próprio código... Injetar dll é uma atividade irregular dai antivírus considera como vírus.. pode ver no scan mais da metade tudo mostrando DLL Inject os outros são a mesma coisa só que de antivirus não tão detalhados assim.. Isso ai é normal acontecer mesmo

python-doc-icon.jpg

wVNulLU.gif

Link para o comentário
https://www.webcheats.com.br/topic/1886616-ajuda-com-injector/#findComment-7847659
Compartilhar em outros sites

Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...

Informação Importante

Nós fazemos uso de cookies no seu dispositivo para ajudar a tornar este site melhor. Você pode ajustar suas configurações de cookies , caso contrário, vamos supor que você está bem para continuar.