Detection rules › Splunk
Internal Vulnerability Scan
This analytic detects internal hosts triggering multiple IDS signatures, which may include either more than 25 signatures against a single host or a single signature across over 25 destination IP addresses. Such patterns can indicate active vulnerability scanning activities within the network. By monitoring IDS logs, this detection helps identify and respond to potential vulnerability scanning attempts, enhancing the network's security posture and preventing potential exploits.
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Reconnaissance | T1595.002 Active Scanning: Vulnerability Scanning |
| Discovery | T1046 Network Service Discovery |
Rule body splunk
name: Internal Vulnerability Scan
id: 46f946ed-1c78-4e96-9906-c7a4be15e39b
version: 8
creation_date: '2024-07-01'
modification_date: '2026-05-13'
author: Dean Luxton
status: experimental
type: TTP
description: This analytic detects internal hosts triggering multiple IDS signatures, which may include either more than 25 signatures against a single host or a single signature across over 25 destination IP addresses. Such patterns can indicate active vulnerability scanning activities within the network. By monitoring IDS logs, this detection helps identify and respond to potential vulnerability scanning attempts, enhancing the network's security posture and preventing potential exploits.
data_source: []
search: |-
| tstats `security_content_summariesonly` values(IDS_Attacks.action) as action values(IDS_Attacks.src_category) as src_category values(IDS_Attacks.dest_category) as dest_category count FROM datamodel=Intrusion_Detection.IDS_Attacks
WHERE IDS_Attacks.src IN (10.0.0.0/8,192.168.0.0/16,172.16.0.0/12) IDS_Attacks.severity IN (critical, high, medium)
BY IDS_Attacks.src IDS_Attacks.severity IDS_Attacks.signature
IDS_Attacks.dest IDS_Attacks.dest_port IDS_Attacks.transport
span=1s _time
| `drop_dm_object_name("IDS_Attacks")`
| eval gtime=_time
| bin span=1h gtime
| eventstats count as sevCount
BY severity src
| eventstats count as sigCount
BY signature src
| eval severity=severity +"("+sevCount+")"
| eval signature=signature +"("+sigCount+")"
| eval dest_port=transport + "/" + dest_port
| stats min(_time) as _time values(action) as action dc(dest) as destCount dc(signature) as sigCount values(signature) values(src_category) as src_category values(dest_category) as dest_category values(severity) as severity values(dest_port) as dest_ports
BY src gtime
| fields - gtime
| where destCount>25 OR sigCount>25
| `internal_vulnerability_scan_filter`
how_to_implement: For this detection to function effectively, it is essential to ingest IDS/IPS logs that are mapped to the Common Information Model (CIM). These logs provide the necessary security-related telemetry and contextual information needed to accurately identify and analyze potential threats.
known_false_positives: Internal vulnerability scanners will trigger this detection.
references: []
finding:
title: Large volume of IDS signatures triggered by $src$
entity:
field: src
type: system
score: 50
analytic_story:
- Network Discovery
- Scattered Lapsus$ Hunters
asset_type: Endpoint
mitre_attack_id:
- T1595.002
- T1046
product:
- Splunk Enterprise
- Splunk Enterprise Security
- Splunk Cloud
category: network
security_domain: network
Stages and Predicates
Stage 1: tstats
| tstats `security_content_summariesonly` values(IDS_Attacks.action) as action values(IDS_Attacks.src_category) as src_category values(IDS_Attacks.dest_category) as dest_category count FROM datamodel=Intrusion_Detection.IDS_Attacks
WHERE IDS_Attacks.src IN (10.0.0.0/8,192.168.0.0/16,172.16.0.0/12) IDS_Attacks.severity IN (critical, high, medium)
BY IDS_Attacks.src IDS_Attacks.severity IDS_Attacks.signature
IDS_Attacks.dest IDS_Attacks.dest_port IDS_Attacks.transport
span=1s _time
Stage 2: search
| `drop_dm_object_name("IDS_Attacks")`
Stage 3: eval
| eval gtime=_time
Stage 4: bucket
| bin span=1h gtime
Stage 5: eventstats
| eventstats count as sevCount
BY severity src
Stage 6: eventstats
| eventstats count as sigCount
BY signature src
Stage 7: eval
| eval severity=severity +"("+sevCount+")"
Stage 8: eval
| eval signature=signature +"("+sigCount+")"
Stage 9: eval
| eval dest_port=transport + "/" + dest_port
Stage 10: stats
| stats min(_time) as _time values(action) as action dc(dest) as destCount dc(signature) as sigCount values(signature) values(src_category) as src_category values(dest_category) as dest_category values(severity) as severity values(dest_port) as dest_ports
BY src gtime
Stage 11: fields
| fields - gtime
Stage 12: where
| where destCount>25 OR sigCount>25
Stage 13: search
| `internal_vulnerability_scan_filter`
Indicators
Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.
| Field | Kind | Values |
|---|---|---|
IDS_Attacks.severity | in |
|
IDS_Attacks.src | in |
|
destCount | gt |
|
sigCount | gt |
|