Process / File locking by WoW executable? menu

User Tag List

Results 1 to 14 of 14
  1. #1
    dragonbane24's Avatar Contributor
    Reputation
    102
    Join Date
    Jan 2012
    Posts
    53
    Thanks G/R
    7/36
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Process / File locking by WoW executable?

    I've been tweaking a bot program a little and I've noticed something new happening that started with the launch of 8.0 Live.
    I usually have WoW up and running and I'll go and kill my app, rebuild, copy it over and relaunch to test a new feature or fix something I broke.
    When I rebuild the application and copy it from the build directory to the destination directory I get the message along the lines of..
    "Can't copy file, destination is currently locked or in use."

    I killed the application before rebuilding and I check Task Manager / Process Hacker, etc. It isn't running.
    I check the Open Handles from Resource Monitor and such, but still, not seeing anything there.
    I see no handles from any application holding the file open.
    But once I close the WoW executable, the lock always goes away and I can copy over.

    I thought that maybe my application process hadn't exited cleanly and went into Zombie state with some thread sitting out there just holding onto the WoW handle, but everything I've tried shows that it has exited cleanly.
    And I haven't had this problem in WoW version 6 or 7, only with BFA.

    Now when I run my application it is run at elevated privileges. WoW does not.
    So there should be no way for WoW to get a ReadProcessMemory or other Handle into my application.
    It doesn't show up with the Debug privileges when I look at its ACLs. So maybe it is still doing getting a Handle (OpenProcess) somehow but it shouldn't be able to actually do anything with my application without also having elevated permissions.


    I'm mainly curious to see if others have experienced anything like this. I only started noticing this when doing development and trying to copy over the existing file.
    Anyone experienced this sort of behavior from the WoW executable? Or is this Warden doing something more aggressive?

    Thanks.

    Process / File locking by WoW executable?
  2. #2
    charles420's Avatar Contributor
    Reputation
    315
    Join Date
    Jun 2009
    Posts
    329
    Thanks G/R
    25/119
    Trade Feedback
    0 (0%)
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    I personally haven’t had any problems was playing with a few programs earlier today

  3. #3
    maclone's Avatar / Authenticator enabled
    Reputation
    2420
    Join Date
    Nov 2007
    Posts
    8,726
    Thanks G/R
    0/1029
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)


    Just started recently, so I thought I would add to this thread.
    It's a tool that only reads memory, running as Admin, while Wow does not.
    Running on Windows 10.0.17134.165.

    It's not possible to delete the file, however it can be renamed.
    OpenedFilesView shows no open handle.
    Closing Wow.exe resolves the conflict.

  4. Thanks Hazzbazzy (1 members gave Thanks to maclone for this useful post)
  5. #4
    dragonbane24's Avatar Contributor
    Reputation
    102
    Join Date
    Jan 2012
    Posts
    53
    Thanks G/R
    7/36
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Maclone. That's the exact message I get as well.

    And the app I'm using is also completely passive. Just opens the handle for reading and uses ReadProcessMemory.
    No code injection, hooks or writes.

    Evidently WoW is now looking for other processes that have requested the handle?
    I've read some forum posts about things like this related to Overwatch-style anti-cheat, but not sure how they work around it yet.

    Thanks,
    -db

    Edit: Note, that this doesn't happen every time. Sometimes the file gets locked and sometimes it does not. Might take minutes, or hours.
    Last edited by dragonbane24; 08-18-2018 at 11:41 PM.

  6. #5
    air999's Avatar Contributor
    Reputation
    131
    Join Date
    Nov 2014
    Posts
    102
    Thanks G/R
    9/62
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    You can use Process Hacker to see which file sections handles opened by WoW. In fact they keep open handles for any running process in system. I think they have some handles leakage bug now.
    File sections is used to map .exe file content into memory.

  7. #6
    dragonbane24's Avatar Contributor
    Reputation
    102
    Join Date
    Jan 2012
    Posts
    53
    Thanks G/R
    7/36
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by air999 View Post
    You can use Process Hacker to see which file sections handles opened by WoW. In fact they keep open handles for any running process in system. I think they have some handles leakage bug now.
    File sections is used to map .exe file content into memory.
    Thanks Air. I checked ProcessHacker a few times when it came up but didn't see the Handle referencing my process.
    But it must be there somewhere if it's locking it open. More likely that I was misinterpreting what I was reading.
    I'll check it again when it happens again.

    It is just the first time I have seen it lock the file from being updated.

    Thanks,
    -db

  8. #7
    WiNiFiX's Avatar Banned
    Reputation
    242
    Join Date
    Jun 2008
    Posts
    447
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)


    Also started seeing this, and 100% passive (pixels only)
    Not seen it occur in c++ only in c# apps.

  9. Thanks Hazzbazzy (1 members gave Thanks to WiNiFiX for this useful post)
  10. #8
    maclone's Avatar / Authenticator enabled
    Reputation
    2420
    Join Date
    Nov 2007
    Posts
    8,726
    Thanks G/R
    0/1029
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I've now had Wow.exe locking an executable that had absolutely nothing to do with it.
    It's just a normal desktop WinForms program that I was writing it in Visual Studio, until I got the usual copy error that could be solved by killing Wow.exe.

    This is definitely annoying.
    Last edited by maclone; 08-22-2018 at 01:54 AM.

  11. #9
    ejt's Avatar Contributor
    Reputation
    209
    Join Date
    Mar 2008
    Posts
    166
    Thanks G/R
    3/111
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    I've noticed the same thing, started happen yesterday. Taking a look with Process Hacker shows that Wow.exe opens section handles to pretty much all running process executable files on your computer.

    Its annoying as hell, not just because it makes rebuilding more tedious until I can implement some hiding technique but because I can't uninstall any software on the computer while Wow.exe is running.

    I would assume that the easiest solution is to hide your executable so that they can't find it and open a handle to it.

  12. Thanks Hazzbazzy (1 members gave Thanks to ejt for this useful post)
  13. #10
    WiNiFiX's Avatar Banned
    Reputation
    242
    Join Date
    Jun 2008
    Posts
    447
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So time to make our bots in VB6 and see if Wow knows it exists :P

    Last edited by WiNiFiX; 08-23-2018 at 12:28 AM.

  14. #11
    NaNraptor's Avatar Member
    Reputation
    1
    Join Date
    Aug 2018
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Has anyone figured out how to hide their executable yet? I am also trying to add some functionality to a C# bot, but if wow is running the exe usually gets locked

  15. #12
    ejt's Avatar Contributor
    Reputation
    209
    Join Date
    Mar 2008
    Posts
    166
    Thanks G/R
    3/111
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by NaNraptor View Post
    Has anyone figured out how to hide their executable yet? I am also trying to add some functionality to a C# bot, but if wow is running the exe usually gets locked
    NtQuerySystemInformation function | Microsoft Docs

    A good place to start.

  16. #13
    Hazzbazzy's Avatar wannabe hackerlol Authenticator enabled
    Reputation
    1335
    Join Date
    Aug 2011
    Posts
    1,206
    Thanks G/R
    243/484
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I can confirm this has started happening to me this week also, this particular process does not touch WoW's memory:

    "HOLY TIME MACHINE BATMAN! it's 1973!"
    https://youtube.com/Hazzbazzy

  17. #14
    NaNraptor's Avatar Member
    Reputation
    1
    Join Date
    Aug 2018
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @ejt First place I should have checked , thanks

Similar Threads

  1. WTT Frozen account with 37 UD Lock for WoW + TBC cdkey
    By Rubs90 in forum Members Only Accounts And CD Keys Buy Sell
    Replies: 0
    Last Post: 07-04-2008, 08:25 AM
  2. WTT Frozen account with 37 lock for WoW + TBC Cdkey
    By Rubs90 in forum Members Only Accounts And CD Keys Buy Sell
    Replies: 0
    Last Post: 07-02-2008, 11:04 AM
  3. Mass File Renamer by PiroX
    By PiroX in forum Community Chat
    Replies: 0
    Last Post: 01-29-2008, 05:31 AM
  4. Ebay taken over by WoW Gold sellers
    By Des in forum World of Warcraft General
    Replies: 3
    Last Post: 05-24-2007, 11:55 PM
All times are GMT -5. The time now is 05:35 AM. 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