Skip to content

Update: recon_short_generic_greeting.yml - Adding compound logic - #4927

Open
missingn0pe wants to merge 4 commits into
mainfrom
missingn0pe.fn.ESC-18719.recon_short_generic_greeting_variant
Open

Update: recon_short_generic_greeting.yml - Adding compound logic#4927
missingn0pe wants to merge 4 commits into
mainfrom
missingn0pe.fn.ESC-18719.recon_short_generic_greeting_variant

Conversation

@missingn0pe

@missingn0pe missingn0pe commented Jul 18, 2026

Copy link
Copy Markdown
Member

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

  • Extended subject limit from 15 → 20 characters when display name match is detected
  • Maintains original 15-char limit for standard short greetings

Display Name Extraction

  • Uses regex.extract(sender.display_name, '[A-Za-z]{4,}') to extract 4+ letter words from sender display name
  • Checks if any extracted word appears in subject (e.g., "JAMES" from "JAMES WILLIAM" matches "Hi This is James")

Full Name Pattern Matching

  • Detects subjects that are ONLY "FirstName LastName" or "FirstName Hyphenated-LastName"
  • Regex: ^[A-Z][a-z]+ [A-Z][a-z]+(-[A-Z][a-z]+)?$
  • Excludes matches when subject equals sender or recipient display names (FP reduction)

Logic submitted: Without negations

Alternative considered: With negations (91 net new detections)

and not strings.icontains(subject.base,
                          "subscription",
                          "customer",
                          "invite",
                          "support",
                          "insurance"
)

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

missingn0pe and others added 3 commits July 18, 2026 09:18
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>
@missingn0pe
missingn0pe requested a review from a team July 18, 2026 14:52
@missingn0pe
missingn0pe requested a review from a team as a code owner July 18, 2026 14:52
@missingn0pe missingn0pe self-assigned this Jul 18, 2026
@github-actions github-actions Bot added the in-test-rules PR is in our testing suite to collect telemetry label Jul 18, 2026
github-actions Bot added a commit that referenced this pull request Jul 18, 2026
github-actions Bot added a commit that referenced this pull request Jul 18, 2026
@missingn0pe missingn0pe removed their assignment Jul 24, 2026
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.

1 participant