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

ANY.RUN: Bugfix/Bump - Bugfixes, new TI features and dependencies updates #7

Open
wants to merge 10 commits into
base: next
Choose a base branch
from

Conversation

t0x01
Copy link
Contributor

@t0x01 t0x01 commented Feb 12, 2025

Please ensure your pull request (PR) adheres to the following guidelines:

  • Please refer to our contributing documentation for any questions on submitting a pull request, link: Contribution Guide

Pull Request Checklist

Please check if your PR fulfills the following requirements:

  • Testing of all the changes has been performed (for bug fixes / features)
  • The manual_readme_content.md has been reviewed and added / updated if needed (for bug fixes / features)
  • Use the following format for the PR description: <App Name>: <PR Type> - <PR Description>
  • Provide release notes as part of the PR submission which describe high level points about the changes for the upcoming GA release.
  • Verify all checks are passing.
  • Do NOT use the next branch of the forked repo. Create separate feature branch for raising the PR.
  • Do NOT submit updates to dependencies unless it fixes an issue.

Pull Request Type

Please check the type of change your PR introduces:

  • New App
  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Documentation
  • Other (please describe):

Security Considerations (REQUIRED)

  • If you are exposing any endpoints using a REST handler,
    please document them in the manual_readme_content.md.
  • If this is a new connector or you are adding new actions
    • Please document in the manual_readme_content.md all methods (eg, OAuth) used to authenticate
      with the service that the connector is integrating with.
    • If any actions are unable to run on SOAR Cloud, please document this in the manual_readme_content.md.
  • Are you introducing any new cryptography modules? If yes, please elaborate their purpose:
  • Are you are accessing the file system? If yes, please verify that you are only accessing paths returned through
    the Vault API.
  • Are you are marking code to be ignored by Semgrep with nosemgrep?
    If yes, please provide justification in an additional comment next to the ignored code.

Release Notes (REQUIRED)

  • Renamed incorrect team value of parameter opt_privacy_type in detonate actions
  • Fixed os parameter values not being passed correctly to API in get intelligence action
  • Added support for Ubuntu 22.04.2 value of parameter os in get intelligence action
  • Added support for several new values of parameter suricataclass in get intelligence action
  • Added support for 8 new TI lookup parameters in get intelligence action
  • Updated dependencies to the latest versions

What is the current behavior? (OPTIONAL)

  • In detonate actions, if opt_privacy_type parameter is set to team, ANY.RUN API will return an error. The value must be byteam.
  • In get intelligence action, if os parameter is used, TI query will return no data. Currently, ANY.RUN Threat Intelligence API takes only major versions of OS as values in os parameter.

What is the new behavior? (OPTIONAL)

  • opt_privacy_type parameter now uses correct value list. Value team is replaced with byteam.
  • In get intelligence action OS name is now being stripped from os parameter, so only OS major version is passed to TI query.

Pay close attention to (OPTIONAL)

  • In get intelligence action parameter suricataclass no longer supports unknown value.
  • All dependencies have been updated to current versions.

Thanks for contributing!

Rename incorrect `team` value of parameter `opt_privacy_type` in `detonate` actions. The value must be `byteam`.
… to API

Currently ANY.RUN Threat Intelligence API takes only major versions of OS as values in `os` parameter. OS names must be stripped from parameter's value, passed from the SOAR UI.
Add support for `Ubuntu 22.04.2` value of parameter `os` in `get intelligence` action.
Add support for new values of parameter `suricataclass` in `get intelligence` action. The following new values ​​have been added:
	- Attempted User Privilege Gain
	- Domain Observed Used for C2 Detected
	- Executable code was detected
	- Exploit Kit Activity Detected
	- Malware Command and Control Activity Detected
	- Successful Administrator Privilege Gain
	- Successful Credential Theft Detected
	- Successful User Privilege Gain
	- Targeted Malicious Activity was Detected
	- Unsuccessful User Privilege Gain
	- Web Application Attack
	- A client was using an unusual port
	- A suspicious filename was detected
	- A system call was detected
	- Access to a potentially vulnerable web application
	- An attempted login using a suspicious username was detected
	- Attempt to login by a default username and password
	- Attempted Denial of Service
	- Crypto Currency Mining Activity Detected
	- Decode of an RPC Query
	- Denial of Service
	- Detection of a Denial of Service Attack
	- Detection of a non-standard protocol or event
	- Device Retrieving External IP Address Detected
	- Information Leak
	- Large Scale Information Leak
	- Possible Social Engineering Attempted
	- Possibly Unwanted Program Detected
	- A suspicious string was detected
	- Detection of a Network Scan
	- Generic ICMP event
	- Unknown Traffic
	- A TCP connection was detected

The following values ​​have been removed:
	- unknown
Add support for new query parameters in ANY.RUN Threat Intelligence API. The following new parameters ​​have been added:
	- fileEventName
	- fileExtension
	- syncObjectName
	- syncObjectType
	- syncObjectOperation
	- JA3
	- JA3S
	- JARM
Update `aiohappyeyeballs` dependency to version 2.4.6.
Update `aiohttp` dependency to version 3.11.12.
Update `aiosignal` dependency to version 1.3.2.
Update `async_timeout` dependency to version 5.0.1.
Update `attrs` dependency to version 25.1.0.
Update `frozenlist` dependency to version 1.5.0.
Update `idna` dependency to version 3.10.
Update `multidict` dependency to version 6.1.0.
Update `yarl` dependency to version 1.18.3.
Update `anyrun` dependency to version 0.1.3.

Latest version of `yarl` introduces new dependency - `propcache`.
@splunk-soar-connectors-bot
Copy link
Collaborator

Thank you for your submission! We have a total of 9 PRs open right now, and we are working hard on all of them! We will take a look as soon as we can.

@t0x01 t0x01 force-pushed the bump/1.3.0-fixes-and-new-features branch from b2a7334 to 1ebfc90 Compare February 12, 2025 12:31
@t0x01 t0x01 marked this pull request as ready for review February 12, 2025 12:53
},
{
"module": "anyrun",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hello @mmomin-crest

The anyrun module is required for this connector to work. It is still not available publically, yes, but connector will not work without it. Please, tell me, if you need any additional information about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants