Skip to content
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

The "Data" field in "filter_main_local_ips" is are mapped to "param3" with winlogbeat #5045

Closed
zambomarcell opened this issue Oct 12, 2024 · 1 comment
Assignees
Labels
False-Positive Issue reporting a false positive with one of the rules

Comments

@zambomarcell
Copy link

Rule UUID

ebfe73c2-5bc9-4ed9-aaa8-8b54b2b4777d

Example EventLog

event_code 18456
event_desc Login failed in Application Nixon
event_kind event
event_outcome failure
event_provider MSSQLSERVER
log_level information
message Login failed for user 'NixonAdmin'. Reason: Password did not match that for the login provided. [CLIENT: 10.1.10.170]
winlog_channel Application
winlog_event_data_Binary 184800000E0000000500000044004200300031000000070000006D00610073007400650072000000
winlog_event_data_param1 NixonAdmin
winlog_event_data_param2 Reason: Password did not match that for the login provided.
winlog_event_data_param3 [CLIENT: 10.1.10.170]
winlog_event_id 18456
winlog_keywords Audit Failure, Classic

Description

detection:
    selection:
        Provider_Name|contains: 'MSSQL' # Note: We use contains to account for other third party providers - See https://github.com/SigmaHQ/sigma/issues/4876
        EventID: 18456
    filter_main_local_ips:
        Data|contains:
            - 'CLIENT: 10.' # filter_range_IP: 10.0.0.0/8
            - 'CLIENT: 172.16.' # filter_range_IP: 172.16.0.0/12
            - 'CLIENT: 172.17.'
            - ...

The detection logic working with Data field to filtering out privat logon atempts, but (with winlogbeat) this information stored in param3 field. Can you change the rule to use param3 or this param3 field is winlogbeat specific?

@zambomarcell zambomarcell added the False-Positive Issue reporting a false positive with one of the rules label Oct 12, 2024
@nasbench
Copy link
Member

Sigma doesn't care about the fields of backends. It's the Job of the rule consumer to map it correctly.

The rule is using the Data raw field from the event log itself. This param3 is unrelated, its just elastic's way of mapping the data field.

You should map your field using logstash/ingestion pipeline in order for the rule to work.

Nothing to be fixed in the rule.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
False-Positive Issue reporting a false positive with one of the rules
Projects
None yet
Development

No branches or pull requests

2 participants