During a cyber attack, hackers attempt to gain unauthorized access to a computer system, network, or device. They may exploit vulnerabilities, install malware, or trick users into revealing their login credentials. If successful, the attackers can steal or destroy data, disrupt operations, or gain control over the system.