Skip to main content

pySigma CrowdStrike Logscale backend and processing pipelines for the Falcon data model.

Project description

Tests Coverage Badge Status

pySigma CrowdStrike Backend

This is the CrowdStrike backend for pySigma. It provides the package sigma.backends.crowdstrike with the LogScaleBackend class.

Further it contains the following processing pipelines under sigma.pipelines.crowdstrike:

  • crowdstrike_fdr_pipeline which was mainly written for the Falcon Data Replicator data but Splunk queries should work in the legacy CrowdStrike Splunk. The pipeline can also be used with other backends in case you ingest Falcon data to a different SIEM.
  • crowdstrike_falcon_pipeline which was written for data collected by the CrowdStrike Falcon Agent stored natively in CrowdStrike Logscale. It effectively translates rules to the CrowdStrike Query Language used by LogScale. This is designed to be used with the LogScaleBackend.

Supported Rules

Falcon Pipeline

The following categories and products are supported by the pipelines:

category product CrowdStrike event_simpleName
process_creation windows, linux ProcessRollup2, SyntheticProcessRollup2
network_connection windows NetworkConnectIP4, NetworkReceiveAcceptIP4
dns_query windows DnsRequest
image_load windows ClassifiedModuleLoad
driver_load windows DriverLoad
ps_script windows CommandHistory, ScriptControlScanTelemetry

There's likely more windows categories that can be supported by the pipelines; We will be adding support gradually as availability allows.

Limitations and caveats:

  • Full Paths: Falcon agents do not capture drive names when logging paths. Instead, when drive letters are expected the device path is used. For example, C:\Windows results to \Device\HarddiskVolume3\Windows in the logs. To account for this, the pipeline replaces any drive letters in fields containing full path with \Device\HarddiskVolume?\ (where '?' can be any single character).

  • Parent Name: Falcon process_creation events do not capture the full path of the parent. Hence, in such cases the transformation is configured to fail.

  • DNS Query Results: Falcon dns_query events return the IP records of a successful query in semicolon-separated string. The pipeline handles this by enforcing a "contains" expression on the QueryResults field

  • Unsupported fields: Falcon does not always capture the same fields as sysmon for the categories supported. In cases where the rule requires unsupported fields, the transformation fails.

  • PS Script Logging: There is not a clean equivelant between the events Falcon generates and PowerShell Script Logging. Our transformation is a best-effort approach that contains multiple fields that might contain the value in the field.

References

This backend is currently maintained by:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pysigma_backend_crowdstrike-2.1.0rc1.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pysigma_backend_crowdstrike-2.1.0rc1-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

Details for the file pysigma_backend_crowdstrike-2.1.0rc1.tar.gz.

File metadata

File hashes

Hashes for pysigma_backend_crowdstrike-2.1.0rc1.tar.gz
Algorithm Hash digest
SHA256 0e96921d62a467be943b51622f92da623e0bf52d038403ee9e2311e9967f1e64
MD5 85a91c8f71c9a98cd2f71ce25093ef0f
BLAKE2b-256 ecdf929fe9aa08b5fbe7845f294245b77a411d1a14a1e5b81ced3f564c7d283b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysigma_backend_crowdstrike-2.1.0rc1.tar.gz:

Publisher: release.yml on SigmaHQ/pySigma-backend-crowdstrike

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pysigma_backend_crowdstrike-2.1.0rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for pysigma_backend_crowdstrike-2.1.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 8e7b6af6c5687d9798add2ceeee4f8dab3dd2094dacd7fe10990f69e4efb2cd9
MD5 6b28a0fc86bba5be647b69a98ce48383
BLAKE2b-256 c0ac673caf7954a95b00041072f3ac0e77df889863a5ec00d124c5c1e7c38351

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysigma_backend_crowdstrike-2.1.0rc1-py3-none-any.whl:

Publisher: release.yml on SigmaHQ/pySigma-backend-crowdstrike

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page