Load Wow as shared library menu

User Tag List

Results 1 to 5 of 5
  1. #1
    573737534947's Avatar Corporal
    Reputation
    38
    Join Date
    Jul 2013
    Posts
    20
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Load Wow as shared library

    Just for fun as it's suprisingly easy:
    1. Set DLL flag in PE header
    2. Change entrypoint to an address that holds the bytes "B8 01 00 00 00 C3" standing for "mov eax, 1; retn;" e.g. 0x632146
    3. Function 0x10F582 fills a buffer with the the dir path of the mainmodule and uses it to load all data from wow directory but unless our loader is also located in the wow directory the returned path is of no use for obvious reasons. I patched it like this:
    Code:
    mov edi, [esp+4]
    mov esi, 0x0BADF00D
    copybyte:
    movsb
    cmp byte ptr ds:[edi-1], 0
    jne copybyte
    ret
    4. At 0x10EE63 addresses are compared against the mainmodules code section boundaries. Again wow isn't the mainmodule anymore so the address is compared against the wrong boundaries, but I simply bypassed the check in the most obvious way: 0x10EE8F -> nop & 0x10EE94 -> jmp
    5. You're done you can load wow now with LoadLibrary and start the game with CreateThread at the original entrypoint.
    6. If you made the dir patch from 3. you should patch 0x10F587 with a pointer to a buffer holding the real wowpath before CreateThread. You need to alter the memory region with virtualprotect to get write access.

    Use CFF Explorer for PE header stuff. All addresses mentioned are 0-based and have to be rebased with the addr returned from LoadLibrary, obviously. With this naive approach it will probably get you banned so don't try it with accounts you're not ready to give up.

    Here is a package including a loader with source and a patched wow.dll but without the dir patch so you have to place the loader and the wow.dll beside your original Wow.exe.

    Load Wow as shared library
  2. #2
    Jadd's Avatar 🐸 Premium Seller
    Reputation
    1515
    Join Date
    May 2008
    Posts
    2,433
    Thanks G/R
    81/336
    Trade Feedback
    1 (100%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    What's the use for this?

  3. #3
    573737534947's Avatar Corporal
    Reputation
    38
    Join Date
    Jul 2013
    Posts
    20
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Jadd View Post
    What's the use for this?
    If you can't see a use for it, then there is probably none. What comes to mind is that you can start wow within your process and therefore don't need to inject your code into another process, which is usually trivial except for some non compiled languages, but then again I would consider it highly unsafe with regard to warden. So as I wrote: just for fun.

  4. #4
    DarthTon's Avatar Contributor
    Reputation
    171
    Join Date
    Apr 2010
    Posts
    108
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    To make Wow think it is a main module you can patch PEB::ImageBaseAddress (and probably PEB64, just in case...) with new address. I also had some fun with this approach and was able to manually map whole wow executable and run it.

  5. #5
    573737534947's Avatar Corporal
    Reputation
    38
    Join Date
    Jul 2013
    Posts
    20
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by DarthTon View Post
    To make Wow think it is a main module you can patch PEB::ImageBaseAddress (and probably PEB64, just in case...) with new address. I also had some fun with this approach and was able to manually map whole wow executable and run it.
    Ay, marvelous idea. Forget about points 3.-6. Just make sure the dll is in the wow directory. New package

Similar Threads

  1. Unable to load WoW process
    By Vohrana in forum WoW ME Questions and Requests
    Replies: 3
    Last Post: 05-26-2008, 05:05 PM
  2. dbc edit problem cant load wow
    By dayday in forum WoW ME Questions and Requests
    Replies: 4
    Last Post: 07-27-2007, 05:17 PM
All times are GMT -5. The time now is 07:15 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