Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions C2_Profiles/tcp/mythic/TCP.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 5 additions & 1 deletion documentation-c2/tcp/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down Expand Up @@ -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.
Expand Down