Stay up to date
Stay up to date with the latest threat reports, articles & mistakes to avoid.
Simple, yet important content.
No salesy pitches and all that, promise!
Although a business appears to make every effort to protect its assets, there is still no security guarantee. Hackers being fully aware of this uncertainty, tend to take complete advantage by tricking users or bypassing restrictions of the technology products in use, allowing them to acquire complete access. Such perils have given rise to the necessity of having a proactive approach towards cyber security to identify, prepare and respond to events.
One such preventive measure is Host-based intrusion detection systems, deployed by organisations to recognise threats on the hosts within the network perimeter. In this write-up, we shall have a detailed look at the idea of the host-based intrusion detection system, its functioning, advantages, disadvantages and related elements to intrusion detection and prevention technology.
But first, let’s get the basics right.
What is HIDS?
HIDS stands for “host-based intrusion detection system”. It is a hardware or software application used to monitor and detect any suspicious activity in a host. It may include intrusions through external factors and inappropriate use of resources and data by internal factors.
Host-based intrusion detection system (HIDS) definition is stated as “an intrusion detection system that has the capability to monitor and analyse the internal aspects of a computing system and any incoming/outgoing networking packets on its network interfaces.”.
Host-based technology is ‘passive’ in nature, which implies that it is purposed to detect suspicious activities, not prevent them. Therefore, a Host intrusion detection system is usually used in combination with intrusion prevention systems (IPS), which are ‘active’ in nature. For a business that wishes to accomplish more extensive security visibility, host-based intrusion detection systems are generally stationed on a server and network-based intrusion detection systems (NIDS) which aggregates and analyses the security events from various sources.
How does HIDS work?
Host-based intrusion detection systems (HIDS) use a sensor identified as ‘HIDS agents‘ installed within the monitorable assets for detecting threats. A host-based system employs an aggregate of signature-based and anomaly-based detection systems. The signatures one examines files in comparison with a database of signatures that are perceived to be malicious. Simultaneously, the anomaly-based detection system examines events with a baseline of standard system behaviour.
The functioning of host IDS is similar to the home security systems that most of us have seen, but they are much more advanced and involve high-tech operations. The Host IDS records the sceptical activities and reports them to the teams operating the security monitoring and response. File and integrity monitoring is a critical function that tracks ingress/egress activities, and changes to files on the host, recording audit events that can be used to analyse and validate data integrity. File Integrity Monitoring (FIM) is a helpful part of complying with regulatory requirements such as PCI DSS compliance. PCI compliance requirements state that a business needs to monitor resource usage in the cardholder data environment (CDE).
In case you are gathering and managing all the different recorded data from various applications individually, it may instantly become an overwhelming task draining your available set of resources. Additionally, it is a tremendous amount of data to maintain track of. That is where a host-based intrusion detection system proves highly useful!
The host-based intrusion detection system’s tools monitor the applicant’s record files and create a report of the activities and functions. It allows you to instantly find them for anomalies, while there might be signs of intrusion. Apart from that, a compilation of the report files is also provided, letting you keep them organised such that they align with the directory structure of the report files server. It makes the process of searching and sorting files according to the applications, dates, and other metrics almost hassle-free.
Discuss your concerns today
Apart from these, one of the fundamental functions of HIDS tools is an automated detection system that keeps us from the requirement of sorting the report files for suspicious behaviours after they are finished organising and compiling. Besides, Host IDS adopt certain rules and policies, out of which some are available. We can still modify and update them to make them suitable for the organization’s requirements and preferences. It helps in searching the report files, flagging the ones with an activity event that the rules may have thought could indicate potential malicious behaviour.
The host-based intrusion detection system (HIDS) can identify multiple attack vectors, including:
- Unapproved login and access efforts
- Escalation of privilege
- Adjustment of application binaries, information, and file configurations
- Installation of undesired applications and associations
- Rogue methods
- Crucial services that have been suspended to run
The accuracy of an IDS ties down to one of four outcomes against the observed event. It could be:
- A false positive is an event outcome when IDS has identified an attack but is a false alarm. These are counted as overhead often leading to wastage of time and resources.
- A false negative is an event outcome when IDS actually missed alerts about the actual attack. It is the most serious state of all adding blind spot for security teams.
- A true positive is an event outcome related to the successful identification of an attack.
- A true negative is an event outcome when it is right to ignore acceptable behaviour.
What are the advantages of a host-based intrusion detection system (HIDS)?
- A HIDS can detect a local event on the host system and identify security attacks and interventions that may elude a network-based IDS.
- A HIDS operates on the host system, wherein the encrypted traffic would be decrypted and made available to processes and system files accessing the data.
- Advanced Persistent Threats (APT) involve threat actors staying in a victim’s network for longer periods by evading detection mechanisms. An advantage of Host-based IDS is to help detect and prevent APTs.
- A HIDS can detect inconsistencies and deviations about how an application and system program was practised by reviewing the record collected in audit log files. It enables the system to recognise some kinds of security attacks, including the Trojan Horse program.
What are the disadvantages of a host-based intrusion detection system?
- HIDSs give rise to more management concerns as they are configured and operated on each monitored host. It implies that the system would demand more management efforts to install, configuration, and operate a HIDS.
- A HIDS isn’t optimised for detecting multi-host scanning; neither can it report a non-host network device’s scanning, such as a router or switch. If a complex correlation analysis is not presented, the HIDS will be unaware of the attacks that traverse multiple devices within the network.
- It is prone to susceptible to certain Denial of Service (DoS) attacks.
- It uses a large amount of disk/storage space for retaining the host as audit records and functioning correctly. It may necessitate disk capacity to be supplemented to the system.
- A HIDS can administer a performance burden on the host system, and in few cases, it may lower the system’s performance below satisfactory levels.
Some of the HIDS examples are OSSEC, ManageEngine, Quadrant, Splunk, snort and others. However, newer vendors have come up with cloud options and tools, allowing worry-free log files storage and security and faster access to data. Cloud-based HIDS are an option for companies with workloads spread around AWS, Azure and other clouds.
For disclosure: the examples provided here are just for the sake of this article, we have no inclination or commercial relationship of any kind with any of these vendors.
Advanced persistent threat attack detection is usually due to added threat intelligence into host-based IDS systems known as ATP (Advanced Threat Protection). Sorry about the confusing acronyms, ATP (Advanced Threat Protection) and APT are the opposites working around the defensive and offensive sides of security. Cyber threat intelligence is the information around threats and attackers that are used to stop and prevent attacks. Threat intelligence relies on various sources pulling information from social media, human intelligence, open-source intel(OSINT), technical intelligence or deep/dark web information. See more around how digital attack surface assessment provides a point in time snapshot of their attack surface.
What is the difference between HIDS and NIDS?
HIDS vs NIDS is not another comparison to incline which one is better than the other. Both IDS are useful components that are often implemented together to add a layered approach to security management. Even though host-based intrusion detection systems are essential to ensure a reliable defence line to fight security attacks and malicious threats, they are not the sole means of guarding your assets (especially hosts). An added intrusion detection system, known as the Network-based intrusion detection systems, or NIDS, provides network-level protection targeting incoming and outgoing internet traffic.
HIDS vs NIDS
Let’s understand the difference between the two.
HIDS monitors the traffic and keeps track of any suspicious actions on the particular host (an endpoint) installed. Unlike NIDS, HIDS are more informed of incoming security attacks due to system file and integrity monitoring functionality, keeping an eye on the system files and processes targeted by attacks.
On the contrary, NIDS monitors network traffic and events. Both HIDS and NIDS operate by surveying the log files and event information generated by the system. However, NIDS also analyses packet data as and when data travels through a network. Both the kinds of intrusion detection systems are diverse as NIDS operate majorly in real-time, tracing live data for tampering signs. At the same time, HIDS analysis logged records for proof of malicious events.
Anomaly-based vs signature-based
Both IDS can be classified into two sub-categories as per their detection methods. They are:
- Anomaly-based detection
- Signature-based detection
There is no straightforward mapping among NIDS and HIDS due to inherent differences in their functionalities and target scope (host and network).
A HIDS having a signature-based strategy operates in the same direction as most antivirus arrangements, while the network IDS equivalent works like a firewall. Meaning, it searches for a pattern in the data. However, firewall checks for keywords, packet varieties, and protocol activities on the incoming and outgoing network traffic. A NIDS makes the same reviews on network traffic coming in/out of the organisation. An antivirus application looks for a specific bit pattern or keyword in program files, while a HIDS performs the same for audit trails and log files.
An anomaly would look for surprising or sudden behaviour shown by a user or process. For instance, a user trying to log into the network from different parts of the world in one day. Another example is a server’s processor, abruptly starting to work hard at 3:00 AM. An anomaly-based HIDS will scan through the log files for reports of such extreme activities; an anomaly-based NIDS will attempt to detect these abnormalities as they take place.
A reliable security programme should include both-HIDS and NIDS, as both of them function together and show excellent results when they are complimenting. Before buying Host-based IDS, it is important to check the availability for different requirements such as compatibility with Windows and Linux OS (if in use within your environment), network and log management capabilities and integrations with other security assets in your company. Another factor would be functionalities and reporting structures available for various compliance requirements. Mostly these are related to PCI DSS, HIPAA (US federal statute), ISO standards, GPG13 (UK), GDPR, GLBA, FISMA, etc.
NIDS allows a speedier response time over possible security perils because real-time packet data monitoring may trigger signals if any suspicious activity takes place at the network level. HIDS will enable you to analyse past data for patterns of activities on the hosts, which is beneficial for savvy hackers who usually modify their method of intrusion to be further inconsistent and unpredictable so that the activity pattern is not easily traced.
Holding the record of activities enables you to monitor suspicious behaviours from a broader view, providing you with the capabilities to recognise patterns that may not trigger signals in the real-time detection system. Utilising both kinds of intrusion detection systems together will help in keeping your information guarded against various angles.
Discuss your concerns today
HIDS vs HIPS
A Host Intrusion Prevention System (HIPS) is more recent than HIDS. The foremost distinction is that HIPS can help towards detection and protection against malicious threats. For instance, a HIPS deployment can recognise the host getting port-scanned and blocking all traffic from the host who issues the scan. A HIPS usually functions at the lower level with access to the kernel, and network status, record files, memories, and the practical execution of the procedure. Besides, a HIPS also guards against buffer overflow vulnerabilities.
The beneficial aspect of intrusion prevention is that it prevents an attack without waiting for the security team’s instructions or response plan. A HIPS is usually both- anomaly and signature-based.
In our fantasy world, the only people having access to your network and underlying hosts are the ones we know and trust completely. Providing access to a vendor and client that adds value to your enterprise will be commonplace. Sadly, the unfortunate reality is that malicious actors worldwide are continually attempting an intrusion in various ways utilising different attack vectors such as insider threats, exploitation of device and software vulnerabilities on a server.
Utilising Cyphere’s managed services is one way to minimise costs and maximise efficiency. Our team ensures we are validating the HIDS controls and configuration against identifying multiple threats such as :
- Privilege escalation attempts
- Installation of new applications or changes to the existing ones
- Unauthorised login and access control violations
- File and data integrity changes
- Rogue processes
A business must guard its environments against such threats to detect and eradicate the possibilities of attempted intrusion. Risk can be either mitigated, transferred or accepted. Host IDS helps with alerts transmitted to security teams to analyse and work on the response and recovery phases.
Get in touch to discuss your security concerns or free advice sessions in your environment context.