-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rule-types: add more rules - v1 #2153
Draft
jufajardini
wants to merge
2
commits into
OISF:master
Choose a base branch
from
jufajardini:add-rule-type-reports/v1
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Test Description | ||
|
||
Check rule types with iprep keyword present: set, isset and isnotset options. | ||
|
||
Test setup copied and adapted from test `iprep-11-isset`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
alert ip any any -> any any (sid:1; iprep:dst,2402000,isset;) | ||
alert ip any any -> any any (sid:2; iprep:dst,2402000,isnotset;) | ||
alert ip any any -> any any (sid:3; iprep:dst,2402000,=,0;) | ||
alert http any any -> any any (sid:4; iprep:dst,2402000,=,0;) | ||
alert http any any -> any any (sid:5; iprep:dst,2402000,isset;) | ||
alert http any any -> any any (sid:6; iprep:dst,2402000,isnotset;) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
1,2520000,ET TOR Known Tor Exit Node Traffic | ||
2,2522000,ET TOR Known Tor Relay/Router (Not Exit) Node Traffic | ||
3,2403300,ET CINS Active Threat Intelligence Poor Reputation IP | ||
4,2525000,ET 3CORESec Poor Reputation IP | ||
5,2400000,ET DROP Spamhaus DROP Listed Traffic Inbound | ||
6,2500000,ET COMPROMISED Known Compromised or Hostile Host Traffic | ||
7,2404033,ET CNC Shadowserver Reported CnC Server | ||
8,2404000,ET CNC Shadowserver Reported CnC Server IP | ||
9,2404300,ET CNC Feodo Tracker Reported CnC Server | ||
10,2402000,ET DROP Dshield Block Listed Source |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need a big tests/iprep-12-rule-types/scirius-iprep.list ?