Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 05-21-2018, 22:45
Mahmoudnia's Avatar
Mahmoudnia Mahmoudnia is offline
Family
 
Join Date: Nov 2012
Posts: 240
Rept. Given: 64
Rept. Rcvd 145 Times in 50 Posts
Thanks Given: 211
Thanks Rcvd at 332 Times in 107 Posts
Mahmoudnia Reputation: 100-199 Mahmoudnia Reputation: 100-199
Hello dosprog
Thank you, I checked you example code and I've done this before and the returned addresses for your sample and my program are same but that's what I'm say is not real address.

For example :
In Windows7 if press CTRL+G in debugger and type the ShowWindow we will redirect to real location of code in user32.dll .
in Windows10 if type the ShowWindow we will redirect to an offset that jumped to NtUserShowWindow and if fallow the jump we redirect to real address of ShowWindow API but in NtUserShowWindow.

In Windows7 and Vista if someone wants to hook ShowWindow api I will detect with comparing bytes in memory and file from user32.dll but in Windows10 I can't do it because of NT APIs.
This is my question, How can I detect api hooking in windows10 or How can I get the returned address from NtUserShowWindow.

Please check the attachment.
Attached Files
File Type: rar Check.rar (597.4 KB, 5 views)
Reply With Quote
  #2  
Old 05-22-2018, 08:49
dosprog dosprog is offline
Friend
 
Join Date: Feb 2018
Posts: 114
Rept. Given: 0
Rept. Rcvd 17 Times in 16 Posts
Thanks Given: 33
Thanks Rcvd at 147 Times in 74 Posts
dosprog Reputation: 17
Quote:
Originally Posted by Mahmoudnia View Post
Please check the attachment.
Sorry, please upload it somewhere else.
Reply With Quote
  #3  
Old 05-22-2018, 21:08
Mahmoudnia's Avatar
Mahmoudnia Mahmoudnia is offline
Family
 
Join Date: Nov 2012
Posts: 240
Rept. Given: 64
Rept. Rcvd 145 Times in 50 Posts
Thanks Given: 211
Thanks Rcvd at 332 Times in 107 Posts
Mahmoudnia Reputation: 100-199 Mahmoudnia Reputation: 100-199
Quote:
win32u.dll exists in Win10 (dont know about Win 8)
Thank you, I have to check again


Quote:
Originally Posted by dosprog View Post
Sorry, please upload it somewhere else.
http://www.mediafire.com/file/h55ajo90cor6o78/Check.rar
Reply With Quote
The Following User Says Thank You to Mahmoudnia For This Useful Post:
dosprog (05-23-2018)
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
fake mac address theGate General Discussion 16 08-13-2022 10:12
How to identify the address where the test is done? byvs General Discussion 13 10-25-2016 08:40
Get APi from the address ahmadmansoor General Discussion 21 03-03-2011 07:49
Finding API Address britedream General Discussion 5 10-05-2006 21:28


All times are GMT +8. The time now is 06:21.


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