写一个针对文件包含漏洞的suricata规则
时间: 2023-11-24 17:05:46 浏览: 74
suricata-rules:Suricata针对新的严重漏洞制定规则
alert http any any -> any any (msg:"File Inclusion Vulnerability Detected"; flow:to_server,established; content:"GET"; http_method; content:"../"; http_uri; sid:100001; rev:1;)
解释:
- alert: 规则发现异常行为时产生警报
- http:协议类型
- any any -> any any:源IP和端口、目标IP和端口均不限
- msg: 规则描述信息
- flow:to_server,established:过滤出已建立连接的客户端向服务器发送的请求流量
- content:"GET"; http_method:匹配HTTP请求方法为GET的流量
- content:"../"; http_uri:匹配URI中包含../的流量
- sid:100001:规则ID
- rev:1:规则版本号
阅读全文