Detection rules › Sublime MQL

DLP: Japan MyNumber ID

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

Detects messages containing Japanese MyNumber identification numbers.

Event coverage

Rule body MQL

type.outbound
and any([body.current_thread.text, subject.subject],
        // MyNumber: 12 digits
        regex.contains(., '\b\d{4}[\s\-]?\d{4}[\s\-]?\d{4}\b')
)
and any([body.current_thread.text, subject.subject],
        regex.icontains(., 'MyNumber|マイナンバー|個人番号')
)

Detection logic

Scope: outbound message.

Detects messages containing Japanese MyNumber identification numbers.

  1. outbound message
  2. any of [body.current_thread.text, subject.subject] where:
    • . matches '\\b\\d{4}[\\s\\-]?\\d{4}[\\s\\-]?\\d{4}\\b'
  3. any of [body.current_thread.text, subject.subject] where:
    • . matches 'MyNumber|マイナンバー|個人番号'

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{4}[\s\-]?\d{4}\b
regex.icontainsregexMyNumber|マイナンバー|個人番号