// ===== dns_query_win_nginx.yml (microsoft_xdr)
// CONVERSION FAILED: Error: Error while converting: Unable to determine table name from rule.  The query table is determined in the following order of priority:
// ===== lnx_auditd_web_worker_shell.yml (microsoft_xdr)
// CONVERSION FAILED: Error: Error while converting: Unable to determine table name from rule.  The query table is determined in the following order of priority:
// ===== lnx_nginx_core_dump.yml (microsoft_xdr)
// CONVERSION FAILED: Error: Error while converting: Unable to determine table name from rule.  The query table is determined in the following order of priority:
// ===== lnx_nginx_worker_crash.yml (microsoft_xdr)
// CONVERSION FAILED: Error: Error while converting: Unable to determine table name from rule.  The query table is determined in the following order of priority:
// ===== net_connection_lnx_nginx_dns.yml (microsoft_xdr)
DeviceNetworkEvents
| where InitiatingProcessFolderPath endswith "/nginx" and RemotePort == 53
// ===== net_connection_lnx_nginx_external.yml (microsoft_xdr)
DeviceNetworkEvents
| where InitiatingProcessFolderPath endswith "/nginx" and (not((ipv4_is_in_range(RemoteIP, "127.0.0.0/8") or ipv4_is_in_range(RemoteIP, "10.0.0.0/8") or ipv4_is_in_range(RemoteIP, "172.16.0.0/12") or ipv4_is_in_range(RemoteIP, "192.168.0.0/16") or ipv4_is_in_range(RemoteIP, "::1/128") or ipv4_is_in_range(RemoteIP, "fc00::/7") or ipv4_is_in_range(RemoteIP, "fe80::/10"))))
// ===== proc_creation_lnx_nginx_unexpected_child.yml (microsoft_xdr)
DeviceProcessEvents
| where (InitiatingProcessFolderPath endswith "/nginx" and InitiatingProcessCommandLine contains "worker process") and (not(FolderPath endswith "/nginx"))
// ===== proc_creation_lnx_nginx_worker_child.yml (microsoft_xdr)
DeviceProcessEvents
| where (InitiatingProcessFolderPath endswith "/nginx" and InitiatingProcessCommandLine contains "worker process") and (FolderPath endswith "/sh" or FolderPath endswith "/bash" or FolderPath endswith "/dash" or FolderPath endswith "/zsh" or FolderPath endswith "/ksh" or FolderPath endswith "/busybox" or FolderPath endswith "/python" or FolderPath endswith "/python3" or FolderPath endswith "/perl" or FolderPath endswith "/curl" or FolderPath endswith "/wget" or FolderPath endswith "/nc" or FolderPath endswith "/ncat" or FolderPath endswith "/socat")
// ===== proc_creation_win_nginx_shell.yml (microsoft_xdr)
DeviceProcessEvents
| where InitiatingProcessFolderPath endswith "\\nginx.exe" and (FolderPath endswith "\\cmd.exe" or FolderPath endswith "\\powershell.exe" or FolderPath endswith "\\pwsh.exe" or FolderPath endswith "\\wscript.exe" or FolderPath endswith "\\cscript.exe" or FolderPath endswith "\\rundll32.exe" or FolderPath endswith "\\mshta.exe")
