Detection rules › Sublime MQL

DLP: India Aadhaar Number

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

Detects messages containing Indian Aadhaar identification numbers.

Event coverage

Rule body MQL

type.outbound
and any([body.current_thread.text, subject.subject],
        // Aadhaar: 12 digits in XXXX XXXX XXXX format
        regex.contains(., '\b\d{4}[\s\-]?\d{4}[\s\-]?\d{4}\b')
)
and any([body.current_thread.text, subject.subject],
        regex.icontains(., 'aadhaar|आधार|UIDAI')
)

Detection logic

Scope: outbound message.

Detects messages containing Indian Aadhaar 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 'aadhaar|आधार|UIDAI'

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.icontainsregexaadhaar|आधार|UIDAI