You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
name: "Spam: Sexually explicit Google group invitation"
2
+
description: "Detects suspicious Google Groups invitations containing inappropriate content or suspicious patterns. The rule looks for invites from non-organizational domains that contain random alphanumeric strings, explicit keywords, or suspicious call-to-action phrases in the group names or descriptions."
3
+
type: "rule"
4
+
severity: "low"
5
+
source: |
6
+
type.inbound
7
+
//
8
+
// Warning: This rule contains sexually explicit keywords
9
+
//
10
+
and sender.email.email == "noreply@groups.google.com"
11
+
and (
12
+
strings.istarts_with(subject.base, 'Invitation to join ')
13
+
or strings.istarts_with(subject.base, 'You have been added to ')
14
+
// the group name contains sexually explicit keywords
15
+
// this regex should be kept in sync between the Google Group, Google Drive Share, and Looker Studio rules
16
+
or regex.icontains(subject.base,
17
+
'(?:Invitation to join|You have been added to) .*(?:sex|horny|cock|fuck|\bass\b|pussy|dick|tits|cum|girlfriend|boyfriend|naked|porn|video|webcam|masturbate|orgasm|breasts|penis|vagina|strip|suck|blowjob|hardcore|xxx|nudes?|sexting|cheating|affair|erotic|\blust\b|desire|intimate|explicit|fetish|kinky|seduce|adult community|cam shows|local (?:girls?|women|single)|hook.?up|bed partner)'
18
+
)
19
+
)
20
+
// the invite is not from an $org_domain user
21
+
and not any($org_domains,
22
+
strings.icontains(body.current_thread.text,
23
+
strings.concat('@',
24
+
.,
25
+
' invited you to join the '
26
+
)
27
+
)
28
+
or strings.icontains(body.current_thread.text,
29
+
strings.concat('@', ., ' added you to the ')
30
+
)
31
+
)
32
+
and (
33
+
// the group name contains 7 char sets at the start and end and must contain a number
0 commit comments