{
  "scope": "Synthetic inert fixtures. Strings are never submitted, executed as PHP/shell, or used for network contact.",
  "web": [
    {"name":"observed scanner label","event":{"cs-user-agent":"php2shell-scan/109618"},"match":true},
    {"name":"observed alternate label","event":{"cs-user-agent":"php2shell-109618"},"match":true},
    {"name":"observed shellflow label","event":{"cs-user-agent":"shellflow-php2shell/1.0"},"match":true},
    {"name":"case variation","event":{"cs-user-agent":"PHP2SHELL-SCAN/109618"},"match":true},
    {"name":"ordinary browser","event":{"cs-user-agent":"Mozilla/5.0"},"match":false},
    {"name":"missing UA is not negative exploitation evidence","event":{},"match":false},
    {"name":"keyword in URI only","event":{"cs-user-agent":"Mozilla/5.0","cs-uri-query":"/php2shell-report"},"match":false}
  ],
  "process": [
    {"name":"FPM shell","event":{"ParentImage":"/usr/sbin/php-fpm","Image":"/bin/sh"},"match":true},
    {"name":"versioned FPM downloader","event":{"ParentImage":"/usr/sbin/php-fpm8.3","Image":"/usr/bin/curl"},"match":true},
    {"name":"CGI downloader","event":{"ParentImage":"/usr/bin/php-cgi8.2","Image":"/usr/bin/wget"},"match":true},
    {"name":"numeric suffix FPM shell","event":{"ParentImage":"/opt/php-fpm83","Image":"/usr/bin/bash"},"match":true},
    {"name":"normal application utility","event":{"ParentImage":"/usr/sbin/php-fpm","Image":"/usr/bin/convert"},"match":false},
    {"name":"PHP CLI out of scope","event":{"ParentImage":"/usr/bin/php","Image":"/bin/sh"},"match":false},
    {"name":"parent suffix lookalike","event":{"ParentImage":"/usr/sbin/php-fpm.bak","Image":"/bin/sh"},"match":false},
    {"name":"child suffix lookalike","event":{"ParentImage":"/usr/sbin/php-fpm","Image":"/usr/bin/curl-config"},"match":false},
    {"name":"grandchild not direct child","event":{"ParentImage":"/bin/sh","Image":"/usr/bin/curl"},"match":false},
    {"name":"Apache mod_php not covered","event":{"ParentImage":"/usr/sbin/apache2","Image":"/bin/sh"},"match":false},
    {"name":"missing parent","event":{"Image":"/bin/sh"},"match":false},
    {"name":"busybox applet not covered","event":{"ParentImage":"/usr/sbin/php-fpm","Image":"/bin/busybox"},"match":false},
    {"name":"case-sensitive Linux basename","event":{"ParentImage":"/usr/sbin/php-fpm","Image":"/bin/SH"},"match":false}
  ],
  "text": [
    {"name":"label prose intentionally matches weak rule","text":"This is a PHP2Shell research report.","rules":["DC_PHP2Shell_Text_Label"]},
    {"name":"generic upload-progress alone","text":"PHP_SESSION_UPLOAD_PROGRESS=training-file","rules":[]},
    {"name":"inert disconnected code tokens","text":"PHP_SESSION_UPLOAD_PROGRESS\n<?php [INVALID TRAINING TEXT]\nsystem(\nEND OF INERT FIXTURE","rules":["DC_Upload_Progress_PHP_Function_Tokens"]},
    {"name":"case variation function token","text":"PHP_SESSION_UPLOAD_PROGRESS\n<?PHP [INVALID TRAINING TEXT]\nSHELL_EXEC (\nEND OF INERT FIXTURE","rules":["DC_Upload_Progress_PHP_Function_Tokens"]},
    {"name":"PHP without upload-progress","text":"<?php [INVALID TRAINING TEXT]\nsystem(","rules":[]},
    {"name":"upload-progress and PHP without function","text":"PHP_SESSION_UPLOAD_PROGRESS\n<?php [INVALID TRAINING TEXT]","rules":[]},
    {"name":"ordinary text","text":"Normal upload contents and browser information.","rules":[]},
    {"name":"function lookalike","text":"PHP_SESSION_UPLOAD_PROGRESS\n<?php [INVALID TRAINING TEXT]\nnotsystem(","rules":[]}
  ],
  "http_body": [
    {"name":"multipart inert tokens","content_type":"multipart/form-data; boundary=fixture","body":"PHP_SESSION_UPLOAD_PROGRESS\n<?php [INVALID TRAINING TEXT]\nsystem(","match":true},
    {"name":"benign multipart progress","content_type":"multipart/form-data; boundary=fixture","body":"PHP_SESSION_UPLOAD_PROGRESS\nordinary-data","match":false},
    {"name":"not multipart","content_type":"text/plain","body":"PHP_SESSION_UPLOAD_PROGRESS\n<?php [INVALID TRAINING TEXT]\nsystem(","match":false},
    {"name":"missing retained body","content_type":"multipart/form-data; boundary=fixture","body":"","match":false}
  ]
}
