Written by Rune Larsen, Product Marketing Manager | 06 August 2021
* By subscribing to the latest news from our blog, you consent to us storing your email address, and sending you monthly emails. You can, at any time, retract this consent.
The number of malicious hacker attacks has increased dramatically over the last three years. One of the most damaging types of attacks, often executed over DNS, is accomplished through command and control, also called C2 or C&C callbacks.
Let's have a look at how hackers use this technique to infect their victims.
A command-and-control server is a computer that is controlled by a cybercriminal. Command-and-control servers are used by attackers to maintain communications and send commands to systems inside a target network compromised by malware. These systems can include computers, smartphones, and even IoT devices connected to the network.
C2 servers act as command centres from where malware receives its commands. They are also used to collect and store stolen data. Establishing C2 communications is a vital step for attackers to access network resources.
The attacker starts by infecting a computer, which may sit behind a firewall. This can be achieved in several ways:
Once a machine is compromised, the hacker will ping the infected computer or device for a callback to test the new connection. The infected computer will then carry out the commands from the attacker's C2 server and may install additional software.
The attacker now has complete control of the victim's computer and can execute any code. The malicious code will typically spread to more computers, creating a botnet – a network of infected machines. In this way, an attacker who is not authorised to access a company's network can obtain full control of that network.
C2 attacks pose real dangers to shipping companies, with potentially severe operational, financial and reputational risks. Typically, attackers want to achieve the following:
Editor's note: This article was originally published in October 2019 and has been revised and updated for accuracy and comprehensiveness.
Rune Larsen is Product Marketing Manager in Dualog. Educated in business strategy and marketing from the Arctic University of Norway, he has more than 25 years of experience in the creative industry, where he worked as a writer, consultant, graphic designer, and creative director in various advertising agencies and design studios. He's been orchestrating brand identity projects, design work and brand building campaigns for a wide range of organisations. He brings a passion for great design to the team, never compromising on the importance of the 'experience' part of UX. When not at the office, he enjoys hiking with his wife or is busy being a football coach for his youngest daughter. His fitness regime involves either running or cross-country skiing. Rune is an avid reader of business-related books, and he loves the occasional bottle of Barolo.