HIPS Behavior Settings
HIPS constantly monitors
server activity and only allows executables and processes to run if
they comply with the prevailing security rules that have been
enforced by the user. CAVS ships with a default HIPS ruleset that
works 'out of the box' - providing extremely high levels of
protection without any user intervention. For example, HIPS
automatically protects system-critical files, folders and registry
keys to prevent unauthorized modifications by malicious programs.
Administrators looking to take a firmer grip on their security
posture can quickly create custom policies and rulesets using the
powerful rules interface.
Note: This page often refers to 'executables' (or 'executable files').
An 'executable' is a file that can instruct your server to perform
a task or function. Every program, application and device you run
on your server requires an executable file of some kind to start
it. The most recognizable type of executable file is the '.exe'
file. (e.g., when you start Microsoft Word, the executable file
'winword.exe' instructs your server to start and run the Word
application). Other types of executable files include those with
extensions .cpl .dll, .drv, .inf, .ocx, .pf, .scr, .sys.
Unfortunately, not all
executables can be trusted. Some executables, broadly categorized
as malware, can instruct your server to delete valuable data;
steal your identity; corrupt server files; give control of your
server to a hacker and much more. You may also have heard these
referred to as Trojans, scripts and worms. |
- The HIPS Settings panel allows you to enable/disable HIPS, set its security level and configure its general behavior.
- The HIPS Settings panel can be accessed by clicking Security Settings > Defense+ > HIPS > 'HIPS Settings' tab from 'Advanced Settings' interface
- Enable HIPS - Allows you to enable/disable the HIPS protection.(Default=Disabled)
Note: The HIPS settings can also be configured in the 'Advanced View' of the 'Home' screen by clicking the status link beside HIPS in the 'Defense+ ' pane. |
If enabled, you can choose the security level and configure the monitoring settings for the HIPS component.
Configuring Security Level of HIPS
The security level can be chosen from the drop-down that becomes active only on enabling HIPS:
The choices available are:
- Paranoid Mode: This is the highest security level setting and means that Defense+ monitors and controls all executable files apart from those that you have deemed safe. CAVS does not attempt to learn the behavior of any applications - even those applications on the Comodo safe list and only uses your configuration settings to filter critical system activity. Similarly, CAVS does automatically create 'Allow' rules for any executables - although you still have the option to treat an application as 'Trusted' at the HIPS alert. Choosing this option generates the most amount of HIPS alerts and is recommended for advanced users that require complete awareness of activity on their server.
- Safe Mode: While monitoring critical server activity, Defense+ automatically learns the activity of executables and applications certified as 'Safe' by Comodo. It also automatically creates 'Allow' rules these activities, if the checkbox 'Create rules for safe applications' is selected. For non-certified, unknown, applications, you will receive an alert whenever that application attempts to run. Should you choose, you can add that new application to the safe list by choosing 'Treat this application as a Trusted Application' at the alert. This instructs the Defense+ not to generate an alert the next time it runs. If your machine is not new or known to be free of malware and other threats as in 'Clean PC Mode' then 'Safe Mode' is recommended setting for most users - combining the highest levels of security with an easy-to-manage number of HIPS alerts.
- Clean PC Mode: From the time you set the slider to 'Clean PC Mode', Defense+ learns the activities of the applications currently installed on the server while all new executables introduced to the server are monitored and controlled. This patent-pending mode of operation is the recommended option on a new server or one that the user knows to be clean of malware and other threats. From this point onwards HIPS alerts the user whenever a new, unrecognized application is being installed. In this mode, the files with 'Unrecognized' rating in the 'File List' are excluded from being considered as clean and are monitored and controlled.
- Training Mode: Defense+ monitors and learn the activity of any and all executables and create automatic 'Allow' rules until the security level is adjusted. You do not receive any HIPS alerts in 'Training Mode'. If you choose the 'Training Mode' setting, we advise that you are 100% sure that all applications and executables installed on your server are safe to run.
Configuring the Monitoring Settings
The activities, entities and objects that should monitored by HIPS can be configured by clicking the Monitoring Settings link.
Note: The settings you choose here are universally applied. If you disable monitoring of an activity, entity or object using this interface it completely switches off monitoring of that activity on a global basis - effectively creating a universal 'Allow' rule for that activity . This 'Allow' setting over-rules any Ruleset specific 'Block' or 'Ask' setting for that activity that you may have selected using the 'Access Rights' and 'Protection Settings' interface. |
- Interprocess Memory Access - Malware programs use memory space modification to inject malicious code for numerous types of attacks, including recording your keyboard strokes; modifying the behavior of the invaded application; stealing confidential data by sending confidential information from one process to another process etc. One of the most serious aspects of memory-space breaches is the ability of the offending malware to take the identity of the invaded process, or 'impersonate' the application under attack. This makes life harder for traditional virus scanning software and intrusion-detection systems. Leave this box checked and HIPS alerts you when an application attempts to modify the memory space allocated to another application (Default = Enabled).
- Windows/WinEvent Hooks - In the Windows Server, a hook is a mechanism by which a function can intercept events (messages, mouse actions, keystrokes) before they reach an application. The function can act on events and, in some cases, modify or discard them. Originally developed to allow legitimate software developers to develop more powerful and useful applications, hooks have also been exploited by hackers to create more powerful malware. Examples include malware that can record every stroke on your keyboard; record your mouse movements; monitor and modify all messages on your server; take over control of your mouse and keyboard to remotely administer your server. Leaving this box checked means that you are warned every time a hook is executed by an untrusted application (Default = Enabled).
- Device Driver Installations - Device drivers are small programs that allow applications and/or operating systems to interact with a hardware device on your server. Hardware devices include your disk drives, graphics card,wireless and LAN network cards, CPU, mouse, USB devices, monitor, DVD player etc.. Even the installation of a perfectly well-intentioned device driver can lead to server instability if it conflicts with other drivers on your server. The installation of a malicious driver could, obviously, cause irreparable damage to your server or even pass control of that device to a hacker. Leaving this box checked means HIPS alerts you every time a device driver is installed on your machine by an untrusted application (Default = Enabled).
- Processes' Terminations - A process is a running instance of a program. (for example, the CAVS process is called 'cis.exe'. Press 'Ctrl+Alt+Delete' and click on 'Processes' to see the full list that are running on your server). Terminating a process, obviously, terminates the program. Viruses and Trojan horses often try to shut down the processes of any security software you have been running in order to bypass it. With this setting enabled, Defense+ monitors and alerts you to all attempts by an untrusted application to close down another application (Default = Enabled).
- Process Execution - Typical malware like rootkits, keylogger etc. would often invoke by itself and runs its process mostly at the background. These processes, invisible at the foreground will act as agents for infecting your server and to steal your confidential and sensitive information like your credit card details and passwords and pass to hackers. With this setting enabled, the HIPS monitors and alerts you to whenever a process is invoked by an untrusted application. (Default = Enabled).
- Windows Messages - This setting means CAVS monitors and detects if one application attempts to send special Windows Messages to modify the behavior of another application (e.g. by using the WM_PASTE command) (Default = Enabled).
- DNS/RPC Client Service - This setting alerts you if an application attempts to access the 'Windows DNS service' - possibly in order to launch a DNS recursion attack.A DNS recursion attack is a type of Distributed Denial of Service attack whereby an malicious entity sends several thousand spoofed requests to a DNS server. The requests are spoofed in that they appear to come from the target or 'victim' server but in fact come from different sources - often a network of 'zombie' pc's which are sending out these requests without the owners knowledge. The DNS servers are tricked into sending all their replies to the victim server - overwhelming it with requests and causing it to crash. Leaving this setting enabled prevents malware from using the DNS Client Service to launch such an attack (Default = Enabled).
Background Note: DNS stands for Domain Name System. It is the part of the Internet infrastructure that translates a familiar domain name, such as 'example.com' to an IP address like 123.456.789.04. This is essential because the Internet routes messages to their destinations on the basis of this destination IP address, not the domain name. Whenever you type a domain name, your Internet browser contacts a DNS server and makes a 'DNS Query'. In simplistic terms, this query is 'What is the IP address of example.com?'. Once the IP address has been located, the DNS server replies to your server, telling it to connect to the IP in question. |
Objects To Monitor Against Modifications:
- Protected COM Interfaces enables monitoring of COM interfaces you specified from the COM Protection pane. (Default = Enabled)
- Protected Registry Keys enables monitoring of Registry keys you specified from the Registry Protection pane. (Default = Enabled).
- Protected Files/Folders enables monitoring of files and folders you specified from the File Protection pane. (Default = Enabled).
Objects To Monitor Against Direct Access:
Determines whether or not CAVS should monitor access to system critical objects on your server. Using direct access methods, malicious applications can obtain data from a storage devices, modify or infect other executable software, record keystrokes and more. Comodo advises the average user to leave these settings enabled:
- Physical Memory: Monitors your server's memory for direct access by an applications and processes. Malicious programs attempt to access physical memory to run a wide range of exploits - the most famous being the 'Buffer Overflow' exploit. Buffer overruns occur when an interface designed to store a certain amount of data at a specific address in memory allows a malicious process to supply too much data to that address. This overwrites its internal structures and can be used by malware to force the server to execute its code (Default = Enabled).
- Computer Monitor: CAVS raises an alert every time a process tries to directly access your server monitor. Although legitimate applications sometimes require this access, there is also an emerging category of spyware programs that use such access to monitor users' activities. (for example, to take screen shots of your current desktop; to record your browsing activities etc) (Default = Enabled).
- Disks: Monitors your local disk drives for direct access by running processes. This helps guard against malicious software that need this access to, for example, obtain data stored on the drives, destroy files on a hard disk, format the drive or corrupt the file system by writing junk data (Default = Enabled).
- Keyboard: Monitors your keyboard for access attempts. Malicious software,
known as 'key loggers', can record every stroke you make on your
keyboard and can be used to steal your passwords, credit card
numbers and other personal data. With this setting checked, CAVS
alerts you every time an application attempts to establish direct
access to your keyboard(Default
= Enabled).
Checkbox Options
- Do NOT show popup alerts - Configure whether or not you want to be notified when the HIPS encounters a malware. Choosing 'Do NOT show popup alerts' will minimize disturbances but at some loss of user awareness. (Default = Enabled)
If you choose not to show alerts then you have a choice of default responses that CAVS should automatically take - either 'Block Requests' or 'Allow Requests'.
- Set popup alerts to verbose mode - Enabling this option instructs CAVS to display HIPS Alerts in verbose mode, providing more more informative alerts and more options for the user to allow or block the requests
- Create rules for safe applications - Automatically creates rules for safe applications in HIPS Ruleset (Default = Disabled).
Note: HIPS trusts the applications if:
|
By default, CAVS does not automatically create 'allow' rules for safe applications. This helps saving the resource usage, simplifies the rules interface by reducing the number of 'Allowed' rules in it, reduces the number of pop-up alerts and is beneficial to beginners who find difficulties in setting up the rules.
Enabling
this checkbox instructs CAVS to begin learning the behavior of safe
applications so that it can automatically generate the 'Allow' rules.
These rules are listed in the HIPS
Rules interface. The
Advanced users can edit / modify the rules as they wish.
- Set new on-screen alert time out to: Determines how long the HIPS shows an alert for without any user intervention. By default, the timeout is set at 120 seconds. You may adjust this setting to your own preference.
Advanced HIPS Settings
- Enable adaptive mode under low system resources - Very rarely (and only in a heavily loaded system), low memory conditions might cause certain CAVS functions to fail. With this option enabled, CAVS will attempt to locate and utilize memory using adaptive techniques so that it can complete its pending tasks. However, the cost of enabling this option may be reduced performance in even lightly loaded systems (Default = Disabled).
- Block all unknown requests if the application is closed - Selecting this option blocks all unknown execution requests if CAVS is not running/has been shut down. This is option is very strict indeed and in most cases should only be enabled on seriously infested or compromised machines while the user is working to resolve these issues. If you know your machine is already 'clean' and are looking just to enable the highest CAVS security settings then it is OK to leave this box unchecked. (Default = Disabled).
- Enable enhanced protection mode - On 64 bit systems, enabling this mode will activate additional host intrusion prevention techniques to countermeasure extremely sophisticated malware that tries to bypass regular countermeasures. Enhanced Protection Mode implements several patent-pending ways to improve HIPS. CAVS requires a system restart for enabling enhanced protection mode. (Default = Disabled)
- Do heuristic command-line analysis for certain applications - Selecting this option instructs Comodo Endpoint Security to perform heuristic analysis of programs that are capable of executing code such as visual basic scripts and java applications. Example programs that are affected by enabling this option are wscript.exe, cmd.exe, java.exe and javaw.exe. For example, the program wscipt.exe can be made to execute visual basic scripts (.vbs file extension) via a command similar to 'wscript.exe c:teststest.vbs'. If this option is selected, CAVS detects c:teststest.vbs from the command-line and applies all security checks based on this file. If test.vbs attempts to connect to the Internet, for example, the alert will state 'test.vbs' is attempting to connect to the Internet (Default = Enabled).
If this option is disabled, the alert would only state 'wscript.exe' is trying to connect to the Internet'.
- Detect shellcode injections (i.e. Buffer overflow protection) - Enabling this setting turns-on the Buffer over flow protection.
Background: A buffer overflow is an anomalous condition where a process/executable attempts to store data beyond the boundaries of a fixed-length buffer. The result is that the extra data overwrites adjacent memory locations. The overwritten data may include other buffers, variables and program flow data and may cause a process to crash or produce incorrect results. They can be triggered by inputs specifically designed to execute malicious code or to make the program operate in an unintended way. As such, buffer overflows cause many software vulnerabilities and form the basis of many exploits.
Turning-on buffer overflow protection instructs the Comodo Antivirus for Servers to raise pop-up alerts in every event of a possible buffer overflow attack. You can allow or deny the requested activity raised by the process under execution depending on the reliability of the software and its vendor.
Comodo recommends that this setting to be maintained selected always (Default = Enabled).