Skip to content

Implement basic git clone detection signature#455

Merged
patrickpichler merged 1 commit intomainfrom
add-git-clone-detection-signature
Mar 6, 2025
Merged

Implement basic git clone detection signature#455
patrickpichler merged 1 commit intomainfrom
add-git-clone-detection-signature

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.

🔥

@patrickpichler patrickpichler force-pushed the add-git-clone-detection-signature branch from 65bf704 to e3c303c Compare January 29, 2025 13:40
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 e3c303c to ef0f01f Compare March 5, 2025 10:33
@patrickpichler patrickpichler merged commit 7fffaad into main Mar 6, 2025
2 checks passed
@patrickpichler patrickpichler deleted the add-git-clone-detection-signature branch March 6, 2025 10:24
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