Detection rules › Sublime MQL

DLP: Vehicle Identification Number (VIN)

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

Detects messages containing Vehicle Identification Numbers.

Event coverage

Rule body MQL

type.outbound
and any([body.current_thread.text, subject.subject],
        // VIN: 17 characters (no I, O, Q)
        regex.contains(., '\b[A-HJ-NPR-Z0-9]{17}\b')
)
and any([body.current_thread.text, subject.subject],
        regex.icontains(., 'VIN|vehicle\s+identification|chassis\s+number')
)

Detection logic

Scope: outbound message.

Detects messages containing Vehicle Identification Numbers.

  1. outbound message
  2. any of [body.current_thread.text, subject.subject] where:
    • . matches '\\b[A-HJ-NPR-Z0-9]{17}\\b'
  3. any of [body.current_thread.text, subject.subject] where:
    • . matches 'VIN|vehicle\\s+identification|chassis\\s+number'

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

Indicators matched (2)

FieldMatchValue
regex.containsregex\b[A-HJ-NPR-Z0-9]{17}\b
regex.icontainsregexVIN|vehicle\s+identification|chassis\s+number