A brute force attack is a method used by hackers to gain unauthorized access to a system or encrypted data by trying all possible combinations of passwords or encryption keys until the correct one is found. It’s akin to a burglar trying every possible combination to open a lock.