Detection rules › Panther

Panther rules: onepass

1Password Login From CrowdStrike Unmanaged Device Query

#
Tags
Multi-Table Query
Source
github.com/panther-labs/panther-analysis

Looks for OnePassword Logins from IP Addresses that aren''t seen in CrowdStrike''s AIP List.

Telemetry coverage

PlatformRecord / event type
1Passwordcredentials_ok

Rule specification

AnalysisType: scheduled_query
Description: Looks for OnePassword Logins from IP Addresses that aren''t seen in CrowdStrike''s AIP List.
Enabled: false
SnowflakeQuery: |
  SELECT *
  FROM panther_logs.public.onepassword_signinattempt
  WHERE category = 'success'
    AND client:ip_address LIKE '%.%.%.%'
    AND p_occurs_since('1 hour')
    AND client:platform_name NOT LIKE '%iPhone'
    AND type = 'credentials_ok'
    AND client:app_name != '1Password SCIM Bridge'
    AND client:ip_address NOT IN
      (
          SELECT distinct aip
          FROM panther_logs.public.crowdstrike_aidmaster
          WHERE p_occurs_since('3 days')
      )

DatabricksQuery: |
  SELECT *
  FROM panther_logs.onepassword_signinattempt
  WHERE category = 'success'
    AND client:ip_address LIKE '%.%.%.%'
    AND p_occurs_since('1 hour')
    AND client:platform_name NOT LIKE '%iPhone'
    AND type = 'credentials_ok'
    AND client:app_name != '1Password SCIM Bridge'
    AND client:ip_address NOT IN
      (
          SELECT DISTINCT aip
          FROM panther_logs.crowdstrike_aidmaster
          WHERE p_occurs_since('3 days')
      )
QueryName: "1Password Login From CrowdStrike Unmanaged Device Query"
Schedule:
  RateMinutes: 60
  TimeoutMinutes: 1
Tags:
  - Multi-Table Query

Stages and Predicates

Stage 1: source

Table
panther_logs.public.onepassword_signinattempt

Stage 2: filter

  • category is success
  • client:ip_address matches the pattern *.*.*.*
  • client:platform_name does not match the pattern *iPhone
  • type is credentials_ok
  • client:app_name is not 1Password SCIM Bridge
  • client:ip_address is not in the results of a subquery on panther_logs.public.crowdstrike_aidmaster
Window
1h

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
client:platform_nameends_withiPhoneexcludes:client:platform_name field:"client:platform_name" value:"iPhone"

Indicators

These rows show field, operator, and value matches.

Output fields

Fields the rule emits when it matches, drawn from the rule's alert_context.

Field
*

1Password Login From CrowdStrike Unmanaged Device Query (crowdstrike_fdrevent table)

#
Tags
Multi-Table Query
Source
github.com/panther-labs/panther-analysis

Looks for OnePassword Logins from IP Addresses that aren''t seen in CrowdStrike''s AIP List. (crowdstrike_fdrevent table)

Telemetry coverage

PlatformRecord / event type
1Passwordcredentials_ok

Rule specification

# This file is the part of the Crowdstrike FDREvent migration, and it's the equivalent of
# https://github.com/panther-labs/panther-analysis/blob/b61db1ecf3967c5f6a44c1782f8891fd5f54384d/queries/onepassword_queries/onepass_login_from_crowdstrike_unmanaged_device.yml
#
AnalysisType: scheduled_query
Description: Looks for OnePassword Logins from IP Addresses that aren''t seen in CrowdStrike''s AIP List. (crowdstrike_fdrevent table)
Enabled: false
SnowflakeQuery: |
  SELECT *
  FROM panther_logs.public.onepassword_signinattempt
  WHERE category = 'success'
    AND client:ip_address LIKE '%.%.%.%'
    AND p_occurs_since('1 days')
    AND client:platform_name NOT LIKE '%iPhone'
    AND type = 'credentials_ok'
    AND client:app_name != '1Password SCIM Bridge'
    AND client:ip_address NOT IN
      (
          SELECT distinct aip
          FROM panther_logs.public.crowdstrike_fdrevent
          WHERE p_occurs_since('3 days') AND panther_logs.public.crowdstrike_fdrevent.fdr_event_type = 'aid_master'
      )

DatabricksQuery: |
  SELECT *
  FROM panther_logs.onepassword_signinattempt
  WHERE category = 'success'
    AND client:ip_address LIKE '%.%.%.%'
    AND p_occurs_since('1 days')
    AND client:platform_name NOT LIKE '%iPhone'
    AND type = 'credentials_ok'
    AND client:app_name != '1Password SCIM Bridge'
    AND client:ip_address NOT IN
      (
          SELECT DISTINCT aip
          FROM panther_logs.crowdstrike_fdrevent
          WHERE p_occurs_since('3 days') AND panther_logs.crowdstrike_fdrevent.fdr_event_type = 'aid_master'
      )
QueryName: "1Password Login From CrowdStrike Unmanaged Device Query (crowdstrike_fdrevent table)"
Schedule:
  RateMinutes: 1440
  TimeoutMinutes: 1
Tags:
  - Multi-Table Query

Stages and Predicates

Stage 1: source

Table
panther_logs.public.onepassword_signinattempt

Stage 2: filter

  • category is success
  • client:ip_address matches the pattern *.*.*.*
  • client:platform_name does not match the pattern *iPhone
  • type is credentials_ok
  • client:app_name is not 1Password SCIM Bridge
  • client:ip_address is not in the results of a subquery on panther_logs.public.crowdstrike_fdrevent
Window
1d

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
client:platform_nameends_withiPhoneexcludes:client:platform_name field:"client:platform_name" value:"iPhone"

Indicators

These rows show field, operator, and value matches.

Output fields

Fields the rule emits when it matches, drawn from the rule's alert_context.

Field
*