10 YAMLs for the behavioral / cross-event cohort per Appendix B: beaconing, data destruction, ransom note, web exfil, DB mass-read, credentials-in-files, k8s SA token harvest, Docker host escape, LLMNR poisoning, TFTP router-config retrieval. Every rule is lifter-bound (BehavioralLifter / IdentityLifter) — the v0 RuleEngine cannot count, aggregate, or compose cross-event signals, so these YAMLs declare the technique mappings the lifter will consume by rule_id at E.3.9. Their match specs use a 'kind: lifter:*' shape inert to the regex matcher. test_behavioral_rules.py asserts each YAML compiles, none fire from the v0 engine (FP regression guard against a YAML drifting into a regex), and an xfail(strict=True, reason='impl phase E.3.9') precision case that will flip green when the lifter lands.
22 lines
491 B
YAML
22 lines
491 B
YAML
rule_id: R0034
|
|
rule_version: 1
|
|
name: exfil_over_web
|
|
description: |
|
|
Outbound data exfil to a web service (POST with large body /
|
|
Content-Length, or many GETs encoding payload in path). Read
|
|
from session aggregates, not single requests.
|
|
applies_to:
|
|
- session
|
|
match:
|
|
kind: lifter:exfil_over_web
|
|
min_payload_bytes: 1048576
|
|
request_threshold: 50
|
|
emits:
|
|
- tactic: TA0010
|
|
technique_id: T1567
|
|
confidence: 0.85
|
|
evidence_fields:
|
|
- bytes_out
|
|
- request_count
|
|
- target_host
|