| 加固项 | 应急边界处置 |
|---|---|
| 适用平台 | 全部平台 |
| 风险等级 | 高 |
| 基线 | 有应急封禁的预案与记录 |
Linux 快速封禁(可叠加 ipset)
Linux 快速封禁(可叠加 ipset)
ipset create emergency hash:ip timeout 7200
ipset add emergency <可疑IP>
iptables -I INPUT -m set --match-set emergency src -j DROP
iptables -I OUTPUT -m set --match-set emergency dst -j DROPWindows 快速封禁
Windows 快速封禁
New-NetFirewallRule -DisplayName 'EMERGENCY-BLOCK-<IP>' -Direction Inbound -Action Block -RemoteAddress <可疑IP> -Profile Any封禁前先固定证据(日志、连接、进程快照):先封后取证容易丢失关键线索;封禁范围与时长要书面记录。