Reads pre-shaped session aggregates from TaggerEvent.payload and emits techniques per Appendix A behavior tables. Per-rule predicates dispatch on match.kind (lifter:behavioral_<name>); the lifter holds its own RuleIndex watching the same RuleStore as the engine, so disable / clip / TTL state reaches lifter-bound rules through the same atomic-swap path. R0032/R0036/R0037/R0040 YAMLs had over-escaped regex strings (\\ instead of \\) — fixed in place. Factory wired so default get_tagger() returns CompositeTagger with BehavioralLifter shipped; remaining three lifters (E.3.10-E.3.12) land in subsequent commits. E.2.6 contract preserved via TolerantTagger: empty payload steady-state yields [] with zero ERROR records. Disabled / clipped / expired state verified.
24 lines
529 B
YAML
24 lines
529 B
YAML
rule_id: R0040
|
|
rule_version: 1
|
|
name: tftp_router_config_retrieval
|
|
description: |
|
|
TFTP RRQ for a router-config-shaped filename (*-confg, *.cfg,
|
|
startup-config, running-config). Per Appendix A.4.
|
|
applies_to:
|
|
- session
|
|
match:
|
|
kind: lifter:behavioral_tftp_router_config
|
|
filename_patterns:
|
|
- '.*-confg$'
|
|
- '.*\.cfg$'
|
|
- 'startup-config'
|
|
- 'running-config'
|
|
emits:
|
|
- tactic: TA0009
|
|
technique_id: T1602
|
|
sub_technique_id: T1602.002
|
|
confidence: 0.9
|
|
evidence_fields:
|
|
- tftp_filename
|
|
- source_host
|