Intrusion Detection system (IDS)
Spot abnormal activities on your local network with the Intrusion Detection System (IDS) on Artica
The network IDS (Intrusion Detection System) is based on signature-based detection.
It analyzes network traffic to detect abnormal activity and intrusion attempts.
It is designed to monitor network traffic and detect various types of network threats and anomalies.
It is primarily used for network security monitoring and provides real-time analysis of network traffic to identify potential security issues.
In order to monitor all the devices on your network, the IDS must be able to analyze all the traffic.
Of course the Artica server can be the main gateway and analyze all traffic passing through it but this option requires resources and can slow down the network if the power is miscalculated.
To do this, the port mirroring method ensures the duplication of network packets and avoids this problem.
In this case, the network IDS will be in passive mode.
This is made possible by using a manageable switch that supports port mirroring, which duplicates the traffic of all devices and sends it to the IDS.
The IDS must be able to analyze the frames coming from all the devices on your network.
To do this, all your devices must be connected to the switch, which uses the port mirroring function to transmit all frames received from the mirrored port to the analysis port.
The Artica server on which the IDS is installed is of course connected to this "analysis port".
Starting from v4.50 with HotFix 20230719-14 or Service Pack 1, the IDS supports automatic remediation with CrowdSec
Prepare the Artica server.
Your Artica server must have 2 network interfaces, the first one is a simple network interface to access to the machine and the second network interface will be the dedicated network interface for the mirroring.
- How to turn an Artica network interface to SPAN mode ?
Then you can now turn the mirroring port on you switch or firewall ( example how to setup SPAN (Port Mirroring) on Fortigate )
- VMware ESXi Standard Switch port mirroring
Procedure for VMware ESXi Standard Switch port mirroring so that one VM (your Artica sensor) receives a copy of the traffic from another VM or an entire Port Group
- Server memory consumption
The IDS service uses memory to index and analyze network packets.
If your server lacks sufficient memory, an alert will appear on the IDS dashboard.
Update the IDS software to the latest version.
- Update the IDS software to the latest version
The IDS service hooks into the system kernel to retrieve all network packets.
To ensure that the IDS service is compatible, update to the latest version if one exists.
Install the IDS feature.
The IDS service feature can be enable using the “Features" section.
Select the Network Interface
Now it's time to specify the network interface that will be monitored by the detection engine.
- Choose Network interfaces to monitor
You can choose which network interfaces will inspect transit traffic and also specify which protocols will be analyzed.
IDS rules (Checks & updates)
- Status and configuration
Artica connects to the Internet to retrieve detection signature sets from multiple sources.
By default, the update task runs once per day (every 1,440 minutes).
- Configure detection rules.
Depending on where your IDS sits in the network (LAN, WAN, web servers, or gateways), some rules may be relevant or out of scope. You can enable rules by category or by rule group
Configuration
- Deep Packet Inspection
The advanced Layer 7 (application layer) protocol detection significantly enhances the IDS/IPS capabilities beyond traditional pattern matching
Statistics and storage
- Use queue for failed SQL queries
Artica stores IDS events in PostgreSQL.
If PostgreSQL is unavailable at the time of insertion, Artica can buffer events on disk and re-insert them later to avoid data loss.
- Send Events to Wazuh server
Installing the Wazuh agent ensures that events are properly sent to the Wazuh XDR server.
- Send Events to ElasticSearch server.
Installing the Filebeat agent ensures that events are properly sent to the ElasticSearch server.
- Send Events to Mattermost
Artica can automatically forward IDS security events to a Mattermost channel.
Once configured, every alert generated by IDS is sent in real time to the selected channel, allowing your team to monitor threats, react quickly, and maintain full visibility on network activity.