diff --git a/C2_Profiles/tcp/mythic/TCP.py b/C2_Profiles/tcp/mythic/TCP.py index ce42148..63b0c76 100644 --- a/C2_Profiles/tcp/mythic/TCP.py +++ b/C2_Profiles/tcp/mythic/TCP.py @@ -19,6 +19,13 @@ class TCP(C2Profile): randomize=True, required=False, ), + C2ProfileParameter( + name="localhost_only", + description="Bind to localhost only", + default_value=False, + required=False, + parameter_type=ParameterType.Boolean, + ), C2ProfileParameter( name="killdate", description="Kill Date", diff --git a/documentation-c2/tcp/_index.md b/documentation-c2/tcp/_index.md index 593cde5..3d51181 100644 --- a/documentation-c2/tcp/_index.md +++ b/documentation-c2/tcp/_index.md @@ -6,7 +6,7 @@ weight = 5 ## Summary -This TCP Command and Control (C2) Profile is a Peer-to-Peer (P2P) profile for allowing inter-agent communications. +This TCP Command and Control (C2) Profile is a Peer-to-Peer (P2P) profile for allowing inter-agent communications. The format for messages on the wire is simple. We have `messageA`, a properly formatted base64 Mythic message, that we need to send over the wire in 1KB chunks. Each chunked packet looks like the following: | Byte Size | Meaning | @@ -34,6 +34,10 @@ This profile currently only has a few configuration options: Which port the agent should bind to. This is currently a bind-only profile. In the future this is likely to change to allow specifying a direction, but for now it's bind-only. +### localhost_only + +Whether the agent should bind to localhost only. + ### killdate When the agent should stop executing.