Hallo ich versuche n programm zu schreiben, dass beliebige dlls in beliebige prozesse injected. Die theorie ist mir klar und so weiter aber beim injecten der dll stürzt der betreffenden Prozess ab. Ich weiß auch an welcher Stelle das passiert, habe das im quellcode mal markiert. Die dll enthält nichts besonderes, lediglich eine message box.
Du musst aufpassen was du in der Hook DLL machst, wenn du vor hast, sie in NT system- oder service prozesse zu injizieren. Dort darf man keine GUI Befehle in nicht-interaktiven Systemprozessen nutzen (z.b. FindWindow, PostMessage, MessageBox, etc.). Tust du es trotzdem kann es zu systemabstürzen oder ähnlichem kommen (Bluescreen etc.)
Tritt der Fehler auch auf, wenn du nichts ausführst, sondern die dll nur injectest?
Ich habe nur versucht die dll in prozesse wie minesweeper oder selbst geschriebene programme/prozesse zu injecten.
Quote:
Tritt der Fehler auch auf, wenn du nichts ausführst, sondern die dll nur injectest?
Wie meinst du das? Ich versuche ja eben nen dll injector zu schreiben und das ist ja eben ne exe die ne dll injected.
EDIT: Mit Absturz meine ich, dass das jeweilige Programm abstürzt, nicht das ganze System. Es kommt die Fehlermeldung ...exe hat ein Problem festgestellt und muss beendet werden.
PAGE_EXECUTE_READWRITE ist scheinbar das Problem. Mit PAGE_READWRITE klappts.
EDIT: ok leider doch noch nicht ganz gelöst, es wird zwar das gemacht was in der dll steht aber danach stürzt der prozess in den injected wird immernoch ab. Was in der dll steht macht wohl keinen unterschied. Gleicher effekt bei ner "leeren" dll wie auch bei einer die irgendwas macht.
Win7 Injection Problem 03/24/2010 - GW Bots - 10 Replies Hi
Im running Win7 32-bit and im having no problems what so ever with bots that auto-inject - but when i have to inject manually nothing kinda happends :/
I've even tried to run both gw the injector and the bot as admin, but still nothing works.
I can see that the bots start but my char just dont move or do anything.
Im using the Inizio injection - but also tried other injectors, without luck.
[ Wolfteam ] Injection via Import Table [ Problem ] 04/06/2009 - General Coding - 0 Replies Hi,
im currently trying to inject smth into Wolfteam, since it detects normal methods like a wrapper, rewriting the name in the hex file to a slightly different one or other ones i tried to use the import table of an loaded DLL, but whenever i edit it with LORD PE and add just once entry to it it will result in a programm crash. Now why i ask is because i know this method can work ( wolf lite uses it ).
Some advices for me? ( The way i do it, 1. open dll with pe builder of Lord Pe 2. G to...
Injection problem. 02/27/2009 - Kal Online - 2 Replies Always when i try to inject .dll file in Chilla kal or Kalvision private server, i got message that there is problem with anti-hacking. I using OMFGZ injector. Should I try with other injector or is problem anywhere else?
Code Injection Problem 01/03/2009 - General Coding - 4 Replies Der Original Code im Assembler ist "mov esi, "(read) und müsste auf die Adresse der Aktuell aktivierten Waffe zeigen. Der Wert esi hat für jede Waffe einen festgelegten Wert während ecx eine Adresse(verändert sich bei waffenwechsel nicht) beinhaltet. Mir geht es darum den Wert während die Schleife durchläuft wieder um 1 zu erhöhen wobei ich ein kleines Problem mit dem Syntax habe. Wie ändere ich den Code so um das er den Wert an der Adresse (esi, ) um 1(oder mehr) erhöht?
Der Interpreter in...
problem mit dem injection hack 12/09/2008 - Metin2 - 0 Replies hey, habe grad ein kleines problem im code!
#include "dll.h"
#include "windows.h"
#ifdef _MANAGED
#pragma managed(push, off)
#endif
HMODULE lib = 0;
BOOL APIENTRY DllMain( HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved