A penetration test, or sometimes pentest, is a software attack on a computer system that looks for security weaknesses, potentially gaining access to the computer's features and data.The process typically identifies the target systems and a particular goal—then reviews available information and undertakes various means to attain the goal.