Detection rules › Sublime MQL

DLP: Australia Passport Number

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

Detects messages containing Australian passport numbers.

Event coverage

Rule body MQL

type.outbound
and any([body.current_thread.text, subject.subject],
        // Australian passport: 1 letter + 7 digits
        regex.contains(., '\b[A-Z]\d{7}\b')
)
and any([body.current_thread.text, subject.subject],
        regex.icontains(., 'passport|travel\s+document')
)
and (
  strings.icontains(sender.email.domain.tld, "au")
  or strings.icontains(body.current_thread.text, "australia")
)

Detection logic

Scope: outbound message.

Detects messages containing Australian passport numbers.

  1. outbound message
  2. any of [body.current_thread.text, subject.subject] where:
    • . matches '\\b[A-Z]\\d{7}\\b'
  3. any of [body.current_thread.text, subject.subject] where:
    • . matches 'passport|travel\\s+document'
  4. any of:
    • sender.email.domain.tld contains 'au'
    • body.current_thread.text contains 'australia'

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[A-Z]\d{7}\b
regex.icontainsregexpassport|travel\s+document
strings.icontainssubstringau
strings.icontainssubstringaustralia