Detection rules › Sublime MQL

DLP: Germany Tax Identification Number

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

Detects messages containing German Tax Identification Numbers (Steueridentifikationsnummer).

Event coverage

Rule body MQL

type.outbound
and any([body.current_thread.text, subject.subject],
        // German Tax ID: 11 digits
        regex.contains(., '\b\d{11}\b')
)
and any([body.current_thread.text, subject.subject],
        regex.icontains(., 'steueridentifikationsnummer|steuer-ID|tax\s+ID')
)

Detection logic

Scope: outbound message.

Detects messages containing German Tax Identification Numbers (Steueridentifikationsnummer).

  1. outbound message
  2. any of [body.current_thread.text, subject.subject] where:
    • . matches '\\b\\d{11}\\b'
  3. any of [body.current_thread.text, subject.subject] where:
    • . matches 'steueridentifikationsnummer|steuer-ID|tax\\s+ID'

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

Indicators matched (2)

FieldMatchValue
regex.containsregex\b\d{11}\b
regex.icontainsregexsteueridentifikationsnummer|steuer-ID|tax\s+ID