Worker Threads
When malware creates a worker thread and passes socket information for communication, it means the malware is setting up a separate execution thread to handle network communications stealthily in the background.
- A worker thread is a secondary thread of execution that runs alongside the main program thread
- Malware uses worker threads to perform malicious activities (like network comms) without disrupting the main process, making detection harder
- A socket is an endpoint for network communication (like an IP + port combination)
- Malware create sockets to connect to a C2 server, exfiltrate data, or receive commands.
- Passing socket information to a worker thread means delegating the networking tasks (sending/receiving data) to a separate thread
Worker thread handles data exchange with the C2 server and execution of various commands.
#worker-threads