Skip to content

Commit 6250b70

Browse files
committed
nit IG format changes
1 parent fa712eb commit 6250b70

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

rules/integrations/aws/initial_access_iam_session_token_used_from_multiple_addresses.toml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ note = """## Triage and Analysis
3535
3636
Access tokens are bound to a single user. Usage from multiple IP addresses may indicate the token was stolen and used elsewhere. By correlating this with additional detection criteria like multiple user agents, different cities, and different networks, we can improve the fidelity of the rule and help to eliminate false positives associated with expected behavior, like dual-stack IPV4/IPV6 usage.
3737
38-
#### Possible Investigation Steps
38+
#### Possible investigation steps
3939
4040
- **Identify the IAM User**: Examine the `aws.cloudtrail.user_identity.arn` stored in `user_id` and correlate with the `source.ips` stored in `ip_list` and `unique_ips` count to determine how widely the token was used.
4141
- **Correlate Additional Detection Context**: Examine `activity_type` and `fidelity_score` to determine additional cities, networks or user agents associated with the token usage.
@@ -44,18 +44,18 @@ Access tokens are bound to a single user. Usage from multiple IP addresses may i
4444
- **Review Workload Context**: Confirm whether the user was expected to be active across multiple cities, networks or user agent environments.
4545
- **Trace Adversary Movement**: Pivot to related actions (e.g., `s3:ListBuckets`, `iam:ListUsers`, `sts:GetCallerIdentity`) to track further enumeration.
4646
47-
### False Positive Analysis
47+
### False positive analysis
4848
4949
- Automation frameworks that rotate through multiple IPs or cloud functions with dynamic egress IPs may cause this alert to fire.
5050
- Confirm geolocation and workload context before escalating.
5151
52-
### Response and Remediation
52+
### Response and remediation
5353
5454
- **Revoke the Token**: Disable or rotate the IAM credentials and invalidate the temporary session token.
5555
- **Audit the Environment**: Look for signs of lateral movement or data access during the token's validity.
5656
- **Strengthen Controls**: Require MFA for high-privilege actions, restrict access via policy conditions (e.g., IP range or device).
5757
58-
### References
58+
### Additional information
5959
6060
- [IAM Long-Term Credentials](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html)
6161
- [STS Temporary Credentials](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp.html)
@@ -182,6 +182,11 @@ from logs-aws.cloudtrail* metadata _id, _version, _index
182182
Esql.data_stream_namespace_values
183183
184184
| where Esql.activity_fidelity_score == "high"
185+
186+
// this rule only alerts for "high" fidelity cases, to broaden the rule scope to include all activity
187+
// change the final condition to
188+
// | where Esql.activity_type != "normal_activity"
189+
185190
'''
186191

187192
[rule.investigation_fields]

0 commit comments

Comments
 (0)