English

Discovering Command and Control (C2) Channels on Tor and Public Networks Using Reinforcement Learning

Cryptography and Security 2024-05-17 v1 Artificial Intelligence

Abstract

Command and control (C2) channels are an essential component of many types of cyber attacks, as they enable attackers to remotely control their malware-infected machines and execute harmful actions, such as propagating malicious code across networks, exfiltrating confidential data, or initiating distributed denial of service (DDoS) attacks. Identifying these C2 channels is therefore crucial in helping to mitigate and prevent cyber attacks. However, identifying C2 channels typically involves a manual process, requiring deep knowledge and expertise in cyber operations. In this paper, we propose a reinforcement learning (RL) based approach to automatically emulate C2 attack campaigns using both the normal (public) and the Tor networks. In addition, payload size and network firewalls are configured to simulate real-world attack scenarios. Results on a typical network configuration show that the RL agent can automatically discover resilient C2 attack paths utilizing both Tor-based and conventional communication channels, while also bypassing network firewalls.

Cite

@article{arxiv.2402.09200,
  title  = {Discovering Command and Control (C2) Channels on Tor and Public Networks Using Reinforcement Learning},
  author = {Cheng Wang and Christopher Redino and Abdul Rahman and Ryan Clark and Daniel Radke and Tyler Cody and Dhruv Nandakumar and Edward Bowen},
  journal= {arXiv preprint arXiv:2402.09200},
  year   = {2024}
}
R2 v1 2026-06-28T14:48:27.838Z