Skip to main content

TransformIndicatorToCSFalconIOC

This Script is part of the CrowdStrike Falcon Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.0.0 and later.

Transform a XSOAR indicator into a Crowd Strike Falcon IOC. The output (found at the TransformIndicatorToCSFalconIOC.JsonOutput context path) is a JSON, which represents the indicators in CS Falcon format. This JSON can be used as the input for the cs-falcon-batch-upload-custom-ioc command. (Available from Cortex XSOAR 6.0.0).

Script Data#


NameDescription
Script Typepython3
Tags
Cortex XSOAR Version6.0.0

Inputs#


Argument NameDescription
queryThe indicators query. Using `GetIndicatorsByQuery` automation.
Example: `type:IP and lastSeen:>="2022-02-16T16:20:00 +0200" `
actionThe action that will be taken if the indicator will be discovered in the organization.
limitThe maximum number of indicators to fetch.
offsetThe results offset page. Only change when the number of the results exceed the limit.
host_groupsList of host group IDs that the indicator applies to.
Can be retrieved by running the cs-falcon-list-host-groups command.
Either applied_globally or host_groups must be provided.
platformsThe platforms that the indicator applies to.
applied_globallyWhether the indicator is applied globally.
Either applied_globally or host_groups must be provided. Default set to True.

Outputs#


PathDescriptionType
TransformIndicatorToCSFalconIOCJson output of the indicators. Should be the input for the *cs-falcon-batch-upload-custom-ioc*.String
TransformIndicatorToCSFalconIOC.Indicators.valueThe value of the Indicator.String
TransformIndicatorToCSFalconIOC.Indicators.expirationThe date on which the indicator will become inactive.String
TransformIndicatorToCSFalconIOC.Indicators.descriptionDescriptive label for the indicatorString
TransformIndicatorToCSFalconIOC.Indicators.tagsList of tags of the indicatorUnknown
TransformIndicatorToCSFalconIOC.Indicators.sourceThe source where this indicator originated.String
TransformIndicatorToCSFalconIOC.Indicators.idThe ID of the indicatorString
TransformIndicatorToCSFalconIOC.Indicators.typeType of the indicator. Possible values are: md5, sha256, ipv4, ipv6 and domain.String
TransformIndicatorToCSFalconIOC.Indicators.severityThe severity of the indicator. possible values are: Informational, Low, Medium, High and Critical.String
TransformIndicatorToCSFalconIOC.Indicators.actionThe action that will be taken if the indicator will be discovered in the organization.String
TransformIndicatorToCSFalconIOC.Indicators.applied_globallyWhether the indicator is applied globally.Boolean
TransformIndicatorToCSFalconIOC.Indicators.platformsThe platforms that the indicator applies to.Unknown
TransformIndicatorToCSFalconIOC.Indicators.host_groupsList of host group IDs that the indicator applies to.Unknown

Script Examples#

Example command#

!TransformIndicatorToCSFalconIOC query="type:IP" action=no_action platforms=linux

Context Example#

{
"TransformIndicatorToCSFalconIOC": {
"Indicators": [
{
"Severity": "Informational",
"Tags": [
"test"
],
"action": "no_action",
"applied_globally": true,
"expiration": "2022-02-16T13:02:26Z",
"platforms": [
"linux"
],
"source": "Cortex XSOAR",
"type": "ipv4",
"value": "9.6.3.5"
},
{
"Severity": "Informational",
"action": "no_action",
"applied_globally": true,
"expiration": "2022-02-22T13:36:02.776329896Z",
"platforms": [
"linux"
],
"source": "Cortex XSOAR",
"type": "ipv4",
"value": "4.6.8.7"
},
{
"Severity": "Informational",
"action": "no_action",
"applied_globally": true,
"expiration": "2022-02-22T13:41:02.960974457Z",
"platforms": [
"linux"
],
"source": "Cortex XSOAR",
"type": "ipv4",
"value": "4.7.8.7"
},
{
"Severity": "Informational",
"action": "no_action",
"applied_globally": true,
"expiration": "2022-02-22T13:41:02.960919913Z",
"platforms": [
"linux"
],
"source": "Cortex XSOAR",
"type": "ipv4",
"value": "9.1.4.8"
},
{
"Severity": "Informational",
"action": "no_action",
"applied_globally": true,
"expiration": "2022-02-22T13:36:02.776389915Z",
"platforms": [
"linux"
],
"source": "Cortex XSOAR",
"type": "ipv4",
"value": "2.1.4.8"
},
{
"Severity": "Informational",
"action": "no_action",
"applied_globally": true,
"expiration": "2022-02-16T13:02:46Z",
"platforms": [
"linux"
],
"source": "Cortex XSOAR",
"type": "ipv4",
"value": "4.5.8.9"
}
],
"JsonOutput": "[{\"expiration\": \"2022-02-16T13:02:26Z\", \"type\": \"ipv4\", \"Severity\": \"Informational\", \"Tags\": [\"test\"], \"value\": \"9.6.3.5\", \"action\": \"no_action\", \"source\": \"Cortex XSOAR\", \"platforms\": [\"linux\"], \"applied_globally\": true}, {\"expiration\": \"2022-02-22T13:36:02.776329896Z\", \"type\": \"ipv4\", \"Severity\": \"Informational\", \"value\": \"4.6.8.7\", \"action\": \"no_action\", \"source\": \"Cortex XSOAR\", \"platforms\": [\"linux\"], \"applied_globally\": true}, {\"expiration\": \"2022-02-22T13:41:02.960974457Z\", \"type\": \"ipv4\", \"Severity\": \"Informational\", \"value\": \"4.7.8.7\", \"action\": \"no_action\", \"source\": \"Cortex XSOAR\", \"platforms\": [\"linux\"], \"applied_globally\": true}, {\"expiration\": \"2022-02-22T13:41:02.960919913Z\", \"type\": \"ipv4\", \"Severity\": \"Informational\", \"value\": \"9.1.4.8\", \"action\": \"no_action\", \"source\": \"Cortex XSOAR\", \"platforms\": [\"linux\"], \"applied_globally\": true}, {\"expiration\": \"2022-02-22T13:36:02.776389915Z\", \"type\": \"ipv4\", \"Severity\": \"Informational\", \"value\": \"2.1.4.8\", \"action\": \"no_action\", \"source\": \"Cortex XSOAR\", \"platforms\": [\"linux\"], \"applied_globally\": true}, {\"expiration\": \"2022-02-16T13:02:46Z\", \"type\": \"ipv4\", \"Severity\": \"Informational\", \"value\": \"4.5.8.9\", \"action\": \"no_action\", \"source\": \"Cortex XSOAR\", \"platforms\": [\"linux\"], \"applied_globally\": true}]"
}
}

Human Readable Output#

TransformIndicatorToCSFalconIOC is done:#

valueexpirationSeverityTagstype
9.6.3.52022-02-16T13:02:26ZInformationaltestipv4
4.6.8.72022-02-22T13:36:02.776329896ZInformationalipv4
4.7.8.72022-02-22T13:41:02.960974457ZInformationalipv4
9.1.4.82022-02-22T13:41:02.960919913ZInformationalipv4
2.1.4.82022-02-22T13:36:02.776389915ZInformationalipv4
4.5.8.92022-02-16T13:02:46ZInformationalipv4