Understanding Port Scanning: Techniques, Tools, and Implications