Hi @Theo,
IPS collects statistics on how many inactive ports were accessed during a given time. For example, if IPS detects a client attempting to access a hundred different inactive ports within a 30 second time frame, IPS will recognize this behavior as a port scan attack. It will then log the event, or notify you (depending on the Action you select in this page).
Enable IPS protection "Host Port Scan" to detect port scan on R80.X:
1) In SmartConsole under Security Policy tab, go to the Threat Prevention rule base.
2) On the bottom go to Threat Tool and choose IPS protection.
3) Go to the Search bar and look for Host Port Scan.
4) Edit the protection and choose the right Profile of the Firewall
5) Edit the profile and set the Logging setting from Log to User Alert according to the User Alert configured in the General Properties.
Configure an automatic SAM rule to close the port scanning connections:
1) In SmartDashboard/SmartConsole, go to Policy menu - click on Global Properties...
2) Expand Log and Alerts - click on Alerts
3) Check the box Run UserDefined script (under Send user defined alert no.1 to SmartView Monitor)
4) Add an automatic SAM rule:
sam_alert -t 120 -I -src
This will set an automatic SAM rule (for all Security Gateways managed by this Security Management Server / Domain Management Server) with the Source IP address of the host that caused a hit on the IPS protection "Host Port Scan" during 120 seconds.
5) Click on OK to apply the changes
Now configure the Security Gateways to send Alerts and install policy:
1) Configure the Security Gateways to send Alerts to the Security Management Server / Multi-Domain Management server per sk114630.
2) Install policy on all managed Security Gateways.
3) Connect with SmartView Monitor to Security Management Server / Domain Management Server - go to Tools menu - click on Alerts....
➜ CCSM Elite, CCME, CCTE ➜ www.checkpoint.tips