-
Notifications
You must be signed in to change notification settings - Fork 34
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
Address false positives for Chromium, KOTS, and Nuclei #368
Conversation
Signed-off-by: egibs <[email protected]>
@@ -24,6 +24,13 @@ rule crypto_stealer : critical { | |||
$w_trezor = "Trezor" | |||
$w_exodus = "Exodus" | |||
$w_coinomi = "Coinomi" | |||
$not_cats = /\"cats\": \[[^]]{0,64}/ |
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.
This isn't an exhaustive representation of the Wapalyzer schema but these strings should be broad enough to match content from those technology files.
Signed-off-by: egibs <[email protected]>
Signed-off-by: egibs <[email protected]>
Signed-off-by: egibs <[email protected]>
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.
LGTM, thanks
…v#368) * Address false positives for Chromium, KOTS, and Nuclei * Add additional Chromium string Signed-off-by: egibs <[email protected]> * Sort Signed-off-by: egibs <[email protected]> * More specific string for kots Signed-off-by: egibs <[email protected]> * Chromium rule parity Signed-off-by: egibs <[email protected]> --------- Signed-off-by: egibs <[email protected]>
…v#368) * Address false positives for Chromium, KOTS, and Nuclei * Add additional Chromium string Signed-off-by: egibs <[email protected]> * Sort Signed-off-by: egibs <[email protected]> * More specific string for kots Signed-off-by: egibs <[email protected]> * Chromium rule parity Signed-off-by: egibs <[email protected]> --------- Signed-off-by: egibs <[email protected]>
This PR addresses critical false positives seen here:
Notes:
Chrome
stringsI used slightly more specific strings when ignoring the Nuclei false positives since they were originating from JSON content and I wanted to match the exact fields rather than doing something like
$not_description = "\"description\": \""
.