Testing and Scanning
A key logger basically denotes to a malicious program that has the ability to track a user’s keyboard and mouse inputs so as to log passwords, usernames, and other sensitive information (Abraham et al., 2017). Therefore, in order to detect and get rid of this cyber threat, there is the need to install anti-virus/anti-malware software. In particular, an anti-key logger should be installed; this software puts focus on the real activities of a key logger and flags suspicious behaviour (Abraham et al., 2017). As such, when the anti-key logger identifies a would-be key logger, it stops the program instantly and permits the user to delete the program if necessary.
Black box testing refers to a software testing method where a tester is not knowledgeable about the software’s internal structure. As such, this method is high-level as it puts focus on the software’s behaviour (Abraham et al., 2017). Notably, black box testing is applicable to nearly every phase of software testing. On the contrary, white box testing is where the tester of the software is knowledgeable about the internal workings of the software system. Unlike black box testing, white box testing is perceived as low-level. Notably, the white box method presumes that the logic path in a program or unit is known.
In order to prevent a port scan, there is the need to utilize a firewall to avert access to services/ports that are required to remain private. It is also important to limit access to IP addresses that are known. Moving confidential information and servers at the back of the perimeter of the network and controlling access using a VPN will go a long way in preventing a port scan as well (Dhavale, 2018).

References
Abraham, A., Mauri, J. L., Buford, J., Suzuki, J., & Thampi, S. M. (2017). Advances in computing and communications, part III: First International Conference, ACC 2011, Kochi, India, July 22-24, 2011. Proceedings. Springer.
Dhavale, S. (2018). Constructing an ethical hacking knowledge base for threat awareness and prevention. IGI Global.
Hultgren, G. and Barsoum, Z., 2020. Fatigue assessment in welded joints based on geometrical variations measured by laser scanning. Welding in the World, 64(11), pp.1825-1831.
Wang, Z.L., Yang, J.P., Shi, K., Xu, H., Qiu, F.Q. and Yang, Y.B., 2022. Recent advances in researches on vehicle scanning method for bridges. International Journal of Structural Stability and Dynamics, p.2230005.
Liu, C., Liu, Y., Chen, Y., Zhao, C., Qiu, J., Wu, D., Liu, T., Fan, H., Qin, Y. and Tang, K., 2023. A state-of-the-practice review of three-dimensional laser scanning technology for tunnel distress monitoring. Journal of Performance of Constructed Facilities, 37(2), p.03123001.