title: PHP Configuration File Change
id: b3c4d8e1-9f20-5a67-81c2-4d5e6f7089ab
status: experimental
description: |
  OUR PATTERN. A php.ini, .user.ini or php-fpm.conf file is created or modified. This is not a
  condition from the 19 Nov advisories. It is a persistence and hardening lead (OUR); see KQL Q3.
  PHP 19 Nov 2026 security release. Pack 1.0.0. Not run against live data.
references:
  - https://www.php.net/ChangeLog-8.php
author: CybaVerse threat hunt
date: 2026-11-19
tags:
  - attack.persistence
  - attack.t1556
logsource:
  category: file_event
  product: linux
detection:
  selection:
    TargetFilename|endswith:
      - '/php.ini'
      - '/.user.ini'
      - '/php-fpm.conf'
  condition: selection
falsepositives:
  - Package updates and administrator edits
level: medium
