EXPLORE
← Back to Explore
sublimelowRule

Job scam with specific salary pattern

Detects job scam content that includes specific weekly salary mentions (e.g., '$XXX weekly' patterns) in either the current email thread or previous thread conversations, while excluding legitimate income verification services.

MITRE ATT&CK

initial-access

Detection Query

type.inbound
and (
  ( // job scam in current thread
    any(ml.nlu_classifier(body.current_thread.text).intents,
        .name in ("job_scam") and .confidence != "low"
    )
    // and salary mention in current thread
    and regex.icontains(body.current_thread.text,
                        '\$\d{3} weekly',
                        'week \$\d{3}',
                        'weekly(?:\s+\w+){0,4}\s+\$\d{3}[^\d]'
    )
  )

  // job scam in previous thread
  or any(body.previous_threads,
         any(ml.nlu_classifier(.text).intents,
             .name in ("job_scam") and .confidence != "low"
         )
         // and salary mention in previous thread
         and regex.icontains(.text,
                             '\$\d{3} weekly',
                             'week \$\d{3}',
                             'weekly(?:\s+\w+){0,4}\s+\$\d{3}[^\d]'
         )
  )
  // job scam lure delivered as a PDF with an empty email body
  or (
    coalesce(length(body.current_thread.text), 0) == 0
    and length(attachments) == 1
    and (
      any(filter(attachments, .file_type == "pdf"),
          any(file.explode(.),
              // specific weekly salary pattern in the OCR
              regex.icontains(.scan.ocr.raw,
                              '\$\d{3,}(?:\s+\w+){0,3}\s+week',
                              'week(?:\s+\w+){0,3}\s+\$\d{3,}',
                              'weekly(?:\s+\w+){0,4}\s+\$\d{3}[^\d]',
                              '\$\d{3,}[\s.,;:-]{0,8}week'
              )
              and (
                regex.icontains(.scan.ocr.raw,
                                'fully remote',
                                'remote\b[\s-]*(?:work|position|role|job|employee|worker|assistant|opportunit)',
                                'remotely',
                                'work[\s-]?from[\s-]?home',
                                'equal opportunity employer',
                                'how to apply',
                                'submit (?:your )?application',
                                'open to all (?:majors|backgrounds|students)',
                                'employment opportunity',
                                '\bhiring\b'
                )
                or any(ml.nlu_classifier(.scan.ocr.raw).intents,
                       .name in ("job_scam") and .confidence != "low"
                )
              )
              and not regex.icontains(.scan.ocr.raw,
                                      'unemployment',
                                      'monetary (?:re)?determination',
                                      'weekly benefit amount',
                                      'supplemental unemployment',
                                      'work search activit'
              )
          )
      )
      // job scam lure delivered as a DOCX with no previous threads
      or (
        length(body.previous_threads) == 0
        and any(filter(attachments, .file_type == "docx"),
                any(file.explode(.),
                    regex.icontains(.scan.strings.raw,
                                    '\$\d{3,}(?:\s+\w+){0,3}\s+week',
                                    'week(?:\s+\w+){0,3}\s+\$\d{3,}',
                                    'weekly(?:\s+\w+){0,4}\s+\$\d{3}[^\d]',
                                    '\$\d{3,}[\s.,;:-]{0,8}week'
                    )
                    and (
                      regex.icontains(.scan.strings.raw,
                                      'fully remote',
                                      'remote\b[\s-]*(?:work|position|role|job|employee|worker|assistant|opportunit)',
                                      'remotely',
                                      'work[\s-]?from[\s-]?home',
                                      'equal opportunity employer',
                                      'how to apply',
                                      'submit (?:your )?application',
                                      'open to all (?:majors|backgrounds|students)',
                                      'employment opportunity',
                                      '\bhiring\b'
                      )
                      or any(ml.nlu_classifier(.scan.strings.raw).intents,
                             .name in ("job_scam") and .confidence != "low"
                      )
                    )
                    and not regex.icontains(.scan.strings.raw,
                                            'unemployment',
                                            'monetary (?:re)?determination',
                                            'weekly benefit amount',
                                            'supplemental unemployment',
                                            'work search activit'
                    )
                )
        )
      )
    )
  )
)
and length(body.current_thread.links) < 10

// negating income / job verification senders
and not (
  sender.email.domain.root_domain in (
    'loandepot.com',
    'sofi.com',
    'lensa.com',
    'indeed.com',
    'ziprecruiter.com',
    'glassdoor.com',
    'postjobfree.com',
    'jobplacements.com'
  )
  and headers.auth_summary.dmarc.pass
)

Data Sources

Email MessagesEmail HeadersEmail Attachments

Platforms

email
Raw Content
name: "Job scam with specific salary pattern"
description: "Detects job scam content that includes specific weekly salary mentions (e.g., '$XXX weekly' patterns) in either the current email thread or previous thread conversations, while excluding legitimate income verification services."
type: "rule"
severity: "low"
source: |
  type.inbound
  and (
    ( // job scam in current thread
      any(ml.nlu_classifier(body.current_thread.text).intents,
          .name in ("job_scam") and .confidence != "low"
      )
      // and salary mention in current thread
      and regex.icontains(body.current_thread.text,
                          '\$\d{3} weekly',
                          'week \$\d{3}',
                          'weekly(?:\s+\w+){0,4}\s+\$\d{3}[^\d]'
      )
    )
  
    // job scam in previous thread
    or any(body.previous_threads,
           any(ml.nlu_classifier(.text).intents,
               .name in ("job_scam") and .confidence != "low"
           )
           // and salary mention in previous thread
           and regex.icontains(.text,
                               '\$\d{3} weekly',
                               'week \$\d{3}',
                               'weekly(?:\s+\w+){0,4}\s+\$\d{3}[^\d]'
           )
    )
    // job scam lure delivered as a PDF with an empty email body
    or (
      coalesce(length(body.current_thread.text), 0) == 0
      and length(attachments) == 1
      and (
        any(filter(attachments, .file_type == "pdf"),
            any(file.explode(.),
                // specific weekly salary pattern in the OCR
                regex.icontains(.scan.ocr.raw,
                                '\$\d{3,}(?:\s+\w+){0,3}\s+week',
                                'week(?:\s+\w+){0,3}\s+\$\d{3,}',
                                'weekly(?:\s+\w+){0,4}\s+\$\d{3}[^\d]',
                                '\$\d{3,}[\s.,;:-]{0,8}week'
                )
                and (
                  regex.icontains(.scan.ocr.raw,
                                  'fully remote',
                                  'remote\b[\s-]*(?:work|position|role|job|employee|worker|assistant|opportunit)',
                                  'remotely',
                                  'work[\s-]?from[\s-]?home',
                                  'equal opportunity employer',
                                  'how to apply',
                                  'submit (?:your )?application',
                                  'open to all (?:majors|backgrounds|students)',
                                  'employment opportunity',
                                  '\bhiring\b'
                  )
                  or any(ml.nlu_classifier(.scan.ocr.raw).intents,
                         .name in ("job_scam") and .confidence != "low"
                  )
                )
                and not regex.icontains(.scan.ocr.raw,
                                        'unemployment',
                                        'monetary (?:re)?determination',
                                        'weekly benefit amount',
                                        'supplemental unemployment',
                                        'work search activit'
                )
            )
        )
        // job scam lure delivered as a DOCX with no previous threads
        or (
          length(body.previous_threads) == 0
          and any(filter(attachments, .file_type == "docx"),
                  any(file.explode(.),
                      regex.icontains(.scan.strings.raw,
                                      '\$\d{3,}(?:\s+\w+){0,3}\s+week',
                                      'week(?:\s+\w+){0,3}\s+\$\d{3,}',
                                      'weekly(?:\s+\w+){0,4}\s+\$\d{3}[^\d]',
                                      '\$\d{3,}[\s.,;:-]{0,8}week'
                      )
                      and (
                        regex.icontains(.scan.strings.raw,
                                        'fully remote',
                                        'remote\b[\s-]*(?:work|position|role|job|employee|worker|assistant|opportunit)',
                                        'remotely',
                                        'work[\s-]?from[\s-]?home',
                                        'equal opportunity employer',
                                        'how to apply',
                                        'submit (?:your )?application',
                                        'open to all (?:majors|backgrounds|students)',
                                        'employment opportunity',
                                        '\bhiring\b'
                        )
                        or any(ml.nlu_classifier(.scan.strings.raw).intents,
                               .name in ("job_scam") and .confidence != "low"
                        )
                      )
                      and not regex.icontains(.scan.strings.raw,
                                              'unemployment',
                                              'monetary (?:re)?determination',
                                              'weekly benefit amount',
                                              'supplemental unemployment',
                                              'work search activit'
                      )
                  )
          )
        )
      )
    )
  )
  and length(body.current_thread.links) < 10
  
  // negating income / job verification senders
  and not (
    sender.email.domain.root_domain in (
      'loandepot.com',
      'sofi.com',
      'lensa.com',
      'indeed.com',
      'ziprecruiter.com',
      'glassdoor.com',
      'postjobfree.com',
      'jobplacements.com'
    )
    and headers.auth_summary.dmarc.pass
  )
attack_types:
  - "BEC/Fraud"
tactics_and_techniques:
  - "Social engineering"
detection_methods:
  - "Content analysis"
  - "Natural Language Understanding"
  - "Header analysis"
  - "Sender analysis"
id: "af7f9e21-54a1-5bba-a70d-e4d52a13eae3"