1
|
net 192.168.1.0
/24
|
1
|
host 192.168.0.1
|
1
|
src host 192.168.0.1
|
1
|
host www.evil.com and not (port 80 or port 25)
|
1
|
tcp portrange 1501-1549
|
1
|
(tcp[0:2] > 1500 and tcp[0:2] < 1550) or (tcp[2:2] > 1500 and tcp[2:2] < 1550)
|
1
|
ip[8:1]==1
|
1
|
not broadcast and not multicast
|
1
|
port 80 and tcp[((tcp[12:1] & 0xf0) >> 2):4] = 0x47455420
|
1
|
dst port 135 and tcp port 135 and ip[2:2]==48
|
1
|
icmp[icmptype]==icmp-
echo
and ip[2:2]==92 and icmp[8:4]==0xAAAAAAAA
|
1
|
dst port 135 or dst port 445 or dst port 1433 and tcp[tcpflags] & (tcp-syn) != 0 and tcp[tcpflags] & (tcp-ack) = 0 and src net 192.168.0.0
/24
|
Environment Variable |
Resultant Filter |
SSH_CONNECTION | not (tcp port srcport and addr_family host srchost and tcp port dstport and addr_family host dsthost) |
SSH_CLIENT |
not (tcp port srcport and addr_family host srchost and tcp port dstport) |
REMOTEHOST |
not addr_family host host |
DISPLAY | not addr_family host host |
CLIENTNAME |
not tcp port 3389 |
1
|
ip.dst==255.255.255.255
|
1
|
arp
|
1
|
ip.src
eq
192.168.10.0
/24
and ip.dst
eq
192.168.10.0
/24
|
1
|
ip.src==192.168.10.0
/24
&&ip.dst==192.168.10.0
/24
|
1
|
ip.src == 192.168.10.0
/24
&& ip.dst == 192.168.10.0
/24
|
1
|
tcp.window_size == 64239
|
1
|
tcp.flags.syn == 1 and tcp.flags.ack ==1
|
1
|
tcp.flags.push
eq
1&&tcp.flags.ack
eq
1
|
1
|
smb || nbns || dcerpc || nbss || dns
|
1
|
ls_ads.opnum==0x09
|
1
|
udp[8:3]==81:60:03
|
1
|
eth.src[4:2]==78:e9
|
1
|
udp contains 81:60:03
|
1
|
tcp.port
eq
25 or icmp
|
1
|
tcp.window_size == 0 && tcp.flags.reset != 1
|
1
|
eth.addr[0:3]==00:06:5B
|
1
|
http.request.uri matches
"gl=se$"
|
1
|
! ( ip.addr == 10.43.54.65 )
|
1
|
! (ip.src == 10.43.54.65 or ip.dst == 10.43.54.65)
|
1
|
! ( ip.addr == 192.168.1.30 ) && !arp
|
1
|
http.request.uri contains
"flv"
or http.request.uri contains
"swf"
or http.content_type contains
"flash"
or http.content_type contains
"video"
|
1
|
http.content_type contains
"application/octet-stream"
|
1
|
frame.len==1506
|
1
|
http.cache_control !=
"private, x-gzip-ok="
""
|
1
|
(((((http.cache_control !=
"private, x-gzip-ok="
""
) && !(http.cache_control ==
"no-cache, no-store, must-revalidate, max-age=0, proxy-revalidate, no-transform, private"
)) && !(http.cache_control ==
"max-age=0, no-store"
)) && !(http.cache_control ==
"private"
)) && !(http.cache_control ==
"no-cache"
)) && !(http.cache_control ==
"no-transform"
)
|
1
2
3
4
5
|
#404: page not found
http.response.code == 404
#200: OK
http.response.code == 200
|
1
|
http.request.method ==
"POST"
|| http.request.method ==
"PUT"
|
1
|
http.content_type[0:4] ==
"text"
|
1
|
http.content_type contains
"javascript"
|
1
|
http.content_type[0:5] ==
"image"
|