Detection rules › Sublime MQL

DLP: Israel National ID

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

Detects messages containing Israeli National ID numbers (Teudat Zehut).

Event coverage

Rule body MQL

type.outbound
and any([body.current_thread.text, subject.subject],
        // Israeli ID: 9 digits
        regex.contains(., '\b\d{9}\b')
)
and any([body.current_thread.text, subject.subject],
        regex.icontains(., 'teudat\s+zehut|national\s+ID|ת\.?ז\.?|תעודת\s+זהות')
)

Detection logic

Scope: outbound message.

Detects messages containing Israeli National ID numbers (Teudat Zehut).

  1. outbound message
  2. any of [body.current_thread.text, subject.subject] where:
    • . matches '\\b\\d{9}\\b'
  3. any of [body.current_thread.text, subject.subject] where:
    • . matches 'teudat\\s+zehut|national\\s+ID|ת\\.?ז\\.?|תעודת\\s+זהות'

Inspects: body.current_thread.text, subject.subject, type.outbound. Sensors: regex.contains, regex.icontains.

Indicators matched (2)

FieldMatchValue
regex.containsregex\b\d{9}\b
regex.icontainsregexteudat\s+zehut|national\s+ID|ת\.?ז\.?|תעודת\s+זהות