Trust No Program
Reply to topic
[technical] Experimental Protection
0x00
Guest

Reply with quote
Hi everybody,

I am an independent security researcher, and I was wondering how the f*** do you "bypass" patch guard. Well, I know you are not really "bypassing" Patch Guard and that you use undocumented functionalities, but I dit not encounter which ones (I searched the Web quite a lot Smile ).

As far as I know, Microsoft API allows to set callbacks when new process / threads are created, or when files are accessed (using minifilter drivers), but I can't figure how you manage to block an NtOpenProcess() incoming from the ring 3 (userland hooks can be easily bypassed). I'd suspect undocumented APIs in order to set other callbacks, or setting different access rights (since SSDT, IRP or MSR hooks cannot be set)...

Thanks a lot !

ps: forgive me about my vocabulary mistakes, I'm not a native english-speaking one Smile.
psē: it's amazing that you managed to perform this technique while security profesionals such as HIPS editors cannot...
tzuk


Joined: 22 Jun 2004
Posts: 15003
Reply with quote
I appreciate the kind words, but there is no need for profanities. Supervising processes and threads is a standard and documented part of the "PatchGuard APIs" which were introduced in Vista Service Pack 1. Check out MSDN documentation for ObRegisterCallbacks.

_________________
tzuk
View user's profileSend private message
0x00
Guest

Reply with quote
Hi Tzuk !

First of all, thank you for your response, and accept my apologizes for this profanity, but... well, I searched a lot Smile.

That's what I thought, I have just found a little blog article which was dealing with these functions and explained on how it works.

Thanks again, I will try to implement this as soon as possible !
[technical] Experimental Protection
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

Use the RSS feed to watch this topic for replies
  
  
 Reply to topic  

Sandboxie is Copyright © 2004-2012 by Sandboxie Holdings LLC.  All rights reserved.
Sandboxie.com | Contact Author
This site has been viewed 208,341,154 times since June 2004