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

Create variable from other variable's attributes #155

Open
pcoccoli opened this issue Dec 16, 2021 · 1 comment
Open

Create variable from other variable's attributes #155

pcoccoli opened this issue Dec 16, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@pcoccoli
Copy link
Collaborator

pcoccoli commented Dec 16, 2021

You should be able to create domain-names from urls.

Similarly, if analytics generates new attributes (like the log4shell analytic pulling exploit URIs from artifact:payload_bin), you may want to convert those attributes to new variables. Extract hostnames from URLs, do name lookups on them, use TI with those IPs, etc.

Ideas:

  • domains = NEW domain-name FROM urls.value
  • domains = EXTRACT domain-name FROM urls.value
  • domains = FIND domain-name IN urls
  • domains = GET domain-name FROM urls.value
@pcoccoli pcoccoli added the enhancement New feature or request label Dec 16, 2021
@pcoccoli
Copy link
Collaborator Author

pcoccoli commented Sep 9, 2022

After extracting the values, we probably want to propagate the relationship of the origin entities to the derived entities. E.g. if urls were a list of 3 entities, url1, url2, and url3, and those entities were contained in observations od1, od2, and od3, then any derived domain-name entities in domains should also be considered "contained by" those respective observations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant