// ===== dns_query_win_nginx.yml (sentinel_asim)
// 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 (sentinel_asim)
// 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 (sentinel_asim)
// 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 (sentinel_asim)
// 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 (sentinel_asim)
imNetworkSession
| where (SrcProcessName endswith "/nginx" or DstProcessName endswith "/nginx") and DstPortNumber == 53
// ===== net_connection_lnx_nginx_external.yml (sentinel_asim)
imNetworkSession
| where (SrcProcessName endswith "/nginx" or DstProcessName endswith "/nginx") and (not((ipv4_is_in_range(DstIpAddr, "127.0.0.0/8") or ipv4_is_in_range(DstIpAddr, "10.0.0.0/8") or ipv4_is_in_range(DstIpAddr, "172.16.0.0/12") or ipv4_is_in_range(DstIpAddr, "192.168.0.0/16") or ipv4_is_in_range(DstIpAddr, "::1/128") or ipv4_is_in_range(DstIpAddr, "fc00::/7") or ipv4_is_in_range(DstIpAddr, "fe80::/10"))))
// ===== proc_creation_lnx_nginx_unexpected_child.yml (sentinel_asim)
imProcessCreate
| where ((ParentProcessName endswith "/nginx" or ActingProcessName endswith "/nginx") and ActingProcessCommandLine contains "worker process") and (not(TargetProcessName endswith "/nginx"))
// ===== proc_creation_lnx_nginx_worker_child.yml (sentinel_asim)
imProcessCreate
| where ((ParentProcessName endswith "/nginx" or ActingProcessName endswith "/nginx") and ActingProcessCommandLine contains "worker process") and (TargetProcessName endswith "/sh" or TargetProcessName endswith "/bash" or TargetProcessName endswith "/dash" or TargetProcessName endswith "/zsh" or TargetProcessName endswith "/ksh" or TargetProcessName endswith "/busybox" or TargetProcessName endswith "/python" or TargetProcessName endswith "/python3" or TargetProcessName endswith "/perl" or TargetProcessName endswith "/curl" or TargetProcessName endswith "/wget" or TargetProcessName endswith "/nc" or TargetProcessName endswith "/ncat" or TargetProcessName endswith "/socat")
// ===== proc_creation_win_nginx_shell.yml (sentinel_asim)
imProcessCreate
| where (ParentProcessName endswith "\\nginx.exe" or ActingProcessName endswith "\\nginx.exe") and (TargetProcessName endswith "\\cmd.exe" or TargetProcessName endswith "\\powershell.exe" or TargetProcessName endswith "\\pwsh.exe" or TargetProcessName endswith "\\wscript.exe" or TargetProcessName endswith "\\cscript.exe" or TargetProcessName endswith "\\rundll32.exe" or TargetProcessName endswith "\\mshta.exe")
