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

feat(hackingai): add ai/ml tools EDR detections #154

Merged
merged 6 commits into from May 13, 2024

Conversation

juju4
Copy link
Contributor

@juju4 juju4 commented Dec 2, 2023

AI development tools hunt to ensure align with company guidance:

Quick review to detect some common AI tools with vulnerabilities based on EDR data
Possible false-positive cmdline arguments for mlflow that may want to exclude but not sure if variable for that: "--disable-mlflow", "--skip-mlflow", "--skip_mlflow"
There would be additional patterns for web url path but I don't think there is a variable for it either (ex: "/ajax-api/2.0/preview/mlflow/")

Inspired from
https://protectai.com/blog/hacking-ai-system-takeover-in-mlflow-strikes-again-and-again
https://protectai.com/threat-research/november-vulnerability-report
https://docs.h2o.ai/h2o/latest-stable/h2o-docs/starting-h2o.html#multicast
https://docs.ray.io/en/latest/ray-security/index.html

Copy link
Contributor

@rc-csmith rc-csmith left a comment

Choose a reason for hiding this comment

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

Nice to see potential coverage for the command lines and network traffic!

There's not a way to exclude false-positive prone items like you called out (--disable-mlflow etc.). I haven't tested these queries, though, to see how FP-prone those flags would be.

Web URL paths would be a cool addition but that's not supported by definition files (at least not yet)

definitions/hackingai.json Outdated Show resolved Hide resolved
definitions/hackingai.json Outdated Show resolved Hide resolved
@rc-csmith rc-csmith self-requested a review April 1, 2024 18:57
Copy link
Contributor

@rc-csmith rc-csmith left a comment

Choose a reason for hiding this comment

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

A couple more items that I'd recommend removing to reduce the noise but otherwise looks good!

definitions/hackingai.json Outdated Show resolved Hide resolved
definitions/hackingai.json Outdated Show resolved Hide resolved
juju4 and others added 2 commits May 12, 2024 14:52
Co-authored-by: Cori Smith <74794990+rc-csmith@users.noreply.github.com>
Co-authored-by: Cori Smith <74794990+rc-csmith@users.noreply.github.com>
@rc-csmith rc-csmith self-requested a review May 13, 2024 13:30
Copy link
Contributor

@rc-csmith rc-csmith left a comment

Choose a reason for hiding this comment

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

LGTM! 🎉

@TreWilkinsRC TreWilkinsRC merged commit d7a01c6 into redcanaryco:master May 13, 2024
3 checks 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.

None yet

3 participants