Welcome to the Comodo Forum
Welcome,
Guest
. Please
login
or
register
.
August 21, 2008, 11:09:05 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
184923
Posts
21470
Topics
52065
Members
Latest Member:
ErnieK
more news...
Search:
Advanced search
|
Tag Cloud
Welcome to the Comodo Forum
Desktop Security Products
Comodo Firewall
Help for v3
Is CFP loaded early in Windows startup to avoid a window of opportunity?
« previous
next »
Pages:
[
1
]
Author
Topic: Is CFP loaded early in Windows startup to avoid a window of opportunity? (Read 569 times)
VanguardLH
Comodo Family Member
Offline
Posts: 68
Is CFP loaded early in Windows startup to avoid a window of opportunity?
«
on:
March 12, 2008, 08:30:52 AM »
Some firewalls have the option to disable the TCP stack until they are fully loaded. This prevents any malware from phoning home while Windows is still loading and before you even get to login. Malware, like VirtuMundo, will add entries to startup registry keys, like BootExecute or WinLogon events so they run before most security (anti-malware) software has had a chance to load.
I cannot find a boot-time protection option in Comodo's firewall (v3). So does Comodo's firewall, by default and without choice, disable the Winsock by inserting its own handler which remains disabled until CFP is fully loaded and ready? How early does CFP get loaded? Is it before the programs listed in BootExecute and WinLogon event registry keys?
For example, BootExecute contains an entry to run autochk.exe which checks if the dirty bit is set on a hard disk and, if so, will run chkdsk to fix the file system errors. Does CFP load even before autochk can run? BootExecute can be used to start any program, including malware, so CFP needs to load before this or use some other trick, like inserting a handler in the Winsock stack that remains disabled until a signed trigger from CFP enables that handler.
«
Last Edit: March 12, 2008, 04:58:43 PM by VanguardLH
»
Logged
Vettetech
Computer Security Testing Group
Comodo's Hero
Online
Posts: 4356
Re: Is CFP loaded early in Windows startup to avoid a window of opportunity?
«
Reply #1 on:
March 12, 2008, 09:04:46 AM »
Yes look at your task manager. Just cause its not in the systray yet doesnt mean its not loaded.
Logged
sded
Global Moderator
Comodo's Hero
Online
Posts: 1827
Re: Is CFP loaded early in Windows startup to avoid a window of opportunity?
«
Reply #2 on:
March 12, 2008, 09:10:37 AM »
The kernel process cmdagnt.exe service is launched early, after some of the essential Windows services, but before any applications. The GUI cfp.exe you see in the tray is actually launched later in the cycle, but is not necessary for protection. You can see from the attached Process Explorer run that cmdagnt is launched before the applications, along with the Avast! antivirus software in this case, and then the applications that might need these services start being launched. This is a Vista example, but you can download free Process Explorer and see what your system is doing. Just click the "start time" header and PE will sort it for you.
Logged
CFP 3.0.24/368, Vista Ultimate 32x + SP1, Avast! 4.8, Windows Defender. SAS offline. Acronis True Image just in case.
VanguardLH
Comodo Family Member
Offline
Posts: 68
Re: Is CFP loaded early in Windows startup to avoid a window of opportunity?
«
Reply #3 on:
March 12, 2008, 09:58:36 AM »
I found how to add the Start Time column. Seems peculiar that the logging doesn't show the time down to the millisecond. Since cmdagent.exe is bundled under the services.exe process, that means cmdagent was started as an NT service. That is too late. That is long after any malware has executed that was specified in the BootExecute registry key. services.exe is listed under the WinLogon event which can also be used to inject malware so those could run before the NT services get started.
cmdagent is the Comodo helper service. It is an NT service. That is too late for its HIPS function to prevent malware from loading during WinLogon events or when added to the BootExecute in the registry. Perhaps if CFP injects a handler in the Winsock stack that remains disabled until it fully loads to enable that handler so only then can network connections be allowed but I can't find any information to corrobate that technique. That still doesn't change that CPF is loading too late for its HIPS to prevent malware from loading. I figured that a train mode was needed during a reboot so CFP could record what all it noticed was loading during bootup and also during login and then I would not train anymore to get prompted thereafter if something new wanted to run during bootup. But having a HIPS program that loads as an NT service means there are auto-load points during the bootup that CPF will never be able to control. NT services load too late to detect some very nasty malware.
I just went through a discussion of someone having bootup programs because it was noticed there was an unknown entry in the BootExecute registry key. It wasn't the VirtuMundo pest although that is how that pest operates. No wonder so many of these security programs cannot eradicate or detect some pests because they load far before the security software can load.
--- Avast
According to what I've read, Avast has a boot-time protection option that you can enable. When enabled, it adds an entry to the BootExecute registry key. In your image of Process Explorer, Avast is loading before cmdagent but not by many seconds earlier. The svchost processes that roll-up several NT services are shown loading before Avast. Do you have the boot-time protection option enabled in Avast? If so, did it add an entry to the BootExecute registry key?
Key: HKLM\SYSTEM\CurrentControlSet\Control\Session Manager
Data item: BootExecute
«
Last Edit: March 12, 2008, 10:13:18 AM by VanguardLH
»
Logged
sded
Global Moderator
Comodo's Hero
Online
Posts: 1827
Re: Is CFP loaded early in Windows startup to avoid a window of opportunity?
«
Reply #4 on:
March 12, 2008, 03:24:50 PM »
There is no configurable boot time protection option in CFP. You can try going to
http://forums.comodo.com/help_for_v3/how_do_i_raise_a_technical_support_request-t14907.0.html
and asking Comodo about it. As far as I can tell, there is no boot time protection option in the Avast! free version either. You might ask at their forum. The only thing under BootExecute is Autocheck. So if you have already let the malware in, CFP doesn't help you, nor does Avast! at boot time. Both take the philosophy of keeping the malware out in the first place. You can also go to
http://forums.comodo.com/melihs_corner_ceo_talkdiscussionsblog-b36.0/
and take up your concerns directly with Melih, the CEO of Comodo.
Logged
CFP 3.0.24/368, Vista Ultimate 32x + SP1, Avast! 4.8, Windows Defender. SAS offline. Acronis True Image just in case.
VanguardLH
Comodo Family Member
Offline
Posts: 68
Re: Is CFP loaded early in Windows startup to avoid a window of opportunity?
«
Reply #5 on:
March 12, 2008, 04:56:52 PM »
Done. Submitted a ticket and started a new thread in the other forum.
Logged
panic
Global Moderator
Comodo's Hero
Offline
Posts: 5314
... and I say to myself, "What a wonderful world"
Re: Is CFP loaded early in Windows startup to avoid a window of opportunity?
«
Reply #6 on:
March 12, 2008, 05:26:46 PM »
G;day,
There are also two kernel level drivers that provide boot protection (inspect.sys - Comodo firewall driver and cmdguadr.sys - Comodo sandbox driver). These two are your boot time protection. This can be verified by running GMER or similar.
Cheers,
Ewen :-)
Logged
As your mums would say, "If you can't play nice with all the other kiddies, go home".
All users are asked to please read and abide by the
Comodo Forum Policy
.
If you don't like it, don't use the forum.
ggf31416
Comodo Loves me
Offline
Posts: 108
Re: Is CFP loaded early in Windows startup to avoid a window of opportunity?
«
Reply #7 on:
March 12, 2008, 05:31:56 PM »
VanguardLH, I suggest you to run LoadOrder
http://technet.microsoft.com/en-us/sysinternals/bb897416.aspx
Also the Session Manager key is included in the protected registry keys.
Logged
VanguardLH
Comodo Family Member
Offline
Posts: 68
Re: Is CFP loaded early in Windows startup to avoid a window of opportunity?
«
Reply #8 on:
March 12, 2008, 05:54:33 PM »
Over in the other thread at:
https://forums.comodo.com/melihs_corner_ceo_talkdiscussionsblog/comodo_firewall_loads_too_late_to_provide_boottime_protection-t20728.0.html
I'm told that CFP will load the inspect.sys and cmdguard.sys as kernel-mode drivers. As I recall, drivers load before any startup or logon events.
Logged
sded
Global Moderator
Comodo's Hero
Online
Posts: 1827
Re: Is CFP loaded early in Windows startup to avoid a window of opportunity?
«
Reply #9 on:
March 12, 2008, 06:28:06 PM »
OK, I can find the sandbox driver, but not inspect.sys . There is a cmdhlp.sys a bit later, then nothing else from Comodo until Cmdagent.exe. So where am I missing the firewall driver? So the questions of the day: What do they do, since they are undocumented? What are their capabilities between the time they load and the time cmdagent.exe loads? Which one protects the registry keys and program execution? Which one prevents TCP? And what else do they do?
Logged
CFP 3.0.24/368, Vista Ultimate 32x + SP1, Avast! 4.8, Windows Defender. SAS offline. Acronis True Image just in case.
Tags:
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
** New to the Comodo Forum? Start Here! **
-----------------------------
=> New Member Information
-----------------------------
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
=> 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 Firewall
===> Feedback/Comments/Announcements/News
===> Leak Testing/Attacks/Vulnerability Research
===> 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
===> Virus/Malware Removal Assistance
=> Comodo BOClean Anti-Malware
===> Announcements
===> Comodo BOClean Anti-Malware FAQ
=> Comodo DiskShield
=> Comodo Disk Encryption
=> Comodo Secure Email (CSE) Product
===> CSE Beta Corner
===> Frequently Asked Questions (FAQ)
===> Feedback/Comments/Announcements/News about CSE
===> Bug Reports
===> Help for Comodo SecureEmail
=> Comodo Memory Firewall(Buffer Overflow Protection)
===> Help
===> Frequently Asked Questions (Comodo Memory Firewall)
===> Feedback/Comments/Announcements/News
=> Comodo TrustConnect - Securing the Wireless world!
=> Comodo SafeSurf and (Comodo's own toolbar)
=> Backup
===> FAQ for Comodo Backup
===> Help
=> Verification Engine (allows you to verify what you see on the Internet)
=> Comodo Vulnerability Analyzer
=> AntiSpam
=> i-Vault
=> Launch Pad
=> Trusttoolbar
-----------------------------
Desktop Utilities
-----------------------------
=> Comodo Registry Cleaner
-----------------------------
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!
=> User Anywhere (Remote Access product)
=> Comodo Meet (Web Conferencing Product)
=> 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
-----------------------------
Digital Certificates
-----------------------------
=> Code Signing Certificate
=> Content Verification Certificate
=> Email Certificate
=> SSL Certificate
-----------------------------
Web Server Products
-----------------------------
=> Two Factor Authentication for Web Applications
=> Trustlogo
-----------------------------
Infrastructure Products
-----------------------------
=> ZTL
=> Trustix Enterprise Firewall
-----------------------------
Other
-----------------------------
=> Forum Policy Violation Board
Page created in 0.196 seconds with 19 queries.
Powered by SMF 1.1.5
|
SMF © 2006, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Design by
7dana.com