Command and control (C2) is the process of connecting with a computer virus, worm, or malicious program that has been triggered on another computer in the context of cyber security.