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

Implement basic git clone detection signature #455

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

patrickpichler
Copy link
Contributor

Git clones are a surprisingly good indicator of some sort of mischievous behavior (besides in CI infrastructure of course). There is now a dedicated signature for detecting git clone commands. It works by consuming SchedProcessExec event, figuring out if the executed command was git and try to parse the passed arguments to detect a potential clone + the used repository.

@patrickpichler patrickpichler force-pushed the add-git-clone-detection-signature branch from f0d852b to 65bf704 Compare January 27, 2025 15:25
Copy link
Contributor

@samuelvl samuelvl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

Git clones are a surprisingly good indicator of some sort of mischievous
behavior (besides in CI infrastructure of course). There is now
a dedicated signature for detecting `git clone` commands. It works by
consuming `SchedProcessExec` event, figuring out if the executed command
was `git` and try to parse the passed arguments to detect a potential
clone + the used repository.
@patrickpichler patrickpichler force-pushed the add-git-clone-detection-signature branch from 65bf704 to e3c303c Compare January 29, 2025 13:40
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.

3 participants