Skip to content

Commit

Permalink
Adding missed $
Browse files Browse the repository at this point in the history
  • Loading branch information
morriscode committed Oct 27, 2023
1 parent 70d775a commit 141b21f
Show file tree
Hide file tree
Showing 25 changed files with 50 additions and 50 deletions.
4 changes: 2 additions & 2 deletions detection-rules/attachment_any_html_unsolicited.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ source: |
and
(
(
sender.email.domain.root_domain in high_trust_sender_root_domains
sender.email.domain.root_domain in $high_trust_sender_root_domains
and (
any(distinct(headers.hops, .authentication_results.dmarc is not null),
strings.ilike(.authentication_results.dmarc, "*fail")
)
)
)
or sender.email.domain.root_domain not in high_trust_sender_root_domains
or sender.email.domain.root_domain not in $high_trust_sender_root_domains
)
tags:
- "Attack surface reduction"
Expand Down
4 changes: 2 additions & 2 deletions detection-rules/body_business_email_compromise_new_sender.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ source: |
and
(
(
sender.email.domain.root_domain in high_trust_sender_root_domains
sender.email.domain.root_domain in $high_trust_sender_root_domains
and (
any(distinct(headers.hops, .authentication_results.dmarc is not null),
strings.ilike(.authentication_results.dmarc, "*fail")
)
)
)
or sender.email.domain.root_domain not in high_trust_sender_root_domains
or sender.email.domain.root_domain not in $high_trust_sender_root_domains
)
attack_types:
Expand Down
4 changes: 2 additions & 2 deletions detection-rules/callback_phishing_nlu_body_or_attachments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ source: |
and
(
(
sender.email.domain.root_domain in high_trust_sender_root_domains
sender.email.domain.root_domain in $high_trust_sender_root_domains
and (
any(distinct(headers.hops, .authentication_results.dmarc is not null),
strings.ilike(.authentication_results.dmarc, "*fail")
)
)
)
or sender.email.domain.root_domain not in high_trust_sender_root_domains
or sender.email.domain.root_domain not in $high_trust_sender_root_domains
)
attack_types:
Expand Down
4 changes: 2 additions & 2 deletions detection-rules/impersonation_amazon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@ source: |
and
(
(
sender.email.domain.root_domain in high_trust_sender_root_domains
sender.email.domain.root_domain in $high_trust_sender_root_domains
and (
any(distinct(headers.hops, .authentication_results.dmarc is not null),
strings.ilike(.authentication_results.dmarc, "*fail")
)
)
)
or sender.email.domain.root_domain not in high_trust_sender_root_domains
or sender.email.domain.root_domain not in $high_trust_sender_root_domains
)
attack_types:
Expand Down
4 changes: 2 additions & 2 deletions detection-rules/impersonation_amex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ source: |
and
(
(
sender.email.domain.root_domain in high_trust_sender_root_domains
sender.email.domain.root_domain in $high_trust_sender_root_domains
and (
any(distinct(headers.hops, .authentication_results.dmarc is not null),
strings.ilike(.authentication_results.dmarc, "*fail")
)
)
)
or sender.email.domain.root_domain not in high_trust_sender_root_domains
or sender.email.domain.root_domain not in $high_trust_sender_root_domains
)
attack_types:
Expand Down
4 changes: 2 additions & 2 deletions detection-rules/impersonation_bank_of_america.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ source: |
and
(
(
sender.email.domain.root_domain in high_trust_sender_root_domains
sender.email.domain.root_domain in $high_trust_sender_root_domains
and (
any(distinct(headers.hops, .authentication_results.dmarc is not null),
strings.ilike(.authentication_results.dmarc, "*fail")
)
)
)
or sender.email.domain.root_domain not in high_trust_sender_root_domains
or sender.email.domain.root_domain not in $high_trust_sender_root_domains
)
attack_types:
Expand Down
4 changes: 2 additions & 2 deletions detection-rules/impersonation_chase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ source: |
and
(
(
sender.email.domain.root_domain in high_trust_sender_root_domains
sender.email.domain.root_domain in $high_trust_sender_root_domains
and (
any(distinct(headers.hops, .authentication_results.dmarc is not null),
strings.ilike(.authentication_results.dmarc, "*fail")
)
)
)
or sender.email.domain.root_domain not in high_trust_sender_root_domains
or sender.email.domain.root_domain not in $high_trust_sender_root_domains
)
attack_types:
Expand Down
4 changes: 2 additions & 2 deletions detection-rules/impersonation_coinbase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ source: |
and
(
(
sender.email.domain.root_domain in high_trust_sender_root_domains
sender.email.domain.root_domain in $high_trust_sender_root_domains
and (
any(distinct(headers.hops, .authentication_results.dmarc is not null),
strings.ilike(.authentication_results.dmarc, "*fail")
)
)
)
or sender.email.domain.root_domain not in high_trust_sender_root_domains
or sender.email.domain.root_domain not in $high_trust_sender_root_domains
)
tags:
- "Cryptocurrency"
Expand Down
4 changes: 2 additions & 2 deletions detection-rules/impersonation_dhl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ source: |
and
(
(
sender.email.domain.root_domain in high_trust_sender_root_domains
sender.email.domain.root_domain in $high_trust_sender_root_domains
and (
any(distinct(headers.hops, .authentication_results.dmarc is not null),
strings.ilike(.authentication_results.dmarc, "*fail")
)
)
)
or sender.email.domain.root_domain not in high_trust_sender_root_domains
or sender.email.domain.root_domain not in $high_trust_sender_root_domains
)
attack_types:
Expand Down
4 changes: 2 additions & 2 deletions detection-rules/impersonation_dropbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ source: |
and
(
(
sender.email.domain.root_domain in high_trust_sender_root_domains
sender.email.domain.root_domain in $high_trust_sender_root_domains
and (
any(distinct(headers.hops, .authentication_results.dmarc is not null),
strings.ilike(.authentication_results.dmarc, "*fail")
)
)
)
or sender.email.domain.root_domain not in high_trust_sender_root_domains
or sender.email.domain.root_domain not in $high_trust_sender_root_domains
)
attack_types:
Expand Down
4 changes: 2 additions & 2 deletions detection-rules/impersonation_employee_urgent_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ source: |
and
(
(
sender.email.domain.root_domain in high_trust_sender_root_domains
sender.email.domain.root_domain in $high_trust_sender_root_domains
and (
any(distinct(headers.hops, .authentication_results.dmarc is not null),
strings.ilike(.authentication_results.dmarc, "*fail")
)
)
)
or sender.email.domain.root_domain not in high_trust_sender_root_domains
or sender.email.domain.root_domain not in $high_trust_sender_root_domains
)
attack_types:
Expand Down
4 changes: 2 additions & 2 deletions detection-rules/impersonation_human_resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ source: |
and
(
(
sender.email.domain.root_domain in high_trust_sender_root_domains
sender.email.domain.root_domain in $high_trust_sender_root_domains
and (
any(distinct(headers.hops, .authentication_results.dmarc is not null),
strings.ilike(.authentication_results.dmarc, "*fail")
)
)
)
or sender.email.domain.root_domain not in high_trust_sender_root_domains
or sender.email.domain.root_domain not in $high_trust_sender_root_domains
)
attack_types:
Expand Down
4 changes: 2 additions & 2 deletions detection-rules/impersonation_microsoft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ source: |
and
(
(
sender.email.domain.root_domain in high_trust_sender_root_domains
sender.email.domain.root_domain in $high_trust_sender_root_domains
and (
any(distinct(headers.hops, .authentication_results.dmarc is not null),
strings.ilike(.authentication_results.dmarc, "*fail")
)
)
)
or sender.email.domain.root_domain not in high_trust_sender_root_domains
or sender.email.domain.root_domain not in $high_trust_sender_root_domains
)
attack_types:
Expand Down
4 changes: 2 additions & 2 deletions detection-rules/impersonation_paypal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@ source: |
and
(
(
sender.email.domain.root_domain in high_trust_sender_root_domains
sender.email.domain.root_domain in $high_trust_sender_root_domains
and (
any(distinct(headers.hops, .authentication_results.dmarc is not null),
strings.ilike(.authentication_results.dmarc, "*fail")
)
)
)
or sender.email.domain.root_domain not in high_trust_sender_root_domains
or sender.email.domain.root_domain not in $high_trust_sender_root_domains
)
attack_types:
Expand Down
4 changes: 2 additions & 2 deletions detection-rules/impersonation_spotify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ source: |
and
(
(
sender.email.domain.root_domain in high_trust_sender_root_domains
sender.email.domain.root_domain in $high_trust_sender_root_domains
and (
any(distinct(headers.hops, .authentication_results.dmarc is not null),
strings.ilike(.authentication_results.dmarc, "*fail")
)
)
)
or sender.email.domain.root_domain not in high_trust_sender_root_domains
or sender.email.domain.root_domain not in $high_trust_sender_root_domains
)
attack_types:
Expand Down
4 changes: 2 additions & 2 deletions detection-rules/impersonation_sublime_security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ source: |
and
(
(
sender.email.domain.root_domain in high_trust_sender_root_domains
sender.email.domain.root_domain in $high_trust_sender_root_domains
and (
any(distinct(headers.hops, .authentication_results.dmarc is not null),
strings.ilike(.authentication_results.dmarc, "*fail")
)
)
)
or sender.email.domain.root_domain not in high_trust_sender_root_domains
or sender.email.domain.root_domain not in $high_trust_sender_root_domains
)
attack_types:
- "Credential Phishing"
Expand Down
4 changes: 2 additions & 2 deletions detection-rules/impersonation_ups.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ source: |
and
(
(
sender.email.domain.root_domain in high_trust_sender_root_domains
sender.email.domain.root_domain in $high_trust_sender_root_domains
and (
any(distinct(headers.hops, .authentication_results.dmarc is not null),
strings.ilike(.authentication_results.dmarc, "*fail")
)
)
)
or sender.email.domain.root_domain not in high_trust_sender_root_domains
or sender.email.domain.root_domain not in $high_trust_sender_root_domains
)
attack_types:
Expand Down
4 changes: 2 additions & 2 deletions detection-rules/impersonation_vanta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ source: |
and
(
(
sender.email.domain.root_domain in high_trust_sender_root_domains
sender.email.domain.root_domain in $high_trust_sender_root_domains
and (
any(distinct(headers.hops, .authentication_results.dmarc is not null),
strings.ilike(.authentication_results.dmarc, "*fail")
)
)
)
or sender.email.domain.root_domain not in high_trust_sender_root_domains
or sender.email.domain.root_domain not in $high_trust_sender_root_domains
)
attack_types:
Expand Down
4 changes: 2 additions & 2 deletions detection-rules/impersonation_venmo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ source: |
and
(
(
sender.email.domain.root_domain in high_trust_sender_root_domains
sender.email.domain.root_domain in $high_trust_sender_root_domains
and (
any(distinct(headers.hops, .authentication_results.dmarc is not null),
strings.ilike(.authentication_results.dmarc, "*fail")
)
)
)
or sender.email.domain.root_domain not in high_trust_sender_root_domains
or sender.email.domain.root_domain not in $high_trust_sender_root_domains
)
attack_types:
- "Credential Phishing"
Expand Down
4 changes: 2 additions & 2 deletions detection-rules/impersonation_vip_urgent_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ source: |
and
(
(
sender.email.domain.root_domain in high_trust_sender_root_domains
sender.email.domain.root_domain in $high_trust_sender_root_domains
and (
any(distinct(headers.hops, .authentication_results.dmarc is not null),
strings.ilike(.authentication_results.dmarc, "*fail")
)
)
)
or sender.email.domain.root_domain not in high_trust_sender_root_domains
or sender.email.domain.root_domain not in $high_trust_sender_root_domains
)
attack_types:
- "BEC/Fraud"
Expand Down
4 changes: 2 additions & 2 deletions detection-rules/impersonation_wells_fargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ source: |
and
(
(
sender.email.domain.root_domain in high_trust_sender_root_domains
sender.email.domain.root_domain in $high_trust_sender_root_domains
and (
any(distinct(headers.hops, .authentication_results.dmarc is not null),
strings.ilike(.authentication_results.dmarc, "*fail")
)
)
)
or sender.email.domain.root_domain not in high_trust_sender_root_domains
or sender.email.domain.root_domain not in $high_trust_sender_root_domains
)
attack_types:
Expand Down
4 changes: 2 additions & 2 deletions detection-rules/link_credential_phishing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ source: |
and
(
(
sender.email.domain.root_domain in high_trust_sender_root_domains
sender.email.domain.root_domain in $high_trust_sender_root_domains
and (
any(distinct(headers.hops, .authentication_results.dmarc is not null),
strings.ilike(.authentication_results.dmarc, "*fail")
)
)
)
or sender.email.domain.root_domain not in high_trust_sender_root_domains
or sender.email.domain.root_domain not in $high_trust_sender_root_domains
)
attack_types:
Expand Down
4 changes: 2 additions & 2 deletions detection-rules/link_microsoft_low_reputation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,14 @@ source: |
and
(
(
sender.email.domain.root_domain in high_trust_sender_root_domains
sender.email.domain.root_domain in $high_trust_sender_root_domains
and (
any(distinct(headers.hops, .authentication_results.dmarc is not null),
strings.ilike(.authentication_results.dmarc, "*fail")
)
)
)
or sender.email.domain.root_domain not in high_trust_sender_root_domains
or sender.email.domain.root_domain not in $high_trust_sender_root_domains
)
attack_types:
Expand Down
Loading

0 comments on commit 141b21f

Please sign in to comment.