Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 02-03-2018, 09:10
Aesculapius Aesculapius is offline
Family
 
Join Date: Jun 2016
Location: USA
Posts: 141
Rept. Given: 1
Rept. Rcvd 42 Times in 27 Posts
Thanks Given: 19
Thanks Rcvd at 458 Times in 118 Posts
Aesculapius Reputation: 43
change windows build number to a random number and you should be good to go. VMP detects debugger based upon hardcoded syscall numbers according to windows build number. If build number is not supported then VMP goes back to old detection methods.

Edit:

Because I see good people is interested in how to bypass this, here its the procedure more or less:

it goes like this: load your target in ollydbg, press G fs:[30] in command bar. At that memory location + 2 bytes you should read 0x01 if debugger is attached or 0x00 if debugger isn't attached (or you have installed any kind of anti-debugging plugin). This is BeingDebugged flag. It tells you are in the right track. At that base address, pointed by fs:[30]) add 0xA4 and you should read OSMajorVersion, and at 0xAC you should read OSBuildNumber. Change these last two parameters to any random number and you should be good to go. _PEB is a per-process structure so it won't affect anything else. I would tell you also to try ollydbg stolystruct plugin to quickly find all of this but its outdated and you could end up modifying a different member of the _PEB struct, although it is worth trying too if you are using win7. Remember _PEB has evolved slightly throughout the years. In any case, such changes have been fully described in this handy reference which is always good to have: http://blog.rewolf.pl/blog/wp-conten..._Evolution.pdf.

Last edited by Aesculapius; 02-08-2018 at 06:51. Reason: some more info added
Reply With Quote
The Following 2 Users Gave Reputation+1 to Aesculapius For This Useful Post:
copyleft (02-09-2018), sh3dow (02-08-2018)
The Following 12 Users Say Thank You to Aesculapius For This Useful Post:
cachito (09-25-2018), chants (08-26-2018), ionioni (02-13-2018), m0nix (02-18-2019), niculaita (02-04-2018), schrodyn (04-30-2018), sh3dow (02-08-2018), Stingered (02-03-2018), Tomy73 (02-10-2018), traf0 (02-08-2018)
  #2  
Old 02-03-2018, 12:46
Stingered Stingered is offline
Banned User
 
Join Date: Dec 2017
Posts: 257
Rept. Given: 0
Rept. Rcvd 3 Times in 3 Posts
Thanks Given: 296
Thanks Rcvd at 181 Times in 90 Posts
Stingered Reputation: 3
Quote:
Originally Posted by Aesculapius View Post
change windows build number to a random number and you should be good to go. VMP detects debugger based upon hardcoded syscall numbers according to windows build number. If build number is not supported then VMP goes back to old detection methods.


Nice little tidbit!

More here:

https://lifeinhex.com/tag/vmprotect/
Reply With Quote
  #3  
Old 02-08-2018, 00:37
bolo2002 bolo2002 is offline
VIP
 
Join Date: Apr 2002
Posts: 703
Rept. Given: 112
Rept. Rcvd 14 Times in 13 Posts
Thanks Given: 281
Thanks Rcvd at 262 Times in 168 Posts
bolo2002 Reputation: 14
[QUOTE=bolo2002;112161]
Quote:
Originally Posted by Stingered View Post


Nice little tidbit!
+Aesculapius,old school and still alive,respect.
__________________
I like this forum!
Reply With Quote
The Following User Says Thank You to bolo2002 For This Useful Post:
Aesculapius (02-08-2018)
  #4  
Old 08-26-2018, 09:26
chants chants is offline
VIP
 
Join Date: Jul 2016
Posts: 826
Rept. Given: 47
Rept. Rcvd 50 Times in 31 Posts
Thanks Given: 737
Thanks Rcvd at 1,140 Times in 529 Posts
chants Reputation: 51
Have been revisiting and compiling info on VMP 3.x as trying to automate execution tracing while devirtualizing only key important parts of code on the code on the fly sort of tool. I had wondered why different machines had different behavior.

Quote:
Originally Posted by Aesculapius View Post
If build number is not supported then VMP goes back to old detection methods.
This explains clearly why I have not seen this behavior while staying in the Windows 10 insider fast ring. Suppose its the one benefit of it .

Respect to the old school reversers who have posted some real knowledge and true info in this thread.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debugger detected StilLearning General Discussion 4 03-06-2004 08:32


All times are GMT +8. The time now is 20:37.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )