From e32948357dfa73c73587f8e60d28a471a35daad7 Mon Sep 17 00:00:00 2001 From: Daniel Bolton Date: Tue, 9 Jun 2026 19:54:19 +0200 Subject: [PATCH 1/2] Create evasion_hidden_content_gmail.yml --- .../evasion_hidden_content_gmail.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 detection-rules/evasion_hidden_content_gmail.yml diff --git a/detection-rules/evasion_hidden_content_gmail.yml b/detection-rules/evasion_hidden_content_gmail.yml new file mode 100644 index 00000000000..ca83fcce313 --- /dev/null +++ b/detection-rules/evasion_hidden_content_gmail.yml @@ -0,0 +1,17 @@ +name: "Evasion: Hidden content divs from Gmail sender" +description: "Detects inbound messages from Gmail sender containing multiple hidden HTML div elements with specific styling properties (display:none, opacity:0, zero dimensions) that are commonly used to evade content filtering and detection systems." +type: "rule" +severity: "medium" +source: | + type.inbound + and sender.email.domain.domain == 'gmail.com' + and strings.count(body.html.raw, '