type: trigger
format: 2.0
name: crowdsecurity/CVE-2024-0012
description: "Detect CVE-2024-0012 exploitation attempts"
filter: |
  let request = Lower(evt.Parsed.request);
  evt.Meta.log_type in ['http_access-log', 'http_error-log'] && 
  evt.Meta.http_status in ['404', '403'] &&
  (request matches '/php/.*/\\.js\\.map' || request matches '/index.php/.*\\.js\\.map')
groupby: "evt.Meta.source_ip"
blackhole: 2m
labels:
  type: exploit
  remediation: true
  classification:
    - attack.T1595
    - attack.T1190
    - cve.CVE-2024-0012
  confidence: 3
  spoofable: 0
  behavior: "http:exploit"
  label: "CVE-2024-0012"
  service: panos
