ids:snort:snort_rule_format
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ids:snort:snort_rule_format [2021/07/26 08:40] – [Snort Rule] peter | ids:snort:snort_rule_format [2021/07/26 08:46] (current) – peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== IDS - Snort - Snort Rule Format ====== | ====== IDS - Snort - Snort Rule Format ====== | ||
- | ===== Snort Rule ===== | + | ===== Snort Rule Header ===== |
+ | |||
+ | |Action|Protocol|Source Address|Source Port|Direction|Destination Address|Destination Port| | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | * Action: | ||
+ | * **alert**: | ||
+ | * **log**: | ||
+ | * **pass**: | ||
+ | * Direction: | ||
+ | * **-> | ||
+ | * **< | ||
+ | * **<> | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Sample | ||
< | < | ||
- | alert tcp any 21 -> 192.168.1.123 any (msg: "TCP Packet is Detected"; | + | alert tcp any any -> any any(msg: " |
+ | |||
+ | alert tcp any 21 -> 192.168.1.123 any (msg: "TCP Packet | ||
+ | |||
+ | log tcp !192.168.0/ | ||
+ | |||
+ | log tcp any any -> 192.168.1.0/ | ||
</ | </ | ||
Line 11: | Line 40: | ||
* Rule Header: | * Rule Header: | ||
- | |Action|Protocol|Source Address|Source Port|Direction|Destination Address|Destination Port| | ||
* Rule Option: | * Rule Option: | ||
- | * The msg. | ||
</ | </ | ||
+ | |||
+ | |||
ids/snort/snort_rule_format.1627288805.txt.gz · Last modified: 2021/07/26 08:40 by peter