Detection rules › Sublime MQL

DLP: Israel Bank Account Number

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

Detects messages containing Israeli bank account numbers.

Event coverage

Rule body MQL

type.outbound
and any([body.current_thread.text, subject.subject],
        // Israeli bank account: typically 6-9 digits
        regex.contains(., '\b\d{6,9}\b')
)
and any([body.current_thread.text, subject.subject],
        regex.icontains(., 'bank\s+account|account\s+number|חשבון\s+בנק')
)
and (
  strings.icontains(sender.email.domain.tld, "il")
  or strings.icontains(body.current_thread.text, "israel")
)

Detection logic

Scope: outbound message.

Detects messages containing Israeli bank account numbers.

  1. outbound message
  2. any of [body.current_thread.text, subject.subject] where:
    • . matches '\\b\\d{6,9}\\b'
  3. any of [body.current_thread.text, subject.subject] where:
    • . matches 'bank\\s+account|account\\s+number|חשבון\\s+בנק'
  4. any of:
    • sender.email.domain.tld contains 'il'
    • body.current_thread.text contains 'israel'

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\d{6,9}\b
regex.icontainsregexbank\s+account|account\s+number|חשבון\s+בנק
strings.icontainssubstringil
strings.icontainssubstringisrael