diff --git a/examples/lspr24/README.md b/examples/lspr24/README.md index 1f78fd2..2a59ca9 100644 --- a/examples/lspr24/README.md +++ b/examples/lspr24/README.md @@ -75,7 +75,7 @@ firru merge-zones --hosts 'policies//*.yml' --defs def/ --outdir zones/ | `loot-ossec/` | the measured loot, as the archive has it | | `loot-assumed/` | the same with `assumptions.yml` applied: what the policies are built from | | `policies/r1-synthesized/` | from the sockets: 460 service terms over 59 hosts | -| `policies/r2-tightened/` | sources narrowed against the night window: 178 terms, each with `# was:`; a term nothing matched says `log-drop candidate`. What the narrowing would deny is `firru diff` with `--flows` | +| `policies/r2-tightened/` | sources narrowed against the night window: 117 terms, each with `# was:`; a term nothing matched says `log-drop candidate`. What the narrowing would deny is `firru diff` with `--flows` | | `policies/r3-apparent/` | INFERRED from traffic: the policy that appears to have been running | | `policies/r4-block-early/` | r2 with every service the night window never saw removed: 269 of 460 terms, on 51 hosts | | `reports/` | precomputed reports, so the results read without the dataset: `hourly/`, one host's d2 an hour at a time (`make hourly`); `check/`, the night-trained policy against d2's first hour (`make check-live`) | @@ -181,8 +181,11 @@ Kubernetes worker reads: ### Tightening, and why most terms keep ANY -Tightening narrowed 178 of the 460 terms, onto the green-team hosts, the -cluster members and the zone groups the inventory defines. 200 kept `ANY`, +Tightening narrowed 117 of the 460 terms, onto the green-team hosts, the +cluster members and the zone groups the inventory defines. It never narrows +away a source `def/heuristics.py` declares for the service, such as a zone's +management entry point or its own hosts for NetBIOS: 79 terms keep one the +night never showed. 200 kept `ANY`, and that is the right answer rather than a failure: their clients are the exercise's simulated internet, addresses with no asset behind them. An address resolves to nothing, so the term stays open; minting a token per @@ -209,18 +212,19 @@ different kind of miss: | host | cut on d2 | mostly | | --- | --- | --- | -| dc1 (Windows DC) | 15,572 flows, 9 peers | the organisers every hour on Kerberos and LDAP, from the DMZ (`BEG_5_GT`), the other DC, dc2, in 8 of 10 hours, and SSH from its subnet's management entry point in 5 | -| salt-master | 1,421 flows, 5 peers | the organisers every hour, and the gas-hmi minion on 4505 in 9 of 10 | -| k8s-worker01 | 217 flows, 2 peers | the cluster's own control plane, on the kubelet, in 7 of 10 hours | -| gas-hmi (OT) | 1,199 flows, 1 peer | its subnet's management entry point, on SSH and the HMI's web ports, in 7 of 10 hours | -| www | 5,778 flows, 52 peers | its users: the internet the night did not show; 234 of the flows are red team | +| dc1 (Windows DC) | 15,456 flows, 8 peers | the organisers every hour on Kerberos and LDAP, from the DMZ (`BEG_5_GT`), and the other DC, dc2, in 8 of 10 hours | +| salt-master | 1,359 flows, 4 peers | the organisers every hour, and the gas-hmi minion on 4505 in 9 of 10 | +| k8s-worker01 | 155 flows, 1 peer | the cluster's own control plane, on the kubelet, in 7 of 10 hours | +| gas-hmi (OT) | 1,137 flows, 1 peer | its subnet's management entry point, on the HMI's web ports, in 5 of 10 hours | +| www | 5,707 flows, 51 peers | its users: the internet the night did not show; 234 of the flows are red team | The night is quiet in a way the day is not: it shows the services' own clients, and not the organisers' daytime checks, the second domain -controller's replication, a control plane's periodic calls or daytime -administration: SSH from MGMT_HOSTS or a subnet's entry point is cut on all -five hosts. A peer cut in -most hours is the window's gap, not noise, and `firru diff -o sh` comments +controller's replication or a control plane's periodic calls. Daytime +administration is not among the cuts: SSH from MGMT_HOSTS and the entry +points is declared, so tightening keeps it whatever the night shows. The +entry point's other traffic is not, which is why gas-hmi's web ports are +still cut. A peer cut in most hours is the window's gap, not noise, and `firru diff -o sh` comments out a narrowing it contradicts instead of emitting it. On www the cut is the point only for the red-team share; narrowing a public web server to the clients of one night closes it to its users. diff --git a/examples/lspr24/policies/r2-tightened/adcs-beg_int_beg_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/adcs-beg_int_beg_05_berylia_org.yml index ca4946d..5c80bf2 100644 --- a/examples/lspr24/policies/r2-tightened/adcs-beg_int_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/adcs-beg_int_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/adcs-beg_int_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:01Z to 2024-03-07T05:59:46Z -# Source suggestions changed: 2 | Log-drop candidates: 12 +# Source suggestions changed: 1 | Log-drop candidates: 12 metadata: host: adcs-beg zone: beg_int_12 @@ -10,13 +10,6 @@ filters: windows_advfirewall: in mixed block terms: -# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - # [auto] 81 flows total | 12 hits: dc2_int_beg_05_berylia_org (2a07:1182:5:12::3) | 9 hits: dc1_int_beg_05_berylia_org (2a07:1182:5:12::2) | 6 hits: ws1-beg01_int_beg_05_berylia_org (2a07:1182:5:12::21) | 6 hits: ws1-beg02_int_beg_05_berylia_org (2a07:1182:5:12::22) | 6 hits: ws1-beg03_int_beg_05_berylia_org (2a07:1182:5:12::23) | 6 hits: ws1-beg04_int_beg_05_berylia_org (2a07:1182:5:12::24) | 6 hits: ws1-beg05_int_beg_05_berylia_org (2a07:1182:5:12::25) | 6 hits: ws2-beg01_int_beg_05_berylia_org (2a07:1182:5:12::26) | 6 hits: ws2-beg02_int_beg_05_berylia_org (2a07:1182:5:12::27) | 6 hits: ws2-beg03_int_beg_05_berylia_org (2a07:1182:5:12::28) | 6 hits: ws2-beg04_int_beg_05_berylia_org (2a07:1182:5:12::29) | 6 hits: ws2-beg05_int_beg_05_berylia_org (2a07:1182:5:12::2a) | via: WINDOWS-RPC-ENDPOINT-MAPPER/tcp/135 # [auto] Note: BEG_INT_12_WS also permits: ws3-beg01_int_beg_05_berylia_org, ws3-beg02_int_beg_05_berylia_org, ws3-beg03_int_beg_05_berylia_org, ws3-beg04_int_beg_05_berylia_org, ws3-beg05_int_beg_05_berylia_org, ws4-beg01_int_beg_05_berylia_org, ws4-beg02_int_beg_05_berylia_org, ws4-beg03_int_beg_05_berylia_org, ws4-beg04_int_beg_05_berylia_org, ws4-beg05_int_beg_05_berylia_org # [auto] seen in flows but outside existing groups — verify group membership or allow explicitly: dc1_int_beg_05_berylia_org, dc2_int_beg_05_berylia_org @@ -39,6 +32,17 @@ filters: protocol: icmpv6 action: accept +# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-HTTP protocol: tcp diff --git a/examples/lspr24/policies/r2-tightened/c4i-ads_baf_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/c4i-ads_baf_05_berylia_org.yml index 130aaad..064d04b 100644 --- a/examples/lspr24/policies/r2-tightened/c4i-ads_baf_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/c4i-ads_baf_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/c4i-ads_baf_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:59Z -# Source suggestions changed: 3 | Log-drop candidates: 16 +# Source suggestions changed: 2 | Log-drop candidates: 16 metadata: host: c4i-ads zone: baf_15 @@ -10,13 +10,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 3600 flows total | 3600 hits: BAF_15_GT (10.5.15.250, 2a07:1182:5:15::250) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BAF_15_GT # was: BAF_15_GT, BAF_15_MGMT, MGMT_HOSTS - # [auto] 232569 flows total | 232569 hits: baf_15 (10.5.15.33) | via: CEPH-OSD/tcp/7000 - name: allow-tcp-CEPH-OSD protocol: tcp @@ -46,6 +39,17 @@ filters: protocol: icmpv6 action: accept +# [auto] 3600 flows total | 3600 hits: BAF_15_GT (10.5.15.250, 2a07:1182:5:15::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BAF_15_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BAF_15_GT + - BAF_15_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-DNS-TCP protocol: tcp diff --git a/examples/lspr24/policies/r2-tightened/cctv-ai-monitor_int_bgp_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/cctv-ai-monitor_int_bgp_05_berylia_org.yml index 33bfa7c..d0237f2 100644 --- a/examples/lspr24/policies/r2-tightened/cctv-ai-monitor_int_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/cctv-ai-monitor_int_bgp_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/cctv-ai-monitor_int_bgp_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:57Z -# Source suggestions changed: 1 | Log-drop candidates: 2 +# Source suggestions changed: 0 | Log-drop candidates: 2 metadata: host: cctv-ai-monitor zone: bgp_int @@ -10,13 +10,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1799 flows total | 1799 hits: BGP_INT_GT (10.5.13.250, 2a07:1182:5:13::250) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BGP_INT_GT # was: BGP_INT_GT, BGP_INT_MGMT, MGMT_HOSTS - # [auto] no flows observed in window — source unchanged - name: allow-loopback source-address: LOOPBACK @@ -32,6 +25,17 @@ filters: protocol: icmpv6 action: accept +# [auto] 1799 flows total | 1799 hits: BGP_INT_GT (10.5.13.250, 2a07:1182:5:13::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BGP_INT_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BGP_INT_GT + - BGP_INT_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-HTTP protocol: tcp diff --git a/examples/lspr24/policies/r2-tightened/dc1_int_beg_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/dc1_int_beg_05_berylia_org.yml index c0b2881..afcac45 100644 --- a/examples/lspr24/policies/r2-tightened/dc1_int_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/dc1_int_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/dc1_int_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:59Z -# Source suggestions changed: 11 | Log-drop candidates: 12 +# Source suggestions changed: 9 | Log-drop candidates: 12 metadata: host: dc1 zone: beg_int_12 @@ -10,13 +10,6 @@ filters: windows_advfirewall: in mixed block terms: -# [auto] 2699 flows total | 2699 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - # [auto] 3936 flows total | 3696 hits: dc2_int_beg_05_berylia_org (10.5.12.3, 2a07:1182:5:12::3) | 32 hits: ws1-beg05_int_beg_05_berylia_org (10.5.12.25, 2a07:1182:5:12::25) | 30 hits: ws1-beg04_int_beg_05_berylia_org (10.5.12.24, 2a07:1182:5:12::24) | 28 hits: ws1-beg01_int_beg_05_berylia_org (10.5.12.21, 2a07:1182:5:12::21) | 28 hits: ws1-beg02_int_beg_05_berylia_org (10.5.12.22, 2a07:1182:5:12::22) | 28 hits: ws1-beg03_int_beg_05_berylia_org (10.5.12.23, 2a07:1182:5:12::23) | 26 hits: ws2-beg02_int_beg_05_berylia_org (10.5.12.27, 2a07:1182:5:12::27) | 23 hits: ws2-beg03_int_beg_05_berylia_org (2a07:1182:5:12::28, 10.5.12.28) | 16 hits: ws2-beg01_int_beg_05_berylia_org (10.5.12.26, 2a07:1182:5:12::26) | 12 hits: ws2-beg04_int_beg_05_berylia_org (10.5.12.29, 2a07:1182:5:12::29) | 10 hits: ws2-beg05_int_beg_05_berylia_org (10.5.12.30, 2a07:1182:5:12::2a) | 4 hits: ws3-beg04_int_beg_05_berylia_org (2a07:1182:5:12::34) | 2 hits: ws3-beg03_int_beg_05_berylia_org (10.5.12.33, 2a07:1182:5:12::33) | 1 hits: mail_beg_05_berylia_org (100.97.5.5) [never answered] | via: DNS-TCP/tcp/53 # [auto] Note: BEG_INT_12_HOSTS also permits: BEG_INT_12_GT, BEG_INT_12_WS, adcs-beg_int_beg_05_berylia_org, dc1_int_beg_05_berylia_org, lemonldapng_int_beg_05_berylia_org, ws3-beg01_int_beg_05_berylia_org, ws3-beg02_int_beg_05_berylia_org, ws3-beg05_int_beg_05_berylia_org, ws4-beg01_int_beg_05_berylia_org, ws4-beg02_int_beg_05_berylia_org, ws4-beg03_int_beg_05_berylia_org, ws4-beg04_int_beg_05_berylia_org, ws4-beg05_int_beg_05_berylia_org # [auto] seen in flows but outside existing groups — verify group membership or allow explicitly: mail_beg_05_berylia_org @@ -39,11 +32,14 @@ filters: - beg-power-ws # [auto] 5 flows total | 5 hits: mail_beg_05_berylia_org (100.97.5.5) [never answered] | via: NETBIOS-SSN-LEGACY/tcp/139 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_HOSTS - name: allow-tcp-NETBIOS-SSN-LEGACY protocol: tcp destination-port: NETBIOS-SSN-LEGACY action: accept - source-address: mail_beg_05_berylia_org # was: BEG_INT_12_HOSTS + source-address: # was: BEG_INT_12_HOSTS + - mail_beg_05_berylia_org + - BEG_INT_12_HOSTS # [auto] 7375 flows total | 4744 hits: mail_beg_05_berylia_org (100.97.5.5) [4705 unanswered] | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | 385 hits: dc2_int_beg_05_berylia_org (2a07:1182:5:12::3) | 53 hits: ws3-beg01_int_beg_05_berylia_org (10.5.12.31) | 53 hits: ws3-beg03_int_beg_05_berylia_org (10.5.12.33) [4 unanswered] | 46 hits: ws2-beg01_int_beg_05_berylia_org (2a07:1182:5:12::26) | 39 hits: ws2-beg02_int_beg_05_berylia_org (2a07:1182:5:12::27) | 36 hits: ws1-beg02_int_beg_05_berylia_org (2a07:1182:5:12::22) | 36 hits: ws2-beg04_int_beg_05_berylia_org (2a07:1182:5:12::29) | 33 hits: ws1-beg04_int_beg_05_berylia_org (2a07:1182:5:12::24) | 30 hits: ws1-beg03_int_beg_05_berylia_org (2a07:1182:5:12::23) | 30 hits: ws1-beg05_int_beg_05_berylia_org (2a07:1182:5:12::25) | 21 hits: adcs-beg_int_beg_05_berylia_org (2a07:1182:5:12::18) | 20 hits: ws3-beg04_int_beg_05_berylia_org (10.5.12.34) | 15 hits: ws2-beg03_int_beg_05_berylia_org (2a07:1182:5:12::28) | 14 hits: ws2-beg05_int_beg_05_berylia_org (2a07:1182:5:12::2a) | 11 hits: ws3-beg05_int_beg_05_berylia_org (10.5.12.35) | 9 hits: beg-power-ws_int_beg_05_berylia_org (2a07:1182:5:22::20) | via: LDAP-TCP/tcp/389 # [auto] Note: BEG_INT_12_HOSTS also permits: BEG_INT_12_WS, dc1_int_beg_05_berylia_org, lemonldapng_int_beg_05_berylia_org, ws1-beg01_int_beg_05_berylia_org, ws3-beg02_int_beg_05_berylia_org, ws4-beg01_int_beg_05_berylia_org, ws4-beg02_int_beg_05_berylia_org, ws4-beg03_int_beg_05_berylia_org, ws4-beg04_int_beg_05_berylia_org, ws4-beg05_int_beg_05_berylia_org @@ -64,14 +60,8 @@ filters: action: accept source-address: BEG_INT_12_GT # was: ANY -# [auto] 1799 flows total | 1799 hits: BEG_INT_12_GT (2a07:1182:5:12::250, 10.5.12.250) | via: WINRM-HTTP/tcp/5985 - - name: allow-tcp-WINRM-HTTP - protocol: tcp - destination-port: WINRM-HTTP - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - # [auto] 8994 flows total | 7194 hits: BEG_5_GT (2a07:1182:5:20::60, 100.97.5.60) | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: WINDOWS-AD-ADWS/tcp/9389 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS - name: allow-tcp-WINDOWS-AD-ADWS protocol: tcp destination-port: WINDOWS-AD-ADWS @@ -79,6 +69,8 @@ filters: source-address: # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - BEG_5_GT - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS # [auto] 309990 flows total | 108807 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | 21206 hits: mail_beg_05_berylia_org (100.97.5.5) [1 unanswered] | 18510 hits: ws2-beg04_int_beg_05_berylia_org (2a07:1182:5:12::29, 10.5.12.29) [42 unanswered] | 17274 hits: ws2-beg03_int_beg_05_berylia_org (2a07:1182:5:12::28, 10.5.12.28) [14 unanswered] | 17266 hits: ws2-beg05_int_beg_05_berylia_org (2a07:1182:5:12::2a, 10.5.12.30) [21 unanswered] | 16875 hits: ws2-beg02_int_beg_05_berylia_org (2a07:1182:5:12::27, 10.5.12.27) [10 unanswered] | 16254 hits: ws2-beg01_int_beg_05_berylia_org (2a07:1182:5:12::26, 10.5.12.26) [23 unanswered] | 14547 hits: ws3-beg01_int_beg_05_berylia_org (2a07:1182:5:12::31, 10.5.12.31) [24 unanswered] | 13536 hits: ws3-beg03_int_beg_05_berylia_org (2a07:1182:5:12::33, 10.5.12.33) [18 unanswered] | 10429 hits: beg-power-ws_int_beg_05_berylia_org (2a07:1182:5:22::20, 10.5.22.20) | 7161 hits: ws3-beg04_int_beg_05_berylia_org (10.5.12.34, 2a07:1182:5:12::34) | 6904 hits: dc2_int_beg_05_berylia_org (2a07:1182:5:12::3, 10.5.12.3) [777 unanswered] | 3841 hits: adcs-beg_int_beg_05_berylia_org (2a07:1182:5:12::18, 10.5.12.18) [1 unanswered] | 3530 hits: ws3-beg05_int_beg_05_berylia_org (2a07:1182:5:12::35, 10.5.12.35) | 3517 hits: ws1-beg03_int_beg_05_berylia_org (2a07:1182:5:12::23, 10.5.12.23) [14 unanswered] | 3512 hits: ws1-beg05_int_beg_05_berylia_org (2a07:1182:5:12::25, 10.5.12.25) [20 unanswered] | 3487 hits: ws1-beg02_int_beg_05_berylia_org (2a07:1182:5:12::22, 10.5.12.22) [14 unanswered] | 3403 hits: ws1-beg04_int_beg_05_berylia_org (2a07:1182:5:12::24, 10.5.12.24) [7 unanswered] | 3390 hits: ws1-beg01_int_beg_05_berylia_org (2a07:1182:5:12::21, 10.5.12.21) [22 unanswered] | 2912 hits: ws4-beg05_int_beg_05_berylia_org (10.5.12.40, 2a07:1182:5:12::3a) | 2911 hits: ws4-beg03_int_beg_05_berylia_org (10.5.12.38, 2a07:1182:5:12::38) | 2910 hits: ws4-beg04_int_beg_05_berylia_org (10.5.12.39, 2a07:1182:5:12::39) | 2909 hits: ws4-beg01_int_beg_05_berylia_org (10.5.12.36, 2a07:1182:5:12::36) | 2909 hits: ws4-beg02_int_beg_05_berylia_org (10.5.12.37, 2a07:1182:5:12::37) | 1799 hits: BEG_5_GT (100.97.5.60, 2a07:1182:5:20::60) | 162 hits: lemonldapng_int_beg_05_berylia_org (2a07:1182:5:12::42, 10.5.12.42) | 29 hits: ws3-beg02_int_beg_05_berylia_org (10.5.12.32, 2a07:1182:5:12::32) | via: DNS-UDP/udp/53 # [auto] Note: BEG_INT_12_HOSTS also permits: BEG_INT_12_WS, dc1_int_beg_05_berylia_org @@ -129,6 +121,17 @@ filters: protocol: icmpv6 action: accept +# [auto] 2699 flows total | 2699 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + # [auto] 8733 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | 1797 hits: ws1-beg02_int_beg_05_berylia_org (2a07:1182:5:12::22) | 1796 hits: ws1-beg01_int_beg_05_berylia_org (2a07:1182:5:12::21) | 929 hits: ws1-beg03_int_beg_05_berylia_org (2a07:1182:5:12::23) | 903 hits: adcs-beg_int_beg_05_berylia_org (2a07:1182:5:12::18) | 528 hits: ws1-beg05_int_beg_05_berylia_org (2a07:1182:5:12::25) | 450 hits: mail_beg_05_berylia_org (100.97.5.5) [never answered] | 436 hits: ws2-beg02_int_beg_05_berylia_org (2a07:1182:5:12::27) | 34 hits: ws2-beg04_int_beg_05_berylia_org (2a07:1182:5:12::29) | 22 hits: ws2-beg01_int_beg_05_berylia_org (2a07:1182:5:12::26) | 16 hits: ws2-beg05_int_beg_05_berylia_org (2a07:1182:5:12::2a) | 15 hits: ws2-beg03_int_beg_05_berylia_org (2a07:1182:5:12::28) | 7 hits: beg-power-ws_int_beg_05_berylia_org (2a07:1182:5:22::20) | via: WINDOWS-RPC-ENDPOINT-MAPPER/tcp/135 - name: allow-tcp-WINDOWS-RPC-ENDPOINT-MAPPER protocol: tcp @@ -181,6 +184,17 @@ filters: - BEG_INT_12_MGMT - MGMT_HOSTS +# [auto] 1799 flows total | 1799 hits: BEG_INT_12_GT (2a07:1182:5:12::250, 10.5.12.250) | via: WINRM-HTTP/tcp/5985 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-WINRM-HTTP + protocol: tcp + destination-port: WINRM-HTTP + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-WINDOWS-WINRM-UNCONFIGURED protocol: tcp diff --git a/examples/lspr24/policies/r2-tightened/dc2_int_beg_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/dc2_int_beg_05_berylia_org.yml index 9f95c8f..8cec41f 100644 --- a/examples/lspr24/policies/r2-tightened/dc2_int_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/dc2_int_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/dc2_int_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:59Z -# Source suggestions changed: 11 | Log-drop candidates: 12 +# Source suggestions changed: 9 | Log-drop candidates: 12 metadata: host: dc2 zone: beg_int_12 @@ -10,13 +10,6 @@ filters: windows_advfirewall: in mixed block terms: -# [auto] 2700 flows total | 2700 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - # [auto] 4019 flows total | 3709 hits: dc1_int_beg_05_berylia_org (10.5.12.2, 2a07:1182:5:12::2) | 43 hits: ws3-beg04_int_beg_05_berylia_org (10.5.12.34, 2a07:1182:5:12::34) | 32 hits: ws1-beg05_int_beg_05_berylia_org (10.5.12.25, 2a07:1182:5:12::25) | 30 hits: ws1-beg04_int_beg_05_berylia_org (10.5.12.24, 2a07:1182:5:12::24) | 28 hits: ws1-beg01_int_beg_05_berylia_org (10.5.12.21, 2a07:1182:5:12::21) | 28 hits: ws1-beg02_int_beg_05_berylia_org (10.5.12.22, 2a07:1182:5:12::22) | 28 hits: ws1-beg03_int_beg_05_berylia_org (10.5.12.23, 2a07:1182:5:12::23) | 28 hits: ws2-beg02_int_beg_05_berylia_org (10.5.12.27, 2a07:1182:5:12::27) | 27 hits: ws3-beg03_int_beg_05_berylia_org (10.5.12.33, 2a07:1182:5:12::33) | 22 hits: ws2-beg03_int_beg_05_berylia_org (10.5.12.28, 2a07:1182:5:12::28) | 16 hits: ws2-beg01_int_beg_05_berylia_org (10.5.12.26, 2a07:1182:5:12::26) | 12 hits: ws2-beg04_int_beg_05_berylia_org (10.5.12.29, 2a07:1182:5:12::29) | 10 hits: ws2-beg05_int_beg_05_berylia_org (10.5.12.30, 2a07:1182:5:12::2a) | 5 hits: ws3-beg05_int_beg_05_berylia_org (10.5.12.35) | 1 hits: mail_beg_05_berylia_org (100.97.5.5) [never answered] | via: DNS-TCP/tcp/53 # [auto] Note: BEG_INT_12_HOSTS also permits: BEG_INT_12_GT, BEG_INT_12_WS, adcs-beg_int_beg_05_berylia_org, dc2_int_beg_05_berylia_org, lemonldapng_int_beg_05_berylia_org, ws3-beg01_int_beg_05_berylia_org, ws3-beg02_int_beg_05_berylia_org, ws4-beg01_int_beg_05_berylia_org, ws4-beg02_int_beg_05_berylia_org, ws4-beg03_int_beg_05_berylia_org, ws4-beg04_int_beg_05_berylia_org, ws4-beg05_int_beg_05_berylia_org # [auto] seen in flows but outside existing groups — verify group membership or allow explicitly: mail_beg_05_berylia_org @@ -39,11 +32,14 @@ filters: - beg-power-ws # [auto] 15 flows total | 15 hits: mail_beg_05_berylia_org (100.97.5.5) [never answered] | via: NETBIOS-SSN-LEGACY/tcp/139 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_HOSTS - name: allow-tcp-NETBIOS-SSN-LEGACY protocol: tcp destination-port: NETBIOS-SSN-LEGACY action: accept - source-address: mail_beg_05_berylia_org # was: BEG_INT_12_HOSTS + source-address: # was: BEG_INT_12_HOSTS + - mail_beg_05_berylia_org + - BEG_INT_12_HOSTS # [auto] 6955 flows total | 4682 hits: mail_beg_05_berylia_org (100.97.5.5) [never answered] | 1799 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | 73 hits: ws3-beg01_int_beg_05_berylia_org (10.5.12.31) | 58 hits: ws3-beg03_int_beg_05_berylia_org (10.5.12.33) | 52 hits: ws1-beg01_int_beg_05_berylia_org (2a07:1182:5:12::21) | 44 hits: beg-power-ws_int_beg_05_berylia_org (2a07:1182:5:22::20) | 36 hits: ws2-beg05_int_beg_05_berylia_org (2a07:1182:5:12::2a) | 33 hits: ws2-beg03_int_beg_05_berylia_org (2a07:1182:5:12::28) | 26 hits: ws3-beg04_int_beg_05_berylia_org (10.5.12.34) | 25 hits: adcs-beg_int_beg_05_berylia_org (2a07:1182:5:12::18) | 25 hits: ws3-beg05_int_beg_05_berylia_org (10.5.12.35) | 22 hits: ws1-beg03_int_beg_05_berylia_org (2a07:1182:5:12::23) | 20 hits: ws1-beg05_int_beg_05_berylia_org (2a07:1182:5:12::25) | 16 hits: ws1-beg02_int_beg_05_berylia_org (2a07:1182:5:12::22) | 16 hits: ws2-beg04_int_beg_05_berylia_org (2a07:1182:5:12::29) | 15 hits: ws1-beg04_int_beg_05_berylia_org (2a07:1182:5:12::24) | 13 hits: ws2-beg02_int_beg_05_berylia_org (2a07:1182:5:12::27) | via: LDAP-TCP/tcp/389 # [auto] Note: BEG_INT_12_HOSTS also permits: BEG_INT_12_WS, dc1_int_beg_05_berylia_org, dc2_int_beg_05_berylia_org, lemonldapng_int_beg_05_berylia_org, ws2-beg01_int_beg_05_berylia_org, ws3-beg02_int_beg_05_berylia_org, ws4-beg01_int_beg_05_berylia_org, ws4-beg02_int_beg_05_berylia_org, ws4-beg03_int_beg_05_berylia_org, ws4-beg04_int_beg_05_berylia_org, ws4-beg05_int_beg_05_berylia_org @@ -64,14 +60,8 @@ filters: action: accept source-address: BEG_INT_12_GT # was: ANY -# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: WINRM-HTTP/tcp/5985 - - name: allow-tcp-WINRM-HTTP - protocol: tcp - destination-port: WINRM-HTTP - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - # [auto] 8994 flows total | 7194 hits: BEG_5_GT (2a07:1182:5:20::60, 100.97.5.60) | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: WINDOWS-AD-ADWS/tcp/9389 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS - name: allow-tcp-WINDOWS-AD-ADWS protocol: tcp destination-port: WINDOWS-AD-ADWS @@ -79,6 +69,8 @@ filters: source-address: # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - BEG_5_GT - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS # [auto] 201439 flows total | 29832 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | 20784 hits: mail_beg_05_berylia_org (100.97.5.5) [21 unanswered] | 16522 hits: ws2-beg04_int_beg_05_berylia_org (10.5.12.29, 2a07:1182:5:12::29) [21 unanswered] | 15152 hits: ws2-beg03_int_beg_05_berylia_org (10.5.12.28, 2a07:1182:5:12::28) [1 unanswered] | 14915 hits: ws2-beg05_int_beg_05_berylia_org (10.5.12.30, 2a07:1182:5:12::2a) [7 unanswered] | 14602 hits: ws2-beg02_int_beg_05_berylia_org (10.5.12.27, 2a07:1182:5:12::27) [3 unanswered] | 14509 hits: ws3-beg01_int_beg_05_berylia_org (10.5.12.31, 2a07:1182:5:12::31) [104 unanswered] | 14044 hits: ws2-beg01_int_beg_05_berylia_org (10.5.12.26, 2a07:1182:5:12::26) [5 unanswered] | 13317 hits: ws3-beg03_int_beg_05_berylia_org (2a07:1182:5:12::33, 10.5.12.33) [100 unanswered] | 9838 hits: beg-power-ws_int_beg_05_berylia_org (10.5.22.20, 2a07:1182:5:22::20) [9 unanswered] | 6618 hits: ws3-beg04_int_beg_05_berylia_org (2a07:1182:5:12::34, 10.5.12.34) [14 unanswered] | 5124 hits: dc1_int_beg_05_berylia_org (10.5.12.2, 2a07:1182:5:12::2) [5 unanswered] | 3686 hits: adcs-beg_int_beg_05_berylia_org (10.5.12.18, 2a07:1182:5:12::18) [8 unanswered] | 3400 hits: ws3-beg05_int_beg_05_berylia_org (2a07:1182:5:12::35, 10.5.12.35) [38 unanswered] | 3396 hits: ws1-beg03_int_beg_05_berylia_org (10.5.12.23, 2a07:1182:5:12::23) [3 unanswered] | 3360 hits: ws1-beg05_int_beg_05_berylia_org (10.5.12.25, 2a07:1182:5:12::25) [1 unanswered] | 3332 hits: ws1-beg02_int_beg_05_berylia_org (10.5.12.22, 2a07:1182:5:12::22) | 3217 hits: ws1-beg04_int_beg_05_berylia_org (10.5.12.24, 2a07:1182:5:12::24) [3 unanswered] | 3183 hits: ws1-beg01_int_beg_05_berylia_org (10.5.12.21, 2a07:1182:5:12::21) [5 unanswered] | 1800 hits: BEG_5_GT (100.97.5.60, 2a07:1182:5:20::60) | 181 hits: lemonldapng_int_beg_05_berylia_org (10.5.12.42, 2a07:1182:5:12::42) [3 unanswered] | 120 hits: ws4-beg01_int_beg_05_berylia_org (10.5.12.36) | 120 hits: ws4-beg02_int_beg_05_berylia_org (10.5.12.37) | 120 hits: ws4-beg03_int_beg_05_berylia_org (10.5.12.38) | 120 hits: ws4-beg04_int_beg_05_berylia_org (10.5.12.39) | 120 hits: ws4-beg05_int_beg_05_berylia_org (10.5.12.40) | 27 hits: ws3-beg02_int_beg_05_berylia_org (10.5.12.32, 2a07:1182:5:12::32) | via: DNS-UDP/udp/53 # [auto] Note: BEG_INT_12_HOSTS also permits: BEG_INT_12_WS, dc2_int_beg_05_berylia_org @@ -129,6 +121,17 @@ filters: protocol: icmpv6 action: accept +# [auto] 2700 flows total | 2700 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + # [auto] 4095 flows total | 1799 hits: BEG_INT_12_GT (2a07:1182:5:12::250, 10.5.12.250) | 1799 hits: ws2-beg05_int_beg_05_berylia_org (2a07:1182:5:12::2a) | 396 hits: mail_beg_05_berylia_org (100.97.5.5) [never answered] | 22 hits: ws1-beg04_int_beg_05_berylia_org (2a07:1182:5:12::24) | 19 hits: ws1-beg01_int_beg_05_berylia_org (2a07:1182:5:12::21) | 18 hits: ws1-beg02_int_beg_05_berylia_org (2a07:1182:5:12::22) | 17 hits: adcs-beg_int_beg_05_berylia_org (2a07:1182:5:12::18) | 14 hits: beg-power-ws_int_beg_05_berylia_org (2a07:1182:5:22::20) | 7 hits: ws2-beg03_int_beg_05_berylia_org (2a07:1182:5:12::28) | 4 hits: ws1-beg03_int_beg_05_berylia_org (2a07:1182:5:12::23) | via: WINDOWS-RPC-ENDPOINT-MAPPER/tcp/135 - name: allow-tcp-WINDOWS-RPC-ENDPOINT-MAPPER protocol: tcp @@ -181,6 +184,17 @@ filters: - BEG_INT_12_MGMT - MGMT_HOSTS +# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: WINRM-HTTP/tcp/5985 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-WINRM-HTTP + protocol: tcp + destination-port: WINRM-HTTP + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-WINDOWS-WINRM-UNCONFIGURED protocol: tcp diff --git a/examples/lspr24/policies/r2-tightened/entry_bgp_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/entry_bgp_05_berylia_org.yml index 4b0fab3..feb6184 100644 --- a/examples/lspr24/policies/r2-tightened/entry_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/entry_bgp_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/entry_bgp_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:55Z -# Source suggestions changed: 3 | Log-drop candidates: 1 +# Source suggestions changed: 2 | Log-drop candidates: 1 metadata: host: entry zone: bgp_5 @@ -10,13 +10,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BGP_5_GT # was: BGP_5_GT, MGMT_HOSTS - # [auto] 3600 flows total | 3600 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: HTTP/tcp/80 - name: allow-tcp-HTTP protocol: tcp @@ -46,6 +39,16 @@ filters: protocol: icmpv6 action: accept +# [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BGP_5_GT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-MYSQL protocol: tcp diff --git a/examples/lspr24/policies/r2-tightened/fiveg-ue-bgp01_sac_bgp_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/fiveg-ue-bgp01_sac_bgp_05_berylia_org.yml index 48d92e6..abf0a41 100644 --- a/examples/lspr24/policies/r2-tightened/fiveg-ue-bgp01_sac_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/fiveg-ue-bgp01_sac_bgp_05_berylia_org.yml @@ -11,11 +11,14 @@ filters: terms: # [auto] 900 flows total | 900 hits: BGP_INT_GT (10.5.13.250) [never answered] | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS - name: allow-tcp-SSH protocol: tcp destination-port: SSH action: accept - source-address: BGP_INT_GT # was: MGMT_HOSTS + source-address: # was: MGMT_HOSTS + - BGP_INT_GT + - MGMT_HOSTS # [auto] no flows observed in window — source unchanged - name: allow-loopback diff --git a/examples/lspr24/policies/r2-tightened/fiveg-ue-bgp02_sac_bgp_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/fiveg-ue-bgp02_sac_bgp_05_berylia_org.yml index fdffe59..17a5a86 100644 --- a/examples/lspr24/policies/r2-tightened/fiveg-ue-bgp02_sac_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/fiveg-ue-bgp02_sac_bgp_05_berylia_org.yml @@ -11,11 +11,14 @@ filters: terms: # [auto] 900 flows total | 900 hits: BGP_INT_GT (10.5.13.250) [never answered] | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS - name: allow-tcp-SSH protocol: tcp destination-port: SSH action: accept - source-address: BGP_INT_GT # was: MGMT_HOSTS + source-address: # was: MGMT_HOSTS + - BGP_INT_GT + - MGMT_HOSTS # [auto] no flows observed in window — source unchanged - name: allow-loopback diff --git a/examples/lspr24/policies/r2-tightened/fiveg-ue-bgp03_sac_bgp_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/fiveg-ue-bgp03_sac_bgp_05_berylia_org.yml index 0a35c35..0aeaaab 100644 --- a/examples/lspr24/policies/r2-tightened/fiveg-ue-bgp03_sac_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/fiveg-ue-bgp03_sac_bgp_05_berylia_org.yml @@ -11,11 +11,14 @@ filters: terms: # [auto] 900 flows total | 900 hits: BGP_INT_GT (10.5.13.250) [never answered] | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS - name: allow-tcp-SSH protocol: tcp destination-port: SSH action: accept - source-address: BGP_INT_GT # was: MGMT_HOSTS + source-address: # was: MGMT_HOSTS + - BGP_INT_GT + - MGMT_HOSTS # [auto] no flows observed in window — source unchanged - name: allow-loopback diff --git a/examples/lspr24/policies/r2-tightened/gas-historian_beg_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/gas-historian_beg_05_berylia_org.yml index a4bab24..e8ea969 100644 --- a/examples/lspr24/policies/r2-tightened/gas-historian_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/gas-historian_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/gas-historian_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:20Z to 2024-03-07T05:59:57Z -# Source suggestions changed: 1 | Log-drop candidates: 6 +# Source suggestions changed: 0 | Log-drop candidates: 6 metadata: host: gas-historian zone: beg_17 @@ -10,13 +10,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1800 flows total | 1800 hits: BEG_17_GT (10.5.17.250, 2a07:1182:5:17::250) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_17_GT # was: BEG_17_GT, BEG_17_MGMT, MGMT_HOSTS - # [auto] no flows observed in window — source unchanged - name: allow-loopback source-address: LOOPBACK @@ -32,6 +25,17 @@ filters: protocol: icmpv6 action: accept +# [auto] 1800 flows total | 1800 hits: BEG_17_GT (10.5.17.250, 2a07:1182:5:17::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BEG_17_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_17_GT + - BEG_17_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-MYSQL protocol: tcp diff --git a/examples/lspr24/policies/r2-tightened/gas-hmi_beg_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/gas-hmi_beg_05_berylia_org.yml index 43b683f..85265da 100644 --- a/examples/lspr24/policies/r2-tightened/gas-hmi_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/gas-hmi_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/gas-hmi_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:01Z to 2024-03-07T05:59:55Z -# Source suggestions changed: 4 | Log-drop candidates: 3 +# Source suggestions changed: 3 | Log-drop candidates: 3 metadata: host: gas-hmi zone: beg_17 @@ -10,13 +10,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1800 flows total | 1800 hits: BEG_17_GT (10.5.17.250, 2a07:1182:5:17::250) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_17_GT # was: BEG_17_GT, BEG_17_MGMT, MGMT_HOSTS - # [auto] 1800 flows total | 1800 hits: BEG_17_GT (10.5.17.250, 2a07:1182:5:17::250) | via: TCP_3000/tcp/3000 - name: allow-tcp-TCP_3000 protocol: tcp @@ -53,6 +46,17 @@ filters: protocol: icmpv6 action: accept +# [auto] 1800 flows total | 1800 hits: BEG_17_GT (10.5.17.250, 2a07:1182:5:17::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BEG_17_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_17_GT + - BEG_17_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-RDP protocol: tcp diff --git a/examples/lspr24/policies/r2-tightened/hq-gsc01_bgp_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/hq-gsc01_bgp_05_berylia_org.yml index 72fc7bd..9cba299 100644 --- a/examples/lspr24/policies/r2-tightened/hq-gsc01_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/hq-gsc01_bgp_05_berylia_org.yml @@ -11,6 +11,7 @@ filters: terms: # [auto] 5400 flows total | 3600 hits: BGP_20_GT (10.5.20.250, 2a07:1182:5:f20::250) | 1800 hits: BGP_INT_GT (10.5.13.250, 2a07:1182:5:13::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BGP_20_MGMT, MGMT_HOSTS - name: allow-tcp-SSH protocol: tcp destination-port: SSH @@ -18,6 +19,8 @@ filters: source-address: # was: BGP_20_GT, BGP_20_MGMT, MGMT_HOSTS - BGP_20_GT - BGP_INT_GT + - BGP_20_MGMT + - MGMT_HOSTS # [auto] 1813 flows total | 1813 hits: BGP_20_GT (2a07:1182:5:f20::250, 10.5.20.250) | via: HTTP-ALT/tcp/8080 - name: allow-tcp-HTTP-ALT diff --git a/examples/lspr24/policies/r2-tightened/hq-gsc02_bgp_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/hq-gsc02_bgp_05_berylia_org.yml index d4be3bf..826792d 100644 --- a/examples/lspr24/policies/r2-tightened/hq-gsc02_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/hq-gsc02_bgp_05_berylia_org.yml @@ -11,6 +11,7 @@ filters: terms: # [auto] 5399 flows total | 3599 hits: BGP_20_GT (10.5.20.250, 2a07:1182:5:f20::250) | 1800 hits: BGP_INT_GT (10.5.13.250, 2a07:1182:5:13::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BGP_20_MGMT, MGMT_HOSTS - name: allow-tcp-SSH protocol: tcp destination-port: SSH @@ -18,6 +19,8 @@ filters: source-address: # was: BGP_20_GT, BGP_20_MGMT, MGMT_HOSTS - BGP_20_GT - BGP_INT_GT + - BGP_20_MGMT + - MGMT_HOSTS # [auto] 1807 flows total | 1807 hits: BGP_20_GT (2a07:1182:5:f20::250, 10.5.20.250) | via: HTTP-ALT/tcp/8080 - name: allow-tcp-HTTP-ALT diff --git a/examples/lspr24/policies/r2-tightened/hq-gsc03_bgp_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/hq-gsc03_bgp_05_berylia_org.yml index 8e0028e..3175db2 100644 --- a/examples/lspr24/policies/r2-tightened/hq-gsc03_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/hq-gsc03_bgp_05_berylia_org.yml @@ -11,6 +11,7 @@ filters: terms: # [auto] 5399 flows total | 3600 hits: BGP_20_GT (10.5.20.250, 2a07:1182:5:f20::250) | 1799 hits: BGP_INT_GT (2a07:1182:5:13::250, 10.5.13.250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BGP_20_MGMT, MGMT_HOSTS - name: allow-tcp-SSH protocol: tcp destination-port: SSH @@ -18,6 +19,8 @@ filters: source-address: # was: BGP_20_GT, BGP_20_MGMT, MGMT_HOSTS - BGP_20_GT - BGP_INT_GT + - BGP_20_MGMT + - MGMT_HOSTS # [auto] 1805 flows total | 1805 hits: BGP_20_GT (2a07:1182:5:f20::250, 10.5.20.250) | via: HTTP-ALT/tcp/8080 - name: allow-tcp-HTTP-ALT diff --git a/examples/lspr24/policies/r2-tightened/hq-gsc04_bgp_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/hq-gsc04_bgp_05_berylia_org.yml index ed0a278..101b55a 100644 --- a/examples/lspr24/policies/r2-tightened/hq-gsc04_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/hq-gsc04_bgp_05_berylia_org.yml @@ -11,6 +11,7 @@ filters: terms: # [auto] 5398 flows total | 3599 hits: BGP_20_GT (10.5.20.250, 2a07:1182:5:f20::250) | 1799 hits: BGP_INT_GT (2a07:1182:5:13::250, 10.5.13.250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BGP_20_MGMT, MGMT_HOSTS - name: allow-tcp-SSH protocol: tcp destination-port: SSH @@ -18,6 +19,8 @@ filters: source-address: # was: BGP_20_GT, BGP_20_MGMT, MGMT_HOSTS - BGP_20_GT - BGP_INT_GT + - BGP_20_MGMT + - MGMT_HOSTS # [auto] 1808 flows total | 1808 hits: BGP_20_GT (2a07:1182:5:f20::250, 10.5.20.250) | via: HTTP-ALT/tcp/8080 - name: allow-tcp-HTTP-ALT diff --git a/examples/lspr24/policies/r2-tightened/hq-gsc05_bgp_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/hq-gsc05_bgp_05_berylia_org.yml index 7f5abdc..980d767 100644 --- a/examples/lspr24/policies/r2-tightened/hq-gsc05_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/hq-gsc05_bgp_05_berylia_org.yml @@ -11,6 +11,7 @@ filters: terms: # [auto] 5400 flows total | 3600 hits: BGP_20_GT (10.5.20.250, 2a07:1182:5:f20::250) | 1800 hits: BGP_INT_GT (10.5.13.250, 2a07:1182:5:13::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BGP_20_MGMT, MGMT_HOSTS - name: allow-tcp-SSH protocol: tcp destination-port: SSH @@ -18,6 +19,8 @@ filters: source-address: # was: BGP_20_GT, BGP_20_MGMT, MGMT_HOSTS - BGP_20_GT - BGP_INT_GT + - BGP_20_MGMT + - MGMT_HOSTS # [auto] 1812 flows total | 1812 hits: BGP_20_GT (2a07:1182:5:f20::250, 10.5.20.250) | via: HTTP-ALT/tcp/8080 - name: allow-tcp-HTTP-ALT diff --git a/examples/lspr24/policies/r2-tightened/hq-gsc06_bgp_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/hq-gsc06_bgp_05_berylia_org.yml index 0b69470..e91a0ae 100644 --- a/examples/lspr24/policies/r2-tightened/hq-gsc06_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/hq-gsc06_bgp_05_berylia_org.yml @@ -11,6 +11,7 @@ filters: terms: # [auto] 5400 flows total | 3600 hits: BGP_20_GT (10.5.20.250, 2a07:1182:5:f20::250) | 1800 hits: BGP_INT_GT (10.5.13.250, 2a07:1182:5:13::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BGP_20_MGMT, MGMT_HOSTS - name: allow-tcp-SSH protocol: tcp destination-port: SSH @@ -18,6 +19,8 @@ filters: source-address: # was: BGP_20_GT, BGP_20_MGMT, MGMT_HOSTS - BGP_20_GT - BGP_INT_GT + - BGP_20_MGMT + - MGMT_HOSTS # [auto] 1810 flows total | 1810 hits: BGP_20_GT (2a07:1182:5:f20::250, 10.5.20.250) | via: HTTP-ALT/tcp/8080 - name: allow-tcp-HTTP-ALT diff --git a/examples/lspr24/policies/r2-tightened/hq-gsc07_bgp_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/hq-gsc07_bgp_05_berylia_org.yml index 5c6d003..ecba468 100644 --- a/examples/lspr24/policies/r2-tightened/hq-gsc07_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/hq-gsc07_bgp_05_berylia_org.yml @@ -11,6 +11,7 @@ filters: terms: # [auto] 5396 flows total | 3596 hits: BGP_20_GT (2a07:1182:5:f20::250, 10.5.20.250) | 1800 hits: BGP_INT_GT (10.5.13.250, 2a07:1182:5:13::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BGP_20_MGMT, MGMT_HOSTS - name: allow-tcp-SSH protocol: tcp destination-port: SSH @@ -18,6 +19,8 @@ filters: source-address: # was: BGP_20_GT, BGP_20_MGMT, MGMT_HOSTS - BGP_20_GT - BGP_INT_GT + - BGP_20_MGMT + - MGMT_HOSTS # [auto] 1812 flows total | 1812 hits: BGP_20_GT (2a07:1182:5:f20::250, 10.5.20.250) | via: HTTP-ALT/tcp/8080 - name: allow-tcp-HTTP-ALT diff --git a/examples/lspr24/policies/r2-tightened/hq-gsc08_bgp_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/hq-gsc08_bgp_05_berylia_org.yml index ecbdb93..a810fb5 100644 --- a/examples/lspr24/policies/r2-tightened/hq-gsc08_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/hq-gsc08_bgp_05_berylia_org.yml @@ -11,6 +11,7 @@ filters: terms: # [auto] 5400 flows total | 3600 hits: BGP_20_GT (10.5.20.250, 2a07:1182:5:f20::250) | 1800 hits: BGP_INT_GT (10.5.13.250, 2a07:1182:5:13::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BGP_20_MGMT, MGMT_HOSTS - name: allow-tcp-SSH protocol: tcp destination-port: SSH @@ -18,6 +19,8 @@ filters: source-address: # was: BGP_20_GT, BGP_20_MGMT, MGMT_HOSTS - BGP_20_GT - BGP_INT_GT + - BGP_20_MGMT + - MGMT_HOSTS # [auto] 1812 flows total | 1812 hits: BGP_20_GT (2a07:1182:5:f20::250, 10.5.20.250) | via: HTTP-ALT/tcp/8080 - name: allow-tcp-HTTP-ALT diff --git a/examples/lspr24/policies/r2-tightened/hq-gsc09_bgp_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/hq-gsc09_bgp_05_berylia_org.yml index 4b4add1..22f862f 100644 --- a/examples/lspr24/policies/r2-tightened/hq-gsc09_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/hq-gsc09_bgp_05_berylia_org.yml @@ -11,6 +11,7 @@ filters: terms: # [auto] 5400 flows total | 3600 hits: BGP_20_GT (10.5.20.250, 2a07:1182:5:f20::250) | 1800 hits: BGP_INT_GT (10.5.13.250, 2a07:1182:5:13::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BGP_20_MGMT, MGMT_HOSTS - name: allow-tcp-SSH protocol: tcp destination-port: SSH @@ -18,6 +19,8 @@ filters: source-address: # was: BGP_20_GT, BGP_20_MGMT, MGMT_HOSTS - BGP_20_GT - BGP_INT_GT + - BGP_20_MGMT + - MGMT_HOSTS # [auto] 1799 flows total | 1799 hits: BGP_20_GT (10.5.20.250, 2a07:1182:5:f20::250) | via: HTTP-ALT/tcp/8080 - name: allow-tcp-HTTP-ALT diff --git a/examples/lspr24/policies/r2-tightened/imagery_bgp_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/imagery_bgp_05_berylia_org.yml index b4245be..b034bc4 100644 --- a/examples/lspr24/policies/r2-tightened/imagery_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/imagery_bgp_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/imagery_bgp_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:55Z -# Source suggestions changed: 3 | Log-drop candidates: 1 +# Source suggestions changed: 2 | Log-drop candidates: 1 metadata: host: imagery zone: bgp_5 @@ -10,13 +10,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BGP_5_GT # was: BGP_5_GT, MGMT_HOSTS - # [auto] 3609 flows total | 3609 hits: BGP_5_GT (2a07:1182:5:30::59, 100.98.5.59) | via: HTTP/tcp/80 - name: allow-tcp-HTTP protocol: tcp @@ -46,6 +39,16 @@ filters: protocol: icmpv6 action: accept +# [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BGP_5_GT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-TCP_18336 protocol: tcp diff --git a/examples/lspr24/policies/r2-tightened/k8s-control-plane_beg_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/k8s-control-plane_beg_05_berylia_org.yml index 4441b35..029cc90 100644 --- a/examples/lspr24/policies/r2-tightened/k8s-control-plane_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/k8s-control-plane_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/k8s-control-plane_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:59Z -# Source suggestions changed: 6 | Log-drop candidates: 4 +# Source suggestions changed: 5 | Log-drop candidates: 4 metadata: host: k8s-control-plane zone: beg_5 @@ -10,13 +10,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1799 flows total | 1799 hits: BEG_5_GT (100.97.5.60, 2a07:1182:5:20::60) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_5_GT # was: BEG_5_GT, MGMT_HOSTS - # [auto] 1246 flows total | 398 hits: k8s-worker04_beg_05_berylia_org (100.97.5.34, 2a07:1182:5:20::34) | 303 hits: k8s-worker02_beg_05_berylia_org (2a07:1182:5:20::32, 100.97.5.32) | 296 hits: k8s-worker01_beg_05_berylia_org (100.97.5.31, 2a07:1182:5:20::31) | 249 hits: k8s-worker03_beg_05_berylia_org (100.97.5.33, 2a07:1182:5:20::33) | via: BGP/tcp/179 - name: allow-tcp-BGP protocol: tcp @@ -79,6 +72,16 @@ filters: protocol: icmpv6 action: accept +# [auto] 1799 flows total | 1799 hits: BEG_5_GT (100.97.5.60, 2a07:1182:5:20::60) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_5_GT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-ETCD-CLIENT protocol: tcp diff --git a/examples/lspr24/policies/r2-tightened/k8s-worker01_beg_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/k8s-worker01_beg_05_berylia_org.yml index c7d1bab..628f858 100644 --- a/examples/lspr24/policies/r2-tightened/k8s-worker01_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/k8s-worker01_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/k8s-worker01_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:57Z -# Source suggestions changed: 6 | Log-drop candidates: 2 +# Source suggestions changed: 5 | Log-drop candidates: 2 metadata: host: k8s-worker01 zone: beg_5 @@ -10,13 +10,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1800 flows total | 1800 hits: BEG_5_GT (100.97.5.60, 2a07:1182:5:20::60) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_5_GT # was: BEG_5_GT, MGMT_HOSTS - # [auto] 977 flows total | 336 hits: k8s-worker02_beg_05_berylia_org (2a07:1182:5:20::32, 100.97.5.32) | 328 hits: k8s-worker03_beg_05_berylia_org (100.97.5.33, 2a07:1182:5:20::33) | 313 hits: k8s-worker04_beg_05_berylia_org (100.97.5.34, 2a07:1182:5:20::34) | via: BGP/tcp/179 - name: allow-tcp-BGP protocol: tcp @@ -78,6 +71,16 @@ filters: protocol: icmpv6 action: accept +# [auto] 1800 flows total | 1800 hits: BEG_5_GT (100.97.5.60, 2a07:1182:5:20::60) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_5_GT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-METALLB-METRICS protocol: tcp diff --git a/examples/lspr24/policies/r2-tightened/k8s-worker02_beg_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/k8s-worker02_beg_05_berylia_org.yml index b18650f..3391bcc 100644 --- a/examples/lspr24/policies/r2-tightened/k8s-worker02_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/k8s-worker02_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/k8s-worker02_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:57Z -# Source suggestions changed: 4 | Log-drop candidates: 4 +# Source suggestions changed: 3 | Log-drop candidates: 4 metadata: host: k8s-worker02 zone: beg_5 @@ -10,13 +10,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1800 flows total | 1800 hits: BEG_5_GT (100.97.5.60, 2a07:1182:5:20::60) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_5_GT # was: BEG_5_GT, MGMT_HOSTS - # [auto] 620 flows total | 369 hits: k8s-worker04_beg_05_berylia_org (100.97.5.34, 2a07:1182:5:20::34) | 251 hits: k8s-worker03_beg_05_berylia_org (100.97.5.33, 2a07:1182:5:20::33) | via: BGP/tcp/179 - name: allow-tcp-BGP protocol: tcp @@ -63,6 +56,16 @@ filters: protocol: icmpv6 action: accept +# [auto] 1800 flows total | 1800 hits: BEG_5_GT (100.97.5.60, 2a07:1182:5:20::60) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_5_GT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-METALLB-METRICS protocol: tcp diff --git a/examples/lspr24/policies/r2-tightened/k8s-worker03_beg_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/k8s-worker03_beg_05_berylia_org.yml index a5aaeea..e78dfbe 100644 --- a/examples/lspr24/policies/r2-tightened/k8s-worker03_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/k8s-worker03_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/k8s-worker03_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:59Z -# Source suggestions changed: 6 | Log-drop candidates: 2 +# Source suggestions changed: 5 | Log-drop candidates: 2 metadata: host: k8s-worker03 zone: beg_5 @@ -10,13 +10,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1799 flows total | 1799 hits: BEG_5_GT (2a07:1182:5:20::60, 100.97.5.60) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_5_GT # was: BEG_5_GT, MGMT_HOSTS - # [auto] 368 flows total | 368 hits: k8s-worker04_beg_05_berylia_org (2a07:1182:5:20::34, 100.97.5.34) | via: BGP/tcp/179 - name: allow-tcp-BGP protocol: tcp @@ -75,6 +68,16 @@ filters: protocol: icmpv6 action: accept +# [auto] 1799 flows total | 1799 hits: BEG_5_GT (2a07:1182:5:20::60, 100.97.5.60) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_5_GT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-METALLB-METRICS protocol: tcp diff --git a/examples/lspr24/policies/r2-tightened/k8s-worker04_beg_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/k8s-worker04_beg_05_berylia_org.yml index d9628e6..645f5ce 100644 --- a/examples/lspr24/policies/r2-tightened/k8s-worker04_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/k8s-worker04_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/k8s-worker04_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:01Z to 2024-03-07T05:59:57Z -# Source suggestions changed: 5 | Log-drop candidates: 3 +# Source suggestions changed: 4 | Log-drop candidates: 3 metadata: host: k8s-worker04 zone: beg_5 @@ -10,13 +10,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1800 flows total | 1800 hits: BEG_5_GT (100.97.5.60, 2a07:1182:5:20::60) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_5_GT # was: BEG_5_GT, MGMT_HOSTS - # [auto] 1549 flows total | 403 hits: k8s-worker01_beg_05_berylia_org (100.97.5.31) | 393 hits: k8s-worker02_beg_05_berylia_org (100.97.5.32) | 379 hits: k8s-worker03_beg_05_berylia_org (100.97.5.33) | 374 hits: k8s-control-plane_beg_05_berylia_org (100.97.5.30) | via: DOCKER-SWARM/tcp/7946 - name: allow-tcp-METALLB-MEMBERLIST protocol: tcp @@ -68,6 +61,16 @@ filters: protocol: icmpv6 action: accept +# [auto] 1800 flows total | 1800 hits: BEG_5_GT (100.97.5.60, 2a07:1182:5:20::60) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_5_GT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-BGP protocol: tcp diff --git a/examples/lspr24/policies/r2-tightened/keycloak_bgp_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/keycloak_bgp_05_berylia_org.yml index 0911f91..6be06ce 100644 --- a/examples/lspr24/policies/r2-tightened/keycloak_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/keycloak_bgp_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/keycloak_bgp_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:08Z to 2024-03-07T05:59:59Z -# Source suggestions changed: 2 | Log-drop candidates: 2 +# Source suggestions changed: 1 | Log-drop candidates: 2 metadata: host: keycloak zone: bgp_5 @@ -10,13 +10,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BGP_5_GT # was: BGP_5_GT, MGMT_HOSTS - # [auto] 3599 flows total | 3599 hits: BGP_5_GT (2a07:1182:5:30::59, 100.98.5.59) | via: HTTPS/tcp/443 - name: allow-tcp-HTTPS protocol: tcp @@ -39,6 +32,16 @@ filters: protocol: icmpv6 action: accept +# [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BGP_5_GT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-TCP_22395 protocol: tcp diff --git a/examples/lspr24/policies/r2-tightened/lemonldapng_int_beg_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/lemonldapng_int_beg_05_berylia_org.yml index c489411..7dd856d 100644 --- a/examples/lspr24/policies/r2-tightened/lemonldapng_int_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/lemonldapng_int_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/lemonldapng_int_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:01Z to 2024-03-07T05:59:49Z -# Source suggestions changed: 3 | Log-drop candidates: 0 +# Source suggestions changed: 2 | Log-drop candidates: 0 metadata: host: lemonldapng zone: beg_int_12 @@ -10,13 +10,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1799 flows total | 1799 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - # [auto] 3611 flows total | 3611 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: HTTP/tcp/80 - name: allow-tcp-HTTP protocol: tcp @@ -45,6 +38,17 @@ filters: - name: allow-icmpv6 protocol: icmpv6 action: accept + +# [auto] 1799 flows total | 1799 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS - name: drop-ANY action: deny counter: drop-ANY diff --git a/examples/lspr24/policies/r2-tightened/lims_bgp_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/lims_bgp_05_berylia_org.yml index 63784b8..41e6375 100644 --- a/examples/lspr24/policies/r2-tightened/lims_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/lims_bgp_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/lims_bgp_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:55Z -# Source suggestions changed: 3 | Log-drop candidates: 2 +# Source suggestions changed: 2 | Log-drop candidates: 2 metadata: host: lims zone: bgp_5 @@ -10,13 +10,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BGP_5_GT # was: BGP_5_GT, MGMT_HOSTS - # [auto] 3599 flows total | 3599 hits: BGP_5_GT (2a07:1182:5:30::59, 100.98.5.59) | via: HTTP/tcp/80 - name: allow-tcp-HTTP protocol: tcp @@ -46,6 +39,16 @@ filters: protocol: icmpv6 action: accept +# [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BGP_5_GT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-HTTP-ALT protocol: tcp diff --git a/examples/lspr24/policies/r2-tightened/mail_int_baf_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/mail_int_baf_05_berylia_org.yml index bbc3caf..ddc0eec 100644 --- a/examples/lspr24/policies/r2-tightened/mail_int_baf_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/mail_int_baf_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/mail_int_baf_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:01Z to 2024-03-07T05:59:59Z -# Source suggestions changed: 10 | Log-drop candidates: 20 +# Source suggestions changed: 7 | Log-drop candidates: 20 metadata: host: mail zone: baf_int @@ -10,13 +10,6 @@ filters: windows_advfirewall: in mixed block terms: -# [auto] 2699 flows total | 2699 hits: BAF_INT_GT (10.5.11.250, 2a07:1182:5:11::250) [10 unanswered] | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BAF_INT_GT # was: BAF_INT_GT, BAF_INT_MGMT, MGMT_HOSTS - # [auto] 1799 flows total | 1799 hits: BAF_INT_GT (2a07:1182:5:11::250, 10.5.11.250) [4 unanswered] | via: SMTP/tcp/25 - name: allow-tcp-SMTP protocol: tcp @@ -59,20 +52,6 @@ filters: action: accept source-address: BAF_INT_GT # was: ANY -# [auto] 1800 flows total | 1800 hits: BAF_INT_GT (10.5.11.250, 2a07:1182:5:11::250) [5 unanswered] | via: RDP/tcp/3389 - - name: allow-tcp-RDP - protocol: tcp - destination-port: RDP - action: accept - source-address: BAF_INT_GT # was: BAF_INT_GT, BAF_INT_MGMT, MGMT_HOSTS - -# [auto] 1920 flows total | 1920 hits: BAF_INT_GT (10.5.11.250, 2a07:1182:5:11::250) [32 unanswered] | via: WINRM-HTTP/tcp/5985 - - name: allow-tcp-WINRM-HTTP - protocol: tcp - destination-port: WINRM-HTTP - action: accept - source-address: BAF_INT_GT # was: BAF_INT_GT, BAF_INT_MGMT, MGMT_HOSTS - # [auto] 312 flows total | 279 hits: dc1_int_baf_05_berylia_org (2a07:1182:5:11::2) | 33 hits: dc2_int_baf_05_berylia_org (2a07:1182:5:11::3) | via: WINDOWS-RPC-DYNAMIC/tcp/54205,59047,64034,49563,54105 - name: allow-tcp-WINDOWS-RPC-DYNAMIC protocol: tcp @@ -92,6 +71,17 @@ filters: protocol: icmpv6 action: accept +# [auto] 2699 flows total | 2699 hits: BAF_INT_GT (10.5.11.250, 2a07:1182:5:11::250) [10 unanswered] | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BAF_INT_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BAF_INT_GT + - BAF_INT_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-TCP_81 protocol: tcp @@ -163,6 +153,17 @@ filters: action: accept source-address: ANY +# [auto] 1800 flows total | 1800 hits: BAF_INT_GT (10.5.11.250, 2a07:1182:5:11::250) [5 unanswered] | via: RDP/tcp/3389 +# [auto] kept, declared by the site's heuristics: BAF_INT_MGMT, MGMT_HOSTS + - name: allow-tcp-RDP + protocol: tcp + destination-port: RDP + action: accept + source-address: + - BAF_INT_GT + - BAF_INT_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-TCP_3800 protocol: tcp @@ -184,6 +185,17 @@ filters: action: accept source-address: ANY +# [auto] 1920 flows total | 1920 hits: BAF_INT_GT (10.5.11.250, 2a07:1182:5:11::250) [32 unanswered] | via: WINRM-HTTP/tcp/5985 +# [auto] kept, declared by the site's heuristics: BAF_INT_MGMT, MGMT_HOSTS + - name: allow-tcp-WINRM-HTTP + protocol: tcp + destination-port: WINRM-HTTP + action: accept + source-address: + - BAF_INT_GT + - BAF_INT_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-MSEXCHANGERPC protocol: tcp diff --git a/examples/lspr24/policies/r2-tightened/maintenance_beg_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/maintenance_beg_05_berylia_org.yml index 7b46910..5a228bb 100644 --- a/examples/lspr24/policies/r2-tightened/maintenance_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/maintenance_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/maintenance_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:03Z to 2024-03-07T05:59:58Z -# Source suggestions changed: 3 | Log-drop candidates: 0 +# Source suggestions changed: 2 | Log-drop candidates: 0 metadata: host: maintenance zone: beg_5 @@ -10,13 +10,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1800 flows total | 1800 hits: BEG_5_GT (100.97.5.60, 2a07:1182:5:20::60) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_5_GT # was: BEG_5_GT, MGMT_HOSTS - # [auto] 3612 flows total | 3612 hits: BEG_5_GT (2a07:1182:5:20::60, 100.97.5.60) | via: HTTP/tcp/80 - name: allow-tcp-HTTP protocol: tcp @@ -45,6 +38,16 @@ filters: - name: allow-icmpv6 protocol: icmpv6 action: accept + +# [auto] 1800 flows total | 1800 hits: BEG_5_GT (100.97.5.60, 2a07:1182:5:20::60) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_5_GT + - MGMT_HOSTS - name: drop-ANY action: deny counter: drop-ANY diff --git a/examples/lspr24/policies/r2-tightened/mcs_bgp_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/mcs_bgp_05_berylia_org.yml index c0d333d..5af95c7 100644 --- a/examples/lspr24/policies/r2-tightened/mcs_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/mcs_bgp_05_berylia_org.yml @@ -11,6 +11,7 @@ filters: terms: # [auto] 3600 flows total | 2700 hits: BGP_20_GT (10.5.20.250, 2a07:1182:5:f20::250) | 900 hits: BGP_INT_GT (10.5.13.250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BGP_20_MGMT, MGMT_HOSTS - name: allow-tcp-SSH protocol: tcp destination-port: SSH @@ -18,6 +19,8 @@ filters: source-address: # was: BGP_20_GT, BGP_20_MGMT, MGMT_HOSTS - BGP_20_GT - BGP_INT_GT + - BGP_20_MGMT + - MGMT_HOSTS # [auto] 5398 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | 1799 hits: BGP_20_GT (2a07:1182:5:f20::250, 10.5.20.250) | 1799 hits: BGP_INT_GT (10.5.13.250, 2a07:1182:5:13::250) | via: HTTPS/tcp/443 - name: allow-tcp-HTTPS diff --git a/examples/lspr24/policies/r2-tightened/news_beg_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/news_beg_05_berylia_org.yml index 156baee..2b83070 100644 --- a/examples/lspr24/policies/r2-tightened/news_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/news_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/news_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:02Z to 2024-03-07T05:59:59Z -# Source suggestions changed: 3 | Log-drop candidates: 1 +# Source suggestions changed: 2 | Log-drop candidates: 1 metadata: host: news zone: beg_5 @@ -10,13 +10,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1799 flows total | 1799 hits: BEG_5_GT (2a07:1182:5:20::60, 100.97.5.60) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_5_GT # was: BEG_5_GT, MGMT_HOSTS - # [auto] 3596 flows total | 3596 hits: BEG_5_GT (100.97.5.60, 2a07:1182:5:20::60) | via: HTTP/tcp/80 - name: allow-tcp-HTTP protocol: tcp @@ -46,6 +39,16 @@ filters: protocol: icmpv6 action: accept +# [auto] 1799 flows total | 1799 hits: BEG_5_GT (2a07:1182:5:20::60, 100.97.5.60) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_5_GT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-MYSQL protocol: tcp diff --git a/examples/lspr24/policies/r2-tightened/nextcloud_bgp_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/nextcloud_bgp_05_berylia_org.yml index c040f9f..388d724 100644 --- a/examples/lspr24/policies/r2-tightened/nextcloud_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/nextcloud_bgp_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/nextcloud_bgp_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:01Z to 2024-03-07T05:59:59Z -# Source suggestions changed: 3 | Log-drop candidates: 0 +# Source suggestions changed: 2 | Log-drop candidates: 0 metadata: host: nextcloud zone: bgp_5 @@ -10,13 +10,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1799 flows total | 1799 hits: BGP_5_GT (2a07:1182:5:30::59, 100.98.5.59) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BGP_5_GT # was: BGP_5_GT, MGMT_HOSTS - # [auto] 3599 flows total | 3599 hits: BGP_5_GT (2a07:1182:5:30::59, 100.98.5.59) | via: HTTP/tcp/80 - name: allow-tcp-HTTP protocol: tcp @@ -45,6 +38,16 @@ filters: - name: allow-icmpv6 protocol: icmpv6 action: accept + +# [auto] 1799 flows total | 1799 hits: BGP_5_GT (2a07:1182:5:30::59, 100.98.5.59) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BGP_5_GT + - MGMT_HOSTS - name: drop-ANY action: deny counter: drop-ANY diff --git a/examples/lspr24/policies/r2-tightened/ns1_bgp_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/ns1_bgp_05_berylia_org.yml index 687587c..ec515b3 100644 --- a/examples/lspr24/policies/r2-tightened/ns1_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/ns1_bgp_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/ns1_bgp_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:04Z to 2024-03-07T05:59:59Z -# Source suggestions changed: 1 | Log-drop candidates: 4 +# Source suggestions changed: 0 | Log-drop candidates: 4 metadata: host: ns1 zone: bgp_5 @@ -10,13 +10,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BGP_5_GT # was: BGP_5_GT, MGMT_HOSTS - # [auto] no flows observed in window — source unchanged - name: allow-loopback source-address: LOOPBACK @@ -32,6 +25,16 @@ filters: protocol: icmpv6 action: accept +# [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BGP_5_GT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-DNS-TCP protocol: tcp diff --git a/examples/lspr24/policies/r2-tightened/ns2_bgp_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/ns2_bgp_05_berylia_org.yml index a20cf8e..d153e76 100644 --- a/examples/lspr24/policies/r2-tightened/ns2_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/ns2_bgp_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/ns2_bgp_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:58Z -# Source suggestions changed: 1 | Log-drop candidates: 4 +# Source suggestions changed: 0 | Log-drop candidates: 4 metadata: host: ns2 zone: bgp_5 @@ -10,13 +10,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BGP_5_GT # was: BGP_5_GT, MGMT_HOSTS - # [auto] no flows observed in window — source unchanged - name: allow-loopback source-address: LOOPBACK @@ -32,6 +25,16 @@ filters: protocol: icmpv6 action: accept +# [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BGP_5_GT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-DNS-TCP protocol: tcp diff --git a/examples/lspr24/policies/r2-tightened/owncloud_beg_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/owncloud_beg_05_berylia_org.yml index 8f45683..27fa32a 100644 --- a/examples/lspr24/policies/r2-tightened/owncloud_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/owncloud_beg_05_berylia_org.yml @@ -11,6 +11,7 @@ filters: terms: # [auto] 2700 flows total | 1800 hits: BEG_5_GT (100.97.5.60, 2a07:1182:5:20::60) | 900 hits: BEG_INT_12_GT (10.5.12.250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS - name: allow-tcp-SSH protocol: tcp destination-port: SSH @@ -18,6 +19,7 @@ filters: source-address: # was: BEG_5_GT, MGMT_HOSTS - BEG_5_GT - BEG_INT_12_GT + - MGMT_HOSTS # [auto] 3599 flows total | 3599 hits: BEG_5_GT (2a07:1182:5:20::60, 100.97.5.60) | via: HTTP/tcp/80 - name: allow-tcp-HTTP diff --git a/examples/lspr24/policies/r2-tightened/salt-master_beg_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/salt-master_beg_05_berylia_org.yml index a68c266..1571e71 100644 --- a/examples/lspr24/policies/r2-tightened/salt-master_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/salt-master_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/salt-master_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:01Z to 2024-03-07T05:59:59Z -# Source suggestions changed: 5 | Log-drop candidates: 1 +# Source suggestions changed: 4 | Log-drop candidates: 1 metadata: host: salt-master zone: beg_5 @@ -10,13 +10,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1799 flows total | 1799 hits: BEG_5_GT (100.97.5.60, 2a07:1182:5:20::60) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_5_GT # was: BEG_5_GT, MGMT_HOSTS - # [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: HTTP/tcp/80 - name: allow-tcp-HTTP protocol: tcp @@ -61,6 +54,16 @@ filters: protocol: icmpv6 action: accept +# [auto] 1799 flows total | 1799 hits: BEG_5_GT (100.97.5.60, 2a07:1182:5:20::60) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_5_GT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-TCP_3333 protocol: tcp diff --git a/examples/lspr24/policies/r2-tightened/ticketdesk_int_baf_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/ticketdesk_int_baf_05_berylia_org.yml index f9e269d..9cdab1e 100644 --- a/examples/lspr24/policies/r2-tightened/ticketdesk_int_baf_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/ticketdesk_int_baf_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/ticketdesk_int_baf_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:01Z to 2024-03-07T05:59:54Z -# Source suggestions changed: 3 | Log-drop candidates: 0 +# Source suggestions changed: 2 | Log-drop candidates: 0 metadata: host: ticketdesk zone: baf_int @@ -10,13 +10,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1800 flows total | 1800 hits: BAF_INT_GT (10.5.11.250, 2a07:1182:5:11::250) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BAF_INT_GT # was: BAF_INT_GT, BAF_INT_MGMT, MGMT_HOSTS - # [auto] 3609 flows total | 3609 hits: BAF_INT_GT (2a07:1182:5:11::250, 10.5.11.250) | via: HTTP/tcp/80 - name: allow-tcp-HTTP protocol: tcp @@ -45,6 +38,17 @@ filters: - name: allow-icmpv6 protocol: icmpv6 action: accept + +# [auto] 1800 flows total | 1800 hits: BAF_INT_GT (10.5.11.250, 2a07:1182:5:11::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BAF_INT_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BAF_INT_GT + - BAF_INT_MGMT + - MGMT_HOSTS - name: drop-ANY action: deny counter: drop-ANY diff --git a/examples/lspr24/policies/r2-tightened/visitor_bgp_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/visitor_bgp_05_berylia_org.yml index 4263326..f0544e4 100644 --- a/examples/lspr24/policies/r2-tightened/visitor_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/visitor_bgp_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/visitor_bgp_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:01Z to 2024-03-07T05:59:55Z -# Source suggestions changed: 3 | Log-drop candidates: 1 +# Source suggestions changed: 2 | Log-drop candidates: 1 metadata: host: visitor zone: bgp_5 @@ -10,13 +10,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1799 flows total | 1799 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BGP_5_GT # was: BGP_5_GT, MGMT_HOSTS - # [auto] 3611 flows total | 3611 hits: BGP_5_GT (2a07:1182:5:30::59, 100.98.5.59) | via: HTTP/tcp/80 - name: allow-tcp-HTTP protocol: tcp @@ -46,6 +39,16 @@ filters: protocol: icmpv6 action: accept +# [auto] 1799 flows total | 1799 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BGP_5_GT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-TCP_5000 protocol: tcp diff --git a/examples/lspr24/policies/r2-tightened/whistleblowhub_bgp_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/whistleblowhub_bgp_05_berylia_org.yml index b8e2653..fbca443 100644 --- a/examples/lspr24/policies/r2-tightened/whistleblowhub_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/whistleblowhub_bgp_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/whistleblowhub_bgp_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:09Z to 2024-03-07T05:59:50Z -# Source suggestions changed: 3 | Log-drop candidates: 0 +# Source suggestions changed: 2 | Log-drop candidates: 0 metadata: host: whistleblowhub zone: bgp_5 @@ -10,13 +10,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BGP_5_GT # was: BGP_5_GT, MGMT_HOSTS - # [auto] 3599 flows total | 3599 hits: BGP_5_GT (2a07:1182:5:30::59, 100.98.5.59) | via: HTTP/tcp/80 - name: allow-tcp-HTTP protocol: tcp @@ -45,6 +38,16 @@ filters: - name: allow-icmpv6 protocol: icmpv6 action: accept + +# [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BGP_5_GT + - MGMT_HOSTS - name: drop-ANY action: deny counter: drop-ANY diff --git a/examples/lspr24/policies/r2-tightened/ws1-baf01_int_baf_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/ws1-baf01_int_baf_05_berylia_org.yml index 347478e..0e65694 100644 --- a/examples/lspr24/policies/r2-tightened/ws1-baf01_int_baf_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/ws1-baf01_int_baf_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/ws1-baf01_int_baf_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:59Z -# Source suggestions changed: 4 | Log-drop candidates: 11 +# Source suggestions changed: 1 | Log-drop candidates: 11 metadata: host: ws1-baf01 zone: baf_int @@ -10,13 +10,6 @@ filters: windows_advfirewall: in mixed block terms: -# [auto] 2700 flows total | 2700 hits: BAF_INT_GT (10.5.11.250, 2a07:1182:5:11::250) [15 unanswered] | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BAF_INT_GT # was: BAF_INT_GT, BAF_INT_MGMT, MGMT_HOSTS - # [auto] 900 flows total | 900 hits: BAF_INT_GT (2a07:1182:5:11::250) | via: WINDOWS-SMB/tcp/445 - name: allow-tcp-WINDOWS-SMB protocol: tcp @@ -24,20 +17,6 @@ filters: action: accept source-address: BAF_INT_GT # was: ANY -# [auto] 1799 flows total | 1799 hits: BAF_INT_GT (10.5.11.250, 2a07:1182:5:11::250) [7 unanswered] | via: RDP/tcp/3389 - - name: allow-tcp-RDP - protocol: tcp - destination-port: RDP - action: accept - source-address: BAF_INT_GT # was: BAF_INT_GT, BAF_INT_MGMT, MGMT_HOSTS - -# [auto] 1919 flows total | 1919 hits: BAF_INT_GT (2a07:1182:5:11::250, 10.5.11.250) [49 unanswered] | via: WINRM-HTTP/tcp/5985 - - name: allow-tcp-WINRM-HTTP - protocol: tcp - destination-port: WINRM-HTTP - action: accept - source-address: BAF_INT_GT # was: BAF_INT_GT, BAF_INT_MGMT, MGMT_HOSTS - # [auto] no flows observed in window — source unchanged - name: allow-icmp protocol: icmp @@ -48,6 +27,17 @@ filters: protocol: icmpv6 action: accept +# [auto] 2700 flows total | 2700 hits: BAF_INT_GT (10.5.11.250, 2a07:1182:5:11::250) [15 unanswered] | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BAF_INT_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BAF_INT_GT + - BAF_INT_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-WINDOWS-RPC-ENDPOINT-MAPPER protocol: tcp @@ -63,6 +53,17 @@ filters: source-address: - BAF_INT_HOSTS +# [auto] 1799 flows total | 1799 hits: BAF_INT_GT (10.5.11.250, 2a07:1182:5:11::250) [7 unanswered] | via: RDP/tcp/3389 +# [auto] kept, declared by the site's heuristics: BAF_INT_MGMT, MGMT_HOSTS + - name: allow-tcp-RDP + protocol: tcp + destination-port: RDP + action: accept + source-address: + - BAF_INT_GT + - BAF_INT_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-WINDOWS-CDP protocol: tcp @@ -71,6 +72,17 @@ filters: source-address: - BAF_INT_HOSTS +# [auto] 1919 flows total | 1919 hits: BAF_INT_GT (2a07:1182:5:11::250, 10.5.11.250) [49 unanswered] | via: WINRM-HTTP/tcp/5985 +# [auto] kept, declared by the site's heuristics: BAF_INT_MGMT, MGMT_HOSTS + - name: allow-tcp-WINRM-HTTP + protocol: tcp + destination-port: WINRM-HTTP + action: accept + source-address: + - BAF_INT_GT + - BAF_INT_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-WINDOWS-WINRM-UNCONFIGURED protocol: tcp diff --git a/examples/lspr24/policies/r2-tightened/ws1-beg01_int_beg_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/ws1-beg01_int_beg_05_berylia_org.yml index 715e16e..8562008 100644 --- a/examples/lspr24/policies/r2-tightened/ws1-beg01_int_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/ws1-beg01_int_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/ws1-beg01_int_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:56Z -# Source suggestions changed: 4 | Log-drop candidates: 11 +# Source suggestions changed: 1 | Log-drop candidates: 11 metadata: host: ws1-beg01 zone: beg_int_12 @@ -10,13 +10,6 @@ filters: windows_advfirewall: in mixed block terms: -# [auto] 2700 flows total | 2700 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - # [auto] 899 flows total | 899 hits: BEG_INT_12_GT (2a07:1182:5:12::250) | via: WINDOWS-SMB/tcp/445 - name: allow-tcp-WINDOWS-SMB protocol: tcp @@ -24,20 +17,6 @@ filters: action: accept source-address: BEG_INT_12_GT # was: ANY -# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: RDP/tcp/3389 - - name: allow-tcp-RDP - protocol: tcp - destination-port: RDP - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - -# [auto] 1799 flows total | 1799 hits: BEG_INT_12_GT (2a07:1182:5:12::250, 10.5.12.250) | via: WINRM-HTTP/tcp/5985 - - name: allow-tcp-WINRM-HTTP - protocol: tcp - destination-port: WINRM-HTTP - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - # [auto] no flows observed in window — source unchanged - name: allow-icmp protocol: icmp @@ -48,6 +27,17 @@ filters: protocol: icmpv6 action: accept +# [auto] 2700 flows total | 2700 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-WINDOWS-RPC-ENDPOINT-MAPPER protocol: tcp @@ -63,6 +53,17 @@ filters: source-address: - BEG_INT_12_HOSTS +# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: RDP/tcp/3389 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-RDP + protocol: tcp + destination-port: RDP + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-WINDOWS-CDP protocol: tcp @@ -71,6 +72,17 @@ filters: source-address: - BEG_INT_12_HOSTS +# [auto] 1799 flows total | 1799 hits: BEG_INT_12_GT (2a07:1182:5:12::250, 10.5.12.250) | via: WINRM-HTTP/tcp/5985 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-WINRM-HTTP + protocol: tcp + destination-port: WINRM-HTTP + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-WINDOWS-WINRM-UNCONFIGURED protocol: tcp diff --git a/examples/lspr24/policies/r2-tightened/ws1-beg02_int_beg_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/ws1-beg02_int_beg_05_berylia_org.yml index 0842c59..0c28f5f 100644 --- a/examples/lspr24/policies/r2-tightened/ws1-beg02_int_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/ws1-beg02_int_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/ws1-beg02_int_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:01Z to 2024-03-07T05:59:59Z -# Source suggestions changed: 4 | Log-drop candidates: 11 +# Source suggestions changed: 1 | Log-drop candidates: 11 metadata: host: ws1-beg02 zone: beg_int_12 @@ -10,13 +10,6 @@ filters: windows_advfirewall: in mixed block terms: -# [auto] 2699 flows total | 2699 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - # [auto] 900 flows total | 900 hits: BEG_INT_12_GT (2a07:1182:5:12::250) | via: WINDOWS-SMB/tcp/445 - name: allow-tcp-WINDOWS-SMB protocol: tcp @@ -24,20 +17,6 @@ filters: action: accept source-address: BEG_INT_12_GT # was: ANY -# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: RDP/tcp/3389 - - name: allow-tcp-RDP - protocol: tcp - destination-port: RDP - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - -# [auto] 1799 flows total | 1799 hits: BEG_INT_12_GT (2a07:1182:5:12::250, 10.5.12.250) | via: WINRM-HTTP/tcp/5985 - - name: allow-tcp-WINRM-HTTP - protocol: tcp - destination-port: WINRM-HTTP - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - # [auto] no flows observed in window — source unchanged - name: allow-icmp protocol: icmp @@ -48,6 +27,17 @@ filters: protocol: icmpv6 action: accept +# [auto] 2699 flows total | 2699 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-WINDOWS-RPC-ENDPOINT-MAPPER protocol: tcp @@ -63,6 +53,17 @@ filters: source-address: - BEG_INT_12_HOSTS +# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: RDP/tcp/3389 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-RDP + protocol: tcp + destination-port: RDP + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-WINDOWS-CDP protocol: tcp @@ -71,6 +72,17 @@ filters: source-address: - BEG_INT_12_HOSTS +# [auto] 1799 flows total | 1799 hits: BEG_INT_12_GT (2a07:1182:5:12::250, 10.5.12.250) | via: WINRM-HTTP/tcp/5985 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-WINRM-HTTP + protocol: tcp + destination-port: WINRM-HTTP + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-WINDOWS-WINRM-UNCONFIGURED protocol: tcp diff --git a/examples/lspr24/policies/r2-tightened/ws2-beg01_int_beg_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/ws2-beg01_int_beg_05_berylia_org.yml index a15bd7c..b872747 100644 --- a/examples/lspr24/policies/r2-tightened/ws2-beg01_int_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/ws2-beg01_int_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/ws2-beg01_int_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:02Z to 2024-03-07T05:59:59Z -# Source suggestions changed: 4 | Log-drop candidates: 11 +# Source suggestions changed: 1 | Log-drop candidates: 11 metadata: host: ws2-beg01 zone: beg_int_12 @@ -10,13 +10,6 @@ filters: windows_advfirewall: in mixed block terms: -# [auto] 2700 flows total | 2700 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - # [auto] 900 flows total | 900 hits: BEG_INT_12_GT (2a07:1182:5:12::250) | via: WINDOWS-SMB/tcp/445 - name: allow-tcp-WINDOWS-SMB protocol: tcp @@ -24,20 +17,6 @@ filters: action: accept source-address: BEG_INT_12_GT # was: ANY -# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: RDP/tcp/3389 - - name: allow-tcp-RDP - protocol: tcp - destination-port: RDP - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - -# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: WINRM-HTTP/tcp/5985 - - name: allow-tcp-WINRM-HTTP - protocol: tcp - destination-port: WINRM-HTTP - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - # [auto] no flows observed in window — source unchanged - name: allow-icmp protocol: icmp @@ -48,6 +27,17 @@ filters: protocol: icmpv6 action: accept +# [auto] 2700 flows total | 2700 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-WINDOWS-RPC-ENDPOINT-MAPPER protocol: tcp @@ -63,6 +53,17 @@ filters: source-address: - BEG_INT_12_HOSTS +# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: RDP/tcp/3389 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-RDP + protocol: tcp + destination-port: RDP + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-WINDOWS-CDP protocol: tcp @@ -71,6 +72,17 @@ filters: source-address: - BEG_INT_12_HOSTS +# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: WINRM-HTTP/tcp/5985 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-WINRM-HTTP + protocol: tcp + destination-port: WINRM-HTTP + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-WINDOWS-WINRM-UNCONFIGURED protocol: tcp diff --git a/examples/lspr24/policies/r2-tightened/ws2-beg02_int_beg_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/ws2-beg02_int_beg_05_berylia_org.yml index d3d4141..62d802f 100644 --- a/examples/lspr24/policies/r2-tightened/ws2-beg02_int_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/ws2-beg02_int_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/ws2-beg02_int_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:56Z -# Source suggestions changed: 3 | Log-drop candidates: 1 +# Source suggestions changed: 0 | Log-drop candidates: 1 metadata: host: ws2-beg02 zone: beg_int_12 @@ -10,41 +10,53 @@ filters: nftables: mixed input DROP terms: +# [auto] no flows observed in window — source unchanged + - name: allow-loopback + source-address: LOOPBACK + action: accept + +# [auto] no flows observed in window — source unchanged + - name: allow-icmp + protocol: icmp + action: accept + +# [auto] no flows observed in window — source unchanged + - name: allow-icmpv6 + protocol: icmpv6 + action: accept + # [auto] 2699 flows total | 2699 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS - name: allow-tcp-SSH protocol: tcp destination-port: SSH action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS # [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: RDP/tcp/3389 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS - name: allow-tcp-RDP protocol: tcp destination-port: RDP action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS # [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: WINRM-HTTP/tcp/5985 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS - name: allow-tcp-WINRM-HTTP protocol: tcp destination-port: WINRM-HTTP action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - -# [auto] no flows observed in window — source unchanged - - name: allow-loopback - source-address: LOOPBACK - action: accept - -# [auto] no flows observed in window — source unchanged - - name: allow-icmp - protocol: icmp - action: accept - -# [auto] no flows observed in window — source unchanged - - name: allow-icmpv6 - protocol: icmpv6 - action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-WINDOWS-WINRM-UNCONFIGURED diff --git a/examples/lspr24/policies/r2-tightened/ws3-baf05_int_baf_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/ws3-baf05_int_baf_05_berylia_org.yml index 8166b39..eb381f4 100644 --- a/examples/lspr24/policies/r2-tightened/ws3-baf05_int_baf_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/ws3-baf05_int_baf_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/ws3-baf05_int_baf_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:57Z -# Source suggestions changed: 2 | Log-drop candidates: 3 +# Source suggestions changed: 0 | Log-drop candidates: 3 metadata: host: ws3-baf05 zone: baf_int @@ -10,20 +10,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 2710 flows total | 2710 hits: BAF_INT_GT (10.5.11.250, 2a07:1182:5:11::250) [13 unanswered] | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BAF_INT_GT # was: BAF_INT_GT, BAF_INT_MGMT, MGMT_HOSTS - -# [auto] 1800 flows total | 1800 hits: BAF_INT_GT (10.5.11.250, 2a07:1182:5:11::250) [6 unanswered] | via: RDP/tcp/3389 - - name: allow-tcp-RDP - protocol: tcp - destination-port: RDP - action: accept - source-address: BAF_INT_GT # was: BAF_INT_GT, BAF_INT_MGMT, MGMT_HOSTS - # [auto] no flows observed in window — source unchanged - name: allow-loopback source-address: LOOPBACK @@ -39,6 +25,28 @@ filters: protocol: icmpv6 action: accept +# [auto] 2710 flows total | 2710 hits: BAF_INT_GT (10.5.11.250, 2a07:1182:5:11::250) [13 unanswered] | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BAF_INT_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BAF_INT_GT + - BAF_INT_MGMT + - MGMT_HOSTS + +# [auto] 1800 flows total | 1800 hits: BAF_INT_GT (10.5.11.250, 2a07:1182:5:11::250) [6 unanswered] | via: RDP/tcp/3389 +# [auto] kept, declared by the site's heuristics: BAF_INT_MGMT, MGMT_HOSTS + - name: allow-tcp-RDP + protocol: tcp + destination-port: RDP + action: accept + source-address: + - BAF_INT_GT + - BAF_INT_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-udp-NTP protocol: udp diff --git a/examples/lspr24/policies/r2-tightened/ws3-beg01_int_beg_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/ws3-beg01_int_beg_05_berylia_org.yml index 228ee9e..1068b06 100644 --- a/examples/lspr24/policies/r2-tightened/ws3-beg01_int_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/ws3-beg01_int_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/ws3-beg01_int_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:52Z -# Source suggestions changed: 2 | Log-drop candidates: 3 +# Source suggestions changed: 0 | Log-drop candidates: 3 metadata: host: ws3-beg01 zone: beg_int_12 @@ -10,20 +10,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 2727 flows total | 2727 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [876 unanswered] | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - -# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [480 unanswered] | via: RDP/tcp/3389 - - name: allow-tcp-RDP - protocol: tcp - destination-port: RDP - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - # [auto] no flows observed in window — source unchanged - name: allow-loopback source-address: LOOPBACK @@ -39,6 +25,28 @@ filters: protocol: icmpv6 action: accept +# [auto] 2727 flows total | 2727 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [876 unanswered] | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + +# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [480 unanswered] | via: RDP/tcp/3389 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-RDP + protocol: tcp + destination-port: RDP + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-udp-NTP protocol: udp diff --git a/examples/lspr24/policies/r2-tightened/ws3-beg02_int_beg_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/ws3-beg02_int_beg_05_berylia_org.yml index 8ecc42f..3fd9201 100644 --- a/examples/lspr24/policies/r2-tightened/ws3-beg02_int_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/ws3-beg02_int_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/ws3-beg02_int_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:03Z to 2024-03-07T05:59:52Z -# Source suggestions changed: 2 | Log-drop candidates: 3 +# Source suggestions changed: 0 | Log-drop candidates: 3 metadata: host: ws3-beg02 zone: beg_int_12 @@ -10,20 +10,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 2706 flows total | 2706 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [1694 unanswered] | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - -# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [873 unanswered] | via: RDP/tcp/3389 - - name: allow-tcp-RDP - protocol: tcp - destination-port: RDP - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - # [auto] no flows observed in window — source unchanged - name: allow-loopback source-address: LOOPBACK @@ -39,6 +25,28 @@ filters: protocol: icmpv6 action: accept +# [auto] 2706 flows total | 2706 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [1694 unanswered] | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + +# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [873 unanswered] | via: RDP/tcp/3389 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-RDP + protocol: tcp + destination-port: RDP + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-udp-NTP protocol: udp diff --git a/examples/lspr24/policies/r2-tightened/ws3-beg03_int_beg_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/ws3-beg03_int_beg_05_berylia_org.yml index 67efb27..461ddb6 100644 --- a/examples/lspr24/policies/r2-tightened/ws3-beg03_int_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/ws3-beg03_int_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/ws3-beg03_int_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:55Z -# Source suggestions changed: 2 | Log-drop candidates: 3 +# Source suggestions changed: 0 | Log-drop candidates: 3 metadata: host: ws3-beg03 zone: beg_int_12 @@ -10,20 +10,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 2735 flows total | 2735 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [1008 unanswered] | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - -# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [503 unanswered] | via: RDP/tcp/3389 - - name: allow-tcp-RDP - protocol: tcp - destination-port: RDP - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - # [auto] no flows observed in window — source unchanged - name: allow-loopback source-address: LOOPBACK @@ -39,6 +25,28 @@ filters: protocol: icmpv6 action: accept +# [auto] 2735 flows total | 2735 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [1008 unanswered] | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + +# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [503 unanswered] | via: RDP/tcp/3389 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-RDP + protocol: tcp + destination-port: RDP + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-udp-NTP protocol: udp diff --git a/examples/lspr24/policies/r2-tightened/ws3-beg04_int_beg_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/ws3-beg04_int_beg_05_berylia_org.yml index 67c3537..de92641 100644 --- a/examples/lspr24/policies/r2-tightened/ws3-beg04_int_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/ws3-beg04_int_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/ws3-beg04_int_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:59Z -# Source suggestions changed: 2 | Log-drop candidates: 3 +# Source suggestions changed: 0 | Log-drop candidates: 3 metadata: host: ws3-beg04 zone: beg_int_12 @@ -10,20 +10,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 2715 flows total | 2715 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [1418 unanswered] | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - -# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [713 unanswered] | via: RDP/tcp/3389 - - name: allow-tcp-RDP - protocol: tcp - destination-port: RDP - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - # [auto] no flows observed in window — source unchanged - name: allow-loopback source-address: LOOPBACK @@ -39,6 +25,28 @@ filters: protocol: icmpv6 action: accept +# [auto] 2715 flows total | 2715 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [1418 unanswered] | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + +# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [713 unanswered] | via: RDP/tcp/3389 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-RDP + protocol: tcp + destination-port: RDP + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-udp-NTP protocol: udp diff --git a/examples/lspr24/policies/r2-tightened/ws3-beg05_int_beg_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/ws3-beg05_int_beg_05_berylia_org.yml index 4f70c4e..c02b137 100644 --- a/examples/lspr24/policies/r2-tightened/ws3-beg05_int_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/ws3-beg05_int_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/ws3-beg05_int_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:55Z -# Source suggestions changed: 2 | Log-drop candidates: 3 +# Source suggestions changed: 0 | Log-drop candidates: 3 metadata: host: ws3-beg05 zone: beg_int_12 @@ -10,20 +10,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 2725 flows total | 2725 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [1369 unanswered] | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - -# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [700 unanswered] | via: RDP/tcp/3389 - - name: allow-tcp-RDP - protocol: tcp - destination-port: RDP - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - # [auto] no flows observed in window — source unchanged - name: allow-loopback source-address: LOOPBACK @@ -39,6 +25,28 @@ filters: protocol: icmpv6 action: accept +# [auto] 2725 flows total | 2725 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [1369 unanswered] | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + +# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [700 unanswered] | via: RDP/tcp/3389 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-RDP + protocol: tcp + destination-port: RDP + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-udp-NTP protocol: udp diff --git a/examples/lspr24/policies/r2-tightened/ws6-m365_int_bgp_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/ws6-m365_int_bgp_05_berylia_org.yml index f37c476..aa424fa 100644 --- a/examples/lspr24/policies/r2-tightened/ws6-m365_int_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/ws6-m365_int_bgp_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/ws6-m365_int_bgp_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:01Z to 2024-03-07T05:59:57Z -# Source suggestions changed: 1 | Log-drop candidates: 2 +# Source suggestions changed: 0 | Log-drop candidates: 2 metadata: host: ws6-m365 zone: bgp_int @@ -10,13 +10,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1799 flows total | 1799 hits: BGP_INT_GT (10.5.13.250, 2a07:1182:5:13::250) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BGP_INT_GT # was: BGP_INT_GT, BGP_INT_MGMT, MGMT_HOSTS - # [auto] no flows observed in window — source unchanged - name: allow-loopback source-address: LOOPBACK @@ -32,6 +25,17 @@ filters: protocol: icmpv6 action: accept +# [auto] 1799 flows total | 1799 hits: BGP_INT_GT (10.5.13.250, 2a07:1182:5:13::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BGP_INT_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BGP_INT_GT + - BGP_INT_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-RDP protocol: tcp diff --git a/examples/lspr24/policies/r2-tightened/www_bgp_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/www_bgp_05_berylia_org.yml index 10e5816..709fb68 100644 --- a/examples/lspr24/policies/r2-tightened/www_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/www_bgp_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/www_bgp_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:59Z -# Source suggestions changed: 3 | Log-drop candidates: 1 +# Source suggestions changed: 2 | Log-drop candidates: 1 metadata: host: www zone: bgp_5 @@ -10,13 +10,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BGP_5_GT # was: BGP_5_GT, MGMT_HOSTS - # [auto] 3603 flows total | 3603 hits: BGP_5_GT (2a07:1182:5:30::59, 100.98.5.59) | via: HTTP/tcp/80 - name: allow-tcp-HTTP protocol: tcp @@ -52,6 +45,16 @@ filters: destination-port: FTP-CONTROL action: accept source-address: ANY_V4 + +# [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BGP_5_GT + - MGMT_HOSTS - name: drop-ANY action: deny counter: drop-ANY diff --git a/examples/lspr24/policies/r2-tightened/xroad-securityserver_bgp_05_berylia_org.yml b/examples/lspr24/policies/r2-tightened/xroad-securityserver_bgp_05_berylia_org.yml index 8be2d85..acc81c9 100644 --- a/examples/lspr24/policies/r2-tightened/xroad-securityserver_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r2-tightened/xroad-securityserver_bgp_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/xroad-securityserver_bgp_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:58Z -# Source suggestions changed: 3 | Log-drop candidates: 4 +# Source suggestions changed: 2 | Log-drop candidates: 4 metadata: host: xroad-securityserver zone: bgp_5 @@ -10,13 +10,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BGP_5_GT # was: BGP_5_GT, MGMT_HOSTS - # [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: HTTPS/tcp/443 - name: allow-tcp-HTTPS protocol: tcp @@ -46,6 +39,16 @@ filters: protocol: icmpv6 action: accept +# [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BGP_5_GT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-HTTP protocol: tcp diff --git a/examples/lspr24/policies/r4-block-early/adcs-beg_int_beg_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/adcs-beg_int_beg_05_berylia_org.yml index 73b1b8b..4bd1424 100644 --- a/examples/lspr24/policies/r4-block-early/adcs-beg_int_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/adcs-beg_int_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/adcs-beg_int_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:01Z to 2024-03-07T05:59:46Z -# Source suggestions changed: 2 | Log-drop candidates: 12 +# Source suggestions changed: 1 | Log-drop candidates: 12 metadata: host: adcs-beg zone: beg_int_12 @@ -12,13 +12,6 @@ filters: windows_advfirewall: in mixed block terms: -# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - # [auto] 81 flows total | 12 hits: dc2_int_beg_05_berylia_org (2a07:1182:5:12::3) | 9 hits: dc1_int_beg_05_berylia_org (2a07:1182:5:12::2) | 6 hits: ws1-beg01_int_beg_05_berylia_org (2a07:1182:5:12::21) | 6 hits: ws1-beg02_int_beg_05_berylia_org (2a07:1182:5:12::22) | 6 hits: ws1-beg03_int_beg_05_berylia_org (2a07:1182:5:12::23) | 6 hits: ws1-beg04_int_beg_05_berylia_org (2a07:1182:5:12::24) | 6 hits: ws1-beg05_int_beg_05_berylia_org (2a07:1182:5:12::25) | 6 hits: ws2-beg01_int_beg_05_berylia_org (2a07:1182:5:12::26) | 6 hits: ws2-beg02_int_beg_05_berylia_org (2a07:1182:5:12::27) | 6 hits: ws2-beg03_int_beg_05_berylia_org (2a07:1182:5:12::28) | 6 hits: ws2-beg04_int_beg_05_berylia_org (2a07:1182:5:12::29) | 6 hits: ws2-beg05_int_beg_05_berylia_org (2a07:1182:5:12::2a) | via: WINDOWS-RPC-ENDPOINT-MAPPER/tcp/135 # [auto] Note: BEG_INT_12_WS also permits: ws3-beg01_int_beg_05_berylia_org, ws3-beg02_int_beg_05_berylia_org, ws3-beg03_int_beg_05_berylia_org, ws3-beg04_int_beg_05_berylia_org, ws3-beg05_int_beg_05_berylia_org, ws4-beg01_int_beg_05_berylia_org, ws4-beg02_int_beg_05_berylia_org, ws4-beg03_int_beg_05_berylia_org, ws4-beg04_int_beg_05_berylia_org, ws4-beg05_int_beg_05_berylia_org # [auto] seen in flows but outside existing groups — verify group membership or allow explicitly: dc1_int_beg_05_berylia_org, dc2_int_beg_05_berylia_org @@ -41,6 +34,17 @@ filters: protocol: icmpv6 action: accept +# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: drop-ANY action: deny diff --git a/examples/lspr24/policies/r4-block-early/c4i-ads_baf_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/c4i-ads_baf_05_berylia_org.yml index 65d0725..bdc81c5 100644 --- a/examples/lspr24/policies/r4-block-early/c4i-ads_baf_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/c4i-ads_baf_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/c4i-ads_baf_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:59Z -# Source suggestions changed: 3 | Log-drop candidates: 16 +# Source suggestions changed: 2 | Log-drop candidates: 16 metadata: host: c4i-ads zone: baf_15 @@ -12,13 +12,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 3600 flows total | 3600 hits: BAF_15_GT (10.5.15.250, 2a07:1182:5:15::250) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BAF_15_GT # was: BAF_15_GT, BAF_15_MGMT, MGMT_HOSTS - # [auto] 232569 flows total | 232569 hits: baf_15 (10.5.15.33) | via: CEPH-OSD/tcp/7000 - name: allow-tcp-CEPH-OSD protocol: tcp @@ -48,6 +41,17 @@ filters: protocol: icmpv6 action: accept +# [auto] 3600 flows total | 3600 hits: BAF_15_GT (10.5.15.250, 2a07:1182:5:15::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BAF_15_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BAF_15_GT + - BAF_15_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: drop-ANY action: deny diff --git a/examples/lspr24/policies/r4-block-early/cctv-ai-monitor_int_bgp_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/cctv-ai-monitor_int_bgp_05_berylia_org.yml index 33dc761..9f70b46 100644 --- a/examples/lspr24/policies/r4-block-early/cctv-ai-monitor_int_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/cctv-ai-monitor_int_bgp_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/cctv-ai-monitor_int_bgp_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:57Z -# Source suggestions changed: 1 | Log-drop candidates: 2 +# Source suggestions changed: 0 | Log-drop candidates: 2 metadata: host: cctv-ai-monitor zone: bgp_int @@ -12,13 +12,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1799 flows total | 1799 hits: BGP_INT_GT (10.5.13.250, 2a07:1182:5:13::250) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BGP_INT_GT # was: BGP_INT_GT, BGP_INT_MGMT, MGMT_HOSTS - # [auto] no flows observed in window — source unchanged - name: allow-loopback source-address: LOOPBACK @@ -34,6 +27,17 @@ filters: protocol: icmpv6 action: accept +# [auto] 1799 flows total | 1799 hits: BGP_INT_GT (10.5.13.250, 2a07:1182:5:13::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BGP_INT_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BGP_INT_GT + - BGP_INT_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: drop-ANY action: deny diff --git a/examples/lspr24/policies/r4-block-early/dc1_int_beg_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/dc1_int_beg_05_berylia_org.yml index f7d39ef..9c72977 100644 --- a/examples/lspr24/policies/r4-block-early/dc1_int_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/dc1_int_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/dc1_int_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:59Z -# Source suggestions changed: 11 | Log-drop candidates: 12 +# Source suggestions changed: 9 | Log-drop candidates: 12 metadata: host: dc1 zone: beg_int_12 @@ -12,13 +12,6 @@ filters: windows_advfirewall: in mixed block terms: -# [auto] 2699 flows total | 2699 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - # [auto] 3936 flows total | 3696 hits: dc2_int_beg_05_berylia_org (10.5.12.3, 2a07:1182:5:12::3) | 32 hits: ws1-beg05_int_beg_05_berylia_org (10.5.12.25, 2a07:1182:5:12::25) | 30 hits: ws1-beg04_int_beg_05_berylia_org (10.5.12.24, 2a07:1182:5:12::24) | 28 hits: ws1-beg01_int_beg_05_berylia_org (10.5.12.21, 2a07:1182:5:12::21) | 28 hits: ws1-beg02_int_beg_05_berylia_org (10.5.12.22, 2a07:1182:5:12::22) | 28 hits: ws1-beg03_int_beg_05_berylia_org (10.5.12.23, 2a07:1182:5:12::23) | 26 hits: ws2-beg02_int_beg_05_berylia_org (10.5.12.27, 2a07:1182:5:12::27) | 23 hits: ws2-beg03_int_beg_05_berylia_org (2a07:1182:5:12::28, 10.5.12.28) | 16 hits: ws2-beg01_int_beg_05_berylia_org (10.5.12.26, 2a07:1182:5:12::26) | 12 hits: ws2-beg04_int_beg_05_berylia_org (10.5.12.29, 2a07:1182:5:12::29) | 10 hits: ws2-beg05_int_beg_05_berylia_org (10.5.12.30, 2a07:1182:5:12::2a) | 4 hits: ws3-beg04_int_beg_05_berylia_org (2a07:1182:5:12::34) | 2 hits: ws3-beg03_int_beg_05_berylia_org (10.5.12.33, 2a07:1182:5:12::33) | 1 hits: mail_beg_05_berylia_org (100.97.5.5) [never answered] | via: DNS-TCP/tcp/53 # [auto] Note: BEG_INT_12_HOSTS also permits: BEG_INT_12_GT, BEG_INT_12_WS, adcs-beg_int_beg_05_berylia_org, dc1_int_beg_05_berylia_org, lemonldapng_int_beg_05_berylia_org, ws3-beg01_int_beg_05_berylia_org, ws3-beg02_int_beg_05_berylia_org, ws3-beg05_int_beg_05_berylia_org, ws4-beg01_int_beg_05_berylia_org, ws4-beg02_int_beg_05_berylia_org, ws4-beg03_int_beg_05_berylia_org, ws4-beg04_int_beg_05_berylia_org, ws4-beg05_int_beg_05_berylia_org # [auto] seen in flows but outside existing groups — verify group membership or allow explicitly: mail_beg_05_berylia_org @@ -41,11 +34,14 @@ filters: - beg-power-ws # [auto] 5 flows total | 5 hits: mail_beg_05_berylia_org (100.97.5.5) [never answered] | via: NETBIOS-SSN-LEGACY/tcp/139 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_HOSTS - name: allow-tcp-NETBIOS-SSN-LEGACY protocol: tcp destination-port: NETBIOS-SSN-LEGACY action: accept - source-address: mail_beg_05_berylia_org # was: BEG_INT_12_HOSTS + source-address: # was: BEG_INT_12_HOSTS + - mail_beg_05_berylia_org + - BEG_INT_12_HOSTS # [auto] 7375 flows total | 4744 hits: mail_beg_05_berylia_org (100.97.5.5) [4705 unanswered] | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | 385 hits: dc2_int_beg_05_berylia_org (2a07:1182:5:12::3) | 53 hits: ws3-beg01_int_beg_05_berylia_org (10.5.12.31) | 53 hits: ws3-beg03_int_beg_05_berylia_org (10.5.12.33) [4 unanswered] | 46 hits: ws2-beg01_int_beg_05_berylia_org (2a07:1182:5:12::26) | 39 hits: ws2-beg02_int_beg_05_berylia_org (2a07:1182:5:12::27) | 36 hits: ws1-beg02_int_beg_05_berylia_org (2a07:1182:5:12::22) | 36 hits: ws2-beg04_int_beg_05_berylia_org (2a07:1182:5:12::29) | 33 hits: ws1-beg04_int_beg_05_berylia_org (2a07:1182:5:12::24) | 30 hits: ws1-beg03_int_beg_05_berylia_org (2a07:1182:5:12::23) | 30 hits: ws1-beg05_int_beg_05_berylia_org (2a07:1182:5:12::25) | 21 hits: adcs-beg_int_beg_05_berylia_org (2a07:1182:5:12::18) | 20 hits: ws3-beg04_int_beg_05_berylia_org (10.5.12.34) | 15 hits: ws2-beg03_int_beg_05_berylia_org (2a07:1182:5:12::28) | 14 hits: ws2-beg05_int_beg_05_berylia_org (2a07:1182:5:12::2a) | 11 hits: ws3-beg05_int_beg_05_berylia_org (10.5.12.35) | 9 hits: beg-power-ws_int_beg_05_berylia_org (2a07:1182:5:22::20) | via: LDAP-TCP/tcp/389 # [auto] Note: BEG_INT_12_HOSTS also permits: BEG_INT_12_WS, dc1_int_beg_05_berylia_org, lemonldapng_int_beg_05_berylia_org, ws1-beg01_int_beg_05_berylia_org, ws3-beg02_int_beg_05_berylia_org, ws4-beg01_int_beg_05_berylia_org, ws4-beg02_int_beg_05_berylia_org, ws4-beg03_int_beg_05_berylia_org, ws4-beg04_int_beg_05_berylia_org, ws4-beg05_int_beg_05_berylia_org @@ -66,14 +62,8 @@ filters: action: accept source-address: BEG_INT_12_GT # was: ANY -# [auto] 1799 flows total | 1799 hits: BEG_INT_12_GT (2a07:1182:5:12::250, 10.5.12.250) | via: WINRM-HTTP/tcp/5985 - - name: allow-tcp-WINRM-HTTP - protocol: tcp - destination-port: WINRM-HTTP - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - # [auto] 8994 flows total | 7194 hits: BEG_5_GT (2a07:1182:5:20::60, 100.97.5.60) | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: WINDOWS-AD-ADWS/tcp/9389 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS - name: allow-tcp-WINDOWS-AD-ADWS protocol: tcp destination-port: WINDOWS-AD-ADWS @@ -81,6 +71,8 @@ filters: source-address: # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - BEG_5_GT - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS # [auto] 309990 flows total | 108807 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | 21206 hits: mail_beg_05_berylia_org (100.97.5.5) [1 unanswered] | 18510 hits: ws2-beg04_int_beg_05_berylia_org (2a07:1182:5:12::29, 10.5.12.29) [42 unanswered] | 17274 hits: ws2-beg03_int_beg_05_berylia_org (2a07:1182:5:12::28, 10.5.12.28) [14 unanswered] | 17266 hits: ws2-beg05_int_beg_05_berylia_org (2a07:1182:5:12::2a, 10.5.12.30) [21 unanswered] | 16875 hits: ws2-beg02_int_beg_05_berylia_org (2a07:1182:5:12::27, 10.5.12.27) [10 unanswered] | 16254 hits: ws2-beg01_int_beg_05_berylia_org (2a07:1182:5:12::26, 10.5.12.26) [23 unanswered] | 14547 hits: ws3-beg01_int_beg_05_berylia_org (2a07:1182:5:12::31, 10.5.12.31) [24 unanswered] | 13536 hits: ws3-beg03_int_beg_05_berylia_org (2a07:1182:5:12::33, 10.5.12.33) [18 unanswered] | 10429 hits: beg-power-ws_int_beg_05_berylia_org (2a07:1182:5:22::20, 10.5.22.20) | 7161 hits: ws3-beg04_int_beg_05_berylia_org (10.5.12.34, 2a07:1182:5:12::34) | 6904 hits: dc2_int_beg_05_berylia_org (2a07:1182:5:12::3, 10.5.12.3) [777 unanswered] | 3841 hits: adcs-beg_int_beg_05_berylia_org (2a07:1182:5:12::18, 10.5.12.18) [1 unanswered] | 3530 hits: ws3-beg05_int_beg_05_berylia_org (2a07:1182:5:12::35, 10.5.12.35) | 3517 hits: ws1-beg03_int_beg_05_berylia_org (2a07:1182:5:12::23, 10.5.12.23) [14 unanswered] | 3512 hits: ws1-beg05_int_beg_05_berylia_org (2a07:1182:5:12::25, 10.5.12.25) [20 unanswered] | 3487 hits: ws1-beg02_int_beg_05_berylia_org (2a07:1182:5:12::22, 10.5.12.22) [14 unanswered] | 3403 hits: ws1-beg04_int_beg_05_berylia_org (2a07:1182:5:12::24, 10.5.12.24) [7 unanswered] | 3390 hits: ws1-beg01_int_beg_05_berylia_org (2a07:1182:5:12::21, 10.5.12.21) [22 unanswered] | 2912 hits: ws4-beg05_int_beg_05_berylia_org (10.5.12.40, 2a07:1182:5:12::3a) | 2911 hits: ws4-beg03_int_beg_05_berylia_org (10.5.12.38, 2a07:1182:5:12::38) | 2910 hits: ws4-beg04_int_beg_05_berylia_org (10.5.12.39, 2a07:1182:5:12::39) | 2909 hits: ws4-beg01_int_beg_05_berylia_org (10.5.12.36, 2a07:1182:5:12::36) | 2909 hits: ws4-beg02_int_beg_05_berylia_org (10.5.12.37, 2a07:1182:5:12::37) | 1799 hits: BEG_5_GT (100.97.5.60, 2a07:1182:5:20::60) | 162 hits: lemonldapng_int_beg_05_berylia_org (2a07:1182:5:12::42, 10.5.12.42) | 29 hits: ws3-beg02_int_beg_05_berylia_org (10.5.12.32, 2a07:1182:5:12::32) | via: DNS-UDP/udp/53 # [auto] Note: BEG_INT_12_HOSTS also permits: BEG_INT_12_WS, dc1_int_beg_05_berylia_org @@ -131,6 +123,17 @@ filters: protocol: icmpv6 action: accept +# [auto] 2699 flows total | 2699 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + # [auto] 8733 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | 1797 hits: ws1-beg02_int_beg_05_berylia_org (2a07:1182:5:12::22) | 1796 hits: ws1-beg01_int_beg_05_berylia_org (2a07:1182:5:12::21) | 929 hits: ws1-beg03_int_beg_05_berylia_org (2a07:1182:5:12::23) | 903 hits: adcs-beg_int_beg_05_berylia_org (2a07:1182:5:12::18) | 528 hits: ws1-beg05_int_beg_05_berylia_org (2a07:1182:5:12::25) | 450 hits: mail_beg_05_berylia_org (100.97.5.5) [never answered] | 436 hits: ws2-beg02_int_beg_05_berylia_org (2a07:1182:5:12::27) | 34 hits: ws2-beg04_int_beg_05_berylia_org (2a07:1182:5:12::29) | 22 hits: ws2-beg01_int_beg_05_berylia_org (2a07:1182:5:12::26) | 16 hits: ws2-beg05_int_beg_05_berylia_org (2a07:1182:5:12::2a) | 15 hits: ws2-beg03_int_beg_05_berylia_org (2a07:1182:5:12::28) | 7 hits: beg-power-ws_int_beg_05_berylia_org (2a07:1182:5:22::20) | via: WINDOWS-RPC-ENDPOINT-MAPPER/tcp/135 - name: allow-tcp-WINDOWS-RPC-ENDPOINT-MAPPER protocol: tcp @@ -152,6 +155,16 @@ filters: action: accept source-address: ANY +# [auto] no flows observed in window — source unchanged; log-drop candidate + - name: allow-tcp-WINRM-HTTP + protocol: tcp + destination-port: WINRM-HTTP + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: drop-ANY action: deny diff --git a/examples/lspr24/policies/r4-block-early/dc2_int_beg_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/dc2_int_beg_05_berylia_org.yml index 271583f..04365f3 100644 --- a/examples/lspr24/policies/r4-block-early/dc2_int_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/dc2_int_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/dc2_int_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:59Z -# Source suggestions changed: 11 | Log-drop candidates: 12 +# Source suggestions changed: 9 | Log-drop candidates: 12 metadata: host: dc2 zone: beg_int_12 @@ -12,13 +12,6 @@ filters: windows_advfirewall: in mixed block terms: -# [auto] 2700 flows total | 2700 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - # [auto] 4019 flows total | 3709 hits: dc1_int_beg_05_berylia_org (10.5.12.2, 2a07:1182:5:12::2) | 43 hits: ws3-beg04_int_beg_05_berylia_org (10.5.12.34, 2a07:1182:5:12::34) | 32 hits: ws1-beg05_int_beg_05_berylia_org (10.5.12.25, 2a07:1182:5:12::25) | 30 hits: ws1-beg04_int_beg_05_berylia_org (10.5.12.24, 2a07:1182:5:12::24) | 28 hits: ws1-beg01_int_beg_05_berylia_org (10.5.12.21, 2a07:1182:5:12::21) | 28 hits: ws1-beg02_int_beg_05_berylia_org (10.5.12.22, 2a07:1182:5:12::22) | 28 hits: ws1-beg03_int_beg_05_berylia_org (10.5.12.23, 2a07:1182:5:12::23) | 28 hits: ws2-beg02_int_beg_05_berylia_org (10.5.12.27, 2a07:1182:5:12::27) | 27 hits: ws3-beg03_int_beg_05_berylia_org (10.5.12.33, 2a07:1182:5:12::33) | 22 hits: ws2-beg03_int_beg_05_berylia_org (10.5.12.28, 2a07:1182:5:12::28) | 16 hits: ws2-beg01_int_beg_05_berylia_org (10.5.12.26, 2a07:1182:5:12::26) | 12 hits: ws2-beg04_int_beg_05_berylia_org (10.5.12.29, 2a07:1182:5:12::29) | 10 hits: ws2-beg05_int_beg_05_berylia_org (10.5.12.30, 2a07:1182:5:12::2a) | 5 hits: ws3-beg05_int_beg_05_berylia_org (10.5.12.35) | 1 hits: mail_beg_05_berylia_org (100.97.5.5) [never answered] | via: DNS-TCP/tcp/53 # [auto] Note: BEG_INT_12_HOSTS also permits: BEG_INT_12_GT, BEG_INT_12_WS, adcs-beg_int_beg_05_berylia_org, dc2_int_beg_05_berylia_org, lemonldapng_int_beg_05_berylia_org, ws3-beg01_int_beg_05_berylia_org, ws3-beg02_int_beg_05_berylia_org, ws4-beg01_int_beg_05_berylia_org, ws4-beg02_int_beg_05_berylia_org, ws4-beg03_int_beg_05_berylia_org, ws4-beg04_int_beg_05_berylia_org, ws4-beg05_int_beg_05_berylia_org # [auto] seen in flows but outside existing groups — verify group membership or allow explicitly: mail_beg_05_berylia_org @@ -41,11 +34,14 @@ filters: - beg-power-ws # [auto] 15 flows total | 15 hits: mail_beg_05_berylia_org (100.97.5.5) [never answered] | via: NETBIOS-SSN-LEGACY/tcp/139 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_HOSTS - name: allow-tcp-NETBIOS-SSN-LEGACY protocol: tcp destination-port: NETBIOS-SSN-LEGACY action: accept - source-address: mail_beg_05_berylia_org # was: BEG_INT_12_HOSTS + source-address: # was: BEG_INT_12_HOSTS + - mail_beg_05_berylia_org + - BEG_INT_12_HOSTS # [auto] 6955 flows total | 4682 hits: mail_beg_05_berylia_org (100.97.5.5) [never answered] | 1799 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | 73 hits: ws3-beg01_int_beg_05_berylia_org (10.5.12.31) | 58 hits: ws3-beg03_int_beg_05_berylia_org (10.5.12.33) | 52 hits: ws1-beg01_int_beg_05_berylia_org (2a07:1182:5:12::21) | 44 hits: beg-power-ws_int_beg_05_berylia_org (2a07:1182:5:22::20) | 36 hits: ws2-beg05_int_beg_05_berylia_org (2a07:1182:5:12::2a) | 33 hits: ws2-beg03_int_beg_05_berylia_org (2a07:1182:5:12::28) | 26 hits: ws3-beg04_int_beg_05_berylia_org (10.5.12.34) | 25 hits: adcs-beg_int_beg_05_berylia_org (2a07:1182:5:12::18) | 25 hits: ws3-beg05_int_beg_05_berylia_org (10.5.12.35) | 22 hits: ws1-beg03_int_beg_05_berylia_org (2a07:1182:5:12::23) | 20 hits: ws1-beg05_int_beg_05_berylia_org (2a07:1182:5:12::25) | 16 hits: ws1-beg02_int_beg_05_berylia_org (2a07:1182:5:12::22) | 16 hits: ws2-beg04_int_beg_05_berylia_org (2a07:1182:5:12::29) | 15 hits: ws1-beg04_int_beg_05_berylia_org (2a07:1182:5:12::24) | 13 hits: ws2-beg02_int_beg_05_berylia_org (2a07:1182:5:12::27) | via: LDAP-TCP/tcp/389 # [auto] Note: BEG_INT_12_HOSTS also permits: BEG_INT_12_WS, dc1_int_beg_05_berylia_org, dc2_int_beg_05_berylia_org, lemonldapng_int_beg_05_berylia_org, ws2-beg01_int_beg_05_berylia_org, ws3-beg02_int_beg_05_berylia_org, ws4-beg01_int_beg_05_berylia_org, ws4-beg02_int_beg_05_berylia_org, ws4-beg03_int_beg_05_berylia_org, ws4-beg04_int_beg_05_berylia_org, ws4-beg05_int_beg_05_berylia_org @@ -66,14 +62,8 @@ filters: action: accept source-address: BEG_INT_12_GT # was: ANY -# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: WINRM-HTTP/tcp/5985 - - name: allow-tcp-WINRM-HTTP - protocol: tcp - destination-port: WINRM-HTTP - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - # [auto] 8994 flows total | 7194 hits: BEG_5_GT (2a07:1182:5:20::60, 100.97.5.60) | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: WINDOWS-AD-ADWS/tcp/9389 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS - name: allow-tcp-WINDOWS-AD-ADWS protocol: tcp destination-port: WINDOWS-AD-ADWS @@ -81,6 +71,8 @@ filters: source-address: # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - BEG_5_GT - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS # [auto] 201439 flows total | 29832 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | 20784 hits: mail_beg_05_berylia_org (100.97.5.5) [21 unanswered] | 16522 hits: ws2-beg04_int_beg_05_berylia_org (10.5.12.29, 2a07:1182:5:12::29) [21 unanswered] | 15152 hits: ws2-beg03_int_beg_05_berylia_org (10.5.12.28, 2a07:1182:5:12::28) [1 unanswered] | 14915 hits: ws2-beg05_int_beg_05_berylia_org (10.5.12.30, 2a07:1182:5:12::2a) [7 unanswered] | 14602 hits: ws2-beg02_int_beg_05_berylia_org (10.5.12.27, 2a07:1182:5:12::27) [3 unanswered] | 14509 hits: ws3-beg01_int_beg_05_berylia_org (10.5.12.31, 2a07:1182:5:12::31) [104 unanswered] | 14044 hits: ws2-beg01_int_beg_05_berylia_org (10.5.12.26, 2a07:1182:5:12::26) [5 unanswered] | 13317 hits: ws3-beg03_int_beg_05_berylia_org (2a07:1182:5:12::33, 10.5.12.33) [100 unanswered] | 9838 hits: beg-power-ws_int_beg_05_berylia_org (10.5.22.20, 2a07:1182:5:22::20) [9 unanswered] | 6618 hits: ws3-beg04_int_beg_05_berylia_org (2a07:1182:5:12::34, 10.5.12.34) [14 unanswered] | 5124 hits: dc1_int_beg_05_berylia_org (10.5.12.2, 2a07:1182:5:12::2) [5 unanswered] | 3686 hits: adcs-beg_int_beg_05_berylia_org (10.5.12.18, 2a07:1182:5:12::18) [8 unanswered] | 3400 hits: ws3-beg05_int_beg_05_berylia_org (2a07:1182:5:12::35, 10.5.12.35) [38 unanswered] | 3396 hits: ws1-beg03_int_beg_05_berylia_org (10.5.12.23, 2a07:1182:5:12::23) [3 unanswered] | 3360 hits: ws1-beg05_int_beg_05_berylia_org (10.5.12.25, 2a07:1182:5:12::25) [1 unanswered] | 3332 hits: ws1-beg02_int_beg_05_berylia_org (10.5.12.22, 2a07:1182:5:12::22) | 3217 hits: ws1-beg04_int_beg_05_berylia_org (10.5.12.24, 2a07:1182:5:12::24) [3 unanswered] | 3183 hits: ws1-beg01_int_beg_05_berylia_org (10.5.12.21, 2a07:1182:5:12::21) [5 unanswered] | 1800 hits: BEG_5_GT (100.97.5.60, 2a07:1182:5:20::60) | 181 hits: lemonldapng_int_beg_05_berylia_org (10.5.12.42, 2a07:1182:5:12::42) [3 unanswered] | 120 hits: ws4-beg01_int_beg_05_berylia_org (10.5.12.36) | 120 hits: ws4-beg02_int_beg_05_berylia_org (10.5.12.37) | 120 hits: ws4-beg03_int_beg_05_berylia_org (10.5.12.38) | 120 hits: ws4-beg04_int_beg_05_berylia_org (10.5.12.39) | 120 hits: ws4-beg05_int_beg_05_berylia_org (10.5.12.40) | 27 hits: ws3-beg02_int_beg_05_berylia_org (10.5.12.32, 2a07:1182:5:12::32) | via: DNS-UDP/udp/53 # [auto] Note: BEG_INT_12_HOSTS also permits: BEG_INT_12_WS, dc2_int_beg_05_berylia_org @@ -131,6 +123,17 @@ filters: protocol: icmpv6 action: accept +# [auto] 2700 flows total | 2700 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + # [auto] 4095 flows total | 1799 hits: BEG_INT_12_GT (2a07:1182:5:12::250, 10.5.12.250) | 1799 hits: ws2-beg05_int_beg_05_berylia_org (2a07:1182:5:12::2a) | 396 hits: mail_beg_05_berylia_org (100.97.5.5) [never answered] | 22 hits: ws1-beg04_int_beg_05_berylia_org (2a07:1182:5:12::24) | 19 hits: ws1-beg01_int_beg_05_berylia_org (2a07:1182:5:12::21) | 18 hits: ws1-beg02_int_beg_05_berylia_org (2a07:1182:5:12::22) | 17 hits: adcs-beg_int_beg_05_berylia_org (2a07:1182:5:12::18) | 14 hits: beg-power-ws_int_beg_05_berylia_org (2a07:1182:5:22::20) | 7 hits: ws2-beg03_int_beg_05_berylia_org (2a07:1182:5:12::28) | 4 hits: ws1-beg03_int_beg_05_berylia_org (2a07:1182:5:12::23) | via: WINDOWS-RPC-ENDPOINT-MAPPER/tcp/135 - name: allow-tcp-WINDOWS-RPC-ENDPOINT-MAPPER protocol: tcp @@ -152,6 +155,16 @@ filters: action: accept source-address: ANY +# [auto] no flows observed in window — source unchanged; log-drop candidate + - name: allow-tcp-WINRM-HTTP + protocol: tcp + destination-port: WINRM-HTTP + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: drop-ANY action: deny diff --git a/examples/lspr24/policies/r4-block-early/entry_bgp_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/entry_bgp_05_berylia_org.yml index be6818f..23f634d 100644 --- a/examples/lspr24/policies/r4-block-early/entry_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/entry_bgp_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/entry_bgp_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:55Z -# Source suggestions changed: 3 | Log-drop candidates: 1 +# Source suggestions changed: 2 | Log-drop candidates: 1 metadata: host: entry zone: bgp_5 @@ -12,13 +12,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BGP_5_GT # was: BGP_5_GT, MGMT_HOSTS - # [auto] 3600 flows total | 3600 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: HTTP/tcp/80 - name: allow-tcp-HTTP protocol: tcp @@ -48,6 +41,16 @@ filters: protocol: icmpv6 action: accept +# [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BGP_5_GT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: drop-ANY action: deny diff --git a/examples/lspr24/policies/r4-block-early/fiveg-ue-bgp01_sac_bgp_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/fiveg-ue-bgp01_sac_bgp_05_berylia_org.yml index 05a6816..24f27e4 100644 --- a/examples/lspr24/policies/r4-block-early/fiveg-ue-bgp01_sac_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/fiveg-ue-bgp01_sac_bgp_05_berylia_org.yml @@ -13,11 +13,14 @@ filters: terms: # [auto] 900 flows total | 900 hits: BGP_INT_GT (10.5.13.250) [never answered] | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS - name: allow-tcp-SSH protocol: tcp destination-port: SSH action: accept - source-address: BGP_INT_GT # was: MGMT_HOSTS + source-address: # was: MGMT_HOSTS + - BGP_INT_GT + - MGMT_HOSTS # [auto] no flows observed in window — source unchanged - name: allow-loopback diff --git a/examples/lspr24/policies/r4-block-early/fiveg-ue-bgp02_sac_bgp_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/fiveg-ue-bgp02_sac_bgp_05_berylia_org.yml index 7e9d6c5..5af66c2 100644 --- a/examples/lspr24/policies/r4-block-early/fiveg-ue-bgp02_sac_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/fiveg-ue-bgp02_sac_bgp_05_berylia_org.yml @@ -13,11 +13,14 @@ filters: terms: # [auto] 900 flows total | 900 hits: BGP_INT_GT (10.5.13.250) [never answered] | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS - name: allow-tcp-SSH protocol: tcp destination-port: SSH action: accept - source-address: BGP_INT_GT # was: MGMT_HOSTS + source-address: # was: MGMT_HOSTS + - BGP_INT_GT + - MGMT_HOSTS # [auto] no flows observed in window — source unchanged - name: allow-loopback diff --git a/examples/lspr24/policies/r4-block-early/fiveg-ue-bgp03_sac_bgp_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/fiveg-ue-bgp03_sac_bgp_05_berylia_org.yml index bf986f5..0d8c2a2 100644 --- a/examples/lspr24/policies/r4-block-early/fiveg-ue-bgp03_sac_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/fiveg-ue-bgp03_sac_bgp_05_berylia_org.yml @@ -13,11 +13,14 @@ filters: terms: # [auto] 900 flows total | 900 hits: BGP_INT_GT (10.5.13.250) [never answered] | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS - name: allow-tcp-SSH protocol: tcp destination-port: SSH action: accept - source-address: BGP_INT_GT # was: MGMT_HOSTS + source-address: # was: MGMT_HOSTS + - BGP_INT_GT + - MGMT_HOSTS # [auto] no flows observed in window — source unchanged - name: allow-loopback diff --git a/examples/lspr24/policies/r4-block-early/gas-historian_beg_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/gas-historian_beg_05_berylia_org.yml index b33bd74..752ded4 100644 --- a/examples/lspr24/policies/r4-block-early/gas-historian_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/gas-historian_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/gas-historian_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:20Z to 2024-03-07T05:59:57Z -# Source suggestions changed: 1 | Log-drop candidates: 6 +# Source suggestions changed: 0 | Log-drop candidates: 6 metadata: host: gas-historian zone: beg_17 @@ -12,13 +12,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1800 flows total | 1800 hits: BEG_17_GT (10.5.17.250, 2a07:1182:5:17::250) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_17_GT # was: BEG_17_GT, BEG_17_MGMT, MGMT_HOSTS - # [auto] no flows observed in window — source unchanged - name: allow-loopback source-address: LOOPBACK @@ -34,6 +27,17 @@ filters: protocol: icmpv6 action: accept +# [auto] 1800 flows total | 1800 hits: BEG_17_GT (10.5.17.250, 2a07:1182:5:17::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BEG_17_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_17_GT + - BEG_17_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: drop-ANY action: deny diff --git a/examples/lspr24/policies/r4-block-early/gas-hmi_beg_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/gas-hmi_beg_05_berylia_org.yml index 9e5e293..6bb1ace 100644 --- a/examples/lspr24/policies/r4-block-early/gas-hmi_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/gas-hmi_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/gas-hmi_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:01Z to 2024-03-07T05:59:55Z -# Source suggestions changed: 4 | Log-drop candidates: 3 +# Source suggestions changed: 3 | Log-drop candidates: 3 metadata: host: gas-hmi zone: beg_17 @@ -12,13 +12,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1800 flows total | 1800 hits: BEG_17_GT (10.5.17.250, 2a07:1182:5:17::250) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_17_GT # was: BEG_17_GT, BEG_17_MGMT, MGMT_HOSTS - # [auto] 1800 flows total | 1800 hits: BEG_17_GT (10.5.17.250, 2a07:1182:5:17::250) | via: TCP_3000/tcp/3000 - name: allow-tcp-TCP_3000 protocol: tcp @@ -55,6 +48,17 @@ filters: protocol: icmpv6 action: accept +# [auto] 1800 flows total | 1800 hits: BEG_17_GT (10.5.17.250, 2a07:1182:5:17::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BEG_17_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_17_GT + - BEG_17_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: drop-ANY action: deny diff --git a/examples/lspr24/policies/r4-block-early/hq-gsc01_bgp_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/hq-gsc01_bgp_05_berylia_org.yml index fcd0244..bb1e856 100644 --- a/examples/lspr24/policies/r4-block-early/hq-gsc01_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/hq-gsc01_bgp_05_berylia_org.yml @@ -13,6 +13,7 @@ filters: terms: # [auto] 5400 flows total | 3600 hits: BGP_20_GT (10.5.20.250, 2a07:1182:5:f20::250) | 1800 hits: BGP_INT_GT (10.5.13.250, 2a07:1182:5:13::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BGP_20_MGMT, MGMT_HOSTS - name: allow-tcp-SSH protocol: tcp destination-port: SSH @@ -20,6 +21,8 @@ filters: source-address: # was: BGP_20_GT, BGP_20_MGMT, MGMT_HOSTS - BGP_20_GT - BGP_INT_GT + - BGP_20_MGMT + - MGMT_HOSTS # [auto] 1813 flows total | 1813 hits: BGP_20_GT (2a07:1182:5:f20::250, 10.5.20.250) | via: HTTP-ALT/tcp/8080 - name: allow-tcp-HTTP-ALT diff --git a/examples/lspr24/policies/r4-block-early/hq-gsc02_bgp_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/hq-gsc02_bgp_05_berylia_org.yml index 84dcea2..c956c65 100644 --- a/examples/lspr24/policies/r4-block-early/hq-gsc02_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/hq-gsc02_bgp_05_berylia_org.yml @@ -13,6 +13,7 @@ filters: terms: # [auto] 5399 flows total | 3599 hits: BGP_20_GT (10.5.20.250, 2a07:1182:5:f20::250) | 1800 hits: BGP_INT_GT (10.5.13.250, 2a07:1182:5:13::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BGP_20_MGMT, MGMT_HOSTS - name: allow-tcp-SSH protocol: tcp destination-port: SSH @@ -20,6 +21,8 @@ filters: source-address: # was: BGP_20_GT, BGP_20_MGMT, MGMT_HOSTS - BGP_20_GT - BGP_INT_GT + - BGP_20_MGMT + - MGMT_HOSTS # [auto] 1807 flows total | 1807 hits: BGP_20_GT (2a07:1182:5:f20::250, 10.5.20.250) | via: HTTP-ALT/tcp/8080 - name: allow-tcp-HTTP-ALT diff --git a/examples/lspr24/policies/r4-block-early/hq-gsc03_bgp_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/hq-gsc03_bgp_05_berylia_org.yml index ca655e3..02552d9 100644 --- a/examples/lspr24/policies/r4-block-early/hq-gsc03_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/hq-gsc03_bgp_05_berylia_org.yml @@ -13,6 +13,7 @@ filters: terms: # [auto] 5399 flows total | 3600 hits: BGP_20_GT (10.5.20.250, 2a07:1182:5:f20::250) | 1799 hits: BGP_INT_GT (2a07:1182:5:13::250, 10.5.13.250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BGP_20_MGMT, MGMT_HOSTS - name: allow-tcp-SSH protocol: tcp destination-port: SSH @@ -20,6 +21,8 @@ filters: source-address: # was: BGP_20_GT, BGP_20_MGMT, MGMT_HOSTS - BGP_20_GT - BGP_INT_GT + - BGP_20_MGMT + - MGMT_HOSTS # [auto] 1805 flows total | 1805 hits: BGP_20_GT (2a07:1182:5:f20::250, 10.5.20.250) | via: HTTP-ALT/tcp/8080 - name: allow-tcp-HTTP-ALT diff --git a/examples/lspr24/policies/r4-block-early/hq-gsc04_bgp_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/hq-gsc04_bgp_05_berylia_org.yml index ec4914d..74c859a 100644 --- a/examples/lspr24/policies/r4-block-early/hq-gsc04_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/hq-gsc04_bgp_05_berylia_org.yml @@ -13,6 +13,7 @@ filters: terms: # [auto] 5398 flows total | 3599 hits: BGP_20_GT (10.5.20.250, 2a07:1182:5:f20::250) | 1799 hits: BGP_INT_GT (2a07:1182:5:13::250, 10.5.13.250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BGP_20_MGMT, MGMT_HOSTS - name: allow-tcp-SSH protocol: tcp destination-port: SSH @@ -20,6 +21,8 @@ filters: source-address: # was: BGP_20_GT, BGP_20_MGMT, MGMT_HOSTS - BGP_20_GT - BGP_INT_GT + - BGP_20_MGMT + - MGMT_HOSTS # [auto] 1808 flows total | 1808 hits: BGP_20_GT (2a07:1182:5:f20::250, 10.5.20.250) | via: HTTP-ALT/tcp/8080 - name: allow-tcp-HTTP-ALT diff --git a/examples/lspr24/policies/r4-block-early/hq-gsc05_bgp_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/hq-gsc05_bgp_05_berylia_org.yml index 62e30b2..895792c 100644 --- a/examples/lspr24/policies/r4-block-early/hq-gsc05_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/hq-gsc05_bgp_05_berylia_org.yml @@ -13,6 +13,7 @@ filters: terms: # [auto] 5400 flows total | 3600 hits: BGP_20_GT (10.5.20.250, 2a07:1182:5:f20::250) | 1800 hits: BGP_INT_GT (10.5.13.250, 2a07:1182:5:13::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BGP_20_MGMT, MGMT_HOSTS - name: allow-tcp-SSH protocol: tcp destination-port: SSH @@ -20,6 +21,8 @@ filters: source-address: # was: BGP_20_GT, BGP_20_MGMT, MGMT_HOSTS - BGP_20_GT - BGP_INT_GT + - BGP_20_MGMT + - MGMT_HOSTS # [auto] 1812 flows total | 1812 hits: BGP_20_GT (2a07:1182:5:f20::250, 10.5.20.250) | via: HTTP-ALT/tcp/8080 - name: allow-tcp-HTTP-ALT diff --git a/examples/lspr24/policies/r4-block-early/hq-gsc06_bgp_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/hq-gsc06_bgp_05_berylia_org.yml index 09fddd9..c95702e 100644 --- a/examples/lspr24/policies/r4-block-early/hq-gsc06_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/hq-gsc06_bgp_05_berylia_org.yml @@ -13,6 +13,7 @@ filters: terms: # [auto] 5400 flows total | 3600 hits: BGP_20_GT (10.5.20.250, 2a07:1182:5:f20::250) | 1800 hits: BGP_INT_GT (10.5.13.250, 2a07:1182:5:13::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BGP_20_MGMT, MGMT_HOSTS - name: allow-tcp-SSH protocol: tcp destination-port: SSH @@ -20,6 +21,8 @@ filters: source-address: # was: BGP_20_GT, BGP_20_MGMT, MGMT_HOSTS - BGP_20_GT - BGP_INT_GT + - BGP_20_MGMT + - MGMT_HOSTS # [auto] 1810 flows total | 1810 hits: BGP_20_GT (2a07:1182:5:f20::250, 10.5.20.250) | via: HTTP-ALT/tcp/8080 - name: allow-tcp-HTTP-ALT diff --git a/examples/lspr24/policies/r4-block-early/hq-gsc07_bgp_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/hq-gsc07_bgp_05_berylia_org.yml index fc3c909..24bd11f 100644 --- a/examples/lspr24/policies/r4-block-early/hq-gsc07_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/hq-gsc07_bgp_05_berylia_org.yml @@ -13,6 +13,7 @@ filters: terms: # [auto] 5396 flows total | 3596 hits: BGP_20_GT (2a07:1182:5:f20::250, 10.5.20.250) | 1800 hits: BGP_INT_GT (10.5.13.250, 2a07:1182:5:13::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BGP_20_MGMT, MGMT_HOSTS - name: allow-tcp-SSH protocol: tcp destination-port: SSH @@ -20,6 +21,8 @@ filters: source-address: # was: BGP_20_GT, BGP_20_MGMT, MGMT_HOSTS - BGP_20_GT - BGP_INT_GT + - BGP_20_MGMT + - MGMT_HOSTS # [auto] 1812 flows total | 1812 hits: BGP_20_GT (2a07:1182:5:f20::250, 10.5.20.250) | via: HTTP-ALT/tcp/8080 - name: allow-tcp-HTTP-ALT diff --git a/examples/lspr24/policies/r4-block-early/hq-gsc08_bgp_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/hq-gsc08_bgp_05_berylia_org.yml index 6cef180..aaee1f9 100644 --- a/examples/lspr24/policies/r4-block-early/hq-gsc08_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/hq-gsc08_bgp_05_berylia_org.yml @@ -13,6 +13,7 @@ filters: terms: # [auto] 5400 flows total | 3600 hits: BGP_20_GT (10.5.20.250, 2a07:1182:5:f20::250) | 1800 hits: BGP_INT_GT (10.5.13.250, 2a07:1182:5:13::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BGP_20_MGMT, MGMT_HOSTS - name: allow-tcp-SSH protocol: tcp destination-port: SSH @@ -20,6 +21,8 @@ filters: source-address: # was: BGP_20_GT, BGP_20_MGMT, MGMT_HOSTS - BGP_20_GT - BGP_INT_GT + - BGP_20_MGMT + - MGMT_HOSTS # [auto] 1812 flows total | 1812 hits: BGP_20_GT (2a07:1182:5:f20::250, 10.5.20.250) | via: HTTP-ALT/tcp/8080 - name: allow-tcp-HTTP-ALT diff --git a/examples/lspr24/policies/r4-block-early/hq-gsc09_bgp_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/hq-gsc09_bgp_05_berylia_org.yml index 458c4fe..3eeb31a 100644 --- a/examples/lspr24/policies/r4-block-early/hq-gsc09_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/hq-gsc09_bgp_05_berylia_org.yml @@ -13,6 +13,7 @@ filters: terms: # [auto] 5400 flows total | 3600 hits: BGP_20_GT (10.5.20.250, 2a07:1182:5:f20::250) | 1800 hits: BGP_INT_GT (10.5.13.250, 2a07:1182:5:13::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BGP_20_MGMT, MGMT_HOSTS - name: allow-tcp-SSH protocol: tcp destination-port: SSH @@ -20,6 +21,8 @@ filters: source-address: # was: BGP_20_GT, BGP_20_MGMT, MGMT_HOSTS - BGP_20_GT - BGP_INT_GT + - BGP_20_MGMT + - MGMT_HOSTS # [auto] 1799 flows total | 1799 hits: BGP_20_GT (10.5.20.250, 2a07:1182:5:f20::250) | via: HTTP-ALT/tcp/8080 - name: allow-tcp-HTTP-ALT diff --git a/examples/lspr24/policies/r4-block-early/imagery_bgp_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/imagery_bgp_05_berylia_org.yml index 67983b0..f6b6ae9 100644 --- a/examples/lspr24/policies/r4-block-early/imagery_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/imagery_bgp_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/imagery_bgp_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:55Z -# Source suggestions changed: 3 | Log-drop candidates: 1 +# Source suggestions changed: 2 | Log-drop candidates: 1 metadata: host: imagery zone: bgp_5 @@ -12,13 +12,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BGP_5_GT # was: BGP_5_GT, MGMT_HOSTS - # [auto] 3609 flows total | 3609 hits: BGP_5_GT (2a07:1182:5:30::59, 100.98.5.59) | via: HTTP/tcp/80 - name: allow-tcp-HTTP protocol: tcp @@ -48,6 +41,16 @@ filters: protocol: icmpv6 action: accept +# [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BGP_5_GT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: drop-ANY action: deny diff --git a/examples/lspr24/policies/r4-block-early/k8s-control-plane_beg_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/k8s-control-plane_beg_05_berylia_org.yml index abb5410..de2c0e0 100644 --- a/examples/lspr24/policies/r4-block-early/k8s-control-plane_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/k8s-control-plane_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/k8s-control-plane_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:59Z -# Source suggestions changed: 6 | Log-drop candidates: 4 +# Source suggestions changed: 5 | Log-drop candidates: 4 metadata: host: k8s-control-plane zone: beg_5 @@ -12,13 +12,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1799 flows total | 1799 hits: BEG_5_GT (100.97.5.60, 2a07:1182:5:20::60) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_5_GT # was: BEG_5_GT, MGMT_HOSTS - # [auto] 1246 flows total | 398 hits: k8s-worker04_beg_05_berylia_org (100.97.5.34, 2a07:1182:5:20::34) | 303 hits: k8s-worker02_beg_05_berylia_org (2a07:1182:5:20::32, 100.97.5.32) | 296 hits: k8s-worker01_beg_05_berylia_org (100.97.5.31, 2a07:1182:5:20::31) | 249 hits: k8s-worker03_beg_05_berylia_org (100.97.5.33, 2a07:1182:5:20::33) | via: BGP/tcp/179 - name: allow-tcp-BGP protocol: tcp @@ -81,6 +74,16 @@ filters: protocol: icmpv6 action: accept +# [auto] 1799 flows total | 1799 hits: BEG_5_GT (100.97.5.60, 2a07:1182:5:20::60) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_5_GT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-tcp-K8S-API-SERVER protocol: tcp diff --git a/examples/lspr24/policies/r4-block-early/k8s-worker01_beg_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/k8s-worker01_beg_05_berylia_org.yml index eaef22f..1ec77ec 100644 --- a/examples/lspr24/policies/r4-block-early/k8s-worker01_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/k8s-worker01_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/k8s-worker01_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:57Z -# Source suggestions changed: 6 | Log-drop candidates: 2 +# Source suggestions changed: 5 | Log-drop candidates: 2 metadata: host: k8s-worker01 zone: beg_5 @@ -12,13 +12,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1800 flows total | 1800 hits: BEG_5_GT (100.97.5.60, 2a07:1182:5:20::60) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_5_GT # was: BEG_5_GT, MGMT_HOSTS - # [auto] 977 flows total | 336 hits: k8s-worker02_beg_05_berylia_org (2a07:1182:5:20::32, 100.97.5.32) | 328 hits: k8s-worker03_beg_05_berylia_org (100.97.5.33, 2a07:1182:5:20::33) | 313 hits: k8s-worker04_beg_05_berylia_org (100.97.5.34, 2a07:1182:5:20::34) | via: BGP/tcp/179 - name: allow-tcp-BGP protocol: tcp @@ -80,6 +73,16 @@ filters: protocol: icmpv6 action: accept +# [auto] 1800 flows total | 1800 hits: BEG_5_GT (100.97.5.60, 2a07:1182:5:20::60) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_5_GT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: drop-ANY action: deny diff --git a/examples/lspr24/policies/r4-block-early/k8s-worker02_beg_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/k8s-worker02_beg_05_berylia_org.yml index c2bf10c..9b9458b 100644 --- a/examples/lspr24/policies/r4-block-early/k8s-worker02_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/k8s-worker02_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/k8s-worker02_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:57Z -# Source suggestions changed: 4 | Log-drop candidates: 4 +# Source suggestions changed: 3 | Log-drop candidates: 4 metadata: host: k8s-worker02 zone: beg_5 @@ -12,13 +12,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1800 flows total | 1800 hits: BEG_5_GT (100.97.5.60, 2a07:1182:5:20::60) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_5_GT # was: BEG_5_GT, MGMT_HOSTS - # [auto] 620 flows total | 369 hits: k8s-worker04_beg_05_berylia_org (100.97.5.34, 2a07:1182:5:20::34) | 251 hits: k8s-worker03_beg_05_berylia_org (100.97.5.33, 2a07:1182:5:20::33) | via: BGP/tcp/179 - name: allow-tcp-BGP protocol: tcp @@ -65,6 +58,16 @@ filters: protocol: icmpv6 action: accept +# [auto] 1800 flows total | 1800 hits: BEG_5_GT (100.97.5.60, 2a07:1182:5:20::60) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_5_GT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: drop-ANY action: deny diff --git a/examples/lspr24/policies/r4-block-early/k8s-worker03_beg_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/k8s-worker03_beg_05_berylia_org.yml index a357bc4..6406aa0 100644 --- a/examples/lspr24/policies/r4-block-early/k8s-worker03_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/k8s-worker03_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/k8s-worker03_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:59Z -# Source suggestions changed: 6 | Log-drop candidates: 2 +# Source suggestions changed: 5 | Log-drop candidates: 2 metadata: host: k8s-worker03 zone: beg_5 @@ -12,13 +12,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1799 flows total | 1799 hits: BEG_5_GT (2a07:1182:5:20::60, 100.97.5.60) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_5_GT # was: BEG_5_GT, MGMT_HOSTS - # [auto] 368 flows total | 368 hits: k8s-worker04_beg_05_berylia_org (2a07:1182:5:20::34, 100.97.5.34) | via: BGP/tcp/179 - name: allow-tcp-BGP protocol: tcp @@ -77,6 +70,16 @@ filters: protocol: icmpv6 action: accept +# [auto] 1799 flows total | 1799 hits: BEG_5_GT (2a07:1182:5:20::60, 100.97.5.60) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_5_GT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: drop-ANY action: deny diff --git a/examples/lspr24/policies/r4-block-early/k8s-worker04_beg_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/k8s-worker04_beg_05_berylia_org.yml index 3268aa9..5c9bcf1 100644 --- a/examples/lspr24/policies/r4-block-early/k8s-worker04_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/k8s-worker04_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/k8s-worker04_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:01Z to 2024-03-07T05:59:57Z -# Source suggestions changed: 5 | Log-drop candidates: 3 +# Source suggestions changed: 4 | Log-drop candidates: 3 metadata: host: k8s-worker04 zone: beg_5 @@ -12,13 +12,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1800 flows total | 1800 hits: BEG_5_GT (100.97.5.60, 2a07:1182:5:20::60) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_5_GT # was: BEG_5_GT, MGMT_HOSTS - # [auto] 1549 flows total | 403 hits: k8s-worker01_beg_05_berylia_org (100.97.5.31) | 393 hits: k8s-worker02_beg_05_berylia_org (100.97.5.32) | 379 hits: k8s-worker03_beg_05_berylia_org (100.97.5.33) | 374 hits: k8s-control-plane_beg_05_berylia_org (100.97.5.30) | via: DOCKER-SWARM/tcp/7946 - name: allow-tcp-METALLB-MEMBERLIST protocol: tcp @@ -70,6 +63,16 @@ filters: protocol: icmpv6 action: accept +# [auto] 1800 flows total | 1800 hits: BEG_5_GT (100.97.5.60, 2a07:1182:5:20::60) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_5_GT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: drop-ANY action: deny diff --git a/examples/lspr24/policies/r4-block-early/keycloak_bgp_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/keycloak_bgp_05_berylia_org.yml index 4b3ce6a..9eacb1e 100644 --- a/examples/lspr24/policies/r4-block-early/keycloak_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/keycloak_bgp_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/keycloak_bgp_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:08Z to 2024-03-07T05:59:59Z -# Source suggestions changed: 2 | Log-drop candidates: 2 +# Source suggestions changed: 1 | Log-drop candidates: 2 metadata: host: keycloak zone: bgp_5 @@ -12,13 +12,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BGP_5_GT # was: BGP_5_GT, MGMT_HOSTS - # [auto] 3599 flows total | 3599 hits: BGP_5_GT (2a07:1182:5:30::59, 100.98.5.59) | via: HTTPS/tcp/443 - name: allow-tcp-HTTPS protocol: tcp @@ -41,6 +34,16 @@ filters: protocol: icmpv6 action: accept +# [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BGP_5_GT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: drop-ANY action: deny diff --git a/examples/lspr24/policies/r4-block-early/lemonldapng_int_beg_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/lemonldapng_int_beg_05_berylia_org.yml index e90e411..7e48f30 100644 --- a/examples/lspr24/policies/r4-block-early/lemonldapng_int_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/lemonldapng_int_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/lemonldapng_int_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:01Z to 2024-03-07T05:59:49Z -# Source suggestions changed: 3 | Log-drop candidates: 0 +# Source suggestions changed: 2 | Log-drop candidates: 0 metadata: host: lemonldapng zone: beg_int_12 @@ -12,13 +12,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1799 flows total | 1799 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - # [auto] 3611 flows total | 3611 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: HTTP/tcp/80 - name: allow-tcp-HTTP protocol: tcp @@ -47,6 +40,17 @@ filters: - name: allow-icmpv6 protocol: icmpv6 action: accept + +# [auto] 1799 flows total | 1799 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS - name: drop-ANY action: deny counter: drop-ANY diff --git a/examples/lspr24/policies/r4-block-early/lims_bgp_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/lims_bgp_05_berylia_org.yml index 3204e60..afa05b1 100644 --- a/examples/lspr24/policies/r4-block-early/lims_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/lims_bgp_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/lims_bgp_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:55Z -# Source suggestions changed: 3 | Log-drop candidates: 2 +# Source suggestions changed: 2 | Log-drop candidates: 2 metadata: host: lims zone: bgp_5 @@ -12,13 +12,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BGP_5_GT # was: BGP_5_GT, MGMT_HOSTS - # [auto] 3599 flows total | 3599 hits: BGP_5_GT (2a07:1182:5:30::59, 100.98.5.59) | via: HTTP/tcp/80 - name: allow-tcp-HTTP protocol: tcp @@ -48,6 +41,16 @@ filters: protocol: icmpv6 action: accept +# [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BGP_5_GT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: drop-ANY action: deny diff --git a/examples/lspr24/policies/r4-block-early/mail_int_baf_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/mail_int_baf_05_berylia_org.yml index 2337a98..60226ca 100644 --- a/examples/lspr24/policies/r4-block-early/mail_int_baf_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/mail_int_baf_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/mail_int_baf_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:01Z to 2024-03-07T05:59:59Z -# Source suggestions changed: 10 | Log-drop candidates: 20 +# Source suggestions changed: 7 | Log-drop candidates: 20 metadata: host: mail zone: baf_int @@ -12,13 +12,6 @@ filters: windows_advfirewall: in mixed block terms: -# [auto] 2699 flows total | 2699 hits: BAF_INT_GT (10.5.11.250, 2a07:1182:5:11::250) [10 unanswered] | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BAF_INT_GT # was: BAF_INT_GT, BAF_INT_MGMT, MGMT_HOSTS - # [auto] 1799 flows total | 1799 hits: BAF_INT_GT (2a07:1182:5:11::250, 10.5.11.250) [4 unanswered] | via: SMTP/tcp/25 - name: allow-tcp-SMTP protocol: tcp @@ -61,20 +54,6 @@ filters: action: accept source-address: BAF_INT_GT # was: ANY -# [auto] 1800 flows total | 1800 hits: BAF_INT_GT (10.5.11.250, 2a07:1182:5:11::250) [5 unanswered] | via: RDP/tcp/3389 - - name: allow-tcp-RDP - protocol: tcp - destination-port: RDP - action: accept - source-address: BAF_INT_GT # was: BAF_INT_GT, BAF_INT_MGMT, MGMT_HOSTS - -# [auto] 1920 flows total | 1920 hits: BAF_INT_GT (10.5.11.250, 2a07:1182:5:11::250) [32 unanswered] | via: WINRM-HTTP/tcp/5985 - - name: allow-tcp-WINRM-HTTP - protocol: tcp - destination-port: WINRM-HTTP - action: accept - source-address: BAF_INT_GT # was: BAF_INT_GT, BAF_INT_MGMT, MGMT_HOSTS - # [auto] 312 flows total | 279 hits: dc1_int_baf_05_berylia_org (2a07:1182:5:11::2) | 33 hits: dc2_int_baf_05_berylia_org (2a07:1182:5:11::3) | via: WINDOWS-RPC-DYNAMIC/tcp/54205,59047,64034,49563,54105 - name: allow-icmp protocol: icmp @@ -85,6 +64,37 @@ filters: protocol: icmpv6 action: accept +# [auto] 2699 flows total | 2699 hits: BAF_INT_GT (10.5.11.250, 2a07:1182:5:11::250) [10 unanswered] | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BAF_INT_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BAF_INT_GT + - BAF_INT_MGMT + - MGMT_HOSTS + +# [auto] no flows observed in window — source unchanged; log-drop candidate + - name: allow-tcp-RDP + protocol: tcp + destination-port: RDP + action: accept + source-address: + - BAF_INT_GT + - BAF_INT_MGMT + - MGMT_HOSTS + +# [auto] no flows observed in window — source unchanged; log-drop candidate + - name: allow-tcp-WINRM-HTTP + protocol: tcp + destination-port: WINRM-HTTP + action: accept + source-address: + - BAF_INT_GT + - BAF_INT_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-udp-RDP protocol: udp diff --git a/examples/lspr24/policies/r4-block-early/maintenance_beg_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/maintenance_beg_05_berylia_org.yml index 9035595..8ba0911 100644 --- a/examples/lspr24/policies/r4-block-early/maintenance_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/maintenance_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/maintenance_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:03Z to 2024-03-07T05:59:58Z -# Source suggestions changed: 3 | Log-drop candidates: 0 +# Source suggestions changed: 2 | Log-drop candidates: 0 metadata: host: maintenance zone: beg_5 @@ -12,13 +12,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1800 flows total | 1800 hits: BEG_5_GT (100.97.5.60, 2a07:1182:5:20::60) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_5_GT # was: BEG_5_GT, MGMT_HOSTS - # [auto] 3612 flows total | 3612 hits: BEG_5_GT (2a07:1182:5:20::60, 100.97.5.60) | via: HTTP/tcp/80 - name: allow-tcp-HTTP protocol: tcp @@ -47,6 +40,16 @@ filters: - name: allow-icmpv6 protocol: icmpv6 action: accept + +# [auto] 1800 flows total | 1800 hits: BEG_5_GT (100.97.5.60, 2a07:1182:5:20::60) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_5_GT + - MGMT_HOSTS - name: drop-ANY action: deny counter: drop-ANY diff --git a/examples/lspr24/policies/r4-block-early/mcs_bgp_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/mcs_bgp_05_berylia_org.yml index 02228b4..c3ad7cb 100644 --- a/examples/lspr24/policies/r4-block-early/mcs_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/mcs_bgp_05_berylia_org.yml @@ -13,6 +13,7 @@ filters: terms: # [auto] 3600 flows total | 2700 hits: BGP_20_GT (10.5.20.250, 2a07:1182:5:f20::250) | 900 hits: BGP_INT_GT (10.5.13.250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BGP_20_MGMT, MGMT_HOSTS - name: allow-tcp-SSH protocol: tcp destination-port: SSH @@ -20,6 +21,8 @@ filters: source-address: # was: BGP_20_GT, BGP_20_MGMT, MGMT_HOSTS - BGP_20_GT - BGP_INT_GT + - BGP_20_MGMT + - MGMT_HOSTS # [auto] 5398 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | 1799 hits: BGP_20_GT (2a07:1182:5:f20::250, 10.5.20.250) | 1799 hits: BGP_INT_GT (10.5.13.250, 2a07:1182:5:13::250) | via: HTTPS/tcp/443 - name: allow-tcp-HTTPS diff --git a/examples/lspr24/policies/r4-block-early/news_beg_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/news_beg_05_berylia_org.yml index c503afe..95966ca 100644 --- a/examples/lspr24/policies/r4-block-early/news_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/news_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/news_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:02Z to 2024-03-07T05:59:59Z -# Source suggestions changed: 3 | Log-drop candidates: 1 +# Source suggestions changed: 2 | Log-drop candidates: 1 metadata: host: news zone: beg_5 @@ -12,13 +12,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1799 flows total | 1799 hits: BEG_5_GT (2a07:1182:5:20::60, 100.97.5.60) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_5_GT # was: BEG_5_GT, MGMT_HOSTS - # [auto] 3596 flows total | 3596 hits: BEG_5_GT (100.97.5.60, 2a07:1182:5:20::60) | via: HTTP/tcp/80 - name: allow-tcp-HTTP protocol: tcp @@ -48,6 +41,16 @@ filters: protocol: icmpv6 action: accept +# [auto] 1799 flows total | 1799 hits: BEG_5_GT (2a07:1182:5:20::60, 100.97.5.60) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_5_GT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: drop-ANY action: deny diff --git a/examples/lspr24/policies/r4-block-early/nextcloud_bgp_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/nextcloud_bgp_05_berylia_org.yml index 752e918..fad80d5 100644 --- a/examples/lspr24/policies/r4-block-early/nextcloud_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/nextcloud_bgp_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/nextcloud_bgp_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:01Z to 2024-03-07T05:59:59Z -# Source suggestions changed: 3 | Log-drop candidates: 0 +# Source suggestions changed: 2 | Log-drop candidates: 0 metadata: host: nextcloud zone: bgp_5 @@ -12,13 +12,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1799 flows total | 1799 hits: BGP_5_GT (2a07:1182:5:30::59, 100.98.5.59) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BGP_5_GT # was: BGP_5_GT, MGMT_HOSTS - # [auto] 3599 flows total | 3599 hits: BGP_5_GT (2a07:1182:5:30::59, 100.98.5.59) | via: HTTP/tcp/80 - name: allow-tcp-HTTP protocol: tcp @@ -47,6 +40,16 @@ filters: - name: allow-icmpv6 protocol: icmpv6 action: accept + +# [auto] 1799 flows total | 1799 hits: BGP_5_GT (2a07:1182:5:30::59, 100.98.5.59) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BGP_5_GT + - MGMT_HOSTS - name: drop-ANY action: deny counter: drop-ANY diff --git a/examples/lspr24/policies/r4-block-early/ns1_bgp_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/ns1_bgp_05_berylia_org.yml index 740524d..e7e86e8 100644 --- a/examples/lspr24/policies/r4-block-early/ns1_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/ns1_bgp_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/ns1_bgp_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:04Z to 2024-03-07T05:59:59Z -# Source suggestions changed: 1 | Log-drop candidates: 4 +# Source suggestions changed: 0 | Log-drop candidates: 4 metadata: host: ns1 zone: bgp_5 @@ -12,13 +12,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BGP_5_GT # was: BGP_5_GT, MGMT_HOSTS - # [auto] no flows observed in window — source unchanged - name: allow-loopback source-address: LOOPBACK @@ -34,6 +27,16 @@ filters: protocol: icmpv6 action: accept +# [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BGP_5_GT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: drop-ANY action: deny diff --git a/examples/lspr24/policies/r4-block-early/ns2_bgp_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/ns2_bgp_05_berylia_org.yml index 5de22fc..ebfe812 100644 --- a/examples/lspr24/policies/r4-block-early/ns2_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/ns2_bgp_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/ns2_bgp_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:58Z -# Source suggestions changed: 1 | Log-drop candidates: 4 +# Source suggestions changed: 0 | Log-drop candidates: 4 metadata: host: ns2 zone: bgp_5 @@ -12,13 +12,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BGP_5_GT # was: BGP_5_GT, MGMT_HOSTS - # [auto] no flows observed in window — source unchanged - name: allow-loopback source-address: LOOPBACK @@ -34,6 +27,16 @@ filters: protocol: icmpv6 action: accept +# [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BGP_5_GT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: drop-ANY action: deny diff --git a/examples/lspr24/policies/r4-block-early/owncloud_beg_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/owncloud_beg_05_berylia_org.yml index ccd1270..968eb28 100644 --- a/examples/lspr24/policies/r4-block-early/owncloud_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/owncloud_beg_05_berylia_org.yml @@ -13,6 +13,7 @@ filters: terms: # [auto] 2700 flows total | 1800 hits: BEG_5_GT (100.97.5.60, 2a07:1182:5:20::60) | 900 hits: BEG_INT_12_GT (10.5.12.250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS - name: allow-tcp-SSH protocol: tcp destination-port: SSH @@ -20,6 +21,7 @@ filters: source-address: # was: BEG_5_GT, MGMT_HOSTS - BEG_5_GT - BEG_INT_12_GT + - MGMT_HOSTS # [auto] 3599 flows total | 3599 hits: BEG_5_GT (2a07:1182:5:20::60, 100.97.5.60) | via: HTTP/tcp/80 - name: allow-tcp-HTTP diff --git a/examples/lspr24/policies/r4-block-early/salt-master_beg_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/salt-master_beg_05_berylia_org.yml index d351b7a..afd0817 100644 --- a/examples/lspr24/policies/r4-block-early/salt-master_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/salt-master_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/salt-master_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:01Z to 2024-03-07T05:59:59Z -# Source suggestions changed: 5 | Log-drop candidates: 1 +# Source suggestions changed: 4 | Log-drop candidates: 1 metadata: host: salt-master zone: beg_5 @@ -12,13 +12,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1799 flows total | 1799 hits: BEG_5_GT (100.97.5.60, 2a07:1182:5:20::60) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_5_GT # was: BEG_5_GT, MGMT_HOSTS - # [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: HTTP/tcp/80 - name: allow-tcp-HTTP protocol: tcp @@ -63,6 +56,16 @@ filters: protocol: icmpv6 action: accept +# [auto] 1799 flows total | 1799 hits: BEG_5_GT (100.97.5.60, 2a07:1182:5:20::60) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_5_GT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: drop-ANY action: deny diff --git a/examples/lspr24/policies/r4-block-early/ticketdesk_int_baf_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/ticketdesk_int_baf_05_berylia_org.yml index 15223bb..21ce559 100644 --- a/examples/lspr24/policies/r4-block-early/ticketdesk_int_baf_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/ticketdesk_int_baf_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/ticketdesk_int_baf_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:01Z to 2024-03-07T05:59:54Z -# Source suggestions changed: 3 | Log-drop candidates: 0 +# Source suggestions changed: 2 | Log-drop candidates: 0 metadata: host: ticketdesk zone: baf_int @@ -12,13 +12,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1800 flows total | 1800 hits: BAF_INT_GT (10.5.11.250, 2a07:1182:5:11::250) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BAF_INT_GT # was: BAF_INT_GT, BAF_INT_MGMT, MGMT_HOSTS - # [auto] 3609 flows total | 3609 hits: BAF_INT_GT (2a07:1182:5:11::250, 10.5.11.250) | via: HTTP/tcp/80 - name: allow-tcp-HTTP protocol: tcp @@ -47,6 +40,17 @@ filters: - name: allow-icmpv6 protocol: icmpv6 action: accept + +# [auto] 1800 flows total | 1800 hits: BAF_INT_GT (10.5.11.250, 2a07:1182:5:11::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BAF_INT_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BAF_INT_GT + - BAF_INT_MGMT + - MGMT_HOSTS - name: drop-ANY action: deny counter: drop-ANY diff --git a/examples/lspr24/policies/r4-block-early/visitor_bgp_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/visitor_bgp_05_berylia_org.yml index e51bf4a..5210096 100644 --- a/examples/lspr24/policies/r4-block-early/visitor_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/visitor_bgp_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/visitor_bgp_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:01Z to 2024-03-07T05:59:55Z -# Source suggestions changed: 3 | Log-drop candidates: 1 +# Source suggestions changed: 2 | Log-drop candidates: 1 metadata: host: visitor zone: bgp_5 @@ -12,13 +12,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1799 flows total | 1799 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BGP_5_GT # was: BGP_5_GT, MGMT_HOSTS - # [auto] 3611 flows total | 3611 hits: BGP_5_GT (2a07:1182:5:30::59, 100.98.5.59) | via: HTTP/tcp/80 - name: allow-tcp-HTTP protocol: tcp @@ -48,6 +41,16 @@ filters: protocol: icmpv6 action: accept +# [auto] 1799 flows total | 1799 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BGP_5_GT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: drop-ANY action: deny diff --git a/examples/lspr24/policies/r4-block-early/whistleblowhub_bgp_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/whistleblowhub_bgp_05_berylia_org.yml index 701733c..f3853b7 100644 --- a/examples/lspr24/policies/r4-block-early/whistleblowhub_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/whistleblowhub_bgp_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/whistleblowhub_bgp_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:09Z to 2024-03-07T05:59:50Z -# Source suggestions changed: 3 | Log-drop candidates: 0 +# Source suggestions changed: 2 | Log-drop candidates: 0 metadata: host: whistleblowhub zone: bgp_5 @@ -12,13 +12,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BGP_5_GT # was: BGP_5_GT, MGMT_HOSTS - # [auto] 3599 flows total | 3599 hits: BGP_5_GT (2a07:1182:5:30::59, 100.98.5.59) | via: HTTP/tcp/80 - name: allow-tcp-HTTP protocol: tcp @@ -47,6 +40,16 @@ filters: - name: allow-icmpv6 protocol: icmpv6 action: accept + +# [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BGP_5_GT + - MGMT_HOSTS - name: drop-ANY action: deny counter: drop-ANY diff --git a/examples/lspr24/policies/r4-block-early/ws1-baf01_int_baf_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/ws1-baf01_int_baf_05_berylia_org.yml index 736dd08..f4e8419 100644 --- a/examples/lspr24/policies/r4-block-early/ws1-baf01_int_baf_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/ws1-baf01_int_baf_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/ws1-baf01_int_baf_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:59Z -# Source suggestions changed: 4 | Log-drop candidates: 11 +# Source suggestions changed: 1 | Log-drop candidates: 11 metadata: host: ws1-baf01 zone: baf_int @@ -12,13 +12,6 @@ filters: windows_advfirewall: in mixed block terms: -# [auto] 2700 flows total | 2700 hits: BAF_INT_GT (10.5.11.250, 2a07:1182:5:11::250) [15 unanswered] | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BAF_INT_GT # was: BAF_INT_GT, BAF_INT_MGMT, MGMT_HOSTS - # [auto] 900 flows total | 900 hits: BAF_INT_GT (2a07:1182:5:11::250) | via: WINDOWS-SMB/tcp/445 - name: allow-tcp-WINDOWS-SMB protocol: tcp @@ -26,20 +19,6 @@ filters: action: accept source-address: BAF_INT_GT # was: ANY -# [auto] 1799 flows total | 1799 hits: BAF_INT_GT (10.5.11.250, 2a07:1182:5:11::250) [7 unanswered] | via: RDP/tcp/3389 - - name: allow-tcp-RDP - protocol: tcp - destination-port: RDP - action: accept - source-address: BAF_INT_GT # was: BAF_INT_GT, BAF_INT_MGMT, MGMT_HOSTS - -# [auto] 1919 flows total | 1919 hits: BAF_INT_GT (2a07:1182:5:11::250, 10.5.11.250) [49 unanswered] | via: WINRM-HTTP/tcp/5985 - - name: allow-tcp-WINRM-HTTP - protocol: tcp - destination-port: WINRM-HTTP - action: accept - source-address: BAF_INT_GT # was: BAF_INT_GT, BAF_INT_MGMT, MGMT_HOSTS - # [auto] no flows observed in window — source unchanged - name: allow-icmp protocol: icmp @@ -50,6 +29,37 @@ filters: protocol: icmpv6 action: accept +# [auto] 2700 flows total | 2700 hits: BAF_INT_GT (10.5.11.250, 2a07:1182:5:11::250) [15 unanswered] | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BAF_INT_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BAF_INT_GT + - BAF_INT_MGMT + - MGMT_HOSTS + +# [auto] no flows observed in window — source unchanged; log-drop candidate + - name: allow-tcp-RDP + protocol: tcp + destination-port: RDP + action: accept + source-address: + - BAF_INT_GT + - BAF_INT_MGMT + - MGMT_HOSTS + +# [auto] no flows observed in window — source unchanged; log-drop candidate + - name: allow-tcp-WINRM-HTTP + protocol: tcp + destination-port: WINRM-HTTP + action: accept + source-address: + - BAF_INT_GT + - BAF_INT_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-udp-RDP protocol: udp diff --git a/examples/lspr24/policies/r4-block-early/ws1-beg01_int_beg_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/ws1-beg01_int_beg_05_berylia_org.yml index 5152af7..df357fd 100644 --- a/examples/lspr24/policies/r4-block-early/ws1-beg01_int_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/ws1-beg01_int_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/ws1-beg01_int_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:56Z -# Source suggestions changed: 4 | Log-drop candidates: 11 +# Source suggestions changed: 1 | Log-drop candidates: 11 metadata: host: ws1-beg01 zone: beg_int_12 @@ -12,13 +12,6 @@ filters: windows_advfirewall: in mixed block terms: -# [auto] 2700 flows total | 2700 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - # [auto] 899 flows total | 899 hits: BEG_INT_12_GT (2a07:1182:5:12::250) | via: WINDOWS-SMB/tcp/445 - name: allow-tcp-WINDOWS-SMB protocol: tcp @@ -26,20 +19,6 @@ filters: action: accept source-address: BEG_INT_12_GT # was: ANY -# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: RDP/tcp/3389 - - name: allow-tcp-RDP - protocol: tcp - destination-port: RDP - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - -# [auto] 1799 flows total | 1799 hits: BEG_INT_12_GT (2a07:1182:5:12::250, 10.5.12.250) | via: WINRM-HTTP/tcp/5985 - - name: allow-tcp-WINRM-HTTP - protocol: tcp - destination-port: WINRM-HTTP - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - # [auto] no flows observed in window — source unchanged - name: allow-icmp protocol: icmp @@ -50,6 +29,37 @@ filters: protocol: icmpv6 action: accept +# [auto] 2700 flows total | 2700 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + +# [auto] no flows observed in window — source unchanged; log-drop candidate + - name: allow-tcp-RDP + protocol: tcp + destination-port: RDP + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + +# [auto] no flows observed in window — source unchanged; log-drop candidate + - name: allow-tcp-WINRM-HTTP + protocol: tcp + destination-port: WINRM-HTTP + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-udp-RDP protocol: udp diff --git a/examples/lspr24/policies/r4-block-early/ws1-beg02_int_beg_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/ws1-beg02_int_beg_05_berylia_org.yml index 4409534..b23d5b7 100644 --- a/examples/lspr24/policies/r4-block-early/ws1-beg02_int_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/ws1-beg02_int_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/ws1-beg02_int_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:01Z to 2024-03-07T05:59:59Z -# Source suggestions changed: 4 | Log-drop candidates: 11 +# Source suggestions changed: 1 | Log-drop candidates: 11 metadata: host: ws1-beg02 zone: beg_int_12 @@ -12,13 +12,6 @@ filters: windows_advfirewall: in mixed block terms: -# [auto] 2699 flows total | 2699 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - # [auto] 900 flows total | 900 hits: BEG_INT_12_GT (2a07:1182:5:12::250) | via: WINDOWS-SMB/tcp/445 - name: allow-tcp-WINDOWS-SMB protocol: tcp @@ -26,20 +19,6 @@ filters: action: accept source-address: BEG_INT_12_GT # was: ANY -# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: RDP/tcp/3389 - - name: allow-tcp-RDP - protocol: tcp - destination-port: RDP - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - -# [auto] 1799 flows total | 1799 hits: BEG_INT_12_GT (2a07:1182:5:12::250, 10.5.12.250) | via: WINRM-HTTP/tcp/5985 - - name: allow-tcp-WINRM-HTTP - protocol: tcp - destination-port: WINRM-HTTP - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - # [auto] no flows observed in window — source unchanged - name: allow-icmp protocol: icmp @@ -50,6 +29,37 @@ filters: protocol: icmpv6 action: accept +# [auto] 2699 flows total | 2699 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + +# [auto] no flows observed in window — source unchanged; log-drop candidate + - name: allow-tcp-RDP + protocol: tcp + destination-port: RDP + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + +# [auto] no flows observed in window — source unchanged; log-drop candidate + - name: allow-tcp-WINRM-HTTP + protocol: tcp + destination-port: WINRM-HTTP + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-udp-RDP protocol: udp diff --git a/examples/lspr24/policies/r4-block-early/ws2-beg01_int_beg_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/ws2-beg01_int_beg_05_berylia_org.yml index 0f7c884..729aece 100644 --- a/examples/lspr24/policies/r4-block-early/ws2-beg01_int_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/ws2-beg01_int_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/ws2-beg01_int_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:02Z to 2024-03-07T05:59:59Z -# Source suggestions changed: 4 | Log-drop candidates: 11 +# Source suggestions changed: 1 | Log-drop candidates: 11 metadata: host: ws2-beg01 zone: beg_int_12 @@ -12,13 +12,6 @@ filters: windows_advfirewall: in mixed block terms: -# [auto] 2700 flows total | 2700 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - # [auto] 900 flows total | 900 hits: BEG_INT_12_GT (2a07:1182:5:12::250) | via: WINDOWS-SMB/tcp/445 - name: allow-tcp-WINDOWS-SMB protocol: tcp @@ -26,20 +19,6 @@ filters: action: accept source-address: BEG_INT_12_GT # was: ANY -# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: RDP/tcp/3389 - - name: allow-tcp-RDP - protocol: tcp - destination-port: RDP - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - -# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: WINRM-HTTP/tcp/5985 - - name: allow-tcp-WINRM-HTTP - protocol: tcp - destination-port: WINRM-HTTP - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - # [auto] no flows observed in window — source unchanged - name: allow-icmp protocol: icmp @@ -50,6 +29,37 @@ filters: protocol: icmpv6 action: accept +# [auto] 2700 flows total | 2700 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + +# [auto] no flows observed in window — source unchanged; log-drop candidate + - name: allow-tcp-RDP + protocol: tcp + destination-port: RDP + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + +# [auto] no flows observed in window — source unchanged; log-drop candidate + - name: allow-tcp-WINRM-HTTP + protocol: tcp + destination-port: WINRM-HTTP + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: allow-udp-RDP protocol: udp diff --git a/examples/lspr24/policies/r4-block-early/ws2-beg02_int_beg_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/ws2-beg02_int_beg_05_berylia_org.yml index 8879257..ceb6c4b 100644 --- a/examples/lspr24/policies/r4-block-early/ws2-beg02_int_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/ws2-beg02_int_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/ws2-beg02_int_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:56Z -# Source suggestions changed: 3 | Log-drop candidates: 1 +# Source suggestions changed: 0 | Log-drop candidates: 1 metadata: host: ws2-beg02 zone: beg_int_12 @@ -12,41 +12,53 @@ filters: nftables: mixed input DROP terms: +# [auto] no flows observed in window — source unchanged + - name: allow-loopback + source-address: LOOPBACK + action: accept + +# [auto] no flows observed in window — source unchanged + - name: allow-icmp + protocol: icmp + action: accept + +# [auto] no flows observed in window — source unchanged + - name: allow-icmpv6 + protocol: icmpv6 + action: accept + # [auto] 2699 flows total | 2699 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS - name: allow-tcp-SSH protocol: tcp destination-port: SSH action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS # [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: RDP/tcp/3389 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS - name: allow-tcp-RDP protocol: tcp destination-port: RDP action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS # [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) | via: WINRM-HTTP/tcp/5985 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS - name: allow-tcp-WINRM-HTTP protocol: tcp destination-port: WINRM-HTTP action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - -# [auto] no flows observed in window — source unchanged - - name: allow-loopback - source-address: LOOPBACK - action: accept - -# [auto] no flows observed in window — source unchanged - - name: allow-icmp - protocol: icmp - action: accept - -# [auto] no flows observed in window — source unchanged - - name: allow-icmpv6 - protocol: icmpv6 - action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS # [auto] no flows observed in window — source unchanged; log-drop candidate - name: drop-ANY diff --git a/examples/lspr24/policies/r4-block-early/ws3-baf05_int_baf_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/ws3-baf05_int_baf_05_berylia_org.yml index eee9b9f..2651c95 100644 --- a/examples/lspr24/policies/r4-block-early/ws3-baf05_int_baf_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/ws3-baf05_int_baf_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/ws3-baf05_int_baf_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:57Z -# Source suggestions changed: 2 | Log-drop candidates: 3 +# Source suggestions changed: 0 | Log-drop candidates: 3 metadata: host: ws3-baf05 zone: baf_int @@ -12,20 +12,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 2710 flows total | 2710 hits: BAF_INT_GT (10.5.11.250, 2a07:1182:5:11::250) [13 unanswered] | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BAF_INT_GT # was: BAF_INT_GT, BAF_INT_MGMT, MGMT_HOSTS - -# [auto] 1800 flows total | 1800 hits: BAF_INT_GT (10.5.11.250, 2a07:1182:5:11::250) [6 unanswered] | via: RDP/tcp/3389 - - name: allow-tcp-RDP - protocol: tcp - destination-port: RDP - action: accept - source-address: BAF_INT_GT # was: BAF_INT_GT, BAF_INT_MGMT, MGMT_HOSTS - # [auto] no flows observed in window — source unchanged - name: allow-loopback source-address: LOOPBACK @@ -41,6 +27,28 @@ filters: protocol: icmpv6 action: accept +# [auto] 2710 flows total | 2710 hits: BAF_INT_GT (10.5.11.250, 2a07:1182:5:11::250) [13 unanswered] | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BAF_INT_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BAF_INT_GT + - BAF_INT_MGMT + - MGMT_HOSTS + +# [auto] 1800 flows total | 1800 hits: BAF_INT_GT (10.5.11.250, 2a07:1182:5:11::250) [6 unanswered] | via: RDP/tcp/3389 +# [auto] kept, declared by the site's heuristics: BAF_INT_MGMT, MGMT_HOSTS + - name: allow-tcp-RDP + protocol: tcp + destination-port: RDP + action: accept + source-address: + - BAF_INT_GT + - BAF_INT_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: drop-ANY action: deny diff --git a/examples/lspr24/policies/r4-block-early/ws3-beg01_int_beg_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/ws3-beg01_int_beg_05_berylia_org.yml index 60c2a66..c36e91f 100644 --- a/examples/lspr24/policies/r4-block-early/ws3-beg01_int_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/ws3-beg01_int_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/ws3-beg01_int_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:52Z -# Source suggestions changed: 2 | Log-drop candidates: 3 +# Source suggestions changed: 0 | Log-drop candidates: 3 metadata: host: ws3-beg01 zone: beg_int_12 @@ -12,20 +12,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 2727 flows total | 2727 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [876 unanswered] | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - -# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [480 unanswered] | via: RDP/tcp/3389 - - name: allow-tcp-RDP - protocol: tcp - destination-port: RDP - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - # [auto] no flows observed in window — source unchanged - name: allow-loopback source-address: LOOPBACK @@ -41,6 +27,28 @@ filters: protocol: icmpv6 action: accept +# [auto] 2727 flows total | 2727 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [876 unanswered] | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + +# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [480 unanswered] | via: RDP/tcp/3389 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-RDP + protocol: tcp + destination-port: RDP + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: drop-ANY action: deny diff --git a/examples/lspr24/policies/r4-block-early/ws3-beg02_int_beg_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/ws3-beg02_int_beg_05_berylia_org.yml index 29374f0..3c1ba59 100644 --- a/examples/lspr24/policies/r4-block-early/ws3-beg02_int_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/ws3-beg02_int_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/ws3-beg02_int_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:03Z to 2024-03-07T05:59:52Z -# Source suggestions changed: 2 | Log-drop candidates: 3 +# Source suggestions changed: 0 | Log-drop candidates: 3 metadata: host: ws3-beg02 zone: beg_int_12 @@ -12,20 +12,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 2706 flows total | 2706 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [1694 unanswered] | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - -# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [873 unanswered] | via: RDP/tcp/3389 - - name: allow-tcp-RDP - protocol: tcp - destination-port: RDP - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - # [auto] no flows observed in window — source unchanged - name: allow-loopback source-address: LOOPBACK @@ -41,6 +27,28 @@ filters: protocol: icmpv6 action: accept +# [auto] 2706 flows total | 2706 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [1694 unanswered] | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + +# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [873 unanswered] | via: RDP/tcp/3389 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-RDP + protocol: tcp + destination-port: RDP + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: drop-ANY action: deny diff --git a/examples/lspr24/policies/r4-block-early/ws3-beg03_int_beg_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/ws3-beg03_int_beg_05_berylia_org.yml index 1aae4d5..c69c845 100644 --- a/examples/lspr24/policies/r4-block-early/ws3-beg03_int_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/ws3-beg03_int_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/ws3-beg03_int_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:55Z -# Source suggestions changed: 2 | Log-drop candidates: 3 +# Source suggestions changed: 0 | Log-drop candidates: 3 metadata: host: ws3-beg03 zone: beg_int_12 @@ -12,20 +12,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 2735 flows total | 2735 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [1008 unanswered] | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - -# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [503 unanswered] | via: RDP/tcp/3389 - - name: allow-tcp-RDP - protocol: tcp - destination-port: RDP - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - # [auto] no flows observed in window — source unchanged - name: allow-loopback source-address: LOOPBACK @@ -41,6 +27,28 @@ filters: protocol: icmpv6 action: accept +# [auto] 2735 flows total | 2735 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [1008 unanswered] | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + +# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [503 unanswered] | via: RDP/tcp/3389 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-RDP + protocol: tcp + destination-port: RDP + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: drop-ANY action: deny diff --git a/examples/lspr24/policies/r4-block-early/ws3-beg04_int_beg_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/ws3-beg04_int_beg_05_berylia_org.yml index 5a38440..7e35e07 100644 --- a/examples/lspr24/policies/r4-block-early/ws3-beg04_int_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/ws3-beg04_int_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/ws3-beg04_int_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:59Z -# Source suggestions changed: 2 | Log-drop candidates: 3 +# Source suggestions changed: 0 | Log-drop candidates: 3 metadata: host: ws3-beg04 zone: beg_int_12 @@ -12,20 +12,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 2715 flows total | 2715 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [1418 unanswered] | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - -# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [713 unanswered] | via: RDP/tcp/3389 - - name: allow-tcp-RDP - protocol: tcp - destination-port: RDP - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - # [auto] no flows observed in window — source unchanged - name: allow-loopback source-address: LOOPBACK @@ -41,6 +27,28 @@ filters: protocol: icmpv6 action: accept +# [auto] 2715 flows total | 2715 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [1418 unanswered] | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + +# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [713 unanswered] | via: RDP/tcp/3389 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-RDP + protocol: tcp + destination-port: RDP + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: drop-ANY action: deny diff --git a/examples/lspr24/policies/r4-block-early/ws3-beg05_int_beg_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/ws3-beg05_int_beg_05_berylia_org.yml index 53bc9f4..c15c415 100644 --- a/examples/lspr24/policies/r4-block-early/ws3-beg05_int_beg_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/ws3-beg05_int_beg_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/ws3-beg05_int_beg_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:55Z -# Source suggestions changed: 2 | Log-drop candidates: 3 +# Source suggestions changed: 0 | Log-drop candidates: 3 metadata: host: ws3-beg05 zone: beg_int_12 @@ -12,20 +12,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 2725 flows total | 2725 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [1369 unanswered] | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - -# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [700 unanswered] | via: RDP/tcp/3389 - - name: allow-tcp-RDP - protocol: tcp - destination-port: RDP - action: accept - source-address: BEG_INT_12_GT # was: BEG_INT_12_GT, BEG_INT_12_MGMT, MGMT_HOSTS - # [auto] no flows observed in window — source unchanged - name: allow-loopback source-address: LOOPBACK @@ -41,6 +27,28 @@ filters: protocol: icmpv6 action: accept +# [auto] 2725 flows total | 2725 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [1369 unanswered] | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + +# [auto] 1800 flows total | 1800 hits: BEG_INT_12_GT (10.5.12.250, 2a07:1182:5:12::250) [700 unanswered] | via: RDP/tcp/3389 +# [auto] kept, declared by the site's heuristics: BEG_INT_12_MGMT, MGMT_HOSTS + - name: allow-tcp-RDP + protocol: tcp + destination-port: RDP + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: drop-ANY action: deny diff --git a/examples/lspr24/policies/r4-block-early/ws6-m365_int_bgp_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/ws6-m365_int_bgp_05_berylia_org.yml index ed5db43..1bb2947 100644 --- a/examples/lspr24/policies/r4-block-early/ws6-m365_int_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/ws6-m365_int_bgp_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/ws6-m365_int_bgp_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:01Z to 2024-03-07T05:59:57Z -# Source suggestions changed: 1 | Log-drop candidates: 2 +# Source suggestions changed: 0 | Log-drop candidates: 2 metadata: host: ws6-m365 zone: bgp_int @@ -12,13 +12,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1799 flows total | 1799 hits: BGP_INT_GT (10.5.13.250, 2a07:1182:5:13::250) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BGP_INT_GT # was: BGP_INT_GT, BGP_INT_MGMT, MGMT_HOSTS - # [auto] no flows observed in window — source unchanged - name: allow-loopback source-address: LOOPBACK @@ -34,6 +27,17 @@ filters: protocol: icmpv6 action: accept +# [auto] 1799 flows total | 1799 hits: BGP_INT_GT (10.5.13.250, 2a07:1182:5:13::250) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: BGP_INT_MGMT, MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BGP_INT_GT + - BGP_INT_MGMT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: drop-ANY action: deny diff --git a/examples/lspr24/policies/r4-block-early/www_bgp_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/www_bgp_05_berylia_org.yml index ef922d6..1219972 100644 --- a/examples/lspr24/policies/r4-block-early/www_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/www_bgp_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/www_bgp_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:59Z -# Source suggestions changed: 3 | Log-drop candidates: 1 +# Source suggestions changed: 2 | Log-drop candidates: 1 metadata: host: www zone: bgp_5 @@ -12,13 +12,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BGP_5_GT # was: BGP_5_GT, MGMT_HOSTS - # [auto] 3603 flows total | 3603 hits: BGP_5_GT (2a07:1182:5:30::59, 100.98.5.59) | via: HTTP/tcp/80 - name: allow-tcp-HTTP protocol: tcp @@ -49,6 +42,13 @@ filters: action: accept # [auto] no flows observed in window — source unchanged; log-drop candidate + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BGP_5_GT + - MGMT_HOSTS - name: drop-ANY action: deny counter: drop-ANY diff --git a/examples/lspr24/policies/r4-block-early/xroad-securityserver_bgp_05_berylia_org.yml b/examples/lspr24/policies/r4-block-early/xroad-securityserver_bgp_05_berylia_org.yml index aac5dc0..ec63ebe 100644 --- a/examples/lspr24/policies/r4-block-early/xroad-securityserver_bgp_05_berylia_org.yml +++ b/examples/lspr24/policies/r4-block-early/xroad-securityserver_bgp_05_berylia_org.yml @@ -1,6 +1,6 @@ # firru tighten output — review and copy changes to policies/pol/xroad-securityserver_bgp_05_berylia_org.yml # Flows: data/flows [--window night: 2024-03-06 17:00Z to 2024-03-07 06:00Z], 2024-03-06T17:00:00Z to 2024-03-07T05:59:58Z -# Source suggestions changed: 3 | Log-drop candidates: 4 +# Source suggestions changed: 2 | Log-drop candidates: 4 metadata: host: xroad-securityserver zone: bgp_5 @@ -12,13 +12,6 @@ filters: nftables: mixed input DROP terms: -# [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 - - name: allow-tcp-SSH - protocol: tcp - destination-port: SSH - action: accept - source-address: BGP_5_GT # was: BGP_5_GT, MGMT_HOSTS - # [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: HTTPS/tcp/443 - name: allow-tcp-HTTPS protocol: tcp @@ -48,6 +41,16 @@ filters: protocol: icmpv6 action: accept +# [auto] 1800 flows total | 1800 hits: BGP_5_GT (100.98.5.59, 2a07:1182:5:30::59) | via: SSH/tcp/22 +# [auto] kept, declared by the site's heuristics: MGMT_HOSTS + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BGP_5_GT + - MGMT_HOSTS + # [auto] no flows observed in window — source unchanged; log-drop candidate - name: drop-ANY action: deny diff --git a/examples/lspr24/reports/hourly/dc1_int_beg_05_berylia_org.txt b/examples/lspr24/reports/hourly/dc1_int_beg_05_berylia_org.txt index fca4cc1..554efbc 100644 --- a/examples/lspr24/reports/hourly/dc1_int_beg_05_berylia_org.txt +++ b/examples/lspr24/reports/hourly/dc1_int_beg_05_berylia_org.txt @@ -1,73 +1,67 @@ -dc1_int_beg_05_berylia_org: d2 against r2-tightened, 9 narrowed terms - 03-07 08:00-09:00 4 of 9 contradicted +dc1_int_beg_05_berylia_org: d2 against r2-tightened, 7 narrowed terms + 03-07 08:00-09:00 4 of 7 contradicted tcp-KERBEROS-TCP cuts 92 BEG_5_GT 92 tcp-LDAP-TCP cuts 96 BEG_5_GT 92, owncloud_beg_05_berylia_org 4 tcp-LDAPS cuts 90 BEG_5_GT 90 udp-DNS-UDP cuts 42 2a07:1181:95:95::2 42 - 03-07 09:00-10:00 6 of 9 contradicted + 03-07 09:00-10:00 5 of 7 contradicted tcp-KERBEROS-TCP cuts 526 BEG_5_GT 526 tcp-LDAP-TCP cuts 554 BEG_5_GT 523, owncloud_beg_05_berylia_org 26, k8s-worker02_beg_05_berylia_org 5 tcp-LDAPS cuts 530 BEG_5_GT 522, dc2_int_beg_05_berylia_org 8 - tcp-SSH cuts 20 BEG_INT_12_MGMT 20 udp-DNS-UDP cuts 26 fw1-beg_05_berylia_org 16, rtu-host_int_beg_05_berylia_org 10 udp-LDAP-UDP cuts 1 dc2_int_beg_05_berylia_org 1 - 03-07 10:00-11:00 6 of 9 contradicted + 03-07 10:00-11:00 5 of 7 contradicted tcp-KERBEROS-TCP cuts 552 BEG_5_GT 552 tcp-LDAP-TCP cuts 597 BEG_5_GT 552, k8s-worker02_beg_05_berylia_org 27, owncloud_beg_05_berylia_org 18 tcp-LDAPS cuts 571 BEG_5_GT 555, dc2_int_beg_05_berylia_org 16 - tcp-SSH cuts 30 BEG_INT_12_MGMT 30 udp-DNS-UDP cuts 7 2a07:1181:95:95::2 6, fw1-beg_05_berylia_org 1 udp-LDAP-UDP cuts 3 dc2_int_beg_05_berylia_org 3 - 03-07 11:00-12:00 6 of 9 contradicted + 03-07 11:00-12:00 5 of 7 contradicted tcp-KERBEROS-TCP cuts 466 BEG_5_GT 466 tcp-LDAP-TCP cuts 495 BEG_5_GT 465, k8s-worker02_beg_05_berylia_org 24, owncloud_beg_05_berylia_org 6 tcp-LDAPS cuts 475 BEG_5_GT 467, dc2_int_beg_05_berylia_org 8 - tcp-SSH cuts 29 BEG_INT_12_MGMT 29 udp-DNS-UDP cuts 831 2a07:1181:95:95::2 831 udp-LDAP-UDP cuts 2 dc2_int_beg_05_berylia_org 2 - 03-07 12:00-13:00 5 of 9 contradicted + 03-07 12:00-13:00 4 of 7 contradicted tcp-KERBEROS-TCP cuts 160 BEG_5_GT 160 tcp-LDAP-TCP cuts 212 BEG_5_GT 159, owncloud_beg_05_berylia_org 45, k8s-worker02_beg_05_berylia_org 8 tcp-LDAPS cuts 175 BEG_5_GT 160, dc2_int_beg_05_berylia_org 15 - tcp-SSH cuts 30 BEG_INT_12_MGMT 30 udp-DNS-UDP cuts 2,005 2a07:1181:95:95::2 2005 - 03-07 13:00-14:00 7 of 9 contradicted + 03-07 13:00-14:00 6 of 7 contradicted tcp-DNS-TCP cuts 10 beg-power-ws_int_beg_05_berylia_org 10 tcp-KERBEROS-TCP cuts 525 BEG_5_GT 525 tcp-LDAP-TCP cuts 585 BEG_5_GT 524, owncloud_beg_05_berylia_org 36, k8s-worker02_beg_05_berylia_org 25 tcp-LDAPS cuts 552 BEG_5_GT 526, dc2_int_beg_05_berylia_org 26 - tcp-SSH cuts 7 BEG_INT_12_MGMT 7 udp-DNS-UDP cuts 59 fw1-beg_05_berylia_org 55, 2a07:1181:95:95::2 4 udp-LDAP-UDP cuts 2 dc2_int_beg_05_berylia_org 1, fw1-beg_05_berylia_org 1 - 03-07 14:00-15:00 4 of 9 contradicted + 03-07 14:00-15:00 4 of 7 contradicted tcp-KERBEROS-TCP cuts 554 BEG_5_GT 554 tcp-LDAP-TCP cuts 603 BEG_5_GT 552, k8s-worker02_beg_05_berylia_org 28, owncloud_beg_05_berylia_org 23 tcp-LDAPS cuts 562 BEG_5_GT 554, dc2_int_beg_05_berylia_org 8 udp-DNS-UDP cuts 4 2a07:1181:95:95::2 4 - 03-07 15:00-16:00 5 of 9 contradicted + 03-07 15:00-16:00 5 of 7 contradicted tcp-KERBEROS-TCP cuts 552 BEG_5_GT 552 tcp-LDAP-TCP cuts 588 BEG_5_GT 555, k8s-worker02_beg_05_berylia_org 27, owncloud_beg_05_berylia_org 6 tcp-LDAPS cuts 554 BEG_5_GT 554 udp-DNS-UDP cuts 13 2a07:1181:95:95::2 13 udp-LDAP-UDP cuts 2 dc2_int_beg_05_berylia_org 2 - 03-07 16:00-17:00 5 of 9 contradicted + 03-07 16:00-17:00 5 of 7 contradicted tcp-KERBEROS-TCP cuts 554 BEG_5_GT 554 tcp-LDAP-TCP cuts 587 BEG_5_GT 553, k8s-worker02_beg_05_berylia_org 28, owncloud_beg_05_berylia_org 6 tcp-LDAPS cuts 552 BEG_5_GT 552 udp-DNS-UDP cuts 8 2a07:1181:95:95::2 8 udp-LDAP-UDP cuts 1 dc2_int_beg_05_berylia_org 1 - 03-07 17:00-18:00 4 of 9 contradicted + 03-07 17:00-18:00 4 of 7 contradicted tcp-KERBEROS-TCP cuts 24 BEG_5_GT 24 tcp-LDAP-TCP cuts 31 BEG_5_GT 24, owncloud_beg_05_berylia_org 6, k8s-worker02_beg_05_berylia_org 1 tcp-LDAPS cuts 24 BEG_5_GT 24 udp-DNS-UDP cuts 2 2a07:1181:95:95::2 2 - cut across d2: 15,572 flows from 9 peers + cut across d2: 15,456 flows from 8 peers BEG_5_GT 10/10 hours 12,008 flows tcp-KERBEROS-TCP tcp-LDAP-TCP tcp-LDAPS owncloud_beg_05_berylia_org 10/10 hours 176 flows tcp-LDAP-TCP 2a07:1181:95:95::2 9/10 hours 2,915 flows udp-DNS-UDP k8s-worker02_beg_05_berylia_org 9/10 hours 173 flows tcp-LDAP-TCP dc2_int_beg_05_berylia_org 8/10 hours 91 flows tcp-LDAPS udp-LDAP-UDP - BEG_INT_12_MGMT 5/10 hours 116 flows tcp-SSH fw1-beg_05_berylia_org 3/10 hours 73 flows udp-DNS-UDP udp-LDAP-UDP beg-power-ws_int_beg_05_berylia_org 1/10 hours 10 flows tcp-DNS-TCP rtu-host_int_beg_05_berylia_org 1/10 hours 10 flows udp-DNS-UDP diff --git a/examples/lspr24/reports/hourly/gas-hmi_beg_05_berylia_org.txt b/examples/lspr24/reports/hourly/gas-hmi_beg_05_berylia_org.txt index caf1c0f..5bc873f 100644 --- a/examples/lspr24/reports/hourly/gas-hmi_beg_05_berylia_org.txt +++ b/examples/lspr24/reports/hourly/gas-hmi_beg_05_berylia_org.txt @@ -1,27 +1,23 @@ -gas-hmi_beg_05_berylia_org: d2 against r2-tightened, 4 narrowed terms - 03-07 08:00-09:00 0 of 4 contradicted - 03-07 09:00-10:00 1 of 4 contradicted - tcp-SSH cuts 20 BEG_17_MGMT 20 - 03-07 10:00-11:00 1 of 4 contradicted - tcp-SSH cuts 12 BEG_17_MGMT 12 - 03-07 11:00-12:00 0 of 4 contradicted - 03-07 12:00-13:00 0 of 4 contradicted - 03-07 13:00-14:00 2 of 4 contradicted +gas-hmi_beg_05_berylia_org: d2 against r2-tightened, 3 narrowed terms + 03-07 08:00-09:00 0 of 3 contradicted + 03-07 09:00-10:00 0 of 3 contradicted + 03-07 10:00-11:00 0 of 3 contradicted + 03-07 11:00-12:00 0 of 3 contradicted + 03-07 12:00-13:00 0 of 3 contradicted + 03-07 13:00-14:00 2 of 3 contradicted tcp-TCP_3000 cuts 51 BEG_17_MGMT 51 tcp-TCP_8000 cuts 12 BEG_17_MGMT 12 - 03-07 14:00-15:00 3 of 4 contradicted - tcp-SSH cuts 17 BEG_17_MGMT 17 + 03-07 14:00-15:00 2 of 3 contradicted tcp-TCP_3000 cuts 202 BEG_17_MGMT 202 tcp-TCP_8000 cuts 60 BEG_17_MGMT 60 - 03-07 15:00-16:00 3 of 4 contradicted - tcp-SSH cuts 13 BEG_17_MGMT 13 + 03-07 15:00-16:00 2 of 3 contradicted tcp-TCP_3000 cuts 200 BEG_17_MGMT 200 tcp-TCP_8000 cuts 61 BEG_17_MGMT 61 - 03-07 16:00-17:00 2 of 4 contradicted + 03-07 16:00-17:00 2 of 3 contradicted tcp-TCP_3000 cuts 423 BEG_17_MGMT 423 tcp-TCP_8000 cuts 61 BEG_17_MGMT 61 - 03-07 17:00-18:00 2 of 4 contradicted + 03-07 17:00-18:00 2 of 3 contradicted tcp-TCP_3000 cuts 58 BEG_17_MGMT 58 tcp-TCP_8000 cuts 9 BEG_17_MGMT 9 - cut across d2: 1,199 flows from 1 peer - BEG_17_MGMT 7/10 hours 1,199 flows tcp-SSH tcp-TCP_3000 tcp-TCP_8000 + cut across d2: 1,137 flows from 1 peer + BEG_17_MGMT 5/10 hours 1,137 flows tcp-TCP_3000 tcp-TCP_8000 diff --git a/examples/lspr24/reports/hourly/k8s-worker01_beg_05_berylia_org.txt b/examples/lspr24/reports/hourly/k8s-worker01_beg_05_berylia_org.txt index b25b68a..24c6490 100644 --- a/examples/lspr24/reports/hourly/k8s-worker01_beg_05_berylia_org.txt +++ b/examples/lspr24/reports/hourly/k8s-worker01_beg_05_berylia_org.txt @@ -1,25 +1,20 @@ -k8s-worker01_beg_05_berylia_org: d2 against r2-tightened, 5 narrowed terms - 03-07 08:00-09:00 0 of 5 contradicted - 03-07 09:00-10:00 2 of 5 contradicted +k8s-worker01_beg_05_berylia_org: d2 against r2-tightened, 4 narrowed terms + 03-07 08:00-09:00 0 of 4 contradicted + 03-07 09:00-10:00 1 of 4 contradicted tcp-K8S-KUBELET cuts 15 k8s-control-plane_beg_05_berylia_org 15 - tcp-SSH cuts 20 MGMT_HOSTS 20 - 03-07 10:00-11:00 2 of 5 contradicted + 03-07 10:00-11:00 1 of 4 contradicted tcp-K8S-KUBELET cuts 12 k8s-control-plane_beg_05_berylia_org 12 - tcp-SSH cuts 11 MGMT_HOSTS 11 - 03-07 11:00-12:00 1 of 5 contradicted + 03-07 11:00-12:00 1 of 4 contradicted tcp-K8S-KUBELET cuts 29 k8s-control-plane_beg_05_berylia_org 29 - 03-07 12:00-13:00 1 of 5 contradicted + 03-07 12:00-13:00 1 of 4 contradicted tcp-K8S-KUBELET cuts 31 k8s-control-plane_beg_05_berylia_org 31 - 03-07 13:00-14:00 1 of 5 contradicted + 03-07 13:00-14:00 1 of 4 contradicted tcp-K8S-KUBELET cuts 12 k8s-control-plane_beg_05_berylia_org 12 - 03-07 14:00-15:00 2 of 5 contradicted + 03-07 14:00-15:00 1 of 4 contradicted tcp-K8S-KUBELET cuts 48 k8s-control-plane_beg_05_berylia_org 48 - tcp-SSH cuts 17 MGMT_HOSTS 17 - 03-07 15:00-16:00 2 of 5 contradicted + 03-07 15:00-16:00 1 of 4 contradicted tcp-K8S-KUBELET cuts 8 k8s-control-plane_beg_05_berylia_org 8 - tcp-SSH cuts 14 MGMT_HOSTS 14 - 03-07 16:00-17:00 0 of 5 contradicted - 03-07 17:00-18:00 0 of 5 contradicted - cut across d2: 217 flows from 2 peers + 03-07 16:00-17:00 0 of 4 contradicted + 03-07 17:00-18:00 0 of 4 contradicted + cut across d2: 155 flows from 1 peer k8s-control-plane_beg_05_berylia_org 7/10 hours 155 flows tcp-K8S-KUBELET - MGMT_HOSTS 4/10 hours 62 flows tcp-SSH diff --git a/examples/lspr24/reports/hourly/salt-master_beg_05_berylia_org.txt b/examples/lspr24/reports/hourly/salt-master_beg_05_berylia_org.txt index 342dace..6556690 100644 --- a/examples/lspr24/reports/hourly/salt-master_beg_05_berylia_org.txt +++ b/examples/lspr24/reports/hourly/salt-master_beg_05_berylia_org.txt @@ -1,36 +1,31 @@ -salt-master_beg_05_berylia_org: d2 against r2-tightened, 5 narrowed terms - 03-07 08:00-09:00 1 of 5 contradicted +salt-master_beg_05_berylia_org: d2 against r2-tightened, 4 narrowed terms + 03-07 08:00-09:00 1 of 4 contradicted tcp-TCP_4505 cuts 23 BEG_17_GT 23 - 03-07 09:00-10:00 5 of 5 contradicted + 03-07 09:00-10:00 4 of 4 contradicted tcp-HTTP cuts 5 fw1-beg_05_berylia_org 5 tcp-HTTPS cuts 4 fw1-beg_05_berylia_org 4 - tcp-SSH cuts 20 MGMT_HOSTS 20 tcp-TCP_4505 cuts 146 BEG_17_GT 132, gas-hmi_beg_05_berylia_org 10, fw1-beg_05_berylia_org 3, +1 more tcp-TCP_4506 cuts 5 fw1-beg_05_berylia_org 5 - 03-07 10:00-11:00 2 of 5 contradicted - tcp-SSH cuts 12 MGMT_HOSTS 12 + 03-07 10:00-11:00 1 of 4 contradicted tcp-TCP_4505 cuts 164 BEG_17_GT 138, gas-hmi_beg_05_berylia_org 26 - 03-07 11:00-12:00 1 of 5 contradicted + 03-07 11:00-12:00 1 of 4 contradicted tcp-TCP_4505 cuts 165 BEG_17_GT 139, gas-hmi_beg_05_berylia_org 25, gas-historian_beg_05_berylia_org 1 - 03-07 12:00-13:00 1 of 5 contradicted + 03-07 12:00-13:00 1 of 4 contradicted tcp-TCP_4505 cuts 165 BEG_17_GT 138, gas-hmi_beg_05_berylia_org 26, gas-historian_beg_05_berylia_org 1 - 03-07 13:00-14:00 3 of 5 contradicted + 03-07 13:00-14:00 3 of 4 contradicted tcp-HTTP cuts 4 fw1-beg_05_berylia_org 4 tcp-HTTPS cuts 5 fw1-beg_05_berylia_org 5 tcp-TCP_4505 cuts 156 BEG_17_GT 131, gas-hmi_beg_05_berylia_org 25 - 03-07 14:00-15:00 2 of 5 contradicted - tcp-SSH cuts 17 MGMT_HOSTS 17 + 03-07 14:00-15:00 1 of 4 contradicted tcp-TCP_4505 cuts 165 BEG_17_GT 138, gas-hmi_beg_05_berylia_org 26, gas-historian_beg_05_berylia_org 1 - 03-07 15:00-16:00 2 of 5 contradicted - tcp-SSH cuts 13 MGMT_HOSTS 13 + 03-07 15:00-16:00 1 of 4 contradicted tcp-TCP_4505 cuts 164 BEG_17_GT 138, gas-hmi_beg_05_berylia_org 25, gas-historian_beg_05_berylia_org 1 - 03-07 16:00-17:00 1 of 5 contradicted + 03-07 16:00-17:00 1 of 4 contradicted tcp-TCP_4505 cuts 165 BEG_17_GT 139, gas-hmi_beg_05_berylia_org 26 - 03-07 17:00-18:00 1 of 5 contradicted + 03-07 17:00-18:00 1 of 4 contradicted tcp-TCP_4505 cuts 23 gas-hmi_beg_05_berylia_org 17, BEG_17_GT 6 - cut across d2: 1,421 flows from 5 peers + cut across d2: 1,359 flows from 4 peers BEG_17_GT 10/10 hours 1,122 flows tcp-TCP_4505 gas-hmi_beg_05_berylia_org 9/10 hours 206 flows tcp-TCP_4505 gas-historian_beg_05_berylia_org 5/10 hours 5 flows tcp-TCP_4505 - MGMT_HOSTS 4/10 hours 62 flows tcp-SSH fw1-beg_05_berylia_org 2/10 hours 26 flows tcp-HTTP tcp-HTTPS tcp-TCP_4505 tcp-TCP_4506 diff --git a/examples/lspr24/reports/hourly/www_bgp_05_berylia_org.txt b/examples/lspr24/reports/hourly/www_bgp_05_berylia_org.txt index 6745c11..1f87179 100644 --- a/examples/lspr24/reports/hourly/www_bgp_05_berylia_org.txt +++ b/examples/lspr24/reports/hourly/www_bgp_05_berylia_org.txt @@ -1,49 +1,45 @@ -www_bgp_05_berylia_org: d2 against r2-tightened, 3 narrowed terms - 03-07 08:00-09:00 2 of 3 contradicted +www_bgp_05_berylia_org: d2 against r2-tightened, 2 narrowed terms + 03-07 08:00-09:00 2 of 2 contradicted tcp-HTTP cuts 50 2a07:1182:101::204 28, 100.101.0.204 22 tcp-HTTPS cuts 96 2a07:1182:101::204 22, 100.101.0.204 21, 100.100.100.9 17, +6 more - 03-07 09:00-10:00 3 of 3 contradicted + 03-07 09:00-10:00 2 of 2 contradicted tcp-HTTP cuts 328 2a07:1182:101::204 185, 100.101.0.204 139, 2a04:80c2:dad1:8cd3:e7e:bcef:683c:c659 [red] 4 tcp-HTTPS cuts 447 100.101.0.204 139, 2a07:1182:101::204 138, 100.100.100.9 67, +21 more - tcp-SSH cuts 20 MGMT_HOSTS 20 - 03-07 10:00-11:00 3 of 3 contradicted + 03-07 10:00-11:00 2 of 2 contradicted tcp-HTTP cuts 331 2a07:1182:101::204 192, 100.101.0.204 139 tcp-HTTPS cuts 342 100.101.0.204 138, 2a07:1182:101::204 138, 100.100.100.9 20, +14 more - tcp-SSH cuts 11 MGMT_HOSTS 11 - 03-07 11:00-12:00 2 of 3 contradicted + 03-07 11:00-12:00 2 of 2 contradicted tcp-HTTP cuts 333 2a07:1182:101::204 192, 100.101.0.204 141 tcp-HTTPS cuts 376 100.101.0.204 139, 2a07:1182:101::204 139, 100.100.100.9 20, +14 more - 03-07 12:00-13:00 2 of 3 contradicted + 03-07 12:00-13:00 2 of 2 contradicted tcp-HTTP cuts 332 2a07:1182:101::204 192, 100.101.0.204 140 tcp-HTTPS cuts 341 100.101.0.204 138, 2a07:1182:101::204 138, 100.100.100.9 20, +13 more - 03-07 13:00-14:00 2 of 3 contradicted + 03-07 13:00-14:00 2 of 2 contradicted tcp-HTTP cuts 330 2a07:1182:101::204 190, 100.101.0.204 140 tcp-HTTPS cuts 342 100.101.0.204 139, 2a07:1182:101::204 139, 100.100.100.9 20, +15 more - 03-07 14:00-15:00 3 of 3 contradicted + 03-07 14:00-15:00 2 of 2 contradicted tcp-HTTP cuts 330 2a07:1182:101::204 190, 100.101.0.204 140 tcp-HTTPS cuts 360 100.101.0.204 138, 2a07:1182:101::204 138, 100.100.100.9 20, +18 more - tcp-SSH cuts 17 MGMT_HOSTS 17 - 03-07 15:00-16:00 3 of 3 contradicted + 03-07 15:00-16:00 2 of 2 contradicted tcp-HTTP cuts 336 2a07:1182:101::204 193, 100.101.0.204 140, 179.51.205.114 [red] 3 tcp-HTTPS cuts 331 100.101.0.204 139, 2a07:1182:101::204 139, 100.100.100.9 20, +9 more - tcp-SSH cuts 23 MGMT_HOSTS 23 - 03-07 16:00-17:00 2 of 3 contradicted + 03-07 16:00-17:00 2 of 2 contradicted tcp-HTTP cuts 328 2a07:1182:101::204 190, 100.101.0.204 138 tcp-HTTPS cuts 341 100.101.0.204 138, 2a07:1182:101::204 138, 100.100.100.9 20, +13 more - 03-07 17:00-18:00 2 of 3 contradicted + 03-07 17:00-18:00 2 of 2 contradicted tcp-HTTP cuts 18 2a07:1182:101::204 11, 100.101.0.204 7 tcp-HTTPS cuts 15 100.101.0.204 7, 2a07:1182:101::204 7, 100.100.100.9 1 - cut across d2: 5,778 flows from 52 peers, 234 from red team + cut across d2: 5,707 flows from 51 peers, 234 from red team 2a07:1182:101::204 10/10 hours 2,699 flows tcp-HTTP tcp-HTTPS 100.101.0.204 10/10 hours 2,282 flows tcp-HTTP tcp-HTTPS 100.100.100.9 10/10 hours 225 flows tcp-HTTPS 45.92.100.115 6/10 hours 21 flows tcp-HTTPS 128.90.61.70 [red] 5/10 hours 18 flows tcp-HTTPS 23.170.80.141 5/10 hours 15 flows tcp-HTTPS - MGMT_HOSTS 4/10 hours 71 flows tcp-SSH 198.245.160.167 4/10 hours 24 flows tcp-HTTPS 196.3.73.59 4/10 hours 15 flows tcp-HTTPS 208.103.148.65 [red] 4/10 hours 15 flows tcp-HTTPS 2a07:1182:100:100::133 4/10 hours 14 flows tcp-HTTPS 102.165.190.223 4/10 hours 12 flows tcp-HTTPS - ... 40 more peers, 367 flows, 19 of them red team + 167.250.236.118 [red] 4/10 hours 12 flows tcp-HTTPS + ... 39 more peers, 355 flows, 18 of them red team diff --git a/examples/lspr24/zones/r2-tightened/baf_15.yml b/examples/lspr24/zones/r2-tightened/baf_15.yml index 414d32f..51c2961 100644 --- a/examples/lspr24/zones/r2-tightened/baf_15.yml +++ b/examples/lspr24/zones/r2-tightened/baf_15.yml @@ -16,6 +16,15 @@ filters: protocol: icmpv6 action: accept destination-address: c4i-ads_baf_05_berylia_org + - name: c4i-ads_baf_05_berylia_org-allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BAF_15_GT + - BAF_15_MGMT + - MGMT_HOSTS + destination-address: c4i-ads_baf_05_berylia_org - name: c4i-ads_baf_05_berylia_org-allow-tcp-DNS-TCP protocol: tcp destination-port: DNS-TCP @@ -113,13 +122,6 @@ filters: \ traffic observed; host firewall handles intra-zone access" protocol: tcp destination-port: CEPH-OSD - - name: deny-ext-tcp-SSH - action: deny - destination-address: c4i-ads_baf_05_berylia_org - comment: "intra-zone only \u2014 port is open on host(s) but no legitimate external\ - \ traffic observed; host firewall handles intra-zone access" - protocol: tcp - destination-port: SSH - name: deny-ext-udp-UDP_5000 action: deny destination-address: c4i-ads_baf_05_berylia_org diff --git a/examples/lspr24/zones/r2-tightened/baf_int.yml b/examples/lspr24/zones/r2-tightened/baf_int.yml index a4ec4f2..1e1a2f1 100644 --- a/examples/lspr24/zones/r2-tightened/baf_int.yml +++ b/examples/lspr24/zones/r2-tightened/baf_int.yml @@ -21,6 +21,16 @@ filters: action: accept destination-address: mail_int_baf_05_berylia_org ticketdesk_int_baf_05_berylia_org ws1-baf01_int_baf_05_berylia_org ws3-baf05_int_baf_05_berylia_org + - name: allow-tcp-SSH-shared + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BAF_INT_GT + - BAF_INT_MGMT + - MGMT_HOSTS + destination-address: mail_int_baf_05_berylia_org ticketdesk_int_baf_05_berylia_org + ws1-baf01_int_baf_05_berylia_org ws3-baf05_int_baf_05_berylia_org - name: mail_int_baf_05_berylia_org-allow-tcp-TCP_81 protocol: tcp destination-port: TCP_81 @@ -75,6 +85,16 @@ filters: action: accept source-address: ANY destination-address: mail_int_baf_05_berylia_org + - name: allow-tcp-RDP-shared + protocol: tcp + destination-port: RDP + action: accept + source-address: + - BAF_INT_GT + - BAF_INT_MGMT + - MGMT_HOSTS + destination-address: mail_int_baf_05_berylia_org ws1-baf01_int_baf_05_berylia_org + ws3-baf05_int_baf_05_berylia_org - name: mail_int_baf_05_berylia_org-allow-tcp-TCP_3800 protocol: tcp destination-port: TCP_3800 @@ -93,6 +113,15 @@ filters: action: accept source-address: ANY destination-address: mail_int_baf_05_berylia_org + - name: allow-tcp-WINRM-HTTP-shared + protocol: tcp + destination-port: WINRM-HTTP + action: accept + source-address: + - BAF_INT_GT + - BAF_INT_MGMT + - MGMT_HOSTS + destination-address: mail_int_baf_05_berylia_org ws1-baf01_int_baf_05_berylia_org - name: mail_int_baf_05_berylia_org-allow-tcp-MSEXCHANGERPC protocol: tcp destination-port: MSEXCHANGERPC @@ -148,14 +177,6 @@ filters: \ traffic observed; host firewall handles intra-zone access" protocol: tcp destination-port: NETBIOS-SSN-LEGACY - - name: deny-ext-tcp-RDP - action: deny - destination-address: mail_int_baf_05_berylia_org ws1-baf01_int_baf_05_berylia_org - ws3-baf05_int_baf_05_berylia_org - comment: "intra-zone only \u2014 port is open on host(s) but no legitimate external\ - \ traffic observed; host firewall handles intra-zone access" - protocol: tcp - destination-port: RDP - name: deny-ext-tcp-SMTP action: deny destination-address: mail_int_baf_05_berylia_org @@ -177,14 +198,6 @@ filters: \ traffic observed; host firewall handles intra-zone access" protocol: tcp destination-port: SMTPS - - name: deny-ext-tcp-SSH - action: deny - destination-address: mail_int_baf_05_berylia_org ticketdesk_int_baf_05_berylia_org - ws1-baf01_int_baf_05_berylia_org ws3-baf05_int_baf_05_berylia_org - comment: "intra-zone only \u2014 port is open on host(s) but no legitimate external\ - \ traffic observed; host firewall handles intra-zone access" - protocol: tcp - destination-port: SSH - name: deny-ext-tcp-WINDOWS-CDP action: deny destination-address: ws1-baf01_int_baf_05_berylia_org @@ -206,13 +219,6 @@ filters: \ traffic observed; host firewall handles intra-zone access" protocol: tcp destination-port: WINDOWS-SMB - - name: deny-ext-tcp-WINRM-HTTP - action: deny - destination-address: mail_int_baf_05_berylia_org ws1-baf01_int_baf_05_berylia_org - comment: "intra-zone only \u2014 port is open on host(s) but no legitimate external\ - \ traffic observed; host firewall handles intra-zone access" - protocol: tcp - destination-port: WINRM-HTTP - name: deny-ext-udp-NETBIOS-DGM-LEGACY action: deny destination-address: mail_int_baf_05_berylia_org ws1-baf01_int_baf_05_berylia_org diff --git a/examples/lspr24/zones/r2-tightened/beg_17.yml b/examples/lspr24/zones/r2-tightened/beg_17.yml index d3315d1..048242b 100644 --- a/examples/lspr24/zones/r2-tightened/beg_17.yml +++ b/examples/lspr24/zones/r2-tightened/beg_17.yml @@ -17,6 +17,15 @@ filters: protocol: icmpv6 action: accept destination-address: gas-historian_beg_05_berylia_org gas-hmi_beg_05_berylia_org + - name: allow-tcp-SSH-shared + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_17_GT + - BEG_17_MGMT + - MGMT_HOSTS + destination-address: gas-historian_beg_05_berylia_org gas-hmi_beg_05_berylia_org - name: gas-historian_beg_05_berylia_org-allow-tcp-MYSQL protocol: tcp destination-port: MYSQL @@ -50,13 +59,6 @@ filters: action: accept source-address: ANY_V4 destination-address: gas-historian_beg_05_berylia_org gas-hmi_beg_05_berylia_org - - name: deny-ext-tcp-SSH - action: deny - destination-address: gas-historian_beg_05_berylia_org gas-hmi_beg_05_berylia_org - comment: "intra-zone only \u2014 port is open on host(s) but no legitimate external\ - \ traffic observed; host firewall handles intra-zone access" - protocol: tcp - destination-port: SSH - name: deny-ext-tcp-TCP_12349 action: deny destination-address: gas-hmi_beg_05_berylia_org diff --git a/examples/lspr24/zones/r2-tightened/beg_5.yml b/examples/lspr24/zones/r2-tightened/beg_5.yml index bf15842..b71eec9 100644 --- a/examples/lspr24/zones/r2-tightened/beg_5.yml +++ b/examples/lspr24/zones/r2-tightened/beg_5.yml @@ -38,15 +38,19 @@ filters: source-address: - BEG_5_GT - BEG_INT_12_GT + - MGMT_HOSTS destination-address: owncloud_beg_05_berylia_org - - name: inventory_beg_05_berylia_org-allow-tcp-SSH + - name: allow-tcp-SSH-from-BEG_5_GT-MGMT_HOSTS-shared protocol: tcp destination-port: SSH action: accept source-address: - BEG_5_GT - MGMT_HOSTS - destination-address: inventory_beg_05_berylia_org + destination-address: inventory_beg_05_berylia_org k8s-control-plane_beg_05_berylia_org + k8s-worker01_beg_05_berylia_org k8s-worker02_beg_05_berylia_org k8s-worker03_beg_05_berylia_org + k8s-worker04_beg_05_berylia_org maintenance_beg_05_berylia_org news_beg_05_berylia_org + salt-master_beg_05_berylia_org - name: allow-tcp-MYSQL-shared protocol: tcp destination-port: MYSQL @@ -212,15 +216,6 @@ filters: \ traffic observed; host firewall handles intra-zone access" protocol: tcp destination-port: NODE-EXPORTER - - name: deny-ext-tcp-SSH - action: deny - destination-address: k8s-control-plane_beg_05_berylia_org k8s-worker01_beg_05_berylia_org - k8s-worker02_beg_05_berylia_org k8s-worker03_beg_05_berylia_org k8s-worker04_beg_05_berylia_org - maintenance_beg_05_berylia_org news_beg_05_berylia_org salt-master_beg_05_berylia_org - comment: "intra-zone only \u2014 port is open on host(s) but no legitimate external\ - \ traffic observed; host firewall handles intra-zone access" - protocol: tcp - destination-port: SSH - name: deny-ext-udp-METALLB-MEMBERLIST action: deny destination-address: k8s-control-plane_beg_05_berylia_org k8s-worker01_beg_05_berylia_org diff --git a/examples/lspr24/zones/r2-tightened/beg_int_12.yml b/examples/lspr24/zones/r2-tightened/beg_int_12.yml index 5b25c53..eb5bbf2 100644 --- a/examples/lspr24/zones/r2-tightened/beg_int_12.yml +++ b/examples/lspr24/zones/r2-tightened/beg_int_12.yml @@ -36,6 +36,19 @@ filters: ws1-beg02_int_beg_05_berylia_org ws2-beg01_int_beg_05_berylia_org ws2-beg02_int_beg_05_berylia_org ws3-beg01_int_beg_05_berylia_org ws3-beg02_int_beg_05_berylia_org ws3-beg03_int_beg_05_berylia_org ws3-beg04_int_beg_05_berylia_org ws3-beg05_int_beg_05_berylia_org + - name: allow-tcp-SSH-shared + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + destination-address: adcs-beg_int_beg_05_berylia_org dc1_int_beg_05_berylia_org + dc2_int_beg_05_berylia_org lemonldapng_int_beg_05_berylia_org ws1-beg01_int_beg_05_berylia_org + ws1-beg02_int_beg_05_berylia_org ws2-beg01_int_beg_05_berylia_org ws2-beg02_int_beg_05_berylia_org + ws3-beg01_int_beg_05_berylia_org ws3-beg02_int_beg_05_berylia_org ws3-beg03_int_beg_05_berylia_org + ws3-beg04_int_beg_05_berylia_org ws3-beg05_int_beg_05_berylia_org - name: adcs-beg_int_beg_05_berylia_org-allow-tcp-HTTP protocol: tcp destination-port: HTTP @@ -58,8 +71,11 @@ filters: - BEG_INT_12_MGMT - MGMT_HOSTS destination-address: adcs-beg_int_beg_05_berylia_org dc1_int_beg_05_berylia_org - dc2_int_beg_05_berylia_org - - name: adcs-beg_int_beg_05_berylia_org-allow-tcp-WINRM-HTTP + dc2_int_beg_05_berylia_org ws1-beg01_int_beg_05_berylia_org ws1-beg02_int_beg_05_berylia_org + ws2-beg01_int_beg_05_berylia_org ws2-beg02_int_beg_05_berylia_org ws3-beg01_int_beg_05_berylia_org + ws3-beg02_int_beg_05_berylia_org ws3-beg03_int_beg_05_berylia_org ws3-beg04_int_beg_05_berylia_org + ws3-beg05_int_beg_05_berylia_org + - name: allow-tcp-WINRM-HTTP-shared protocol: tcp destination-port: WINRM-HTTP action: accept @@ -67,7 +83,9 @@ filters: - BEG_INT_12_GT - BEG_INT_12_MGMT - MGMT_HOSTS - destination-address: adcs-beg_int_beg_05_berylia_org + destination-address: adcs-beg_int_beg_05_berylia_org dc1_int_beg_05_berylia_org + dc2_int_beg_05_berylia_org ws1-beg01_int_beg_05_berylia_org ws1-beg02_int_beg_05_berylia_org + ws2-beg01_int_beg_05_berylia_org ws2-beg02_int_beg_05_berylia_org - name: allow-tcp-WINDOWS-WINRM-UNCONFIGURED-shared protocol: tcp destination-port: WINDOWS-WINRM-UNCONFIGURED @@ -136,7 +154,9 @@ filters: protocol: tcp destination-port: NETBIOS-SSN-LEGACY action: accept - source-address: mail_beg_05_berylia_org + source-address: + - mail_beg_05_berylia_org + - BEG_INT_12_HOSTS destination-address: dc1_int_beg_05_berylia_org dc2_int_beg_05_berylia_org - name: allow-tcp-LDAP-TCP-shared protocol: tcp @@ -154,6 +174,8 @@ filters: source-address: - BEG_5_GT - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS destination-address: dc1_int_beg_05_berylia_org dc2_int_beg_05_berylia_org - name: allow-udp-DNS-UDP-shared protocol: udp @@ -254,27 +276,6 @@ filters: \ traffic observed; host firewall handles intra-zone access" protocol: tcp destination-port: NETBIOS-SSN-LEGACY - - name: deny-ext-tcp-RDP - action: deny - destination-address: ws1-beg01_int_beg_05_berylia_org ws1-beg02_int_beg_05_berylia_org - ws2-beg01_int_beg_05_berylia_org ws2-beg02_int_beg_05_berylia_org ws3-beg01_int_beg_05_berylia_org - ws3-beg02_int_beg_05_berylia_org ws3-beg03_int_beg_05_berylia_org ws3-beg04_int_beg_05_berylia_org - ws3-beg05_int_beg_05_berylia_org - comment: "intra-zone only \u2014 port is open on host(s) but no legitimate external\ - \ traffic observed; host firewall handles intra-zone access" - protocol: tcp - destination-port: RDP - - name: deny-ext-tcp-SSH - action: deny - destination-address: adcs-beg_int_beg_05_berylia_org dc1_int_beg_05_berylia_org - dc2_int_beg_05_berylia_org lemonldapng_int_beg_05_berylia_org ws1-beg01_int_beg_05_berylia_org - ws1-beg02_int_beg_05_berylia_org ws2-beg01_int_beg_05_berylia_org ws2-beg02_int_beg_05_berylia_org - ws3-beg01_int_beg_05_berylia_org ws3-beg02_int_beg_05_berylia_org ws3-beg03_int_beg_05_berylia_org - ws3-beg04_int_beg_05_berylia_org ws3-beg05_int_beg_05_berylia_org - comment: "intra-zone only \u2014 port is open on host(s) but no legitimate external\ - \ traffic observed; host firewall handles intra-zone access" - protocol: tcp - destination-port: SSH - name: deny-ext-tcp-WINDOWS-CDP action: deny destination-address: ws1-beg01_int_beg_05_berylia_org ws1-beg02_int_beg_05_berylia_org @@ -298,14 +299,6 @@ filters: \ traffic observed; host firewall handles intra-zone access" protocol: tcp destination-port: WINDOWS-SMB - - name: deny-ext-tcp-WINRM-HTTP - action: deny - destination-address: dc1_int_beg_05_berylia_org dc2_int_beg_05_berylia_org ws1-beg01_int_beg_05_berylia_org - ws1-beg02_int_beg_05_berylia_org ws2-beg01_int_beg_05_berylia_org ws2-beg02_int_beg_05_berylia_org - comment: "intra-zone only \u2014 port is open on host(s) but no legitimate external\ - \ traffic observed; host firewall handles intra-zone access" - protocol: tcp - destination-port: WINRM-HTTP - name: deny-ext-udp-NETBIOS-DGM-LEGACY action: deny destination-address: adcs-beg_int_beg_05_berylia_org dc1_int_beg_05_berylia_org diff --git a/examples/lspr24/zones/r2-tightened/bgp_20.yml b/examples/lspr24/zones/r2-tightened/bgp_20.yml index 88d05ee..af5aabc 100644 --- a/examples/lspr24/zones/r2-tightened/bgp_20.yml +++ b/examples/lspr24/zones/r2-tightened/bgp_20.yml @@ -24,6 +24,8 @@ filters: source-address: - BGP_20_GT - BGP_INT_GT + - BGP_20_MGMT + - MGMT_HOSTS destination-address: hq-gsc01_bgp_05_berylia_org hq-gsc02_bgp_05_berylia_org hq-gsc03_bgp_05_berylia_org hq-gsc04_bgp_05_berylia_org hq-gsc05_bgp_05_berylia_org hq-gsc06_bgp_05_berylia_org hq-gsc07_bgp_05_berylia_org hq-gsc08_bgp_05_berylia_org hq-gsc09_bgp_05_berylia_org diff --git a/examples/lspr24/zones/r2-tightened/bgp_5.yml b/examples/lspr24/zones/r2-tightened/bgp_5.yml index 3b943db..5025238 100644 --- a/examples/lspr24/zones/r2-tightened/bgp_5.yml +++ b/examples/lspr24/zones/r2-tightened/bgp_5.yml @@ -33,14 +33,17 @@ filters: imagery_bgp_05_berylia_org keycloak_bgp_05_berylia_org lims_bgp_05_berylia_org nextcloud_bgp_05_berylia_org ns1_bgp_05_berylia_org ns2_bgp_05_berylia_org visitor_bgp_05_berylia_org whistleblowhub_bgp_05_berylia_org www_bgp_05_berylia_org xroad-securityserver_bgp_05_berylia_org - - name: alert-system_bgp_05_berylia_org-allow-tcp-SSH + - name: allow-tcp-SSH-shared protocol: tcp destination-port: SSH action: accept source-address: - BGP_5_GT - MGMT_HOSTS - destination-address: alert-system_bgp_05_berylia_org + destination-address: alert-system_bgp_05_berylia_org entry_bgp_05_berylia_org + imagery_bgp_05_berylia_org keycloak_bgp_05_berylia_org lims_bgp_05_berylia_org + nextcloud_bgp_05_berylia_org ns1_bgp_05_berylia_org ns2_bgp_05_berylia_org visitor_bgp_05_berylia_org + whistleblowhub_bgp_05_berylia_org www_bgp_05_berylia_org xroad-securityserver_bgp_05_berylia_org - name: alert-system_bgp_05_berylia_org-allow-tcp-TCP_5001 protocol: tcp destination-port: TCP_5001 @@ -168,16 +171,6 @@ filters: \ traffic observed; host firewall handles intra-zone access" protocol: tcp destination-port: HTTPS - - name: deny-ext-tcp-SSH - action: deny - destination-address: entry_bgp_05_berylia_org imagery_bgp_05_berylia_org keycloak_bgp_05_berylia_org - lims_bgp_05_berylia_org nextcloud_bgp_05_berylia_org ns1_bgp_05_berylia_org - ns2_bgp_05_berylia_org visitor_bgp_05_berylia_org whistleblowhub_bgp_05_berylia_org - www_bgp_05_berylia_org xroad-securityserver_bgp_05_berylia_org - comment: "intra-zone only \u2014 port is open on host(s) but no legitimate external\ - \ traffic observed; host firewall handles intra-zone access" - protocol: tcp - destination-port: SSH - name: deny-ext-tcp-TCP_5588 action: deny destination-address: xroad-securityserver_bgp_05_berylia_org diff --git a/examples/lspr24/zones/r2-tightened/bgp_int.yml b/examples/lspr24/zones/r2-tightened/bgp_int.yml index f362d96..f1be167 100644 --- a/examples/lspr24/zones/r2-tightened/bgp_int.yml +++ b/examples/lspr24/zones/r2-tightened/bgp_int.yml @@ -17,6 +17,15 @@ filters: protocol: icmpv6 action: accept destination-address: cctv-ai-monitor_int_bgp_05_berylia_org ws6-m365_int_bgp_05_berylia_org + - name: allow-tcp-SSH-shared + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BGP_INT_GT + - BGP_INT_MGMT + - MGMT_HOSTS + destination-address: cctv-ai-monitor_int_bgp_05_berylia_org ws6-m365_int_bgp_05_berylia_org - name: cctv-ai-monitor_int_bgp_05_berylia_org-allow-tcp-HTTP protocol: tcp destination-port: HTTP @@ -38,13 +47,6 @@ filters: - BGP_INT_MGMT - MGMT_HOSTS destination-address: ws6-m365_int_bgp_05_berylia_org - - name: deny-ext-tcp-SSH - action: deny - destination-address: cctv-ai-monitor_int_bgp_05_berylia_org ws6-m365_int_bgp_05_berylia_org - comment: "intra-zone only \u2014 port is open on host(s) but no legitimate external\ - \ traffic observed; host firewall handles intra-zone access" - protocol: tcp - destination-port: SSH - name: drop-ghost-hosts action: deny destination-address: bgp_int diff --git a/examples/lspr24/zones/r2-tightened/bgp_sac_8.yml b/examples/lspr24/zones/r2-tightened/bgp_sac_8.yml index 4d4b463..1c997b9 100644 --- a/examples/lspr24/zones/r2-tightened/bgp_sac_8.yml +++ b/examples/lspr24/zones/r2-tightened/bgp_sac_8.yml @@ -14,7 +14,9 @@ filters: protocol: tcp destination-port: SSH action: accept - source-address: BGP_INT_GT + source-address: + - BGP_INT_GT + - MGMT_HOSTS destination-address: fiveg-ue-bgp01_sac_bgp_05_berylia_org fiveg-ue-bgp02_sac_bgp_05_berylia_org fiveg-ue-bgp03_sac_bgp_05_berylia_org - name: allow-icmp-any-shared diff --git a/examples/lspr24/zones/r4-block-early/baf_15.yml b/examples/lspr24/zones/r4-block-early/baf_15.yml index df2e46f..c67c8e5 100644 --- a/examples/lspr24/zones/r4-block-early/baf_15.yml +++ b/examples/lspr24/zones/r4-block-early/baf_15.yml @@ -16,6 +16,15 @@ filters: protocol: icmpv6 action: accept destination-address: c4i-ads_baf_05_berylia_org + - name: c4i-ads_baf_05_berylia_org-allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BAF_15_GT + - BAF_15_MGMT + - MGMT_HOSTS + destination-address: c4i-ads_baf_05_berylia_org - name: deny-ext-tcp-CEPH-OSD action: deny destination-address: c4i-ads_baf_05_berylia_org @@ -23,13 +32,6 @@ filters: \ traffic observed; host firewall handles intra-zone access" protocol: tcp destination-port: CEPH-OSD - - name: deny-ext-tcp-SSH - action: deny - destination-address: c4i-ads_baf_05_berylia_org - comment: "intra-zone only \u2014 port is open on host(s) but no legitimate external\ - \ traffic observed; host firewall handles intra-zone access" - protocol: tcp - destination-port: SSH - name: deny-ext-udp-UDP_5000 action: deny destination-address: c4i-ads_baf_05_berylia_org diff --git a/examples/lspr24/zones/r4-block-early/baf_int.yml b/examples/lspr24/zones/r4-block-early/baf_int.yml index f04292c..c2d9f25 100644 --- a/examples/lspr24/zones/r4-block-early/baf_int.yml +++ b/examples/lspr24/zones/r4-block-early/baf_int.yml @@ -21,6 +21,35 @@ filters: action: accept destination-address: mail_int_baf_05_berylia_org ticketdesk_int_baf_05_berylia_org ws1-baf01_int_baf_05_berylia_org ws3-baf05_int_baf_05_berylia_org + - name: allow-tcp-SSH-shared + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BAF_INT_GT + - BAF_INT_MGMT + - MGMT_HOSTS + destination-address: mail_int_baf_05_berylia_org ticketdesk_int_baf_05_berylia_org + ws1-baf01_int_baf_05_berylia_org ws3-baf05_int_baf_05_berylia_org + - name: allow-tcp-RDP-shared + protocol: tcp + destination-port: RDP + action: accept + source-address: + - BAF_INT_GT + - BAF_INT_MGMT + - MGMT_HOSTS + destination-address: mail_int_baf_05_berylia_org ws1-baf01_int_baf_05_berylia_org + ws3-baf05_int_baf_05_berylia_org + - name: allow-tcp-WINRM-HTTP-shared + protocol: tcp + destination-port: WINRM-HTTP + action: accept + source-address: + - BAF_INT_GT + - BAF_INT_MGMT + - MGMT_HOSTS + destination-address: mail_int_baf_05_berylia_org ws1-baf01_int_baf_05_berylia_org - name: allow-udp-RDP-shared protocol: udp destination-port: RDP @@ -44,14 +73,6 @@ filters: \ traffic observed; host firewall handles intra-zone access" protocol: tcp destination-port: HTTPS - - name: deny-ext-tcp-RDP - action: deny - destination-address: mail_int_baf_05_berylia_org ws1-baf01_int_baf_05_berylia_org - ws3-baf05_int_baf_05_berylia_org - comment: "intra-zone only \u2014 port is open on host(s) but no legitimate external\ - \ traffic observed; host firewall handles intra-zone access" - protocol: tcp - destination-port: RDP - name: deny-ext-tcp-SMTP action: deny destination-address: mail_int_baf_05_berylia_org @@ -73,14 +94,6 @@ filters: \ traffic observed; host firewall handles intra-zone access" protocol: tcp destination-port: SMTPS - - name: deny-ext-tcp-SSH - action: deny - destination-address: mail_int_baf_05_berylia_org ticketdesk_int_baf_05_berylia_org - ws1-baf01_int_baf_05_berylia_org ws3-baf05_int_baf_05_berylia_org - comment: "intra-zone only \u2014 port is open on host(s) but no legitimate external\ - \ traffic observed; host firewall handles intra-zone access" - protocol: tcp - destination-port: SSH - name: deny-ext-tcp-WINDOWS-SMB action: deny destination-address: mail_int_baf_05_berylia_org ws1-baf01_int_baf_05_berylia_org @@ -88,13 +101,6 @@ filters: \ traffic observed; host firewall handles intra-zone access" protocol: tcp destination-port: WINDOWS-SMB - - name: deny-ext-tcp-WINRM-HTTP - action: deny - destination-address: mail_int_baf_05_berylia_org ws1-baf01_int_baf_05_berylia_org - comment: "intra-zone only \u2014 port is open on host(s) but no legitimate external\ - \ traffic observed; host firewall handles intra-zone access" - protocol: tcp - destination-port: WINRM-HTTP - name: drop-ghost-hosts action: deny destination-address: baf_int diff --git a/examples/lspr24/zones/r4-block-early/beg_17.yml b/examples/lspr24/zones/r4-block-early/beg_17.yml index beeb4a7..d462a44 100644 --- a/examples/lspr24/zones/r4-block-early/beg_17.yml +++ b/examples/lspr24/zones/r4-block-early/beg_17.yml @@ -17,13 +17,15 @@ filters: protocol: icmpv6 action: accept destination-address: gas-historian_beg_05_berylia_org gas-hmi_beg_05_berylia_org - - name: deny-ext-tcp-SSH - action: deny - destination-address: gas-historian_beg_05_berylia_org gas-hmi_beg_05_berylia_org - comment: "intra-zone only \u2014 port is open on host(s) but no legitimate external\ - \ traffic observed; host firewall handles intra-zone access" + - name: allow-tcp-SSH-shared protocol: tcp destination-port: SSH + action: accept + source-address: + - BEG_17_GT + - BEG_17_MGMT + - MGMT_HOSTS + destination-address: gas-historian_beg_05_berylia_org gas-hmi_beg_05_berylia_org - name: deny-ext-tcp-TCP_12349 action: deny destination-address: gas-hmi_beg_05_berylia_org diff --git a/examples/lspr24/zones/r4-block-early/beg_5.yml b/examples/lspr24/zones/r4-block-early/beg_5.yml index 0a130f7..42bcd98 100644 --- a/examples/lspr24/zones/r4-block-early/beg_5.yml +++ b/examples/lspr24/zones/r4-block-early/beg_5.yml @@ -38,15 +38,19 @@ filters: source-address: - BEG_5_GT - BEG_INT_12_GT + - MGMT_HOSTS destination-address: owncloud_beg_05_berylia_org - - name: inventory_beg_05_berylia_org-allow-tcp-SSH + - name: allow-tcp-SSH-from-BEG_5_GT-MGMT_HOSTS-shared protocol: tcp destination-port: SSH action: accept source-address: - BEG_5_GT - MGMT_HOSTS - destination-address: inventory_beg_05_berylia_org + destination-address: inventory_beg_05_berylia_org k8s-control-plane_beg_05_berylia_org + k8s-worker01_beg_05_berylia_org k8s-worker02_beg_05_berylia_org k8s-worker03_beg_05_berylia_org + k8s-worker04_beg_05_berylia_org maintenance_beg_05_berylia_org news_beg_05_berylia_org + salt-master_beg_05_berylia_org - name: k8s-control-plane_beg_05_berylia_org-allow-tcp-K8S-API-SERVER protocol: tcp destination-port: K8S-API-SERVER @@ -131,15 +135,6 @@ filters: \ traffic observed; host firewall handles intra-zone access" protocol: tcp destination-port: NODE-EXPORTER - - name: deny-ext-tcp-SSH - action: deny - destination-address: k8s-control-plane_beg_05_berylia_org k8s-worker01_beg_05_berylia_org - k8s-worker02_beg_05_berylia_org k8s-worker03_beg_05_berylia_org k8s-worker04_beg_05_berylia_org - maintenance_beg_05_berylia_org news_beg_05_berylia_org salt-master_beg_05_berylia_org - comment: "intra-zone only \u2014 port is open on host(s) but no legitimate external\ - \ traffic observed; host firewall handles intra-zone access" - protocol: tcp - destination-port: SSH - name: deny-ext-udp-METALLB-MEMBERLIST action: deny destination-address: k8s-control-plane_beg_05_berylia_org k8s-worker01_beg_05_berylia_org diff --git a/examples/lspr24/zones/r4-block-early/beg_int_12.yml b/examples/lspr24/zones/r4-block-early/beg_int_12.yml index bf03e9b..fb8e966 100644 --- a/examples/lspr24/zones/r4-block-early/beg_int_12.yml +++ b/examples/lspr24/zones/r4-block-early/beg_int_12.yml @@ -36,6 +36,19 @@ filters: ws1-beg02_int_beg_05_berylia_org ws2-beg01_int_beg_05_berylia_org ws2-beg02_int_beg_05_berylia_org ws3-beg01_int_beg_05_berylia_org ws3-beg02_int_beg_05_berylia_org ws3-beg03_int_beg_05_berylia_org ws3-beg04_int_beg_05_berylia_org ws3-beg05_int_beg_05_berylia_org + - name: allow-tcp-SSH-shared + protocol: tcp + destination-port: SSH + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + destination-address: adcs-beg_int_beg_05_berylia_org dc1_int_beg_05_berylia_org + dc2_int_beg_05_berylia_org lemonldapng_int_beg_05_berylia_org ws1-beg01_int_beg_05_berylia_org + ws1-beg02_int_beg_05_berylia_org ws2-beg01_int_beg_05_berylia_org ws2-beg02_int_beg_05_berylia_org + ws3-beg01_int_beg_05_berylia_org ws3-beg02_int_beg_05_berylia_org ws3-beg03_int_beg_05_berylia_org + ws3-beg04_int_beg_05_berylia_org ws3-beg05_int_beg_05_berylia_org - name: allow-tcp-DNS-TCP-shared protocol: tcp destination-port: DNS-TCP @@ -56,7 +69,9 @@ filters: protocol: tcp destination-port: NETBIOS-SSN-LEGACY action: accept - source-address: mail_beg_05_berylia_org + source-address: + - mail_beg_05_berylia_org + - BEG_INT_12_HOSTS destination-address: dc1_int_beg_05_berylia_org dc2_int_beg_05_berylia_org - name: allow-tcp-LDAP-TCP-shared protocol: tcp @@ -74,6 +89,8 @@ filters: source-address: - BEG_5_GT - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS destination-address: dc1_int_beg_05_berylia_org dc2_int_beg_05_berylia_org - name: allow-udp-DNS-UDP-shared protocol: udp @@ -133,6 +150,28 @@ filters: action: accept source-address: ANY destination-address: dc1_int_beg_05_berylia_org dc2_int_beg_05_berylia_org + - name: allow-tcp-WINRM-HTTP-shared + protocol: tcp + destination-port: WINRM-HTTP + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + destination-address: dc1_int_beg_05_berylia_org dc2_int_beg_05_berylia_org ws1-beg01_int_beg_05_berylia_org + ws1-beg02_int_beg_05_berylia_org ws2-beg01_int_beg_05_berylia_org ws2-beg02_int_beg_05_berylia_org + - name: allow-tcp-RDP-shared + protocol: tcp + destination-port: RDP + action: accept + source-address: + - BEG_INT_12_GT + - BEG_INT_12_MGMT + - MGMT_HOSTS + destination-address: ws1-beg01_int_beg_05_berylia_org ws1-beg02_int_beg_05_berylia_org + ws2-beg01_int_beg_05_berylia_org ws2-beg02_int_beg_05_berylia_org ws3-beg01_int_beg_05_berylia_org + ws3-beg02_int_beg_05_berylia_org ws3-beg03_int_beg_05_berylia_org ws3-beg04_int_beg_05_berylia_org + ws3-beg05_int_beg_05_berylia_org - name: allow-udp-RDP-shared protocol: udp destination-port: RDP @@ -164,27 +203,6 @@ filters: \ traffic observed; host firewall handles intra-zone access" protocol: tcp destination-port: LDAPS - - name: deny-ext-tcp-RDP - action: deny - destination-address: ws1-beg01_int_beg_05_berylia_org ws1-beg02_int_beg_05_berylia_org - ws2-beg01_int_beg_05_berylia_org ws2-beg02_int_beg_05_berylia_org ws3-beg01_int_beg_05_berylia_org - ws3-beg02_int_beg_05_berylia_org ws3-beg03_int_beg_05_berylia_org ws3-beg04_int_beg_05_berylia_org - ws3-beg05_int_beg_05_berylia_org - comment: "intra-zone only \u2014 port is open on host(s) but no legitimate external\ - \ traffic observed; host firewall handles intra-zone access" - protocol: tcp - destination-port: RDP - - name: deny-ext-tcp-SSH - action: deny - destination-address: adcs-beg_int_beg_05_berylia_org dc1_int_beg_05_berylia_org - dc2_int_beg_05_berylia_org lemonldapng_int_beg_05_berylia_org ws1-beg01_int_beg_05_berylia_org - ws1-beg02_int_beg_05_berylia_org ws2-beg01_int_beg_05_berylia_org ws2-beg02_int_beg_05_berylia_org - ws3-beg01_int_beg_05_berylia_org ws3-beg02_int_beg_05_berylia_org ws3-beg03_int_beg_05_berylia_org - ws3-beg04_int_beg_05_berylia_org ws3-beg05_int_beg_05_berylia_org - comment: "intra-zone only \u2014 port is open on host(s) but no legitimate external\ - \ traffic observed; host firewall handles intra-zone access" - protocol: tcp - destination-port: SSH - name: deny-ext-tcp-WINDOWS-RPC-ENDPOINT-MAPPER action: deny destination-address: adcs-beg_int_beg_05_berylia_org @@ -200,14 +218,6 @@ filters: \ traffic observed; host firewall handles intra-zone access" protocol: tcp destination-port: WINDOWS-SMB - - name: deny-ext-tcp-WINRM-HTTP - action: deny - destination-address: dc1_int_beg_05_berylia_org dc2_int_beg_05_berylia_org ws1-beg01_int_beg_05_berylia_org - ws1-beg02_int_beg_05_berylia_org ws2-beg01_int_beg_05_berylia_org ws2-beg02_int_beg_05_berylia_org - comment: "intra-zone only \u2014 port is open on host(s) but no legitimate external\ - \ traffic observed; host firewall handles intra-zone access" - protocol: tcp - destination-port: WINRM-HTTP - name: drop-ghost-hosts action: deny destination-address: beg_int_12 diff --git a/examples/lspr24/zones/r4-block-early/bgp_20.yml b/examples/lspr24/zones/r4-block-early/bgp_20.yml index 90cc52d..91c0eab 100644 --- a/examples/lspr24/zones/r4-block-early/bgp_20.yml +++ b/examples/lspr24/zones/r4-block-early/bgp_20.yml @@ -24,6 +24,8 @@ filters: source-address: - BGP_20_GT - BGP_INT_GT + - BGP_20_MGMT + - MGMT_HOSTS destination-address: hq-gsc01_bgp_05_berylia_org hq-gsc02_bgp_05_berylia_org hq-gsc03_bgp_05_berylia_org hq-gsc04_bgp_05_berylia_org hq-gsc05_bgp_05_berylia_org hq-gsc06_bgp_05_berylia_org hq-gsc07_bgp_05_berylia_org hq-gsc08_bgp_05_berylia_org hq-gsc09_bgp_05_berylia_org diff --git a/examples/lspr24/zones/r4-block-early/bgp_5.yml b/examples/lspr24/zones/r4-block-early/bgp_5.yml index c315b5b..d50a890 100644 --- a/examples/lspr24/zones/r4-block-early/bgp_5.yml +++ b/examples/lspr24/zones/r4-block-early/bgp_5.yml @@ -33,14 +33,17 @@ filters: imagery_bgp_05_berylia_org keycloak_bgp_05_berylia_org lims_bgp_05_berylia_org nextcloud_bgp_05_berylia_org ns1_bgp_05_berylia_org ns2_bgp_05_berylia_org visitor_bgp_05_berylia_org whistleblowhub_bgp_05_berylia_org www_bgp_05_berylia_org xroad-securityserver_bgp_05_berylia_org - - name: alert-system_bgp_05_berylia_org-allow-tcp-SSH + - name: allow-tcp-SSH-shared protocol: tcp destination-port: SSH action: accept source-address: - BGP_5_GT - MGMT_HOSTS - destination-address: alert-system_bgp_05_berylia_org + destination-address: alert-system_bgp_05_berylia_org entry_bgp_05_berylia_org + imagery_bgp_05_berylia_org keycloak_bgp_05_berylia_org lims_bgp_05_berylia_org + nextcloud_bgp_05_berylia_org ns1_bgp_05_berylia_org ns2_bgp_05_berylia_org visitor_bgp_05_berylia_org + whistleblowhub_bgp_05_berylia_org www_bgp_05_berylia_org xroad-securityserver_bgp_05_berylia_org - name: deny-ext-tcp-HTTP action: deny destination-address: alert-system_bgp_05_berylia_org entry_bgp_05_berylia_org @@ -60,16 +63,6 @@ filters: \ traffic observed; host firewall handles intra-zone access" protocol: tcp destination-port: HTTPS - - name: deny-ext-tcp-SSH - action: deny - destination-address: entry_bgp_05_berylia_org imagery_bgp_05_berylia_org keycloak_bgp_05_berylia_org - lims_bgp_05_berylia_org nextcloud_bgp_05_berylia_org ns1_bgp_05_berylia_org - ns2_bgp_05_berylia_org visitor_bgp_05_berylia_org whistleblowhub_bgp_05_berylia_org - www_bgp_05_berylia_org xroad-securityserver_bgp_05_berylia_org - comment: "intra-zone only \u2014 port is open on host(s) but no legitimate external\ - \ traffic observed; host firewall handles intra-zone access" - protocol: tcp - destination-port: SSH - name: deny-ext-tcp-TCP_5588 action: deny destination-address: xroad-securityserver_bgp_05_berylia_org diff --git a/examples/lspr24/zones/r4-block-early/bgp_int.yml b/examples/lspr24/zones/r4-block-early/bgp_int.yml index 33c1ec5..cd0d96d 100644 --- a/examples/lspr24/zones/r4-block-early/bgp_int.yml +++ b/examples/lspr24/zones/r4-block-early/bgp_int.yml @@ -17,13 +17,15 @@ filters: protocol: icmpv6 action: accept destination-address: cctv-ai-monitor_int_bgp_05_berylia_org ws6-m365_int_bgp_05_berylia_org - - name: deny-ext-tcp-SSH - action: deny - destination-address: cctv-ai-monitor_int_bgp_05_berylia_org ws6-m365_int_bgp_05_berylia_org - comment: "intra-zone only \u2014 port is open on host(s) but no legitimate external\ - \ traffic observed; host firewall handles intra-zone access" + - name: allow-tcp-SSH-shared protocol: tcp destination-port: SSH + action: accept + source-address: + - BGP_INT_GT + - BGP_INT_MGMT + - MGMT_HOSTS + destination-address: cctv-ai-monitor_int_bgp_05_berylia_org ws6-m365_int_bgp_05_berylia_org - name: drop-ghost-hosts action: deny destination-address: bgp_int diff --git a/examples/lspr24/zones/r4-block-early/bgp_sac_8.yml b/examples/lspr24/zones/r4-block-early/bgp_sac_8.yml index 4d4b463..1c997b9 100644 --- a/examples/lspr24/zones/r4-block-early/bgp_sac_8.yml +++ b/examples/lspr24/zones/r4-block-early/bgp_sac_8.yml @@ -14,7 +14,9 @@ filters: protocol: tcp destination-port: SSH action: accept - source-address: BGP_INT_GT + source-address: + - BGP_INT_GT + - MGMT_HOSTS destination-address: fiveg-ue-bgp01_sac_bgp_05_berylia_org fiveg-ue-bgp02_sac_bgp_05_berylia_org fiveg-ue-bgp03_sac_bgp_05_berylia_org - name: allow-icmp-any-shared diff --git a/firru/cli/tighten.py b/firru/cli/tighten.py index a92e3fe..c03e740 100644 --- a/firru/cli/tighten.py +++ b/firru/cli/tighten.py @@ -48,6 +48,7 @@ from firru.cli.address_summarizer import (_default_asn_db, summarize, summarize_asn) from firru.comments import TAG_AUTO, detached, tagged, set_term_comment, kept_comments_by_term +from firru.src_heuristics import declared_sources, load_profile from firru.flows import Hits from firru.policy import DIR_IN, DIR_OUT, filter_directions @@ -753,9 +754,20 @@ def find_blocked(ingress_flows, tightened_terms, annotator, defs, ingress_ports) # Ingress tightening # --------------------------------------------------------------------------- +def load_host_metadata(defs_dir): + """The host metadata synth reads by default, /host_metadata.json; + {} where there is none or it is empty.""" + path = os.path.join(defs_dir, "host_metadata.json") + try: + text = Path(path).read_text() + except OSError: + return {} + return json.loads(text) if text.strip() else {} + + def tighten_ingress(in_filter_terms, ingress_flows, annotator, defs, verbose=False, ingress_ports=None, dns_store=None, asn_db=None, any_rows=None, - host_token=None): + host_token=None, declared=None): """ Rebuild ingress terms with tightened source-address values. @@ -764,6 +776,10 @@ def tighten_ingress(in_filter_terms, ingress_flows, annotator, defs, verbose=Fal unused — list of dicts: accept terms nothing matched in the window, each a log-drop candidate n_changed — how many terms got a new source + + `declared(service)` gives the sources the site's heuristics declare for a + service on this host. A term never loses one of those it still has: the + traffic narrows what was inferred, review decides what was declared. """ terms = CommentedSeq() unused = [] @@ -898,6 +914,14 @@ def _resolve_flows(proto, svc): token_list, excess_note = best_tokens(annotations, annotator.group_members) old_src = term.get("source-address") + old_tokens = [old_src] if isinstance(old_src, str) else list(old_src or []) + floor = ([t for t in old_tokens if t in declared(svc)] + if declared and svc and token_list and "ANY" not in token_list else []) + kept = [t for t in floor if t not in token_list] + if kept: + token_list = list(token_list) + kept + comment = (f"{comment}\nkept, declared by the site's heuristics: " + f"{', '.join(kept)}") was_changed = False if token_list: new_src = token_list[0] if len(token_list) == 1 else token_list @@ -1321,6 +1345,10 @@ def main(): # ------------------------------------------------------------------ defs = naming.Naming(args.defs) annotator = PolicyAnnotator(args.defs) + # The site's own source policy and host metadata, as synth reads them, so + # a declared source survives tightening (declared_sources). + profile = load_profile(args.defs) + all_metadata = load_host_metadata(args.defs) outdir = Path(args.outdir) outdir.mkdir(parents=True, exist_ok=True) @@ -1507,10 +1535,13 @@ def main(): any_rows=any_rows, host_token=host_token) else: in_terms = filt.get("terms", []) + host_meta = all_metadata.get(host_token) or {} tightened, unused, n_changed = tighten_ingress( in_terms, ingress_flows, annotator, defs, verbose=args.verbose, ingress_ports=ingress_ports, dns_store=dns_store, asn_db=asn_db, any_rows=any_rows, host_token=host_token, + declared=lambda svc, h=host_token, m=host_meta: + declared_sources(h, svc, m, profile), ) all_unused.extend(unused) all_n_changed += n_changed diff --git a/firru/src_heuristics.py b/firru/src_heuristics.py index f3aa3dc..9f57ea1 100644 --- a/firru/src_heuristics.py +++ b/firru/src_heuristics.py @@ -152,6 +152,27 @@ def get_suggested_rule(host, service, v4, v6, metadata, profile=None, context=No return rule +#: Sources that say nothing about who may connect: never a floor. +_OPEN = {"ANY", "ANY_V4", "ANY_V6"} + + +def declared_sources(host, service, metadata, profile=None): + """The sources the site's profile gives `service` on `host`, ANY left + out: what the site declares, as opposed to what traffic suggested. + Tightening narrows a term to the peers it saw, but never below these, + since a source the site declares is review's decision, not a window's.""" + rules = get_suggested_rule(host, service, True, True, metadata or {}, profile) + out = [] + for r in (rules if isinstance(rules, list) else [rules] if rules else []): + if (r.get("action") or "accept") != "accept": + continue + src = r.get("source") + for tok in ([src] if isinstance(src, str) else src or []): + if tok not in _OPEN and tok not in out: + out.append(tok) + return out + + def get_dynamic_rules(host, entries, metadata, profile=None): """[(protocol, owner, listeners, [rule])] for the dynamic-range listeners `entries`, grouped by owner, for the owners the profile gives rules.""" diff --git a/tests/test_tighten_flows.py b/tests/test_tighten_flows.py index 49c5244..bda3f65 100644 --- a/tests/test_tighten_flows.py +++ b/tests/test_tighten_flows.py @@ -313,3 +313,66 @@ def test_a_windows_egress_filter_is_egress(tmp_path): assert r.returncode == 0, r.stderr blocked = r.stdout.split("--- Would-be-blocked", 1) assert len(blocked) == 2 and "134" in blocked[1], r.stdout + + +def test_a_source_the_heuristics_declare_survives_tightening(tmp_path): + """MGMT_HOSTS is the site's declared management source for SSH. The + window shows only NET_A on SSH, so NET_B, which nothing declares, is + narrowed away and MGMT_HOSTS is kept, with the reason in the comment.""" + import json, textwrap, subprocess, sys + d = tmp_path / "def"; d.mkdir() + (d / "services.yml").write_text("services:\n SSH:\n - {port: 22, protocol: tcp}\n") + (d / "networks.yml").write_text(textwrap.dedent("""\ + networks: + h1: + values: + - address: 10.0.0.5/32 + NET_A: + values: + - address: 10.0.0.9/32 + NET_B: + values: + - address: 10.0.0.20/32 + MGMT_HOSTS: + values: + - address: 10.0.0.50/32 + """)) + (d / "heuristics.py").write_text( + "MGMT_SERVICES = ['SSH']\n" + "def management_sources(metadata):\n" + " return ['MGMT_HOSTS']\n") + (d / "host_metadata.json").write_text(json.dumps({"h1": {"zone": "z"}})) + pol = tmp_path / "h1.yml" + pol.write_text(textwrap.dedent("""\ + filters: + - header: + targets: + nftables: mixed input DROP + terms: + - name: allow-tcp-SSH + protocol: tcp + destination-port: SSH + action: accept + source-address: + - NET_A + - NET_B + - MGMT_HOSTS + - name: drop-ANY + action: deny + metadata: + host: h1 + """)) + flows = tmp_path / "f.jsonl" + flows.write_text(json.dumps({"protocol": "tcp", "src_ip": "10.0.0.9", "dst_ip": "10.0.0.5", + "src_port": 40000, "dst_port": 22, "responded": True}) + "\n") + out = tmp_path / "out" + r = subprocess.run([sys.executable, "-m", "firru.cli.tighten", "--policy", str(pol), + "--defs", str(d), "--flows-file", str(flows), "--outdir", str(out)], + capture_output=True, text=True, cwd=tmp_path) + assert r.returncode == 0, r.stderr + import yaml + text = (out / "h1.yml").read_text() + (ssh,) = [t for f in yaml.safe_load(text)["filters"] for t in f["terms"] + if t["name"] == "allow-tcp-SSH"] + assert ssh["source-address"] == ["NET_A", "MGMT_HOSTS"] + assert "kept, declared by the site's heuristics: MGMT_HOSTS" in text