Detection rules › Panther
AWS Trusted IPSet Modified
Detects creation and updates of the list of trusted IPs used by GuardDuty and WAF. Potentially to disable security alerts against malicious IPs.
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Stealth | T1562 Impair Defenses |
Rules detecting the same action
Other rules on this platform that filter on the same API call or operation.
- AWS GuardDuty Important Change (Sigma)
Rule body yaml
AnalysisType: rule
Description: "Detects creation and updates of the list of trusted IPs used by GuardDuty and WAF. Potentially to disable security alerts against malicious IPs."
DisplayName: "AWS Trusted IPSet Modified"
Enabled: true
Filename: aws_ipset_modified.py
Reports:
MITRE ATT&CK:
- TA0005:T1562
Reference: https://docs.aws.amazon.com/managedservices/latest/ctref/management-monitoring-guardduty-ip-set-update-review-required.html
Severity: High
Tests:
- ExpectedResult: true
Log:
awsregion: us-east-1
eventid: abc-123
eventname: CreateIPSet
eventsource: guardduty.amazonaws.com
eventtime: "2022-07-17 04:50:23"
eventtype: AwsApiCall
eventversion: "1.08"
p_any_aws_instance_ids:
- testinstanceid
p_event_time: "2022-07-17 04:50:23"
p_log_type: AWS.CloudTrail
p_parse_time: "2022-07-17 04:55:11.788"
recipientAccountId: "123456789012"
Name: CreateIPSet Event
- ExpectedResult: true
Log:
awsregion: us-east-1
eventid: abc-123
eventname: CreateIPSet
eventsource: guardduty.amazonaws.com
eventtime: "2022-07-17 04:50:23"
eventtype: AwsApiCall
eventversion: "1.08"
p_any_aws_instance_ids:
- testinstanceid
p_event_time: "2022-07-17 04:50:23"
p_log_type: AWS.CloudTrail
p_parse_time: "2022-07-17 04:55:11.788"
recipientAccountId: "123456789012"
Name: UpdateIPSet
- ExpectedResult: false
Log:
awsregion: us-east-1
eventid: abc-123
eventname: ModifyInstanceAttributes
eventsource: guardduty.amazonaws.com
eventtime: "2022-07-17 04:50:23"
eventtype: AwsApiCall
eventversion: "1.08"
p_any_aws_instance_ids:
- testinstanceid
p_event_time: "2022-07-17 04:50:23"
p_log_type: AWS.CloudTrail
p_parse_time: "2022-07-17 04:55:11.788"
recipientAccountId: "123456789012"
Name: NotIPSet
DedupPeriodMinutes: 60
LogTypes:
- AWS.CloudTrail
RuleID: "AWS.IPSet.Modified"
Threshold: 1
Detection logic
Condition
eventSource eq "guardduty.amazonaws.com" or eventSource eq "wafv2.amazonaws.com"
eventName in ["CreateIPSet", "UpdateIPSet"]
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 |
|---|---|---|
eventName | in |
|
eventSource | eq |
|
Output fields
Fields the rule emits when it matches. Chronicle authors list these in the outcome block; they appear on the detection and $risk_score drives alerting. Sentinel / Defender XDR rules build them up through project / summarize / extend stages. Sentinel maps these into alert fields via entityMappings and customDetails; Defender XDR custom detections surface them as alert fields directly.
| Field |
|---|
eventName |
eventSource |
awsRegion |
recipientAccountId |
sourceIPAddress |
userAgent |
userIdentity |