Skip to content

Add args_regex support to custom binary detections#2

Merged
mslipper merged 1 commit into
mainfrom
args-regex-detection
Mar 28, 2026
Merged

Add args_regex support to custom binary detections#2
mslipper merged 1 commit into
mainfrom
args-regex-detection

Conversation

@mslipper

Copy link
Copy Markdown
Contributor

Summary

  • Adds optional args_regex field to detections.binaries config entries
  • When set, at least one element in argv[1:] must match the regex in addition to the binary name check
  • Invalid regex patterns are caught at startup with a clear error message

Allows matching on process arguments via regex in addition to binary
name, enabling detection of scripts run through interpreters.
@mslipper mslipper merged commit acf90d1 into main Mar 28, 2026
1 check passed
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.

1 participant