How to find which process used a port? Possible Trojan.
I got this warning on my router:
Threat
A Network Trojan was Detected. Signature ET MALWARE
Suspicious User Agent (Autoupdate). From: 10.0.1.3:61379, to: 54.36.160.184:80, protocol: TCP
I did "% lsof -i" to try to figure out which process it was, but none was using that port when I checked. Is there any way to monitor the port and catch which process tries to use it, the next time it does?
Mac Pro, macOS 10.13