A brute force attack is when an attacker tries to attempt all possible combinations of a password to gain access to an account. ... A dictionary attack is a type of brute force attack where the attacker, instead of trying all possible combinations, tries password from a dictionary file.