216.73.216.36

Writing a BugSleep C2 server and detecting its traffic with Snort

· Published 30/10/2024 15:14 · Modified 30/10/2024 22:32

Export JSON

Essential information

Published
30/10/2024 15:14
Modified
30/10/2024 22:32
Tags
2024-10-30 bugsleep c2 protocol muddyrot python server rat reverse engineering snort detection
Related entities
10 techniques (mitre), 2 malware

Description

This analysis focuses on the implant, also known as , a remote access tool that provides reverse shell and file I/O capabilities. The article details the process of 's protocol, creating a functional C2 server, and developing Snort rules for traffic detection. Key aspects include the implant's use of a bespoke over TCP, its encryption methods, and command structure. The researchers successfully implemented various commands such as ping, file operations, and reverse shell in a Python C2 server. The development of Snort rules for detecting traffic is also discussed, highlighting challenges in rule creation and the use of flowbits for improved detection accuracy.

External references