Intrusion
The running theme for this page is FOSS. I am a broke college student and my tooling definitely reflects that. Regardless, these are all amazing (enterprise ready) tools.
OSSEC (Open Source Security)
OSSEC is a free and open source endpoint security monitoring. This is the building block for a lot of open source security solutions such as Wazuh. There are few good reasons not to use OSSEC for endpoint management. Its one of the best FOSS HIDs. OSSEC has great support for the following features:
Real time alerts
Multi-platform agents
Log monitoring
rootkit detection
active response
file integrity checks
centralized management
OSSEC Rule Creation
Good resources for learning how to create OSSEC rules:
Custom rules are stored in: /var/ossec/rules/local_rules.xml
Custom decoders are stored in:
/var/ossec/etc/local_decoder.xml
Wazuh
Wazuh is an Free and Open Source Security Information and Event Management and Extended Detection and Response software that leverages the Open Source Security Host based Intrusion Detection Software for endpoint security. Or for short, its a FOSS SIEM XDR using the OSSEC HIDS.
Download and install the manager manager:
Download Debian agent:
Wazuh Docs Quick-guide
Manage Rules:
management > Administration > Rules
Manage Decoders:
management > Administration > Decoders
Dark mode URI:
/app/management/opensearch-dashboards/settings
ClamAV Wazuh Integration
Use
clamd
andclamdscan
rather thanclamscan
since the log parsing between the two differ. Usingclamd
will allow Wazuh to more easily digest logs since the decoder looks for theclamd
daemon.Malware trigger sample string located at eicar(actual string not listed to prevent my AV from triggering)
Get Wazuh to integrate with ClamAV by setting
LogSyslog true
at/etc/clamav/clamd.conf
. Wazuh already reads fromsyslog
so no further work will be required.If you don't want to use
syslog
for whatever reason, you can change ClamAV's default log location (/var/log/clamav/freshclam.log
) by modifying OSSEC config file (/var/ossec/etc/ossec.conf
) to include:
Suricata
Suricata is a Free and Open Source Thread Detection Engine combines network based IPS and IDS Developed by the Open Information Security Foundation. PFSense has support for suricata through a plugin.
Snort
Snort is a Free and Open Source Network based Intrusion Prevention system. This tool is amazing at sniffing packets and digesting logs. The tool is maintained by the Cisco Talos and the snort engine pairs well with the ELK stack.
Imma go pig wild.
o")~
Make snort rules: http://www.cyb3rs3c.net/
Last updated