Skip to main content

ANYRUN Detonate File Windows 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 Windows environment. It automates malware detonation and behavior observation on Windows 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-windows
  • 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 path to the file on the endpoint. Used for retrieval and for extracting the filename used to select the original file after unzip.${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_bitnessThe bitness of the operating system. Supports: 32, 64.64Optional
env_versionThe version of the OS. Supports: 7, 10, 11.10Optional
env_typeThe environment preset type. You can select **development** env for OS Windows 10 x64. For all other cases, **complete** env is required.completeOptional
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
opt_automated_interactivityWhether to enable automated interactivity.TrueOptional
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_force_elevationWhether to force the file to execute with elevated privileges and an elevated token (for PE32, PE32+, PE64 files only).FalseOptional
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_DetonateFileWindows.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 Windows for XDR