Skip to content

armgit / AiSOC

Public Imported from GitHub
0

Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.

feat(detections): AWS IAM UpdateAccessKey on a privileged principal (#375)

Utkarsh Bathamc109a36ee622
diff --git a/apps/docs/docs/detections/coverage.md b/apps/docs/docs/detections/coverage.md
index fc0505d14..ff8b9e10e 100644
--- a/apps/docs/docs/detections/coverage.md
+++ b/apps/docs/docs/detections/coverage.md
@@ -11,13 +11,13 @@ sidebar_position: 2
# Detection Coverage
-Generated: `2026-05-14T12:28:25Z`
+Generated: `2026-07-06T01:46:29Z`
## Headline numbers
- **Curated v1.0 detections**: `416` (target: ≥ 300)
-- **Total rules considered**: `1052` (quality floor: 0.55)
-- **Unique MITRE techniques covered**: `118`
+- **Total rules considered**: `1053` (quality floor: 0.55)
+- **Unique MITRE techniques covered**: `117`
## Coverage by buyer family
@@ -50,10 +50,10 @@ Generated: `2026-05-14T12:28:25Z`
- `_migrated`: 1
- `application`: 29
-- `cloud`: 164
+- `cloud`: 165
- `data-exfil`: 20
- `endpoint`: 117
-- `identity`: 73
+- `identity`: 72
- `network`: 12
## How to audit
diff --git a/detections/cloud/aws-iam-update-access-key-privileged.yaml b/detections/cloud/aws-iam-update-access-key-privileged.yaml
new file mode 100644
index 000000000..efb974ead
--- /dev/null
+++ b/detections/cloud/aws-iam-update-access-key-privileged.yaml
@@ -0,0 +1,24 @@
+id: det-cloud-226
+name: AWS IAM UpdateAccessKey On Privileged Principal
+description: AiSOC v1 curated detection. Triggers on the cloud signal described by 'AWS IAM UpdateAccessKey
+ On Privileged Principal'. Watch the 1 documented false-positive case before tuning.
+version: 1.0.0
+severity: high
+tags:
+- mitre.attack.t1098.001
+- tlp.white
+category: cloud
+log_source:
+ product: aws
+ service: iam
+detection:
+ condition: |
+ event_name == "UpdateAccessKey"
+ AND target_user_role IN ["admin", "privileged"]
+false_positives:
+- Scheduled credential rotation runbook (must be linked)
+playbook: tpl-persistence
+enabled: true
+author: AiSOC
+created: '2026-07-04'
+modified: '2026-07-04'
diff --git a/detections/fixtures/negative/aws-iam-update-access-key-privileged.json b/detections/fixtures/negative/aws-iam-update-access-key-privileged.json
new file mode 100644
index 000000000..d62e9beda
--- /dev/null
+++ b/detections/fixtures/negative/aws-iam-update-access-key-privileged.json
@@ -0,0 +1,4 @@
+{
+ "event_name": "UpdateAccessKey",
+ "target_user_role": "standard-user"
+}
diff --git a/detections/fixtures/positive/aws-iam-update-access-key-privileged.json b/detections/fixtures/positive/aws-iam-update-access-key-privileged.json
new file mode 100644
index 000000000..2aaecdd99
--- /dev/null
+++ b/detections/fixtures/positive/aws-iam-update-access-key-privileged.json
@@ -0,0 +1,4 @@
+{
+ "event_name": "UpdateAccessKey",
+ "target_user_role": "admin"
+}
diff --git a/marketplace/curated.json b/marketplace/curated.json
index 8fd41e35b..dc74c828c 100644
--- a/marketplace/curated.json
+++ b/marketplace/curated.json
@@ -1,15 +1,15 @@
{
"$schema": "https://aisoc.example.com/schemas/curated/v1.json",
"version": "1.0.0",
- "generated": "2026-05-14T12:28:25Z",
+ "generated": "2026-07-06T01:46:29Z",
"stats": {
- "considered": 1052,
- "eligible": 1048,
+ "considered": 1053,
+ "eligible": 1049,
"selected": 416,
"min_per_family": 25,
"min_total": 300,
"quality_floor": 0.55,
- "unique_techniques": 118,
+ "unique_techniques": 117,
"selected_by_tier": {
"imported": 42,
"native": 374
@@ -23,10 +23,10 @@
"selected_by_category": {
"_migrated": 1,
"application": 29,
- "cloud": 164,
+ "cloud": 165,
"data-exfil": 20,
"endpoint": 117,
- "identity": 73,
+ "identity": 72,
"network": 12
}
},
@@ -434,6 +434,7 @@
"det-cloud-208",
"det-cloud-209",
"det-cloud-213",
+ "det-cloud-226",
"det-endpoint-026",
"det-endpoint-027",
"det-endpoint-141",
@@ -457,7 +458,6 @@
"det-identity-003",
"det-identity-004",
"det-identity-006",
- "det-identity-008",
"det-identity-009",
"det-identity-020",
"det-identity-021",
@@ -656,7 +656,7 @@
"T1087": 1,
"T1087.004": 1,
"T1098": 16,
- "T1098.001": 13,
+ "T1098.001": 14,
"T1098.003": 7,
"T1098.004": 6,
"T1098.007": 1,
@@ -728,8 +728,7 @@
"T1609": 1,
"T1610": 11,
"T1611": 24,
- "T1612": 1,
- "T1621": 1
+ "T1612": 1
},
"items": [
{
@@ -5717,6 +5716,32 @@
"log_source_product": "m365",
"has_executable_body": true
},
+ {
+ "id": "det-cloud-226",
+ "name": "AWS IAM UpdateAccessKey On Privileged Principal",
+ "path": "detections/cloud/aws-iam-update-access-key-privileged.yaml",
+ "tier": "native",
+ "source": "core",
+ "category": "cloud",
+ "severity": "high",
+ "mitre_techniques": [
+ "T1098.001"
+ ],
+ "mitre_tactics": [],
+ "families": [
+ "cloud",
+ "identity"
+ ],
+ "quality_score": 0.977,
+ "quality_notes": [
+ "tier:native(+0.5)",
+ "mitre_techniques:1(+0.2)",
+ "severity:high(+0.128)",
+ "executable(+0.15)"
+ ],
+ "log_source_product": "aws",
+ "has_executable_body": true
+ },
{
"id": "det-data-exfil-001",
"name": "Large Outbound Transfer to Personal Cloud Storage",
@@ -8333,32 +8358,6 @@
"log_source_product": "okta",
"has_executable_body": true
},
- {
- "id": "det-identity-008",
- "name": "MFA Push Bombing (MFA Fatigue)",
- "path": "detections/identity/mfa-fatigue.yaml",
- "tier": "native",
- "source": "core",
- "category": "identity",
- "severity": "high",
- "mitre_techniques": [
- "T1621"
- ],
- "mitre_tactics": [],
- "families": [
- "cloud",
- "identity"
- ],
- "quality_score": 0.977,
- "quality_notes": [
- "tier:native(+0.5)",
- "mitre_techniques:1(+0.2)",
- "severity:high(+0.128)",
- "executable(+0.15)"
- ],
- "log_source_product": "okta",
- "has_executable_body": true
- },
{
"id": "det-identity-009",
"name": "MFA Requirement Removed from User Policy",