Detection rules › Sublime MQL

DLP: Australia Medical Account Number

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

Detects messages containing Australian Medicare numbers.

Event coverage

Rule body MQL

type.outbound
and any([body.current_thread.text, subject.subject],
        // Medicare: 10 digits (XXXX XXXXX X format)
        regex.contains(., '\b\d{4}\s?\d{5}\s?\d\b')
)
and any([body.current_thread.text, subject.subject],
        regex.icontains(., 'medicare|medical\s+account')
)

Detection logic

Scope: outbound message.

Detects messages containing Australian Medicare numbers.

  1. outbound message
  2. any of [body.current_thread.text, subject.subject] where:
    • . matches '\\b\\d{4}\\s?\\d{5}\\s?\\d\\b'
  3. any of [body.current_thread.text, subject.subject] where:
    • . matches 'medicare|medical\\s+account'

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{5}\s?\d\b
regex.icontainsregexmedicare|medical\s+account