1
8: Net wor k Management 1
17: Net work Management and Monit oring
Last Modif ied: 4/ 21/ 2003 2:46:25 PM
8: Net wor k Management 2
Net work Management Tasks
Prot ect ing t he net work (e.g. int rusion
det ect ion)
Det ect ing f ailed component s (int erf aces,
links, host s, rout ers)
Monit oring t raf f ic pat t erns (recommend
needed upgrades, cap cert ain t ypes of t r af f ic)
Det ect abnormal t raf f ic (rapid changes in
rout ing t ables, huge spikes in BW usage)
8: Net wor k Management 3
Snort
- Det ect ion/ logging of packet s mat ching f ilt er s/ r ule
set s similar t o Et her eal capt ur e/ display f ilt er s
- Thr ee pr imar y uses
Packet snif f er Packet logger I nt r usion Det ect ion Syst em
8: Net wor k Management 4
Snort I DS
- Snort consist s of t hree subsyst ems:
- packet decoder ( libpcap-based)
- det ect ion engine
- logging and aler t ing subsyst em
- Det ect ion engine:
- Rules f or m signat ur es
- Modular det ect ion element s are combined t o f orm t hese
signat ur es
- Anomalous act ivit y det ect ion is possible: st ealt h scans, OS
f inger pr int ing, invalid I CMP codes, et c.
- Rules syst em is very f lexible, and creat ion of new rules is
relat ively simple
8: Net wor k Management 5
Snort Rules
- Snor t r ules consist of t wo par t s
Rule header
Specif ies src/ dst host and por t Alert t cp !128.119.0.0/ 16 any -> 128.119.166.5 any Not ice: negat ion, any in net wor k 128.119.0.0
Rule opt ions
Specif ies f lags, cont ent , out put message (f lags: SFAPR; msg: “Xmas t r ee scan”)
8: Net wor k Management 6
Writ ing Snort Rules
- Snort uses a simple rules language
- ht t p:/ / www.snort .org/ writ ing_snort _rules.ht m
- Rule header consist s of
- Rule Act ions
Alert , Log, Pass Dynamic, act ivat e, et c…
- Pr ot ocol
Tcp, udp, icmp, et c…
- I P Addresses
Source, dest , CI DR mask
- P
- rt numbers
Source, dest , r ange
- Dir ect ion
- Negat ion