{"id":1014,"date":"2008-09-17T04:55:04","date_gmt":"2008-09-17T04:55:04","guid":{"rendered":"https:\/\/www.darknet.org.uk\/?p=1014"},"modified":"2015-09-09T19:39:17","modified_gmt":"2015-09-09T11:39:17","slug":"psad-intrusion-detection-and-log-analysis-with-iptables","status":"publish","type":"post","link":"https:\/\/www.darknet.org.uk\/2008\/09\/psad-intrusion-detection-and-log-analysis-with-iptables\/","title":{"rendered":"psad – Intrusion Detection and Log Analysis with iptables"},"content":{"rendered":"

[ad]<\/p>\n

psad is a collection of three lightweight system daemons (two main daemons and one helper daemon) that run on Linux machines and analyze iptables log messages to detect port scans and other suspicious traffic. A typical deployment is to run psad on the iptables firewall where it has the fastest access to log data. <\/p>\n

psad incorporates many signatures from the Snort intrusion detection system to detect probes for various backdoor programs (e.g. EvilFTP, GirlFriend, SubSeven), DDoS tools (mstream, shaft), and advanced port scans (FIN, NULL, XMAS) which are easily leveraged against a machine via nmap.<\/p>\n

When combined with fwsnort and the Netfilter string match extension, psad is capable of detecting many attacks described in the Snort rule set that involve application layer data. In addition, psad makes use of various packet header fields associated with TCP SYN packets to passively fingerprint remote operating systems (in a manner similar to p0f) from which scans originate.<\/p>\n

For more information, see the complete list of features offered by psad<\/a>. <\/p>\n

psad is developed around three main principles:<\/p>\n