Skip to content

ConvertTo FalconIoaExclusion

bk-cs edited this page Oct 21, 2022 · 18 revisions

ConvertTo-FalconIoaExclusion

SYNOPSIS

Output required fields to create an Indicator of Attack exclusion from a Falcon detection

DESCRIPTION

Uses the 'behaviors' and 'device' properties of a detection to generate the necessary fields to create a new Indicator of Attack exclusion. Specfically, it maps the following properties these fields:

behaviors.behavior_id > pattern_id behaviors.display_name > pattern_name behaviors.cmdline > cl_regex behaviors.filepath > ifn_regex device.groups > groups

The 'cl_regex' and 'ifn_regex' fields are escaped using the [regex]::Escape() PowerShell accelerator. The 'ifn_regex' output also replaces the NT device path ('Device/HarddiskVolume') with a wildcard.

If the detection involves a device that is not in any groups, it uses 'all' to target all host groups.

The resulting output can be passed to 'New-FalconIoaExclusion' to create an exclusion.

PARAMETERS

Name Type Min Max Allowed Pipeline PipelineByName Description
Detection Object X Falcon detection content, including 'behaviors' and 'device'

SYNTAX

ConvertTo-FalconIoaExclusion [-Detection] <Object> [<CommonParameters>]

USAGE

2022-10-21: PSFalcon v2.2.3

Clone this wiki locally