Discovering Command and Control Channels Using Reinforcement Learning

Cheng Wang, Akshay Kakkar, Christopher Redino, Abdul Rahman, Ajinsyam S +5 more
1/13/2024
cs.CRcs.LG

No confident code implementation found for this paper.

Abstract

Command and control (C2) paths for issuing commands to malware are sometimes the only indicators of its existence within networks. Identifying potential C2 channels is often a manually driven process that involves a deep understanding of cyber tradecraft. Efforts to improve discovery of these channels through using a reinforcement learning (RL) based approach that learns to automatically carry out C2 attack campaigns on large networks, where multiple defense layers are in place serves to drive efficiency for network operators. In this paper, we model C2 traffic flow as a three-stage process and formulate it as a Markov decision process (MDP) with the objective to maximize the number of valuable hosts whose data is exfiltrated. The approach also specifically models payload and defense mechanisms such as firewalls which is a novel contribution. The attack paths learned by the RL agent can in turn help the blue team identify high-priority vulnerabilities and develop improved defense strategies. The method is evaluated on a large network with more than a thousand hosts and the results demonstrate that the agent can effectively learn attack paths while avoiding firewalls.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2024discovering,
  title  = {Discovering Command and Control Channels Using Reinforcement Learning},
  author = {Cheng Wang and Akshay Kakkar and Christopher Redino and Abdul Rahman and Ajinsyam S and Ryan Clark and Daniel Radke and Tyler Cody and Lanxiao Huang and Edward Bowen},
  year   = {2024},
  eprint = {2401.07154},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.07154v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2401.07154.svg)](https://codeofpaper.com/paper/2401.07154)

Discussion