C2 AGENT/USER-AGENT CONDITIONAL REDIRECTION (OPSEC)

this custom rule will only process requests originating from the victim environment based on conditions. if the criteria doesn't match, the victim's traffic gets redirected to a legitimate website. if the criteria matches, the traffic gets redirected to the adversary C2 infrastructure.
CONDITIONS
User Agent
the endpoint/redirector will only process victim traffic if a specific user-agent string is identified
if traffic matches, the redirector forwards the traffic to the C2 server
if traffic doesn't match, the redirector forwards the traffic to a legitimate website or gets dropped
IP Range/Target Domain
the endpoint/redirector will only process victim traffic if a specific ip range is identified
if traffic matches, the redirector forwards the traffic to the C2 server
if traffic doesn't match, the redirector forwards the traffic to a legitimate website or the packet gets dropped
Last updated