Skip to content

Create rule: Generic Financial Document Template#4498

Open
missingn0pe wants to merge 6 commits into
mainfrom
missingn0pe.fn.ESC-13584.new_rule_generic_financials_template
Open

Create rule: Generic Financial Document Template#4498
missingn0pe wants to merge 6 commits into
mainfrom
missingn0pe.fn.ESC-13584.new_rule_generic_financials_template

Conversation

@missingn0pe

Copy link
Copy Markdown
Member

Description

Detects messages with generic 'dear sir/madam' greetings that reference payment releases & timelines, contain links with suspicious hosting or open redirects, and exhibit unusual recipient patterns such as self-sending or missing recipients.

Associated samples

- Sample 1

Associated hunts

- Hunt 1 (Shared Samples)
- Hunt 2 (Multi-hunt)

Detects messages with generic 'dear sir/madam' greetings that reference payment releases & timelines, contain links with suspicious hosting or open redirects, and exhibit unusual recipient patterns such as self-sending or missing recipients.
@missingn0pe missingn0pe requested a review from a team May 15, 2026 22:31
@missingn0pe missingn0pe requested a review from a team as a code owner May 15, 2026 22:31
@github-actions github-actions Bot added the in-test-rules PR is in our testing suite to collect telemetry label May 15, 2026
github-actions Bot added a commit that referenced this pull request May 15, 2026
github-actions Bot added a commit that referenced this pull request May 15, 2026
…ncial document and suspicious hosting template
github-actions Bot added a commit to IndiaAce/sublime-rules that referenced this pull request May 19, 2026
…ancial document and suspicious hosting template
@missingn0pe

Copy link
Copy Markdown
Member Author

Telemetry looks good. Low volume TTP but viable. 4 net new samps over L90D, good detection in depth.

One observable - There is similar style rule that matches after a few changes, but only hits 2 of the 91 samps flagged in this PR over L90D, this PR does not lean on profiles, and is a very specific pattern.

- Hunt 1 L90D (Shared Samps)
- Hunt 2 L30D (Multi-hunt)

@missingn0pe missingn0pe added the review-needed Indicates that a PR is waiting for review label May 22, 2026
@missingn0pe missingn0pe self-assigned this May 27, 2026
@zoomequipd zoomequipd requested review from IndiaAce and removed request for a team May 27, 2026 15:05

@IndiaAce IndiaAce left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey dude, the telemetry on this rule is crazy good in Mode! batting 1000 for malicious in the last 14 days. A few things I want to point out: I see in the latest batch of rules that almost all of them match existing rules, I'm super down for detection in-depth, especially when we are resolving FNs, but I wanted to see if you had considered modifying the existing Business Email Compromise (BEC) attempt from untrusted sender rule to account for this? Been looking through the hunts and I see that a good amount of these similar emails matching the BEC rule so just wanted to toss it out.

Also, I've been working on a suite of rules for that excessive padding in the body of the email and made a PR to modify that rule and the existing generic document sharing rule to catch this sample as well, so we've got good detection-in-depth coming for this. #4556

Comment thread detection-rules/link_financial_document_timeline_template.yml Outdated
Comment thread detection-rules/link_financial_document_timeline_template.yml Outdated
@IndiaAce

Copy link
Copy Markdown
Member

Gonna remove review-needed from this but feel free to shoot me a DM when you're ready for re-review for anything here!

@IndiaAce IndiaAce removed the review-needed Indicates that a PR is waiting for review label May 28, 2026
@missingn0pe

Copy link
Copy Markdown
Member Author

Hey dude, the telemetry on this rule is crazy good in Mode! batting 1000 for malicious in the last 14 days. A few things I want to point out: I see in the latest batch of rules that almost all of them match existing rules, I'm super down for detection in-depth, especially when we are resolving FNs, but I wanted to see if you had considered modifying the existing Business Email Compromise (BEC) attempt from untrusted sender rule to account for this? Been looking through the hunts and I see that a good amount of these similar emails matching the BEC rule so just wanted to toss it out.

Also, I've been working on a suite of rules for that excessive padding in the body of the email and made a PR to modify that rule and the existing generic document sharing rule to catch this sample as well, so we've got good detection-in-depth coming for this. #4556

Thanks! Given it's growing hit count, I found it a viable candidate for surfacing based on campaign template structure. I compared Business Email Compromise (BEC) attempt from untrusted sender rule against this sample, this sample does not fire nlu as BEC, it fires as cred_theft, which invalidated the rule as it is the primary condition of the rule.

Few updates:

- Removing starting check of strict greeting.
- Updating undisclosed recipients to current standard.
github-actions Bot added a commit that referenced this pull request Jun 3, 2026
github-actions Bot added a commit to IndiaAce/sublime-rules that referenced this pull request Jun 3, 2026
…financial document and suspicious hosting template
github-actions Bot added a commit that referenced this pull request Jun 3, 2026
…inancial document and suspicious hosting template
Noticed FP's from removing greeting condition. Adding nlu with character limiter to negate FP's and FN's.
Wrong logic committed. This is the correct logic
@missingn0pe

missingn0pe commented Jun 3, 2026

Copy link
Copy Markdown
Member Author

github-actions Bot added a commit to IndiaAce/sublime-rules that referenced this pull request Jun 3, 2026
…financial document and suspicious hosting template
github-actions Bot added a commit that referenced this pull request Jun 3, 2026
github-actions Bot added a commit that referenced this pull request Jun 3, 2026
…inancial document and suspicious hosting template
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in-test-rules PR is in our testing suite to collect telemetry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants