Update: recon_short_generic_greeting.yml - Adding compound logic - #4927
Open
missingn0pe wants to merge 4 commits into
Open
Update: recon_short_generic_greeting.yml - Adding compound logic#4927missingn0pe wants to merge 4 commits into
missingn0pe wants to merge 4 commits into
Conversation
Extends recon_short_generic_greeting.yml to catch display name-based reconnaissance patterns that bypass the original 15-char subject limit. New detection patterns: - Sender display name (or word from it) appears in subject Example: "Hi This is James" from sender "JAMES WILLIAM" - Subject contains only "FirstName LastName" pattern Example: "Regina Wallace-Jones" (when not sender/recipient name) Subject limit extended to 20 chars when display name match detected. Closes ESC-18723 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Changed from creating new rule to updating existing rule. Extends subject limit from 15 → 20 chars when display name match detected. New detection patterns: - Sender display name (or word from it) appears in subject Example: "Hi This is James" from sender "JAMES WILLIAM" - Subject contains only "FirstName LastName" pattern Example: "Regina Wallace-Jones" (when not sender/recipient name) Closes ESC-18719 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
github-actions Bot
added a commit
that referenced
this pull request
Jul 18, 2026
…ort generic greeting message
…_greeting_variant
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Extends the existing short greeting recon detection to catch display name-based reconnaissance patterns. Detects messages where the sender's display name (or portions of it) appear in the subject line, or where the subject contains only a full name pattern (i.e, "Regina Wallace-Jones") that doesn't match the sender or recipient.
Impact: 130 net new detections (without negations)
Changes
Subject Length Extension
Display Name Extraction
regex.extract(sender.display_name, '[A-Za-z]{4,}')to extract 4+ letter words from sender display nameFull Name Pattern Matching
^[A-Z][a-z]+ [A-Z][a-z]+(-[A-Z][a-z]+)?$Logic submitted: Without negations
Alternative considered: With negations (91 net new detections)
Rationale: We could choose either route. "With negations" has less noise, but these also have little to no context and "could be considered" recon. However, it's likely this is just human error.
WITH negations hunt links (alternative):
Additional Finding:
It's worth noting, I've discovered a new style of VIP Impersonation, and it is hit or miss on VIP rule matching. I will look into these post runner.
Associated samples
Associated hunts