LoFP LoFP / t1095

t1095

TitleTags
false-positives (fp) can appear if another remote terminal service is being used to connect to it's listener but typically ssh is used in these scenarios.
if you work in a public sector then it may be good to exclude things like endswith \".edu\", \".gov\" and or \".mil\"
internal or legitimate external domains using dnssec. verify if these are legitimate dnssec domains and then exclude them.
legitimate ncat use
legitimate site-to-site or client vpns that use ipsec nat traversal will establish outbound tunnels on udp port 4500. where these tunnels are expected, the internal source hosts or external vpn gateway ip addresses can be excluded. requiring both the source and destination port to be 4500 already removes alerts caused by an external server coincidentally replying to an ephemeral udp source port of 4500.
netcat is a dual-use tool that can be used for benign or malicious activity. netcat is included in some linux distributions so its presence is not necessarily suspicious. some normal use of this program, while uncommon, may originate from scripts, automation tools, and frameworks.
security training, ctf-style images, or vendor diagnostics may include bash redirection or /dev/tcp examples. baseline approved images then expand exclusions as needed.
unknown