Skip to main content

ANYRUN Detonate File Linux for XDR

This Playbook is part of the ANY.RUN Pack.#

Supported versions

Available on Cortex XSIAM.

This playbook submits a file retrieved from a Cortex XDR endpoint to the ANY.RUN Cloud Sandbox for dynamic analysis in a Linux environment and automates malware detonation and behavior observation on Linux OS.

Dependencies#

This playbook uses the following sub-playbooks, integrations, and scripts.

Sub-playbooks#

This playbook does not use any sub-playbooks.

Integrations#

  • AnyRunSandbox
  • Cortex Core - IR

Scripts#

  • GetInstances
  • IsIntegrationAvailable
  • Set
  • SetAndHandleEmpty
  • UnzipFile

Commands#

  • anyrun-detonate-file-linux
  • anyrun-get-analysis-report
  • anyrun-get-analysis-verdict
  • core-add-indicator-rule
  • core-retrieve-file-details
  • core-retrieve-files

Playbook Inputs#


NameDescriptionDefault ValueRequired
UsingThe name of the ANY.RUN Cloud Sandbox integration instance to use for running commands in this playbook. If left empty, and more than one instance is enabled, the playbook automatically selects the first active instance instead of running commands on every enabled instance.Optional
AutoAddIOCsToXDRWhether to automatically add malicious and suspicious ANY.RUN IOCs (Unknown reputation IOCs are always excluded) to Cortex XDR IOC rules. Set to "false" to disable.trueOptional
file_entry_idThe existing War Room file EntryID. If provided, endpoint retrieval is skipped and this file is submitted to ANY.RUN.Optional
endpoint_idThe Cortex XDR endpoint/agent ID. Used only when file_entry_id is not provided.${issue.xdmsourceagentidentifier}Optional
file_pathThe full Linux path to the file on the endpoint. Used for retrieval and filename matching when file_entry_id is not provided.${issue.initiatorpath}Optional
retrieve_timeout_secondsThe timeout for Cortex XDR file retrieve polling.240Optional
retrieve_poll_interval_secondsThe polling interval for Cortex XDR file retrieve action status checks.30Optional
env_localeThe operating system language. Use locale identifier or country name (for example, "en-US" or "Brazil"). Case insensitive.en-USOptional
env_osThe operating system. Possible values: ubuntu, debian.ubuntuOptional
run_as_rootWhether to run the file with superuser privileges.FalseOptional
opt_network_connectWhether to enable network connection.TrueOptional
opt_network_fakenetWhether to enable the FakeNet feature.FalseOptional
opt_network_torWhether to use TOR.FalseOptional
opt_network_geoThe TOR geo location option, for example US, AU.fastestOptional
opt_network_mitmWhether to use the HTTPS MITM proxy.FalseOptional
opt_network_residential_proxyWhether to use a residential proxy.FalseOptional
opt_network_residential_proxy_geoThe residential proxy geo location option, for example US, AU.fastestOptional
opt_privacy_typeThe privacy settings. Supports: public, bylink, owner, byteam.bylinkOptional
opt_timeoutThe timeout value. Size range: 10-660.240Optional
obj_ext_cmdThe optional command line.Optional
obj_ext_startfolderThe directory from which to start the file analysis. Supports: desktop, home, downloads, appdata, temp, windows, root.tempOptional
obj_ext_extensionWhether to change the extension to a valid one.TrueOptional

Playbook Outputs#


PathDescriptionType
SelectedOriginalFile.EntryIDThe War Room EntryID of the selected original file sent to ANY.RUN.String
SelectedOriginalFile.NameThe name of the selected original file.String
ANYRUN_DetonateFileLinux.TaskIDThe ANY.RUN task UUID.String
ANYRUN.SandboxAnalysisReportVerdictThe ANY.RUN verdict.String
ANYRUN.IOCsThe IOCs extracted from the ANY.RUN report.Unknown
ANYRUN.IOCDetailsThe detailed IOC objects prepared for Cortex XDR indicator rules.Unknown

ANYRUN Detonate File Linux for XDR