-
Notifications
You must be signed in to change notification settings - Fork 291
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
Add Yeti Package to create several objects defined as json #1140
Conversation
) | ||
tags = set(self.tags) | ||
if not yeti_observable: | ||
# support unknown observable type with generic and adds type as tag: type:<obs_type> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given that this is not the usual behavior that we have when saving objects, can we add a tag_unknown_with_type
parameter to this _save_observable
function to do this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What would be the behaviour if not enabled?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it would not add the extra tag to the observables that are added
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And how would you imagine setting this when building from json for example?
Co-authored-by: Thomas Chopitea <tomchop@gmail.com>
Co-authored-by: Thomas Chopitea <tomchop@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, this is great!
This PR brings Yeti Package to easily create a bundle of mixed yeti objects. It supports:
Here's one example:
This package will create a campaign named "docker malicious campaign" with the following observables:
88.173.200[.]156
Go-http-client/1.1
ubuntu:18.04
/bin/bash
The following relationships will also be created:
88.173.200[.]156
--> uses -->Go-http-client/1.1
88.173.200[.]156
--> creates -->ubuntu:18.04
88.173.200.156
--> executes -->/bin/bash
The campaign itself will be linked with:
88.173.200[.]156
andobserves
linkubuntu:18.04
andcreates
link/bin/bash
andexecutes
linkAll elements will be tagged with
honeypot
andexploitation
and88.173.200[.]156
will be tagged withone_tag