Welcome to the Comodo Forum
Welcome,
Guest
. Please
login
or
register
.
December 06, 2009, 05:30:47 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
340227
Posts
37639
Topics
85453
Members
Latest Member:
nikromant
more news...
Search:
Advanced search
|
Tag Cloud
Welcome to the Comodo Forum
Archive Boards
Comodo Memory Firewall(Buffer Overflow Protection)
Feedback/Comments/Announcements/News
Memory Firewall has security flaws!
« previous
next »
Pages:
[
1
]
Author
Topic: Memory Firewall has security flaws! (Read 13797 times)
al6
Newbie
Offline
Posts: 8
Memory Firewall has security flaws!
«
on:
April 28, 2009, 07:20:49 AM »
Tjena...
Im currently developing a Swedish version of the Comodo BO Tester in order to learn more about security exploits and such. One thing tough; im not able to get warnings from Memory Firewall at all. I am explicitly creating a stack buffer overflow which overwrites the return address and then executes a small shellcode on the stack that jumps back to the code segment and returns the code 13 (as in bad luck
).
If I change the Data Execution Prevention settings to OptOut a.k.a "force everything to use DEP", the exploit is stopped by Windows. However, Memory Firewall does not seem to care at all, even if DEP is turned off.
The exploit should not be able to return the number 13, it should be closed by either DEP or Memory Firewall. Obviously my BO Tester is not recognized as a big enough threat but then what should i do to make Memory Firewall stop it?
Im posting the source code of my BO Tester here:
Code:
/* STACK BUFFER OVERFLOW EXPLOITION TEST
1. Overflow stack buffer
2. Execute code in stack buffer
3. Return code 13 */
#include <windows.h>
//return code 13
void exploited()
{
ExitProcess(13);
}
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{
//Allocate on stack and initialize with shellcode "jmp eax"
volatile int buffer[32] = {0xe0ff};
//Overflow buffer with address of buffer
for(int i = 1; i < 64; i++)
buffer[i] = (int) buffer;
//Set eax to address of exploited
__asm
{
mov eax, exploited
}
//Return to buffer and execute "jmp eax" from the stack
}
«
Last Edit: May 01, 2009, 10:17:50 AM by al6
»
Logged
LeoniAquila
Still non-retired moderator but on vacation for a while
Global Moderator
Comodo's Hero
Offline
Posts: 6606
Re: Memory Firewall is not working as i thought it would
«
Reply #1 on:
April 28, 2009, 07:28:26 AM »
Hi and welcome al6.
I'm just posting in this thread so I can easily monitor the answers here, as you're doing some interesting testing.
Logged
Moderator LeoniAquila:
Aims to keep the forum a friendly place. Any concerns? Please send me a PM and/or review the
Forum Policy
.
al6
Newbie
Offline
Posts: 8
Re: Memory Firewall is not working as i thought it would
«
Reply #2 on:
April 28, 2009, 10:58:40 AM »
This thread will need the help from the developers of Memory Firewall.
«
Last Edit: April 28, 2009, 03:35:08 PM by al6
»
Logged
EricJH
Global Moderator
Comodo's Hero
Offline
Posts: 4163
Re: Memory Firewall is not working as i thought it would
«
Reply #3 on:
April 28, 2009, 01:01:24 PM »
Are you using Memory Firewall alongside with CIS 3.8? CIS3.8 has memory firewall integrated. May be the two of them bite?
Logged
Triple boot: XP SP3, Vista Ultimate 32 SP2 and Win7 RTM (default) , Always the latest CIS or CIS Beta (too lazy to update my sig) Athlon XP 2600 1 GB RAM. Opera Browser always using the latest snapshots; Opera 10.10 as of now
JoWa
Product Translator
Comodo's Hero
Offline
Posts: 832
Re: Memory Firewall is not working as i thought it would
«
Reply #4 on:
April 28, 2009, 01:12:28 PM »
CIS 3.9 RC1 gives no BO alert. The attachment shows the result. (
sårbart = vulnerable
)
Logged
Windows XP Pro SP3 | CIS 3.13.121240.574 | Dragon 0.9.0.16 | CSC 2.1.114194.1 | CSE 2.4.0.98 RC | MSI 865PE Neo2-FIS2R | Pentium 4 HT 3,4 GHz | 4×1 GB RAM | SATA: 300 GB, IDE: 75 + 150 GB | ATI Radeon 9800 Pro
al6
Newbie
Offline
Posts: 8
Re: Memory Firewall is not working as i thought it would
«
Reply #5 on:
April 28, 2009, 03:39:45 PM »
The problem is simple; Memory Firewall doesn't stop me from exploiting a buffer overflow. Im only using COMODO Memory Firewall 2.0.4.20. May i speak with the creators?
Är det omöjligt att få kontakt med grabbarna eller vad?
Logged
LeoniAquila
Still non-retired moderator but on vacation for a while
Global Moderator
Comodo's Hero
Offline
Posts: 6606
Re: Memory Firewall is not working as i thought it would
«
Reply #6 on:
April 28, 2009, 03:53:17 PM »
Quote from: al6 on April 28, 2009, 03:39:45 PM
The problem is simple; Memory Firewall doesn't stop me from exploiting a buffer overflow. Im only using COMODO Memory Firewall 2.0.4.20. May i speak with the creators?
Är det omöjligt att få kontakt med grabbarna eller vad?
Easy, it may take a while for them to see this.
Logged
Moderator LeoniAquila:
Aims to keep the forum a friendly place. Any concerns? Please send me a PM and/or review the
Forum Policy
.
JoWa
Product Translator
Comodo's Hero
Offline
Posts: 832
Re: Memory Firewall is not working as i thought it would
«
Reply #7 on:
April 30, 2009, 05:53:21 PM »
New version of
al6's BO Tester
, new result…
Logged
Windows XP Pro SP3 | CIS 3.13.121240.574 | Dragon 0.9.0.16 | CSC 2.1.114194.1 | CSE 2.4.0.98 RC | MSI 865PE Neo2-FIS2R | Pentium 4 HT 3,4 GHz | 4×1 GB RAM | SATA: 300 GB, IDE: 75 + 150 GB | ATI Radeon 9800 Pro
al6
Newbie
Offline
Posts: 8
Re: Memory Firewall is not working as i thought it would
«
Reply #8 on:
May 01, 2009, 10:16:09 AM »
This thread is very important, there is a serious mistake in Memory Firewall!
Memory Firewall is only detecting calls to ShellExecute, WinExec and so on, but it's not detecting calls to the standard C system() call. This is a serious security flaw since system() can do everything that ShellExecute can do. I want some developers in this thread.
Im not using Memory Firewall since i found out that it's useless, also, DEP and ASLR is a better way to protect your system since it does not need the "black list" of calls becaue everything is stopped.
«
Last Edit: May 01, 2009, 11:49:06 AM by al6
»
Logged
LeoniAquila
Still non-retired moderator but on vacation for a while
Global Moderator
Comodo's Hero
Offline
Posts: 6606
Re: Memory Firewall has security flaws!
«
Reply #9 on:
May 02, 2009, 05:30:40 AM »
I've tried to get attention from some developer, let's hope for a comment.
By the way, CMF has not been updated in a long time. AFAIK the stand alone CMF has been discontinued. Have you considered performing these tests on the CMF part of CIS, which is much newer?
«
Last Edit: May 02, 2009, 06:25:42 AM by LeoniAquila
»
Logged
Moderator LeoniAquila:
Aims to keep the forum a friendly place. Any concerns? Please send me a PM and/or review the
Forum Policy
.
EricJH
Global Moderator
Comodo's Hero
Offline
Posts: 4163
Re: Memory Firewall has security flaws!
«
Reply #10 on:
May 03, 2009, 04:21:13 PM »
If I recall correctly CMF only protects to 3 out of 6 possible buffer overflow types. I tried the test on 3.9 RC2 and had three alerts about buffer overflow and terminated them and passed the test.
«
Last Edit: May 04, 2009, 04:36:25 PM by EricJH
»
Logged
Triple boot: XP SP3, Vista Ultimate 32 SP2 and Win7 RTM (default) , Always the latest CIS or CIS Beta (too lazy to update my sig) Athlon XP 2600 1 GB RAM. Opera Browser always using the latest snapshots; Opera 10.10 as of now
Tags:
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Want to help Comodo?
-----------------------------
=> Help Spread the Word - Official Comodo banners and logos
=> How can you help Comodo? (Please we do need you!)
===> Help spread the word! (Please read and help)
===> Comodo website issues for submitting website problems only
=> Please tell us your views and Vote here!
-----------------------------
General Category
-----------------------------
=> Melih's Corner - CEO Talk/Discussions/Blog
=> Comodo.TV - Our Internet Video Channel
===> Comodo.TV - News and Announcements
===> Comodo.TV - Program Lineup
===> Audience Feedback and Suggestions
=> Which Product do you want Comodo to develop next?
=> General Discussion (off topic) Anything and everything...
===> Member Confessions :-)
===> Funny Photos :-)
===> Cool Stuff
-----------------------------
Desktop Security Products
-----------------------------
=> Comodo Internet Security - CIS
===> Overview - CIS
===> Help - CIS
=====> Anti Virus Help
=====> Firewall Help
=====> Defense+ Help
=====> Install / Setup / Configuration Help
===> FAQ - CIS
=====> Anti Virus FAQ
=====> Firewall FAQ
=====> Defense+ FAQ
=====> Install / Setup / Configuration FAQ
===> Feedback/Comments/Announcements/News - CIS
===> Guides - CIS
=====> Anti Virus Guides
=====> Firewall Guides
=====> Defense+ Guides
=====> Install / Setup / Configuration Guides
=====> Video Guides
===> Wishlist - CIS
=====> Anti Virus Wishlist
=====> Firewall Wishlist
=====> Defense+ Wishlist
=====> GUI -Graphical User Interface - Wishlist
===> Bug Report - CIS
=====> Anti Virus Bugs
=====> Firewall Bugs
=====> Defense+ Bugs
=====> Other - General - GUI etc Bugs
=====> False Positive/Negative reporting - (Is this a malware that CIS has/not detected?)
===> Virus/Malware Removal Assistance
===> Leak Testing/Attacks/Vulnerability Research
=> Comodo Time Machine - CTM
===> Frequent Asked Questions (FAQ)
=> Comodo Dragon - CD
=> Comodo Instant Malware Analysis Online - CIMA
=> Comodo Disk Encryption - CDE
===> Overview - CDE
===> Help - CDE
===> FAQ - CDE
===> Feedback/Comments/Announcements/News - CDE
===> Wishlist - CDE
===> Beta Corner - CDE
===> BUG Reports - CDE
=> Comodo Secure Email - CSE
===> Frequently Asked Questions (FAQ)
===> Feedback/Comments/Announcements/News about CSE
===> Bug Reports
===> Help for Comodo SecureEmail
=> Comodo TrustConnect - Securing the Wireless world!
=> Comodo EasyVPN - CEVPN
===> Frequently Asked Questions (FAQ)
===> Feedback/Comments/Announcements/News about Comodo EasyVPN
===> Bug reports
===> Help for Comodo EasyVPN
=> HopSurf (Bringing Internet to you)
=> Comodo Online Backup - COB
=> Comodo Backup - CB
===> Comodo Backup - FAQ
===> Comodo Backup - Help
=> Verification Engine - CVE
=> Comodo Vulnerability Analyzer - CVA
=> Comodo AntiSpam - CAS
-----------------------------
Desktop Utilities
-----------------------------
=> Comodo System Cleaner - File/Registry/Privacy Cleaner
=> Live PC Support (geeks ready to help 24/7/365)
-----------------------------
Enterprise Security
-----------------------------
=> Comodo Endpoint Security Manager
-----------------------------
Compliance
-----------------------------
=> PCI DSS Compliance
-----------------------------
Learn about Computer Security and Interact with Security Experts
-----------------------------
=> Computer Firewalls
=> Anti Virus/Malware Products/Other Security products
=> Free Virus/Spyware/Trojan/Malware Removal by Comodo Experts
=> HIPS (Host Intrusion Prevention Systems)
=> Anti Phishing solutions
=> Digital Certificates, Encryption and Digital Signing
=> General Security Questions and Comments (not product related)
-----------------------------
Free Services for End Users
-----------------------------
=> UserTrust - First Independent Website Rating - Empowering our users!
=> Hacker Guardian
=> Trustfax (free Trial) (online faxing)
-----------------------------
Free Products
-----------------------------
=> Link to Free Comodo Products
-----------------------------
International Comodo Forums
-----------------------------
=> International Comodo Forums
===> 汉语语言, 漢語語言 / Chinese Simplified, Traditional
===> Nederlands / Dutch
===> Francais / French
===> Deutsch / German
===> ελληνικά / Greek
===> Magyar / Hungarian
===> Italiano / Italian
===> Nihongo / Japanese
===> Norsk / Norwegian
===> Polski / Polish
===> Português/Portuguese
===> По-русски / Russian
===> Espanol / Spanish
===> Svenska / Swedish
===> Turkce / Turkish
===> Українська / Ukrainian
===> tiếng Việt / Vietnamese
===> Slovenský / Slovak
-----------------------------
Digital Certificates
-----------------------------
=> Code Signing Certificate
=> Content Verification Certificate
=> Email Certificate
=> SSL Certificate
-----------------------------
Web Server Products
-----------------------------
=> Two Factor Authentication for Web Applications
=> Trustlogo
-----------------------------
Other
-----------------------------
=> Forum Policy Violation Board
-----------------------------
Archive Boards
-----------------------------
=> Comodo Diskshield
=> Comodo Firewall
===> Feedback/Comments/Announcements/News
===> Help for v3
===> Help for v2
===> Frequently Asked Questions (FAQ) for Comodo firewall
===> Comodo Firewall Translations
===> Bug Reports
=> Comodo Anti-Viruspyware (CAVS)
===> Help for Comodo AntiVirus
===> FAQ for Comodo Anti-ViruSpyware
===> Feedback/Comments/Announcements/News about CAVS
=> Launch Pad (Discontinued)
=> Trusttoolbar (Discontinued)
=> Comodo Meet (Web Conferencing Product) (Discontinued)
=> User Anywhere (Remote Access product) (Discontinued)
=> Trustix Enterprise Firewall
=> ZTL
=> Comodo BOClean Anti-Malware
===> Announcements
===> Comodo BOClean Anti-Malware FAQ
=> Comodo Memory Firewall(Buffer Overflow Protection)
===> Comodo Memory Firewall Beta Corner
===> Help
===> Frequently Asked Questions (Comodo Memory Firewall)
===> Feedback/Comments/Announcements/News
=> i-Vault
=> Safesurf
Page created in 0.036 seconds with 17 queries.
Powered by SMF 1.1.10
|
SMF © 2006, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Design by
7dana.com