Perimeter Firewall & Edge Quarantine Hooks
Palo Alto Networks External Dynamic List (EDL) Edge Isolation (DEF-ACT-66-01)
Section titled โPalo Alto Networks External Dynamic List (EDL) Edge Isolation (DEF-ACT-66-01)โ- Target System: Palo Alto Networks PAN-OS 11.x+
- Reversibility:
INSTANT| Operational Risk:LOW - Execution Mode:
CONFIG_PUSH
Dynamically publishes confirmed malicious adversary IP addresses to an authenticated HTTPS EDL feed ingested every 60 seconds by perimeter NGFWs to immediately sever C2 sessions.
Prerequisites
Section titled โPrerequisitesโ- PAN-OS External Dynamic List object configured with source URL
- Security policy rule evaluating Hermes-EDL with action DROP/RESET-BOTH
- Valid mutual TLS or token authentication between NGFW and Hermes feed server
Execution Command
Section titled โExecution Commandโ# Publish IP to Hermes secure EDL endpointcurl -s -X POST https://edl.hermes.internal/api/v1/entries \ -H "Authorization: Bearer ${HERMES_EDL_KEY}" \ -H "Content-Type: application/json" \ -d '{"ip": "194.26.29.114", "reason": "CVE-2026-88771 C2", "ttl": 259200}'
# Request PAN-OS refreshcurl -k -s -X POST "https://${PANOS_MGMT}/api/?type=op&cmd=<request><system><external-list><refresh><type>ip</type><name>Hermes_Threat_Blocklist</name></refresh></external-list></system></request>&key=${PANOS_API_KEY}"Health Canary & Rollback Logic
Section titled โHealth Canary & Rollback Logicโ- Canary Metric:
ngfw_drop_rate_and_latency(Evaluated every 30s) - Breach Threshold:
drop_rate_spike_gt_500_pct_or_latency_gt_50ms - Rollback Steps:
- DELETE entry from hermes-active-quarantine-feed
- Issue immediate panos request system external-list refresh
- Notify SOC tier 2 via Slack/Teams channel
Linux nftables Kernel-Level JIT Blackhole Drop Set (DEF-ACT-66-02)
Section titled โLinux nftables Kernel-Level JIT Blackhole Drop Set (DEF-ACT-66-02)โ- Target System: Linux Kernel 5.15+ (nftables 1.0+)
- Reversibility:
INSTANT| Operational Risk:LOW - Execution Mode:
CLI_SSH
Inserts attack source IPs directly into an atomic, timeout-enabled nftables set with raw socket dropping before TCP stack processing.
Prerequisites
Section titled โPrerequisitesโ- nftables active table inet hermes_filter with set quarantine_v4
- SSH keypair or Ansible service account with CAP_NET_ADMIN rights
Execution Command
Section titled โExecution Commandโ# Add malicious actor IP with automatic 48-hour timeoutnft add element inet hermes_filter quarantine_v4 { 194.26.29.114 timeout 48h comment "CVE-2026-88771 mass exploit source" }Health Canary & Rollback Logic
Section titled โHealth Canary & Rollback Logicโ- Canary Metric:
bpf_interface_rx_drops(Evaluated every 15s) - Breach Threshold:
packet_loss_exceeds_1_percent_on_gateway_interface - Rollback Steps:
- nft delete element inet hermes_filter quarantine_v4 { 194.26.29.114 }
- Verify table state: nft list set inet hermes_filter quarantine_v4