netsec-scan: three-tick web-port gate (2 still leaked ~2 lines per CI build)
Measured on the 00:40 run: a second-tick gate cut a 21-line CDN burst to 2 lines, still noise for a channel whose whole value is being quiet. A beacon/exfil destination persists for hours (rule 8 catches periodicity at >=20 conns/2h), a CDN endpoint used by one job does not survive 15 minutes. Stated cost documented in config + README.
This commit is contained in:
parent
b595d21bec
commit
f4001d589e
3 changed files with 44 additions and 28 deletions
19
README.md
19
README.md
|
|
@ -94,14 +94,17 @@ destination (`…/dropped` in the entity, HIGH): a pod trying to reach a new hos
|
|||
and being refused is a stronger signal than one that succeeded, and collapsing
|
||||
them would hide it behind the forwarded tuple's fingerprint.
|
||||
|
||||
Rule 7 also keeps **web-port novelty** (80/443/8080/8443) on a second-tick gate:
|
||||
a first-seen web destination is only worth a line once it appears in **two**
|
||||
distinct ticks. Measured 2026-11-27: one CI run produced 20 one-shot AWS/GitHub
|
||||
CDN destinations inside a single 5-minute window, which is a 20-line message and
|
||||
exactly how a channel gets muted. CDN rotation is one-shot by nature; a beacon or
|
||||
an exfil destination is retried, so it still fires — a tick later. Non-web ports
|
||||
and any `DROPPED` verdict alert on first sight, and a `DROPPED` web-port tuple is
|
||||
HIGH. Rationale and the two-tick evidence live in `config.EGRESS_WEB_MIN_TICKS`.
|
||||
Rule 7 also keeps **web-port novelty** (80/443/8080/8443) on a **three-tick
|
||||
(~15 min) persistence gate**: a first-seen web destination is only worth a line
|
||||
once it appears in three distinct ticks. Measured 2026-11-27: one CI run
|
||||
produced 20 one-shot AWS/GitHub CDN destinations inside a single 5-minute window
|
||||
(a 20-line message) and a two-tick gate still let ~2 per build through. CDN
|
||||
rotation is one-shot or short-lived; a beacon or an exfil destination persists.
|
||||
**Stated cost**: a smash-and-grab that contacts a brand-new host twice and stops
|
||||
is not alerted on 80/443/8080/8443 — it is on any other port and on any
|
||||
`DROPPED` verdict, and periodic C2 is rule 8's job (`beacon-shape`, ≥ 20 conns
|
||||
in 2 h). Non-web ports alert on first sight; a `DROPPED` web-port tuple is HIGH.
|
||||
Rationale and the measured numbers live in `config.EGRESS_WEB_MIN_TICKS`.
|
||||
|
||||
**Deliberately not implemented** (and why):
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue