Find sigma rule
Attack: Application Layer Protocol: Web Protocols
Adversaries may communicate using application layer protocols associated with web traffic to avoid detection/network filtering by blending in with existing traffic. Commands to the remote system, and often the results of those commands, will be embedded within the protocol traffic between the client and server.
Protocols such as HTTP/S(Citation: CrowdStrike Putter Panda) and WebSocket(Citation: Brazking-Websockets) that carry web traffic may be very common in environments. HTTP/S packets have many fields and headers in which data can be concealed. An adversary may abuse these protocols to communicate with systems under their control within a victim network while also mimicking normal, expected traffic.
MITRE
Tactic
- command-and-control
technique
- T1071.001
Test : Malicious User Agents - CMD
OS
- windows
Description:
This test simulates an infected host beaconing to command and control. Upon execution, no out put will be displayed. Use an application such as Wireshark to record the session and observe user agent strings and responses.
Inspired by APTSimulator - https://github.com/NextronSystems/APTSimulator/blob/master/test-sets/command-and-control/malicious-user-agents.bat
Executor
command_prompt
Sigma Rule
-
proc_creation_win_cmd_redirect.yml (id: 4f4eaa9f-5ad4-410c-a4be-bc6132b0175a)
-
proc_creation_win_curl_useragent.yml (id: 3286d37a-00fd-41c2-a624-a672dcd34e60)