C2 Profiles¶
C2 profile lifecycle — start/stop listeners, IOCs, sample messages, configuration.
Auto-generated
This page is generated from source code by the schema extractor. Do not edit by hand — changes will be overwritten.
mythic_get_c2_profiles¶
List all installed C2 communication profiles (e.g. http, httpx, smb, tcp). Each profile acts as a listener/handler for agent callbacks. IMPORTANT: A C2 profile must be STARTED (running=true) before payloads using it can callback. Not all agents support all C2 profiles — check the 'supported_agents' field. Typical workflow: 1) list profiles, 2) start the profile, 3) get profile parameters, 4) create payload with those parameters.
No parameters.
mythic_get_c2_profile¶
Get details of a specific C2 profile by ID, including its current configuration parameter values (callback_host, callback_port, etc.) and whether it is currently running.
Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
profile_id | int | required | ID of the C2 profile |
mythic_create_c2_instance¶
Create a named C2 profile configuration instance. Note: most users do NOT need this — C2 profiles are already installed and just need to be STARTED with mythic_start_c2_profile. Only use this to create additional named configurations of an existing profile.
Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
c2profile_id | int | required | ID of the C2 profile to create an instance of |
instance_name | string | required | Name for this C2 profile instance |
c2_instance | string | required | JSON string of the instance configuration |
mythic_import_c2_instance¶
Import a C2 profile instance from configuration JSON
Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
c2profile_name | string | required | Name of the C2 profile type (e.g. http |
instance_name | string | required | Name for this imported C2 instance |
c2_instance | string | required | JSON string of the instance configuration |
mythic_start_c2_profile¶
Start a C2 profile, which begins listening for agent callbacks. This is REQUIRED before deploying any payload — without a running C2 profile, agents cannot call back. Use mythic_get_c2_profiles first to find the profile ID and check if it is already running.
Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
profile_id | int | required | ID of the C2 profile to start |
mythic_stop_c2_profile¶
Stop a running C2 profile listener. WARNING: This will prevent any agents using this profile from calling back.
Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
profile_id | int | required | ID of the C2 profile to stop |
mythic_get_c2_profile_output¶
Get the stdout/stderr output from a C2 profile instance
Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
profile_id | int | required | ID of the C2 profile |
mythic_c2_host_file¶
Host a file on a C2 profile for agent download. Requires the C2 profile ID (from mythic_get_c2_profiles), the file UUID, and the URL path where the file will be served.
Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
profile_id | int | required | ID of the C2 profile |
file_uuid | string | required | UUID of the file to host |
host_url | string | required | URL path where the file will be hosted (e.g. /download/file.exe) |
mythic_c2_sample_message¶
Get a sample C2 message for a specific message type
Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
profile_id | int | required | ID of the C2 profile |
mythic_c2_get_ioc¶
Get indicators of compromise (IOCs) generated by a C2 profile
Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
profile_id | int | required | ID of the C2 profile |