You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the bug?
Creating a custom detection rule, then a detector for that rule before creating any other detectors will prevent findings from being generated for all detectors.
How can one reproduce the bug?
Steps to reproduce the behavior:
Start with a fresh cluster running security analytics
Create the following detection rule
id: 25b9c01c-350d-4b95-bed1-836d04a4f473
logsource:
product: cloudtrail
title: AWS User Login Profile Was Modified - Chase
description: my rule
tags:
- attack.persistence
- attack.t1098
falsepositives:
- Legit User Account Administration
level: high
status: experimental
references:
- 'https://github.com/RhinoSecurityLabs/AWS-IAM-Privilege-Escalation'
author: Chase
detection:
selection_source:
eventSource: iam.amazonaws.com
eventName: UpdateLoginProfile
filter:
userIdentity.arn|contains: requestParameters.userName
condition: selection_source and not filter
Create a detector with only the above rule
Index the following document that should generate a finding:
What is the expected behavior?
Findings should still be generated when a custom detection rule is used in the initially created detector
What is your host/environment?
OS: macOS
Version: 3.0.0 snapshot
Plugins: Security Analytics
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
When a detector is created with a default rule first, then a second detector is created with a custom rule, findings are generated. It looks specific to the first detector using a custom rule.
The text was updated successfully, but these errors were encountered:
@engechas good afternoon. I did not quite understand this post. Are you saying that after creating a custom rule, that all the pre-built rules are no longer finding alerts anymore?
What is the bug?
Creating a custom detection rule, then a detector for that rule before creating any other detectors will prevent findings from being generated for all detectors.
How can one reproduce the bug?
Steps to reproduce the behavior:
What is the expected behavior?
Findings should still be generated when a custom detection rule is used in the initially created detector
What is your host/environment?
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
When a detector is created with a default rule first, then a second detector is created with a custom rule, findings are generated. It looks specific to the first detector using a custom rule.
The text was updated successfully, but these errors were encountered: