EXPLORE
← Back to Explore
sublimemediumRule

Service abuse: Cognito Forms with short body from unknown sender

Detects messages with a very short body (under 200 characters) that contain a link to Cognito Forms, where the sender is not Cognito Forms itself.

MITRE ATT&CK

initial-access

Detection Query

type.inbound
and regex.count(body.html.raw,
                '(?:<(?:p|div)[^>]*>\s*<br>\s*</(?:p|div)>\s*){6,}'
) >= 1
and sender.email.domain.root_domain != "cognitoforms.com"
and any(body.current_thread.links,
        .href_url.domain.root_domain == "cognitoforms.com"
        and length(.display_text) > 8
        // negating benign hits
        and not .display_text =~ "opt-out"
        and not strings.icontains(.display_text, "cognitoforms.com")
)
// negating messages which use cognito and other mailing platforms
and not any(body.current_thread.links, .display_text =~ "unsubscribe")

Data Sources

Email MessagesEmail HeadersEmail Attachments

Platforms

email
Raw Content
name: "Service abuse: Cognito Forms with short body from unknown sender"
description: "Detects messages with a very short body (under 200 characters) that contain a link to Cognito Forms, where the sender is not Cognito Forms itself."
type: "rule"
severity: "medium"
source: |
  type.inbound
  and regex.count(body.html.raw,
                  '(?:<(?:p|div)[^>]*>\s*<br>\s*</(?:p|div)>\s*){6,}'
  ) >= 1
  and sender.email.domain.root_domain != "cognitoforms.com"
  and any(body.current_thread.links,
          .href_url.domain.root_domain == "cognitoforms.com"
          and length(.display_text) > 8
          // negating benign hits
          and not .display_text =~ "opt-out"
          and not strings.icontains(.display_text, "cognitoforms.com")
  )
  // negating messages which use cognito and other mailing platforms
  and not any(body.current_thread.links, .display_text =~ "unsubscribe")
attack_types:
  - "Credential Phishing"
tactics_and_techniques:
  - "Social engineering"
detection_methods:
  - "Content analysis"
  - "Sender analysis"
  - "URL analysis"
id: "d2657717-2ef4-5d9e-8266-472cef985148"