Detection rules › Sublime MQL

DLP: US Individual Taxpayer Identification Number (ITIN)

Severity
high
Type
dlp
Source
github.com/sublime-security/sublime-rules

Detects messages containing US Individual Taxpayer Identification Numbers.

Event coverage

Rule body MQL

type.outbound
and any([body.current_thread.text, subject.subject],
        // ITIN: 9XX-XX-XXXX format (starts with 9)
        regex.contains(., '\b9\d{2}[\s\-]?\d{2}[\s\-]?\d{4}\b')
)
and any([body.current_thread.text, subject.subject],
        regex.icontains(., 'ITIN|individual\s+taxpayer|tax\s+ID')
)

Detection logic

Scope: outbound message.

Detects messages containing US Individual Taxpayer Identification Numbers.

  1. outbound message
  2. any of [body.current_thread.text, subject.subject] where:
    • . matches '\\b9\\d{2}[\\s\\-]?\\d{2}[\\s\\-]?\\d{4}\\b'
  3. any of [body.current_thread.text, subject.subject] where:
    • . matches 'ITIN|individual\\s+taxpayer|tax\\s+ID'

Inspects: body.current_thread.text, subject.subject, type.outbound. Sensors: regex.contains, regex.icontains.

Indicators matched (2)

FieldMatchValue
regex.containsregex\b9\d{2}[\s\-]?\d{2}[\s\-]?\d{4}\b
regex.icontainsregexITIN|individual\s+taxpayer|tax\s+ID