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.

fix(detections): match procdump64.exe in the ProcDump-vs-lsass rule (#1251)

antigravitysoham-engb7e844628fc5
diff --git a/apps/web/public/marketplace/index.json b/apps/web/public/marketplace/index.json
index d85ef41a6..fa60978cf 100644
--- a/apps/web/public/marketplace/index.json
+++ b/apps/web/public/marketplace/index.json
@@ -1,7 +1,7 @@
{
"$schema": "https://example.com/schemas/marketplace/v1.json",
"version": "1.0.0",
- "generated": "2026-10-09T04:33:06Z",
+ "generated": "2026-10-10T01:22:53Z",
"categories": [
{
"id": "playbooks",
@@ -41304,7 +41304,7 @@
"enabled": true,
"executable": true,
"path": "detections/endpoint/win-procdump-lsass.yaml",
- "sha256": "f9ce8c1905639e2ff6d9bf888ebdb43d4ce90002da394b87970ebd8c6c1f48ed"
+ "sha256": "74a2adaebcfc8c6c1998621e2e2b93abfc12ece6d578b75695b1573c880b2ee0"
},
{
"id": "det-endpoint-092",
diff --git a/detections/endpoint/win-procdump-lsass.yaml b/detections/endpoint/win-procdump-lsass.yaml
index e497da33b..c3ffca701 100644
--- a/detections/endpoint/win-procdump-lsass.yaml
+++ b/detections/endpoint/win-procdump-lsass.yaml
@@ -14,7 +14,7 @@ log_source:
detection:
condition: |
event_id == 1
- AND process_name ENDSWITH "procdump.exe"
+ AND process_name ENDSWITH_ANY ["procdump.exe", "procdump64.exe", "procdump64a.exe"]
AND process_command_line CONTAINS_ANY ["lsass", "-ma lsass"]
false_positives:
- DFIR responder running a documented playbook
diff --git a/marketplace/index.json b/marketplace/index.json
index d85ef41a6..fa60978cf 100644
--- a/marketplace/index.json
+++ b/marketplace/index.json
@@ -1,7 +1,7 @@
{
"$schema": "https://example.com/schemas/marketplace/v1.json",
"version": "1.0.0",
- "generated": "2026-10-09T04:33:06Z",
+ "generated": "2026-10-10T01:22:53Z",
"categories": [
{
"id": "playbooks",
@@ -41304,7 +41304,7 @@
"enabled": true,
"executable": true,
"path": "detections/endpoint/win-procdump-lsass.yaml",
- "sha256": "f9ce8c1905639e2ff6d9bf888ebdb43d4ce90002da394b87970ebd8c6c1f48ed"
+ "sha256": "74a2adaebcfc8c6c1998621e2e2b93abfc12ece6d578b75695b1573c880b2ee0"
},
{
"id": "det-endpoint-092",
diff --git a/scripts/detection_specs_part3_endpoint.py b/scripts/detection_specs_part3_endpoint.py
index 028dccfb5..9f7095c8a 100644
--- a/scripts/detection_specs_part3_endpoint.py
+++ b/scripts/detection_specs_part3_endpoint.py
@@ -625,7 +625,11 @@ WINDOWS_RULES: list[dict] = [
mitre=["t1003.001"],
product="windows",
service="sysmon",
- when={"event_id": 1, "process_name_endswith": "procdump.exe", "process_command_line_contains_any": ["lsass", "-ma lsass"]},
+ when={
+ "event_id": 1,
+ "process_name_endswith_any": ["procdump.exe", "procdump64.exe", "procdump64a.exe"],
+ "process_command_line_contains_any": ["lsass", "-ma lsass"],
+ },
fp=[FP_FORENSIC, "Microsoft support memory capture"],
playbook="tpl-credential-access",
),
diff --git a/services/api/app/data/marketplace/index.json b/services/api/app/data/marketplace/index.json
index d85ef41a6..fa60978cf 100644
--- a/services/api/app/data/marketplace/index.json
+++ b/services/api/app/data/marketplace/index.json
@@ -1,7 +1,7 @@
{
"$schema": "https://example.com/schemas/marketplace/v1.json",
"version": "1.0.0",
- "generated": "2026-10-09T04:33:06Z",
+ "generated": "2026-10-10T01:22:53Z",
"categories": [
{
"id": "playbooks",
@@ -41304,7 +41304,7 @@
"enabled": true,
"executable": true,
"path": "detections/endpoint/win-procdump-lsass.yaml",
- "sha256": "f9ce8c1905639e2ff6d9bf888ebdb43d4ce90002da394b87970ebd8c6c1f48ed"
+ "sha256": "74a2adaebcfc8c6c1998621e2e2b93abfc12ece6d578b75695b1573c880b2ee0"
},
{
"id": "det-endpoint-092",
diff --git a/services/fusion/app/data/detection_ruleset.json b/services/fusion/app/data/detection_ruleset.json
index e04a070ac..817b2b8d1 100644
--- a/services/fusion/app/data/detection_ruleset.json
+++ b/services/fusion/app/data/detection_ruleset.json
@@ -6222,7 +6222,11 @@
"lsass",
"-ma lsass"
],
- "process_name_endswith": "procdump.exe"
+ "process_name_endswith_any": [
+ "procdump.exe",
+ "procdump64.exe",
+ "procdump64a.exe"
+ ]
},
"mitre": [
"T1003.001"
diff --git a/services/fusion/tests/test_detection_engine.py b/services/fusion/tests/test_detection_engine.py
index 708f3a333..c7501768a 100644
--- a/services/fusion/tests/test_detection_engine.py
+++ b/services/fusion/tests/test_detection_engine.py
@@ -120,3 +120,29 @@ def test_falls_back_to_ocsf_when_no_raw_data():
def test_real_ruleset_loads_and_is_nonempty():
eng = DetectionEngine()
assert eng.rule_count > 500 # the exported corpus (~817)
+
+
+# ProcDump ships a 64-bit binary, procdump64.exe, that is the default on x64
+# Windows, and an ARM64 one, procdump64a.exe. The curated rule matched only
+# procdump.exe, so `procdump64.exe -ma lsass.exe` fired imported Sigma rules
+# at "high" but never this critical one.
+import pytest # noqa: E402
+
+
[email protected]("binary", ["procdump.exe", "procdump64.exe", "procdump64a.exe"])
+def test_procdump_lsass_rule_fires_for_every_procdump_binary(binary):
+ eng = DetectionEngine()
+ msg = _msg(
+ {"event_id": 1, "process_name": binary, "process_command_line": f"{binary} -accepteula -ma lsass.exe C:\\t\\l.dmp"},
+ product="sysmon",
+ )
+ assert any(h.rule_id == "det-endpoint-091" for h in eng.evaluate(msg))
+
+
+def test_procdump_rule_ignores_a_dump_of_another_process():
+ eng = DetectionEngine()
+ msg = _msg(
+ {"event_id": 1, "process_name": "procdump64.exe", "process_command_line": "procdump64.exe -ma notepad.exe"},
+ product="sysmon",
+ )
+ assert all(h.rule_id != "det-endpoint-091" for h in eng.evaluate(msg))