DLL Injector (x86 + x64, Unicode + MBCS) menu

User Tag List

Results 1 to 5 of 5
  1. #1
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1356
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    DLL Injector (x86 + x64, Unicode + MBCS)

    Figured I'd release the current build of my loader for an internal project I'm working on:

    Compiled and working on both IA-32 and AMD64.
    Compiled and working with both Unicode and MBCS/ASCII compiler flags. (Defaults to Unicode for obvious reasons.)

    Also supports unloading the module.

    Code is written in C++ with full exception handling (none of this annoying C-based return value checking crap).

    Only tested on MSVC++. Visual Studio 2008 project files supplied.

    Note: The AMD64 version can only inject into AMD64 processes, and the IA-32 version can only inject into IA-32 processes. It is possible to inject into IA-32 from AMD64 but I didn't bother because I needed an IA-32 version anyway and the code is much cleaner if I don't have to support that.

    Furthermore, don't touch the EH compiler settings, they're set the way they are for a reason and the code won't work properly if you change it. If you modify it then you can't mix SEH and C++ EH and so all the SehGuard code will fail and you won't be able to proxy SEH to C++ EH. In short: If you don't know what it does, just leave it alone.

    Pretty much all the code should be documented but I might have missed some (I didn't check). It should be very easy to follow though for any Windows programmer.

    Obviously you'll need to change the module name to the name of your module.

    Comments, suggestions, and criticisms appreciated.

    Credits:
    Kynox
    Greyman
    Jeffrey M Richter / Christophe Nasarre
    jaredpar
    All of GD
    Anyone I forgot (let me know)

    Download:
    Injector v20090421a
    Injector v20090421b (Thanks Patrick! <3)

    Updates will be posted here.

    Last edited by Cypher; 04-21-2009 at 03:49 AM.

    DLL Injector (x86 + x64, Unicode + MBCS)
  2. #2
    jagged software's Avatar Member
    Reputation
    -4
    Join Date
    Feb 2009
    Posts
    36
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Cool stuff dude, thanks for sharing your methods. +rep

  3. #3
    Zephir's Avatar Member
    Reputation
    8
    Join Date
    May 2007
    Posts
    44
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    awesome I surely can learn plenty from it +rep

  4. #4
    ostapus's Avatar Active Member
    Reputation
    58
    Join Date
    Nov 2008
    Posts
    176
    Thanks G/R
    2/8
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nicely commented code As i understand, this is common method with remotethread/loadlibrary approach. But in this way loaded module name will be shown up in loaded modules list, right ?

  5. #5
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1356
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by ostapus View Post
    Nicely commented code As i understand, this is common method with remotethread/loadlibrary approach. But in this way loaded module name will be shown up in loaded modules list, right ?
    Correct, hence the creation of:
    Module Cloaker v2 « Ramblings++

Similar Threads

  1. Generic Dll Injector for x86 and x64 + Export Caller
    By Cypher in forum WoW Memory Editing
    Replies: 14
    Last Post: 03-31-2013, 05:45 PM
  2. C# .NET Dll Injector
    By adaephon in forum WoW Memory Editing
    Replies: 18
    Last Post: 01-02-2013, 09:12 PM
  3. [Release] Yet another dll injector..
    By _Mike in forum WoW Memory Editing
    Replies: 10
    Last Post: 10-06-2010, 09:34 AM
  4. Replies: 22
    Last Post: 04-29-2009, 05:11 PM
  5. .DLL Injector & Language Hack
    By tehshadow in forum World of Warcraft Bots and Programs
    Replies: 18
    Last Post: 11-07-2006, 10:38 PM
All times are GMT -5. The time now is 10:31 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search