
Summary
This detection rule identifies successful logons to a Windows system via the SMB protocol (EventID 4624) originating from public IP addresses, indicating a possible security risk due to publicly-exposed SMB ports. The logon type being monitored is 3, which represents a network logon. It excludes logons from local and commonly used private IP address ranges (defined by filter_main_local_ranges) and recognizes any occurrences of anonymous or unauthorized logon attempts via the SMB service. Given the risk associated with exposing SMB to the internet, alerts generated by this rule should be investigated promptly to prevent unauthorized access to sensitive resources. False positives may occur from legitimate remote connections originating from the internet; thus, context should be taken into consideration during incident response.
Categories
- Network
- Endpoint
- Windows
Data Sources
- Windows Registry
- Logon Session
- Application Log
Created: 2023-01-19