Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 05-22-2018, 03:44
ioannis ioannis is offline
Friend
 
Join Date: Jan 2015
Posts: 31
Rept. Given: 6
Rept. Rcvd 9 Times in 5 Posts
Thanks Given: 6
Thanks Rcvd at 19 Times in 11 Posts
ioannis Reputation: 9
Effectively following the jumps you will see that NtUserShowWindow resides in win32u.dll
Quote:
win32u.dll!NtUserShowWindow
Reply With Quote
  #2  
Old 05-22-2018, 04:22
Mahmoudnia's Avatar
Mahmoudnia Mahmoudnia is offline
Family
 
Join Date: Nov 2012
Posts: 239
Rept. Given: 64
Rept. Rcvd 145 Times in 50 Posts
Thanks Given: 210
Thanks Rcvd at 329 Times in 106 Posts
Mahmoudnia Reputation: 100-199 Mahmoudnia Reputation: 100-199
win32u.dll is not exist in System32 folder and I have to know where are these bytes from because ShowWindow API belongs to user32.dll
Reply With Quote
  #3  
Old 05-22-2018, 04:40
ioannis ioannis is offline
Friend
 
Join Date: Jan 2015
Posts: 31
Rept. Given: 6
Rept. Rcvd 9 Times in 5 Posts
Thanks Given: 6
Thanks Rcvd at 19 Times in 11 Posts
ioannis Reputation: 9
win32u.dll exists in Win10 (dont know about Win 8)

Quote:
user32.dll+30B00
NtUserShowWindow:
00007FFEFF490B00 FF 25 72 46 05 00 jmp qword ptr [__imp_NtUserShowWindow (07FFEFF4E5178h)]
Address 07FFEFF4E5178h holds the address to the real function NtUserShowWindow in win32u.dll

Quote:
0x00007FFEFF4E5178 50 1b 27 fe fe 7f 00 00 P.'ώώ...
In such case it all depends at which point you expect to find a hook, here there are 3 places where a hook might be applied.
1. at address 00007FFEFF490B00 in user32.dll
2. at address 00007FFEFF4E5178 in user32.dll
3. at address 00007FFEFE271B50 in win32u.dll
Reply With Quote
The Following 2 Users Say Thank You to ioannis For This Useful Post:
Mahmoudnia (05-23-2018), niculaita (05-22-2018)
  #4  
Old 05-23-2018, 00:44
ioannis ioannis is offline
Friend
 
Join Date: Jan 2015
Posts: 31
Rept. Given: 6
Rept. Rcvd 9 Times in 5 Posts
Thanks Given: 6
Thanks Rcvd at 19 Times in 11 Posts
ioannis Reputation: 9
@Mahmoudnia

By the way, one thing that may confuse you, is that, you are seing user32.NtUserShowWindow instead of user32.ShowWindow in the debugger because you have loaded the debugging symbols of the module user32.dll.

The exported function name is obviously ShowWindow but the internal name of the function included in the debugg symbols is NtUserShowWindow which is what you see.

Remove the debug symbols for user32.dll cached on your pc and then try Ctrl+G again.
Reply With Quote
The Following User Says Thank You to ioannis For This Useful Post:
Mahmoudnia (06-08-2019)
Reply


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 07:56.


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