dataset = xdr_data | filter event_type = ENUM.FILE and (event_sub_type = ENUM.FILE_CREATE_NEW or event_sub_type = ENUM.FILE_WRITE or event_sub_type = ENUM.FILE_RENAME) | filter lowercase(actor_process_image_name) in ("wget", "curl", "sh", "bash", "dash", "busybox") and lowercase(action_file_extension) in ("php", "phtml", "phar", "php5", "php7") and (lowercase(action_file_path) contains "/public_html/" or lowercase(action_file_path) contains "/var/www/" or lowercase(action_file_path) contains "/srv/www/" or lowercase(action_file_path) contains "/htdocs/" or lowercase(action_file_path) contains "/wp-content/" or lowercase(action_file_path) contains "/wp-includes/" or lowercase(action_file_path) contains "/wp-admin/") | fields _time, agent_hostname, actor_effective_username, actor_process_image_name, actor_process_command_line, action_file_path, action_file_sha256, causality_actor_process_image_name | sort desc _time