Emerging Threatmediumtest

Potential CVE-2024-3400 Exploitation - Palo Alto GlobalProtect OS Command Injection - File Creation

Detects suspicious file creations in the Palo Alto Networks PAN-OS' parent telemetry folder, which are processed by the vulnerable 'dt_curl' script if device telemetry is enabled. As said script overrides the shell-subprocess restriction, arbitrary command execution may occur by carefully crafting filenames that are escaped through this function.

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
Andreas Braathen (mnemonic.io)Created Thu Apr 25bcd95697-e3e7-4c6f-8584-8e3503e6929f2024
Emerging Threat
Active Threat

Developed to detect an active or emerging threat. Prioritize investigation of any alerts and correlate with threat intelligence.

Log Source
paloaltoFile Eventglobalprotect
Productpaloalto← raw: paloalto
CategoryFile Event← raw: file_event
Serviceglobalprotect← raw: globalprotect

Events for file system activity including creation, modification, and deletion.

Definition

Requirements: file creation events need to be ingested from the Palo Alto GlobalProtect appliance

Detection Logic
Detection Logic1 selector
detection:
    selection:
        TargetFilename|contains:
            - '{IFS}'
            - 'base64'
            - 'bash'
            - 'curl'
            - 'http'
        TargetFilename|startswith: '/opt/panlogs/tmp/device_telemetry/'
    condition: selection
False Positives

The PAN-OS device telemetry function does not enforce a standard filename convention, but observations are unlikely.

MITRE ATT&CK

Other

cve.2024-3400detection.emerging-threats
Rule Metadata
Rule ID
bcd95697-e3e7-4c6f-8584-8e3503e6929f
Status
test
Level
medium
Type
Emerging Threat
Created
Thu Apr 25
Path
rules-emerging-threats/2024/Exploits/CVE-2024-3400/file_event_paloalto_globalprotect_exploit_cve_2024_3400_command_inject_file_creation.yml
Raw Tags
attack.executioncve.2024-3400detection.emerging-threats
View on GitHub