Safety about the hook to NtProtectVirtualMemory menu

Shout-Out

User Tag List

Results 1 to 10 of 10
  1. #1
    wanyancan's Avatar Member
    Reputation
    1
    Join Date
    May 2009
    Posts
    40
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Safety about the hook to NtProtectVirtualMemory

    I've seen the HideModule by Shynd at GD to detour NtProtectVirtualMemory and NtQueryVirtualMemory together with CloakDll by Darawk. Although there're a few small bugs, the whole codes are nearly perfect after little repair (at least to my requirement).

    However, it seems that after detour, the query to the memory address (or the address of NtQueryVirtualMemory etc.) will fail and if the warden found out that it can't be read at that address (which it's supposed to be able to) , will it assume that itself is under attack and ban the account ? Has anyone ever be banned due to "can't be proven innocent" ?

    Was the previously ban wave related to this problem? (Cypher/kynox, could you confirm that ? I believe you guys have used to detour these two functions, or is still using them without any issue? :confused

    Safety about the hook to NtProtectVirtualMemory
  2. #2
    flo8464's Avatar Active Member
    Reputation
    30
    Join Date
    Apr 2009
    Posts
    434
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Afaik Cypher's hook on NtQueryVirtualMemoryEx got bypassed by simply mapping a new instance of ntdll.
    Take a look at his blog/LuaFoo-thread.

    Just in case this thread will be read by Warden experts, what speaks against hooking Warden's functionality directly?
    Hey, it compiles! Ship it!

  3. #3
    wanyancan's Avatar Member
    Reputation
    1
    Join Date
    May 2009
    Posts
    40
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I didn't realize this before. Then probably hook LoadLibrary as well. Warden needs to manual map his dll I'm afraid... :P Endless..

    Is there any more description about finding the detection codes of warden in detail? Then we can stop guessing and make things much easier to handle.

  4. #4
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by wanyancan View Post
    I didn't realize this before. Then probably hook LoadLibrary as well. Warden needs to manual map his dll I'm afraid... :P Endless..

    Is there any more description about finding the detection codes of warden in detail? Then we can stop guessing and make things much easier to handle.
    Hooking LoadLibrary wouldn't help at all. They memory-map the file rather than loading it as an image, because all they need to do is pull out code.

    You'd need to hook the file mapping APIs (or the section object APIs).

    EDIT:

    There's another (obvious and much easier to implement) solution, but I'll leave you to figure it out on your own.

  5. #5
    DrGonzo's Avatar Contributor
    Reputation
    145
    Join Date
    Jun 2009
    Posts
    132
    Thanks G/R
    0/60
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you BP LoadLibrary() during login it will break when loading 3 .auth files, are those warden modules?

  6. #6
    flo8464's Avatar Active Member
    Reputation
    30
    Join Date
    Apr 2009
    Posts
    434
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by FearAndLawyering View Post
    If you BP LoadLibrary() during login it will break when loading 3 .auth files, are those warden modules?
    Warden is never stored on your harddisk, so I highly doubt it gets loaded via LoadLibrary()
    Hey, it compiles! Ship it!

  7. #7
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Warden is effectively 'manually mapped' into WoW, LoadLibrary is not used.

  8. #8
    DrGonzo's Avatar Contributor
    Reputation
    145
    Join Date
    Jun 2009
    Posts
    132
    Thanks G/R
    0/60
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    (Assuming the information at Warden Explorer is still accurate)

    Warden *is* stored on your HD in wowcache.wdb

    Also, I've found the VFT referenced in the first post on Warden Explorer so it seems that w3 and wow use the same Base class for warden(login?) so I was curious if the .auth files are equivalent to .mod files for W3. This stuff is called from the battle.net dll if im not mistaken.

    Ok, based on what you guys have said, that it's not warden any ideas on what it is? How many executable files does Blizzard send to the client during login? I've seen up to 3 of these modules loaded. Lol.

    I've uploaded one to senduit | Share easily. as an example. The first 3 DWORDs in the file are: start: 38600000, stop: 3860F000, size: 0000F000 (address range of memory it was dumped from), the file itself follows. The game client saves them to your HD at C:\Documents and Settings\%username%\Local Settings\Application Data\Blizzard Entertainment\Battle.net\Cache\XX\XX\XXXXXXXXXXXXX.auth

  9. #9
    kynox's Avatar Member
    Reputation
    830
    Join Date
    Dec 2006
    Posts
    888
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Those auth files are only Battlenet's modules. I figured that was kinda obvious, with the whole directory structure.

  10. #10
    DrGonzo's Avatar Contributor
    Reputation
    145
    Join Date
    Jun 2009
    Posts
    132
    Thanks G/R
    0/60
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Right, I've just never seen anyone talk about them (another group of executable modules pushed to the client from Blizzard) or what their role would be. IE why they're separate and not part of the game client itself.

Similar Threads

  1. All You Ever Want to Know About the Honor System
    By xlAnonym0uslx in forum World of Warcraft Guides
    Replies: 8
    Last Post: 12-16-2006, 08:24 PM
  2. Question about the Emerald Dream itself
    By Macroman in forum WoW ME Questions and Requests
    Replies: 11
    Last Post: 11-22-2006, 11:18 PM
  3. Question about the emerald dreams
    By mason in forum WoW ME Questions and Requests
    Replies: 2
    Last Post: 11-16-2006, 08:28 PM
  4. post about the person above you
    By Relz in forum Community Chat
    Replies: 107
    Last Post: 08-04-2006, 04:05 PM
All times are GMT -5. The time now is 03:48 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