Detection rules › Sublime MQL

DLP: Austria Identity Card

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

Detects messages containing Austrian Identity Card numbers (Personalausweis).

Event coverage

Rule body MQL

type.outbound
and any([body.current_thread.text, subject.subject],
        // Austrian ID card: 7-8 digits
        regex.contains(., '\b\d{7,8}\b')
)
and any([body.current_thread.text, subject.subject],
        regex.icontains(., 'personalausweis|identity\s+card|Ausweis')
)
and (
  strings.icontains(sender.email.domain.tld, "at")
  or strings.icontains(body.current_thread.text, "austria")
)

Detection logic

Scope: outbound message.

Detects messages containing Austrian Identity Card numbers (Personalausweis).

  1. outbound message
  2. any of [body.current_thread.text, subject.subject] where:
    • . matches '\\b\\d{7,8}\\b'
  3. any of [body.current_thread.text, subject.subject] where:
    • . matches 'personalausweis|identity\\s+card|Ausweis'
  4. any of:
    • sender.email.domain.tld contains 'at'
    • body.current_thread.text contains 'austria'

Inspects: body.current_thread.text, sender.email.domain.tld, subject.subject, type.outbound. Sensors: regex.contains, regex.icontains, strings.icontains.

Indicators matched (4)

FieldMatchValue
regex.containsregex\b\d{7,8}\b
regex.icontainsregexpersonalausweis|identity\s+card|Ausweis
strings.icontainssubstringat
strings.icontainssubstringaustria