Detection rules › Sublime MQL

DLP: Luxembourg National ID (Natural Persons)

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

Detects messages containing Luxembourg National Identification Numbers for natural persons.

Event coverage

Rule body MQL

type.outbound
and any([body.current_thread.text, subject.subject],
        // Luxembourg Natural Person ID: 13 digits (YYYYMMDDXXXXX)
        regex.contains(., '\b\d{13}\b')
)
and any([body.current_thread.text, subject.subject],
        regex.icontains(., 'matricule|national\s+identification')
)
and (
  strings.icontains(sender.email.domain.tld, "lu")
  or strings.icontains(body.current_thread.text, "luxembourg")
)

Detection logic

Scope: outbound message.

Detects messages containing Luxembourg National Identification Numbers for natural persons.

  1. outbound message
  2. any of [body.current_thread.text, subject.subject] where:
    • . matches '\\b\\d{13}\\b'
  3. any of [body.current_thread.text, subject.subject] where:
    • . matches 'matricule|national\\s+identification'
  4. any of:
    • sender.email.domain.tld contains 'lu'
    • body.current_thread.text contains 'luxembourg'

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{13}\b
regex.icontainsregexmatricule|national\s+identification
strings.icontainssubstringlu
strings.icontainssubstringluxembourg