Detection rules › Sublime MQL

DLP: Austria Social Security Number

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

Detects messages containing Austrian Social Security Numbers (Sozialversicherungsnummer).

Event coverage

Rule body MQL

type.outbound
and any([body.current_thread.text, subject.subject],
        // Austrian SSN: 10 digits (XXXX XXXXXX format)
        regex.contains(., '\b\d{4}[\s]?\d{6}\b')
)
and any([body.current_thread.text, subject.subject],
        regex.icontains(., 'sozialversicherung|social\s+security|SVNR')
)

Detection logic

Scope: outbound message.

Detects messages containing Austrian Social Security Numbers (Sozialversicherungsnummer).

  1. outbound message
  2. any of [body.current_thread.text, subject.subject] where:
    • . matches '\\b\\d{4}[\\s]?\\d{6}\\b'
  3. any of [body.current_thread.text, subject.subject] where:
    • . matches 'sozialversicherung|social\\s+security|SVNR'

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

Indicators matched (2)

FieldMatchValue
regex.containsregex\b\d{4}[\s]?\d{6}\b
regex.icontainsregexsozialversicherung|social\s+security|SVNR