Body: Fabricated reference number format

Detects inbound messages whose body contains a reference number formatted as three letters, 4-6 digits, and a 20XX year (e.g., 'Ref: ABC-1234-2024'). This pattern is frequently used to lend false legitimacy to fraudulent correspondence by mimicking official case, invoice, or transaction numbers.

Sublime rule (View on GitHub)

 1name: "Body: Fabricated reference number format"
 2description: "Detects inbound messages whose body contains a reference number formatted as three letters, 4-6 digits, and a 20XX year (e.g., 'Ref: ABC-1234-2024'). This pattern is frequently used to lend false legitimacy to fraudulent correspondence by mimicking official case, invoice, or transaction numbers."
 3type: "rule"
 4severity: "medium"
 5source: |
 6  type.inbound
 7  and regex.icontains(body.current_thread.text,
 8                      'Ref: [A-Z]{3}-[0-9]{4,6}-20[0-9]{2}'
 9  )  
10attack_types:
11  - "BEC/Fraud"
12tactics_and_techniques:
13  - "Social engineering"
14detection_methods:
15  - "Content analysis"
16id: "e83355a3-cdf1-5a22-9896-a47ca5f151cb"
to-top