[Tutorial] Injecting assembly into WoW using C# menu

User Tag List

Results 1 to 8 of 8
  1. #1
    Corthezz's Avatar Elite User Authenticator enabled
    Reputation
    386
    Join Date
    Nov 2011
    Posts
    325
    Thanks G/R
    191/98
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Tutorial] Injecting assembly into WoW using C#

    The last few days I worked on a tutorial regarding injecting assembly code into WoW using C#. Even tho I stick to an old WoW version this method can be adapted to every game. Take a look if you like (a backlink to mmowned is visible at every page):

    Zzuk's stuff: [Reversing / 1.12.1 WoW] Detouring functions

    I appreciate feedback a lot so please dont hestitate to flame me (or ask questions) if I done stuff wrong.
    Oh and also thanks to Ryuk for iHook

    [Tutorial] Injecting assembly into WoW using C#
  2. #2
    Alfalfa's Avatar Legendary
    Reputation
    751
    Join Date
    Feb 2013
    Posts
    669
    Thanks G/R
    70/79
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, gonna check it out. +rep

  3. #3
    fvicaria's Avatar Active Member
    Reputation
    29
    Join Date
    Jan 2009
    Posts
    55
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have also written a generic injector in C#/C++ that will inject any dll (managed or unmanaged) into WoW.
    If it detects that if the DLL is a managed assembly and if so it will also start the .NET runtime and load the assembly.
    It included a few extra security measures such:

    1. randomizes dll signature
    2. removes the injected dll from the loaded module list
    3. adds lower and upper page guards
    4. add a kill-switch with VEH
    5. etc.

    If this is of any use to anyone let me know.

  4. #4
    Apostels's Avatar Member
    Reputation
    1
    Join Date
    Jan 2014
    Posts
    1
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Damn Max this is nice!

  5. #5
    Nonowmana's Avatar Contributor
    Reputation
    125
    Join Date
    Apr 2009
    Posts
    259
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by fvicaria View Post
    I have also written a generic injector in C#/C++ that will inject any dll (managed or unmanaged) into WoW.
    If it detects that if the DLL is a managed assembly and if so it will also start the .NET runtime and load the assembly.
    It included a few extra security measures such:

    1. randomizes dll signature
    2. removes the injected dll from the loaded module list
    3. adds lower and upper page guards
    4. add a kill-switch with VEH
    5. etc.

    If this is of any use to anyone let me know.
    Could be cool to share, for educational purpose (the dll hiding part is interesting).
    Anthraxbot & SPQR Creator / Administrator

  6. #6
    ~Unknown~'s Avatar Contributor
    Reputation
    193
    Join Date
    Jan 2009
    Posts
    211
    Thanks G/R
    0/5
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by fvicaria View Post
    I have also written a generic injector in C#/C++ that will inject any dll (managed or unmanaged) into WoW.
    If it detects that if the DLL is a managed assembly and if so it will also start the .NET runtime and load the assembly.
    It included a few extra security measures such:

    1. randomizes dll signature
    2. removes the injected dll from the loaded module list
    3. adds lower and upper page guards
    4. add a kill-switch with VEH
    5. etc.

    If this is of any use to anyone let me know.
    Yeah, I think this would be of interest to a lot of people (myself included)
    ~Unknown~

    Follow me on Twitter: https://twitter.com/TheUnknownDev

  7. #7
    fvicaria's Avatar Active Member
    Reputation
    29
    Join Date
    Jan 2009
    Posts
    55
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here it is.
    I have not had time to clean it up so let me know if you have any questions.
    I use the C# exe as the injector and the C++ as the bootstrap for the CLR.
    Rep if useful.

    https://mega.co.nz/#!2NwRTJYD!Y59Bl1...SpZc0qq80ZYqW8

  8. #8
    Corthezz's Avatar Elite User Authenticator enabled
    Reputation
    386
    Join Date
    Nov 2011
    Posts
    325
    Thanks G/R
    191/98
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by fvicaria View Post
    Here it is.
    I have not had time to clean it up so let me know if you have any questions.
    I use the C# exe as the injector and the C++ as the bootstrap for the CLR.
    Rep if useful.

    https://mega.co.nz/#!2NwRTJYD!Y59Bl1...SpZc0qq80ZYqW8
    +4 rep for you sir.
    Also a new tutorial about calling conventions and extending the detour on the way. stay tuned.

Similar Threads

  1. [Bot] Injection code into wow. Do you have to call functions from the main thread?
    By Miivers in forum World of Warcraft Bots and Programs
    Replies: 2
    Last Post: 01-13-2014, 02:56 PM
  2. [GUIDE]Stuff your own music into WoW. [Pictures]
    By Macroman in forum WoW ME Tools & Guides
    Replies: 22
    Last Post: 10-23-2007, 06:34 AM
  3. Using proxy/etc. ? to log into wow
    By minim in forum World of Warcraft General
    Replies: 0
    Last Post: 10-15-2007, 01:36 PM
  4. WoW Using Game as disease epidemic???
    By Osmose in forum Community Chat
    Replies: 19
    Last Post: 08-21-2007, 10:11 PM
  5. Control WoW using speech recognition for Mac OS X .
    By Flying Piggy in forum World of Warcraft Bots and Programs
    Replies: 12
    Last Post: 05-28-2007, 10:33 AM
All times are GMT -5. The time now is 02:20 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search