Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 22 additions & 2 deletions rules/detection-rules.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "1.2.5",
"lastUpdated": "2026-07-08T00:00:00Z",
"version": "1.2.6",
"lastUpdated": "2026-07-23T00:00:00Z",
"description": "Phishing detection logic for identifying phishing attempts targeting Microsoft 365 login pages",
"trusted_login_patterns": [
"^https:\\/\\/login\\.microsoftonline\\.(com|us)$",
Expand Down Expand Up @@ -683,6 +683,26 @@
"phishing": 25
},
"phishing_indicators": [
{
"id": "phi_037_sx_document_origin_custom_background_kit",
"pattern": "(?=[\\s\\S]*window\\.__sxDocumentOrigin)(?=[\\s\\S]*function\\s+apiPath\\s*\\(\\s*value\\s*\\))(?=[\\s\\S]*__customBgStyles)(?=[\\s\\S]*__custom-bg-enabled)",
"flags": "i",
"severity": "critical",
"description": "Credential-phishing kit that proxies API calls through __sxDocumentOrigin and injects a custom-background login layer",
"action": "block",
"category": "phishing_kit_signature",
"confidence": 0.98
},
{
"id": "phi_038_fake_microsoft_identity_verification_modal",
"pattern": "(?=[\\s\\S]*Identity\\s+Verification)(?=[\\s\\S]*generate\\s+your\\s+verification\\s+code)(?=[\\s\\S]*I(?:'|'|&#0*39;|&#x0*27;)m\\s+not\\s+a\\s+robot)(?=[\\s\\S]*Protected\\s+by\\s+Microsoft\\s+Security)",
"flags": "i",
"severity": "critical",
"description": "Fake Microsoft identity-verification modal that tricks users into generating a verification code",
"action": "block",
"category": "brand_abuse",
"confidence": 0.96
},
{
"id": "phi_001",
"pattern": "(?:secure-?(?:microsoft|office|365|outlook))",
Expand Down
Loading