Detection rules › Sublime MQL

DLP: Croatia Personal Identification (OIB)

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

Detects messages containing Croatian Personal Identification Numbers (OIB).

Event coverage

Rule body MQL

type.outbound
and any([body.current_thread.text, subject.subject],
        // Croatian OIB: 11 digits
        regex.contains(., '\b\d{11}\b')
)
and any([body.current_thread.text, subject.subject],
        regex.icontains(., 'OIB|osobni\s+identifikacijski|personal\s+identification')
)

Detection logic

Scope: outbound message.

Detects messages containing Croatian Personal Identification Numbers (OIB).

  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 'OIB|osobni\\s+identifikacijski|personal\\s+identification'

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.icontainsregexOIB|osobni\s+identifikacijski|personal\s+identification