Wilders Security Forums  

Go Back   Wilders Security Forums > Security Products > other anti-malware software
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread
  #1  
Old May 13th, 2012, 09:40 AM
kupo kupo is offline
Frequent Poster
 
Join Date: Jan 2011
Posts: 935
Default Why Usermode Hooking Sucks – Bypassing Comodo Internet Security

I found this in the COMODO forums. I thought I share it here. -http://rce.co/why-usermode-hooking-sucks-bypassing-comodo-internet-security/
EDIT: I'll read it later and try if I can understand it, lol.

Last edited by kupo : May 13th, 2012 at 09:55 AM.
  #2  
Old May 13th, 2012, 10:43 AM
tomazyk's Avatar
tomazyk tomazyk is offline
Frequent Poster
 
Join Date: Dec 2006
Location: Slovenia
Posts: 601
Default Re: Why Usermode Hooking Sucks – Bypassing Comodo Internet Security

That's interesting reading.

On 64 bit OS most HIPS software can be bypassed somehow. Patchguard prevents them to implement same level of protection they can on 32 bit.

However, I still believe that protection Comodo and other HIPS developers are offering on 64 bit, is still better, than AV's and other blacklisting software can give you.

It would be nice if someone would test POC provided at the end of article and post results.
__________________
ESET Nod32 AV • Sandboxie • EMET • OpenDNS
My security setup in detail
• Always remember you're unique, just like everyone else •

  #3  
Old May 13th, 2012, 01:58 PM
Kees1958's Avatar
Kees1958 Kees1958 is offline
Massive Poster
 
Join Date: Jul 2006
Posts: 5,857
Default Re: Why Usermode Hooking Sucks – Bypassing Comodo Internet Security

Yes user mode hooking has it weakness, but to to replace dll injection in every process by a malware instead of the Comodo dll, an malware executable has to run in the first place.

Windows7 does allow appinit technique for backward compatibility, but it has a hardening option when your HIPS does use this technique: allow only signed dll's to be used for AppInit Dll's, see http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx

So when a member on Win7 x64 could check whether guard64.dll and guard32.dll are signed, then this hardening technique could be applied: use the RequireSignedAppInit_DLLs setting, see

http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx

Apply this hardening tweak only when no other program is listed in AppInit section AND Comodo dll's are signed. It does not actually prevents the bypass, but makes it harder to replace the guard.dll

Regards Kees
  #4  
Old May 13th, 2012, 02:57 PM
Hungry Man's Avatar
Hungry Man Hungry Man is offline
Incredibly Massive Poster
 
Join Date: May 2011
Posts: 8,519
Default Re: Why Usermode Hooking Sucks – Bypassing Comodo Internet Security

The thing about patchguard is that it puts the entire responsibility of security onto the operating system but it only tries to solve a single problem - rootkits.

So while MS does a great job at protecting themselves from rootkits they now prevent any security software from supplementing their product, which really sucks because their handling of security isn't too great (this may change with 8.)

When they implemented patchguard they basically said "We're the only ones who can handle security now." Big mistake sinc ethey suck at it.

Quote:
To conclude with, we’d like to stress that we do not hate the Comodo HIPS product. The bypassing method presented in this post is rather remote and applies only on SysWoW64 ( 32bit ) applications running on a 64bit Windows version. Attached you will find a proof of concept application that automates the process of generating executable that can bypass the installation of hooks throughout the process address space. Thank you for reading.
So this only applies to 32bit applications running on 64bit Windows.
__________________

Last edited by Hungry Man : May 13th, 2012 at 03:19 PM.
  #5  
Old May 13th, 2012, 06:39 PM
Ranget's Avatar
Ranget Ranget is offline
Frequent Poster
 
Join Date: Mar 2011
Location: Not Really Sure :/
Posts: 832
Default Re: Why Usermode Hooking Sucks – Bypassing Comodo Internet Security

i don't understand or have any idea about rootkit
but i know that TDs rootkit found to Beat this Patchguard why Don't Security
stuff use the same technique


also want to know if OA is the same also what is comodo Response to this ?
__________________
Spyshelter Premuim + MBAM Pro +Avast Free + Hardend FireFox + Secunia Update Checker
"Uncommon sense will increase your privacy; common sense will just make you common."
"The Worst Thing in the World is To look and not be able to Help "

Last edited by Ranget : May 13th, 2012 at 06:51 PM.
  #6  
Old May 13th, 2012, 08:42 PM
Brandonn2010's Avatar
Brandonn2010 Brandonn2010 is offline
Very Frequent Poster
 
Join Date: Jan 2011
Posts: 1,245
Default Re: Why Usermode Hooking Sucks – Bypassing Comodo Internet Security

Quote:
Originally Posted by Ranget
i don't understand or have any idea about rootkit
but i know that TDs rootkit found to Beat this Patchguard why Don't Security
stuff use the same technique



also want to know if OA is the same also what is comodo Response to this ?

Ha! I love that idea, but I'm sure MS would patch it somehow.
__________________
OS: Windows 7 Pro x64 | First-Line: Norton DNS + Google Chrome | Realtime: Bitdefender Free Antivirus | On-Demand: HitmanPro Free + Malwarebytes Free | My Computer Security Website: Link
  #7  
Old May 14th, 2012, 12:29 AM
blacknight's Avatar
blacknight blacknight is offline
Very Frequent Poster
 
Join Date: Sep 2007
Location: Europe
Posts: 1,625
Default Re: Why Usermode Hooking Sucks – Bypassing Comodo Internet Security

I'm not sure to have understood, Comodo HIPS doesn't install itself at the kernel level ? As EqSesure done.
__________________
We are such stuff
As dreams are made on.
  #8  
Old May 14th, 2012, 12:41 AM
tomazyk's Avatar
tomazyk tomazyk is offline
Frequent Poster
 
Join Date: Dec 2006
Location: Slovenia
Posts: 601
Default Re: Why Usermode Hooking Sucks – Bypassing Comodo Internet Security

Quote:
Originally Posted by blacknight
I'm not sure to have understood, Comodo HIPS doesn't install itself at the kernel level ? As EqSesure done.

Not on 64 bit Windows. MS does not allow it. On 32 bit it does.
__________________
ESET Nod32 AV • Sandboxie • EMET • OpenDNS
My security setup in detail
• Always remember you're unique, just like everyone else •

  #9  
Old May 14th, 2012, 12:57 AM
Hungry Man's Avatar
Hungry Man Hungry Man is offline
Incredibly Massive Poster
 
Join Date: May 2011
Posts: 8,519
Default Re: Why Usermode Hooking Sucks – Bypassing Comodo Internet Security

Quote:
Originally Posted by Ranget
i don't understand or have any idea about rootkit
but i know that TDs rootkit found to Beat this Patchguard why Don't Security
stuff use the same technique


also want to know if OA is the same also what is comodo Response to this ?
It tried to bypass patchguard by writing to the MBR through the BIOS or some such thing.

It's generally best practice when writing a security program not to hack the operating system I would think lol
__________________
  #10  
Old May 14th, 2012, 01:11 AM
TheWindBringeth TheWindBringeth is offline
Frequent Poster
 
Join Date: Feb 2012
Posts: 845
Default Re: Why Usermode Hooking Sucks – Bypassing Comodo Internet Security

For those interested in seeing the Comodo thread, this appears to be it:

http://forums.comodo.com/news-announ...-t84281.0.html
  #11  
Old May 14th, 2012, 09:16 AM
blacknight's Avatar
blacknight blacknight is offline
Very Frequent Poster
 
Join Date: Sep 2007
Location: Europe
Posts: 1,625
Default Re: Why Usermode Hooking Sucks – Bypassing Comodo Internet Security

Quote:
Originally Posted by tomazyk
Not on 64 bit Windows. MS does not allow it. On 32 bit it does.

Thanks . Good reason to don't use 64 bit.
__________________
We are such stuff
As dreams are made on.
  #12  
Old May 14th, 2012, 09:18 AM
tomazyk's Avatar
tomazyk tomazyk is offline
Frequent Poster
 
Join Date: Dec 2006
Location: Slovenia
Posts: 601
Default Re: Why Usermode Hooking Sucks – Bypassing Comodo Internet Security

Quote:
Originally Posted by Ranget
i don't understand or have any idea about rootkit
but i know that TDs rootkit found to Beat this Patchguard why Don't Security
stuff use the same technique

I believe that vendors won't risk the damage they can make by trying to "patch" the Patchguard.
Also, MS would probably sue them if they try to hack MS's OS. It would probably break some TOS, that user has agreed on, when OS was installed.
__________________
ESET Nod32 AV • Sandboxie • EMET • OpenDNS
My security setup in detail
• Always remember you're unique, just like everyone else •

  #13  
Old May 14th, 2012, 09:20 AM
tomazyk's Avatar
tomazyk tomazyk is offline
Frequent Poster
 
Join Date: Dec 2006
Location: Slovenia
Posts: 601
Default Re: Why Usermode Hooking Sucks – Bypassing Comodo Internet Security

Quote:
Originally Posted by blacknight
Thanks . Good reason to don't use 64 bit.

Yes, for me, right now, it's the only reason I don't move to 64 bit
__________________
ESET Nod32 AV • Sandboxie • EMET • OpenDNS
My security setup in detail
• Always remember you're unique, just like everyone else •

  #14  
Old May 14th, 2012, 09:28 AM
funkydude's Avatar
funkydude funkydude is offline
Incredibly Massive Poster
 
Join Date: Apr 2004
Posts: 6,015
Default Re: Why Usermode Hooking Sucks – Bypassing Comodo Internet Security

Quote:
Originally Posted by tomazyk
Yes, for me, right now, it's the only reason I don't move to 64 bit

Then you will never move to 64bit because it will always be there. KPP ensures stability and security by preventing the fools that make these "security" products from tampering with the kernel.

I honestly can't believe people actually trust 3rd party vendors over MS to keep their system secure. We're talking about the same vendors that time and time again introduce their OWN security holes into the OS by doing dumb things like installing non-ASLR binaries. Every other month there's a thread about a security hole in a security product.

Also stability, there's a reason Win x64 is so much more stable than the old days of Windows XP, you don't have every program under the sun modifying the kernel so that even MS themselves is afraid to push Windows updates in fear of causing system crashes. The reason it's far safer to install updates these days isn't that MS somehow got better at it, it's that they stopped all this software from patching the kernel in the first place.
__________________
OpenDNS with DNSCrypt

SSD: Windows 8 Pro x64 | IE10 (Enhanced Protected Mode) & Fanboy's TPLs
HDD: Xubuntu 12.04 LTS (x64) | Firefox: ABP(Fanboy's list) & HTTPS Everywhere
  #15  
Old May 14th, 2012, 09:52 AM
tomazyk's Avatar
tomazyk tomazyk is offline
Frequent Poster
 
Join Date: Dec 2006
Location: Slovenia
Posts: 601
Default Re: Why Usermode Hooking Sucks – Bypassing Comodo Internet Security

Quote:
Originally Posted by funkydude
Then you will never move to 64bit because it will always be there. KPP ensures stability and security by preventing the fools that make these "security" products from tampering with the kernel.

I honestly can't believe people actually trust 3rd party vendors over MS to keep their system secure. We're talking about the same vendors that time and time again introduce their OWN security holes into the OS by doing dumb things like installing non-ASLR binaries. Every other month there's a thread about a security hole in a security product.

Also stability, there's a reason Win x64 is so much more stable than the old days of Windows XP, you don't have every program under the sun modifying the kernel so that even MS themselves is afraid to push Windows updates in fear of causing system crashes. The reason it's far safer to install updates these days isn't that MS somehow got better at it, it's that they stopped all this software from patching the kernel in the first place.

I will move to 64 bit when I will get any benefits from using 64 bit instead of 32. Right now there is no benefits for me.

"I honestly can't believe people actually trust 3rd party vendors over MS to keep their system secure." Well, when it comes to security, people have trusted 3rd party vendors over MS for many years and rightly so. So, should we all abandon all 3rd party AVs, firewalls and other apps, just so we don't introduce new security holes to OS? Will that make computing safer?

BTW, most security holes that I read about are introduced by OS itself, MS software or other 3rd party non security related software.
__________________
ESET Nod32 AV • Sandboxie • EMET • OpenDNS
My security setup in detail
• Always remember you're unique, just like everyone else •


Last edited by tomazyk : May 14th, 2012 at 10:20 AM.
  #16  
Old May 14th, 2012, 10:21 AM
blacknight's Avatar
blacknight blacknight is offline
Very Frequent Poster
 
Join Date: Sep 2007
Location: Europe
Posts: 1,625
Default Re: Why Usermode Hooking Sucks – Bypassing Comodo Internet Security

Quote:
Originally Posted by funkydude
Then you will never move to 64bit because it will always be there. KPP ensures stability and security by preventing the fools that make these "security" products from tampering with the kernel.

I honestly can't believe people actually trust 3rd party vendors over MS to keep their system secure. We're talking about the same vendors that time and time again introduce their OWN security holes into the OS by doing dumb things like installing non-ASLR binaries. Every other month there's a thread about a security hole in a security product.


Disagree. Many security products are much more reliable and trusty than MS, and is much more easy to find security holes and vulnerability in it
__________________
We are such stuff
As dreams are made on.
  #17  
Old May 14th, 2012, 10:35 AM
kupo kupo is offline
Frequent Poster
 
Join Date: Jan 2011
Posts: 935
Default Re: Why Usermode Hooking Sucks – Bypassing Comodo Internet Security

Quote:
Originally Posted by tomazyk
..."I honestly can't believe people actually trust 3rd party vendors over MS to keep their system secure." Well, when it comes to security, people have trusted 3rd party vendors over MS for many years and rightly so. So, should we all abandon all 3rd party AVs, firewalls and other apps, just so we don't introduce new security holes to OS? Will that make computing safer?...
Your choice if you want to abandon. But with Windows alone, you can have a secure computer.
Anti-Virus - MSE
Firewall - Windows Firewall w/ Advance Security
Drive Encryption - Bitlocker
Default-Deny - SRP or Applocker
Combine all with a Standard User Account and UAC, your pretty much secure without 3rd party software. Oh, I almost forgot the built-in imaging of Windows 7. System Restore also have improved in Vista and 7. You can also add EMET if you want to.

Quote:
BTW, most security holes that I read about are introduced by OS itself, MS software or other 3rd party non security related software.
It's not only security holes with 3rd party software, there is also stability.
  #18  
Old May 14th, 2012, 10:47 AM
tomazyk's Avatar
tomazyk tomazyk is offline
Frequent Poster
 
Join Date: Dec 2006
Location: Slovenia
Posts: 601
Default Re: Why Usermode Hooking Sucks – Bypassing Comodo Internet Security

Quote:
Originally Posted by skudo12
Your choice if you want to abandon. But with Windows alone, you can have a secure computer.
Anti-Virus - MSE
Firewall - Windows Firewall w/ Advance Security
Drive Encryption - Bitlocker
Default-Deny - SRP or Applocker
Combine all with a Standard User Account and UAC, your pretty much secure without 3rd party software. Oh, I almost forgot the built-in imaging of Windows 7. System Restore also have improved in Vista and 7. You can also add EMET if you want to.


It's not only security holes with 3rd party software, there is also stability.

Yes I know the possibilities that Windows 7 has introduced. Those are great security tools but I still wouldn't trade the software that I use for them. I might use some of them when I'll move to 64 bit.

P.S.: I haven't had any stability issues with setup that I'm using.
__________________
ESET Nod32 AV • Sandboxie • EMET • OpenDNS
My security setup in detail
• Always remember you're unique, just like everyone else •

  #19  
Old May 14th, 2012, 12:34 PM
Cudni's Avatar
Cudni Cudni is offline
Global Moderator
 
Join Date: May 2009
Location: Somethingshire
Posts: 6,944
Default Re: Why Usermode Hooking Sucks – Bypassing Comodo Internet Security

User needs to let it run first. Nothing new. If it can execute without Comodo noticing that would be worrying.
__________________
once we only had ideals, today they are the only things we are missing
Microsoft MVP, 2006 - 2013/14
  #20  
Old May 14th, 2012, 12:41 PM
funkydude's Avatar
funkydude funkydude is offline
Incredibly Massive Poster
 
Join Date: Apr 2004
Posts: 6,015
Default Re: Why Usermode Hooking Sucks – Bypassing Comodo Internet Security

Quote:
Originally Posted by blacknight
Disagree. Many security products are much more reliable and trusty than MS, and is much more easy to find security holes and vulnerability in it

Wow you brought up so many valid counter points I completely changed my mind!

Quote:
Originally Posted by tomazyk
BTW, most security holes that I read about are introduced by OS itself, MS software.

That's factually incorrect, since the days of Vista, 7 and now taking it further with 8, MS have hardened their software a LOT. More exploits are found in 3rd party software.

Quote:
Originally Posted by tomazyk
or other 3rd party non security related software

Oh really?
Kaspersky: https://secunia.com/advisories/product/26220/
ESET: https://secunia.com/advisories/product/29913/
Avira: https://secunia.com/advisories/product/14194/
Symantec: https://secunia.com/advisories/product/18161/
McAfee: https://secunia.com/advisories/product/5273/

Now, I'm not saying these are a lot of exploits (although if you combine each companies products together they are a lot) but it just goes to show that the software "protecting" you can just as easily do the complete opposite.
__________________
OpenDNS with DNSCrypt

SSD: Windows 8 Pro x64 | IE10 (Enhanced Protected Mode) & Fanboy's TPLs
HDD: Xubuntu 12.04 LTS (x64) | Firefox: ABP(Fanboy's list) & HTTPS Everywhere
  #21  
Old May 14th, 2012, 12:48 PM
RejZoR's Avatar
RejZoR RejZoR is offline
Polymorphic Sheep
 
Join Date: May 2004
Location: Europe/Slovenia/Ljubljana
Posts: 5,379
Default Re: Why Usermode Hooking Sucks – Bypassing Comodo Internet Security

Quote:
Originally Posted by blacknight
Thanks . Good reason to don't use 64 bit.

Since all my systems have 4+ GB of RAM i'm simply forced to use 64bit OS...
__________________
RejZoR's Little Secrets
  #22  
Old May 14th, 2012, 01:26 PM
tomazyk's Avatar
tomazyk tomazyk is offline
Frequent Poster
 
Join Date: Dec 2006
Location: Slovenia
Posts: 601
Default Re: Why Usermode Hooking Sucks – Bypassing Comodo Internet Security

Quote:
Originally Posted by funkydude
Now, I'm not saying these are a lot of exploits (although if you combine each companies products together they are a lot) but it just goes to show that the software "protecting" you can just as easily do the complete opposite.

Yes the number of exploits is small compared to number of holes in Flash, Java, Office, IE ... Also, exploits in other 3rd party software are probably more targeted than exploits in security apps.

So, I still think that using security software is in most cases better than using none. Probability of getting hacked through hole in let's say AV, is much smaller, than probability of situation, when the same AV will save you from some kind of malware.
__________________
ESET Nod32 AV • Sandboxie • EMET • OpenDNS
My security setup in detail
• Always remember you're unique, just like everyone else •

  #23  
Old May 14th, 2012, 02:07 PM
funkydude's Avatar
funkydude funkydude is offline
Incredibly Massive Poster
 
Join Date: Apr 2004
Posts: 6,015
Default Re: Why Usermode Hooking Sucks – Bypassing Comodo Internet Security

Quote:
Originally Posted by tomazyk
So, I still think that using security software is in most cases better than using none.

I wasn't recommending using no security software, I was trying to say the idea of not upgrading to the better version of an OS whilst using security software as the sole reason for avoiding it is silly.

They may have reduced security software functionality in 64bit, but that is replaced by the improved protection mechanisms the OS itself brings, such as superior ASLR.
__________________
OpenDNS with DNSCrypt

SSD: Windows 8 Pro x64 | IE10 (Enhanced Protected Mode) & Fanboy's TPLs
HDD: Xubuntu 12.04 LTS (x64) | Firefox: ABP(Fanboy's list) & HTTPS Everywhere
  #24  
Old May 16th, 2012, 01:07 PM
blacknight's Avatar
blacknight blacknight is offline
Very Frequent Poster
 
Join Date: Sep 2007
Location: Europe
Posts: 1,625
Default Re: Why Usermode Hooking Sucks – Bypassing Comodo Internet Security

http://forums.comodo.com/news-announ...t84281.15.html
__________________
We are such stuff
As dreams are made on.
  #25  
Old May 16th, 2012, 10:01 PM
adrenaline7 adrenaline7 is offline
Regular Poster
 
Join Date: Apr 2011
Posts: 128
Default Re: Why Usermode Hooking Sucks – Bypassing Comodo Internet Security

Quote:
Originally Posted by skudo12
Your choice if you want to abandon. But with Windows alone, you can have a secure computer.
Anti-Virus - MSE
Firewall - Windows Firewall w/ Advance Security
Drive Encryption - Bitlocker
Default-Deny - SRP or Applocker
Combine all with a Standard User Account and UAC, your pretty much secure without 3rd party software. Oh, I almost forgot the built-in imaging of Windows 7. System Restore also have improved in Vista and 7. You can also add EMET if you want to.


It's not only security holes with 3rd party software, there is also stability.

You just described my setup

Since this is an issue of not having access to the kernel, these issues would apply also to Online Armor, Defense Wall and Private Firewall?
 

Wilders Security Forums > Security Products > other anti-malware software « Previous Thread | Next Thread »

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 04:02 AM.


Powered by vBulletinฎ Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ฉ2002 - 2013, Wilders Security Forums