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

Carbon black mapping wrong and fix wild card #982

Merged
merged 2 commits into from
Aug 18, 2020
Merged

Carbon black mapping wrong and fix wild card #982

merged 2 commits into from
Aug 18, 2020

Conversation

tungdr4
Copy link

@tungdr4 tungdr4 commented Aug 18, 2020

  • Remap Image to path since some case process_name doesn't work.

  • Fix leading wildcard and some escaped characters:
    rules/windows/process_creation/win_netsh_wifi_credential_harvesting.yml
    Before: (cmdline:netsh\ wlan\ s\ p*\ k*=clear)*
    After: "(cmdline:"netsh wlan s" and p and k and =clear)"

@hegga
Copy link

hegga commented Aug 18, 2020

This will close #814

@Neo23x0 Neo23x0 merged commit fd23a18 into SigmaHQ:master Aug 18, 2020
@404d
Copy link
Contributor

404d commented Aug 20, 2020

@tungn12: I wouldn't claim I'm 100% sure about CB syntax myself, but are you sure about the AND operators in your after-example?
Wouldn't that perform keyword search against CB default fields for p, k and =clear, and only check against cmdline specifically for netsh wlan s?

At least testing with a process "foo.exe" launched with "bar" as cmdline and "baz.exe" as parent name, this query would match for me:
process_name:foo.exe (cmdline:bar and baz.exe)

Wouldn't this suggest that the parts after the AND in your query is checked against more than just the cmdline?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants