Welcome, Guest. Please login or register.
July 25, 2008, 08:39:39 AM

Login with username, password and session length

176980 Posts
20923 Topics
50734 Members

Latest Member: Snipdol

Search:     Advanced search | Tag Cloud
+  Welcome to the Comodo Forum
|-+  Desktop Security Products
| |-+  Comodo Memory Firewall(Buffer Overflow Protection)
| | |-+  Feedback/Comments/Announcements/News
| | | |-+  Result of real world exploit test - Comodo Memory Firewall worked!
« previous next »
Pages: [1] Go Down Print
Author Topic: Result of real world exploit test - Comodo Memory Firewall worked!  (Read 3088 times)
MrBrian
Computer Security Testing Group
Comodo's Hero
*****
Offline Offline

Posts: 325


« on: January 22, 2008, 09:34:55 PM »

I have tested Comodo Memory Firewall on a real world proof of concept exploit, and Comodo Memory Firewall did indeed give an alert when the buffer overflow occurred!

Here is how to reproduce my test:
1. Uninstall Winamp if it's currently installed on your computer. 
2. Get Winamp 5.12 from filehippo.com and install it.
3. Download the C language text file at http://www.milw0rm.com/exploits/1458.
4. You'll need to compile this C language text file with a C compiler.  I used the free MinGW compiler at http://sourceforge.net/project/showfiles.php?group_id=2435.
5. Run the .exe file that the compiler produced.  IMPORTANT NOTE: run this file at your own discretion, as I cannot guarantee what it does, although you can examine the source code if you are knowledgeable.
6. The .exe, when run, creates a .pls file that Winamp can use.  Run this .pls file.  IMPORTANT NOTE: run this file at your own discretion, as I cannot guarantee what it does.  It causes a buffer overflow in Winamp 5.12, and, as a proof of concept, it causes windows Calculator to run.  If you have Comodo Memory Firewall installed, you indeed are given an alert about the buffer overflow!

I'd like to point out that Comodo Firewall 3.0, a separate product, will not warn you when this buffer overflow occurs.  This is by design, and not a bug in Comodo Firewall 3.0.  The point is that you do need Comodo Memory Firewall even if you are currently using Comodo Firewall 3.0!

Thanks to all of you involved in the creation of this program!
« Last Edit: January 24, 2008, 11:59:42 PM by MrBrian » Logged
shin-ganda
Comodo's Hero
*****
Offline Offline

Posts: 2451


ouch


« Reply #1 on: January 22, 2008, 10:05:56 PM »

really? wow. woohoo  Bounce
err, is there any "simple" test other than this?  Roll Eyes
Logged

ammee or Kim ?
MrBrian
Computer Security Testing Group
Comodo's Hero
*****
Offline Offline

Posts: 325


« Reply #2 on: January 23, 2008, 12:38:04 AM »

Comodo offers the free Comodo BO Tester.  But seeing how many times you've contributed to the forums, you probably knew that already.   Also, I could privately send you the .pls file if you wish.
« Last Edit: January 23, 2008, 03:18:59 AM by MrBrian » Logged
shin-ganda
Comodo's Hero
*****
Offline Offline

Posts: 2451


ouch


« Reply #3 on: January 23, 2008, 02:56:59 AM »

Ganda: Comodo offers the free Comodo BO Tester.  But seeing how many times you've contributed to the forums, you probably knew that already.   Also, I could privately send you the .pls file if you wish.
Shy
no, i mean a real exploit. maybe some nasty sites or bad apps that can produce real BO. you know, i've read/heard that BO is a common exploit, it can happen by only opening a website or simply open an email.but i've never seen any.
i wanna try yours, but it's to complex, winamp and some other stuff.
Logged

ammee or Kim ?
MrBrian
Computer Security Testing Group
Comodo's Hero
*****
Offline Offline

Posts: 325


« Reply #4 on: January 23, 2008, 03:18:04 AM »

This is a real buffer overflow.  My antivirus, NOD32, detects the .pls as infected, although it is not an executable file.  The payload, showing windows Calculator, is (allegedly) innocent though.  But the source code could be modified to deliver a malicious payload instead.

If you wanted the .pls file, then all you would need to test is to install Winamp 5.12 and then double-click the .pls file in Explorer and you will get a real buffer overflow.  The rest of the steps in my writeup are merely how to generate the .pls file.

By the way, you can also get a buffer overflow by what this proof of concept demonstrates, namely using a purposely poisoned non-executable data file crafted for a specific program that has buffer overflow flaws.

« Last Edit: January 23, 2008, 03:20:37 AM by MrBrian » Logged
shin-ganda
Comodo's Hero
*****
Offline Offline

Posts: 2451


ouch


« Reply #5 on: January 23, 2008, 03:26:24 AM »

This is a real buffer overflow.  My antivirus, NOD32, detects the .pls as infected, although it is not an executable file.  The payload, showing windows Calculator, is (allegedly) innocent though.  But the source code could be modified to deliver a malicious payload instead.

If you wanted the .pls file, then all you would need to test is to install Winamp 5.12 and then double-click the .pls file in Explorer and you will get a real buffer overflow.  The rest of the steps in my writeup are merely how to generate the .pls file.

By the way, you can also get a buffer overflow by what this proof of concept demonstrates, namely using a purposely poisoned non-executable data file crafted for a specific program that has buffer overflow flaws.


i'm too lazy to download winamp  Grin
nevermind Mr.Brian, thx. glad that CMF works.  Cheers
 Police
Ganda
Logged

ammee or Kim ?
MiguelAngelXP
Guest
« Reply #6 on: January 23, 2008, 07:09:01 PM »

MrBrian:

Reading the posts I believe you, and as said Ganda, I'm too lazy  Thinking to download Winamp 5.12, and honestly I don't use it, my stereo player (Sony CPT-555) plays MP3 as well. I'm from the old school, I like to hear the sound from big speakers  as when I did in my teenager years. But the bottom line here is that CMF is working fine and without problems as I posted in a separate topic

 110 Percent Love Comodo Comodo Rocks Cheers

Regards
MiguelAngelXP
Logged
Little Mac
Global Moderator
Comodo's Hero
*****
Offline Offline

Posts: 6003



« Reply #7 on: January 23, 2008, 09:07:38 PM »

Oy, milw0rm has some good POC (proof of concept) exploits, as does Metasploit.  It should be strongly noted (as per MrBrian's post) that running these may have unintended consequences - they are designed to treat your system harshly in order to run the exploit. 

If you don't want to compile code and all that, you might have some fun with BackTrack, a penetration testing Linux distribution.  Download the Live ISO, and run in a virtual machine setting.  They have some tools from both these sites included.  I haven't tried crossing from a VM to Windows (ie, to cause the exploit in Windows on the same machine), but it may be possible.  Then you can see how Windows security reacts...

LM
Logged

date
dcfldd split=2G conv=noerror hashwindow=0 hash=md5 hashlog=/mnt/sda1/images/hash.log if=/dev/hda of=/mnt/sda1/images/LM.dd
date
cat LM.dd.* | md5sum > verify.log
date
3xist
Guest
« Reply #8 on: May 31, 2008, 04:19:56 AM »

Locked.

Reason: Out-Dated post.

Josh
Logged
Tags: Exploit Test 
Pages: [1] Go Up Print 
« previous next »
Jump to:  

SSL Firewall
Page created in 0.154 seconds with 20 queries.
Powered by SMF 1.1.5 | SMF © 2006, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Design by 7dana.com