Welcome to the Comodo Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 18, 2013, 11:05:06 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
662917
Posts
70572
Topics
145148
Members
Latest Member:
letyiamc
more news...
Search:
Advanced search
|
Tag Cloud
Welcome to the Comodo Forum
Archived Boards
Discontinued Products
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 38537 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
Retired moderator
Comodo's Hero
Offline
Posts: 6745
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
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: 16661
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
Please read:
Introduction to the 5.x Sandbox
With CIS v4 my p2p client (uTorrent, e Mule...) is not working properly anymore
JoWa
Product Translator
Global Moderator
Comodo's Hero
Offline
Posts: 2932
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
Ubuntu 13.04, 64-bit | Chrome 27β | Asus P8Z77-M | Intel Core i5 2500K 3,3GHz | 2×4 GB RAM | SSD: OCZ Vertex3 60GB, HDD: 2TB Western Digital Caviar Black | Dell UltraSharp 24" U2410 IPS | Sony MDR-XB1000 | Philips SBC AH1000
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
Retired moderator
Comodo's Hero
Offline
Posts: 6745
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
JoWa
Product Translator
Global Moderator
Comodo's Hero
Offline
Posts: 2932
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
Ubuntu 13.04, 64-bit | Chrome 27β | Asus P8Z77-M | Intel Core i5 2500K 3,3GHz | 2×4 GB RAM | SSD: OCZ Vertex3 60GB, HDD: 2TB Western Digital Caviar Black | Dell UltraSharp 24" U2410 IPS | Sony MDR-XB1000 | Philips SBC AH1000
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
Retired moderator
Comodo's Hero
Offline
Posts: 6745
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
EricJH
Global Moderator
Comodo's Hero
Offline
Posts: 16661
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
Please read:
Introduction to the 5.x Sandbox
With CIS v4 my p2p client (uTorrent, e Mule...) is not working properly anymore
Tags:
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
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?
=> How Can I Help Comodo? (Please We Need You!)
===> Report Comodo Forum / Web Site Issues
===> Please Tell Us Your Views and Vote Here!
===> Help Spread the Word - Banners and Logos
=> General Discussion (off topic) Anything and everything...
===> Member Confessions :-)
===> Funny Photos :-)
===> Cool Stuff
-----------------------------
Security Products & Services
-----------------------------
=> Comodo Internet Security - CIS
===> News / Announcements / Feedback - CIS
=====> Wishlist - CIS
===> Help - CIS
=====> Guides - CIS
=====> AntiVirus Help - CIS
=======> AntiVirus FAQ - CIS
=====> Firewall Help - CIS
=======> Firewall FAQ - CIS
=====> Defense+ / Sandbox Help - CIS
=======> Defense+ / Sandbox FAQ - CIS
=====> Install / Setup / Configuration Help - CIS
=======> Install / Setup / Configuration FAQ - CIS
===> Bug Reports - CIS
===> AV False Positive/Negative Detection Reporting
=> Comodo Cleaning Essentials + KillSwitch & Autoruns - CCE
===> News / Announcements / Feedback - CCE
=====> Wishlist - CCE
===> Help - CCE
===> Bug Reports - CCE
=> Comodo Antivirus for Mac OS X - CAVM
=> Comodo Antivirus for Linux - CAVL
=> Comodo Mobile Security - CMS
=> Comodo Time Machine - CTM
===> News / Announcements / Feedback - CTM
===> Help - CTM
=====> FAQ - CTM
===> Bug Reports - CTM
=> Comodo Dragon - CD
===> News / Announcements / Feedback - CD
=====> Wishlist - CD
===> Help - CD
=====> FAQ - CD
===> Bug Reports - CD
=> COMODO IceDragon - CID
===> News / Announcements / Feedback – CID
=====> Wishlist - CID
===> Help – CID
===> Bug Reports - CID
===> Beta Corner – CID
=> Comodo LoginPRO
=> Comodo Disk Encryption - CDE
===> News / Announcements / Feedback - CDE
=====> Wishlist - CDE
===> Help - CDE
=====> FAQ - CDE
===> Bug Reports - CDE
=> Comodo Secure DNS - DNS
===> News / Announcements / Feedback - DNS
===> Help - DNS
=> Comodo Unite (EasyVPN) - CUnite
===> News / Announcements / Feedback - CUnite
===> Help - CUnite
=====> FAQ - CUnite
===> Bug reports - CUnite
=> Comodo TrustConnect - CTC
=> Comodo SiteInspector - CSI
=> Comodo Valkyrie - FLS
=> Comodo Instant Malware Analysis Online - CIMA
=> Comodo Rescue Disk - CRD
-----------------------------
Desktop Utilities & Services
-----------------------------
=> Comodo System Utilities - CSU
===> News / Announcements / Feedback - CSU
===> Help - CSU
=====> FAQ - CSU
===> Wishlist - CSU
=> Comodo Backup - CB
===> News / Announcements / Feedback - CB
===> Comodo Cloud
===> Help - CB
=====> FAQ - CB
===> Wishlist - CB
=> Comodo Programs Manager - CPM
===> News / Announcements / Feedback – CPM
===> Help - CPM
===> Wishlist - CPM
=> GeekBuddy & Live PC Support
=> GeekBuddy PC Health Check - PCHC
===> News/ Announcements / Feedback – PCHC
===> Help - PCHC
-----------------------------
Business / Enterprise Security Products & Services
-----------------------------
=> Digital Certificates
===> Code Signing Certificate
===> Content Verification Certificate
===> Email Certificate
===> SSL Certificate
=> PCI DSS Compliance
=> Comodo Endpoint Security Manager
===> Endpoint Security Manager 1.6
===> Endpoint Security Manager 2.0 Business Edition
===> Endpoint Security Manager 2.1
===> Endpoint Security Manager 3.0
=====> CESM 3.0 Beta
===> ESM Console for Windows Phone
===> Earlier versions of CESM
=> Two Factor Authentication for Web Applications
=> Trustlogo
=> Hacker Guardian
=> Comodo Network Center - CNC
=> Comodo AntiSpam Gateway - Hosted Anti Spam Service
-----------------------------
Learn about Computer Security and Interact with Security Experts
-----------------------------
=> General Security Questions and Comments
=> Virus/Malware Removal Assistance
=> Leak Testing/Attacks/Vulnerability Research
=> Digital Certificates, Encryption and Digital Signing
=> Other Security Products
-----------------------------
International Comodo Forums
-----------------------------
=> International Comodo Forums
===> 汉语语言, 漢語語言 / Chinese Simplified, Traditional
===> Česky / Czech
===> Dansk / Danish
===> Nederlands / Dutch
===> Suomi / Finnish
===> Francais / French
===> Deutsch / German
===> ελληνικά / Greek
===> Magyar / Hungarian
===> Italiano / Italian
===> Nihongo / Japanese
===> Norsk / Norwegian
===> Polski / Polish
===> Português/Portuguese
===> Română / Romanian
===> По-русски / Russian
=====> News & FAQ
=====> Оффтоп (OFFTOP)
=====> Архив / Archive
===> Slovenský / Slovak
===> Slovenščina / Slovenian
===> Espanol / Spanish
===> Svenska / Swedish
===> Turkce / Turkish
===> Українська / Ukrainian
===> Việt / Vietnamese
===> Estonian
===> Arabic
-----------------------------
Archived Boards
-----------------------------
=> Discontinued Products
===> Comodo Web Application Firewall - CWAF
===> Comodo HopSurf - CHS
===> Comodo AntiSpam - CAS
=====> Help - CAS
=======> FAQ - CAS
=====> News / Announcements / Feedback - CAS
=======> Wishlist - CAS
=====> Bug Reports - CAS
===> Verification Engine - CVE
===> Comodo Secure Email - CSE
=====> News / Announcements / Feedback - CSE
=====> Help - CSE
=======> FAQ - CSE
=====> Bug Reports - CSE
===> Comodo Cloud Scanner - CCS
=====> News / Announcements / Feedback - CCS
=====> FAQ - CCS
=====> Beta Corner - CCS
=====> Wishlist - CCS
===> Comodo Anti-Viruspyware (CAVS)
=====> Help for Comodo AntiVirus
=====> FAQ for Comodo Anti-ViruSpyware
=====> Feedback/Comments/Announcements/News about CAVS
=====> CAVS BETA Corner
=====> Announcements
=====> Comodo BOClean Anti-Malware FAQ
===> Comodo Diskshield
===> Comodo Firewall
=====> Feedback/Comments/Announcements/News
=====> Help for v3
=====> Help for v2
=====> Frequently Asked Questions (FAQ) for Comodo firewall
=====> CFP BETA Corner
=======> 32 bit bug reports
=======> 64 bit bug reports
=====> Comodo Firewall Translations
=====> Bug Reports
===> i-Vault
===> Launch Pad (Discontinued)
===> Comodo Meet (Web Conferencing Product) (Discontinued)
===> Comodo Memory Firewall(Buffer Overflow Protection)
=====> Comodo Memory Firewall Beta Corner
=====> Help
=====> Frequently Asked Questions (Comodo Memory Firewall)
=====> Feedback/Comments/Announcements/News
===> Safesurf
===> Trusttoolbar (Discontinued)
===> Trustfax (online faxing)
===> Trustix Enterprise Firewall
===> User Anywhere (Remote Access product) (Discontinued)
===> UserTrust - First Independent Website Rating - Empowering our users!
===> Comodo Vulnerability Analyzer - CVA
===> ZTL
=> Comodo Wiki Project
Page created in 0.035 seconds with 22 queries.
Powered by SMF 1.1.18
|
SMF © 2006, Simple Machines
Design by
7dana.com