Files
2026-04-16 08:07:33 -05:00

2268 lines
86 KiB
Markdown

# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [3.4.35] - 2026-04-16
### Changed
- Merged PR #546 to address missing return in GenerateAPITokenWebhook that would allow non-admin users to generate API Tokens for Bot accounts
- Added server name to emitted log messages
- Merged PR #545 to address missing operation_id in task's log messages for logging containers
- Updated C2 profile code in the UI to properly handle `ui_position` from C2 Profile parameters in payload build
## [3.4.34] - 2026-04-13
### Changed
- Updated way that SendAllOperationsMessage functions to reduce duplicate messages to event log
- Reduced the number of lookups per error message to increment count by caching error lookup data
- Updated event log messages to ensure proper UTF8 encoding (and removal of bad characters)
- Using channels to ensure no duplicate messages are created due to go concurrency
## [3.4.33] - 2026-04-10
### Changed
- Fixed an issue where payload/command syncing would error out and leave dangling database connections
- Updated the postgres docker image to use customized database info for health checks
## [3.4.32] - 2026-04-06
### Changed
- Merged PR to add GET route for /auth_acs/:containerName/:IDPName that was POST only
## [3.4.31] - 2026-03-23
### Changed
- Removed code in `upload` to overwrite uploaded filename with destination filename in filemeta tracking
- Updated `download` code to only write files to disk on new chunks for speed improvements
- Updated the `rm` tracking to not blanket wildcard paths, but first check if it's a directory and make sure there's a trailing slash before wildcarding
## [3.4.30] - 2026-03-20
### Changed
- Added a `received_chunk_ids` map to the database for `filemeta` to track not just chunks, but which chunks are received
- this helps prevent duplicate chunks getting counted multiple times and causing faulty downloads
- Added some default values for `DisplayPath` that were causing null constraint errors on the database
- Fixed a remote path null value with uploading eventing files
## [3.4.29] - 2026-03-18
### Changed
- Adjusted the MythicRPCFileSearch function to not return tracked copies of existing files
## [3.4.28] - 2026-03-17
### Changed
- Fixed a bug where file transfers would fail if no remote path supplied
## [3.4.27] - 2026-03-16
### Changed
- Fixed a bug where mythic would try to write to a null message after processing a bad message
## [3.4.26] - 2026-03-12
### Changed
- Fixed a bug in "Callback Imports" that wouldn't recognize exising build parameter types
## [3.4.25] - 2026-03-04
### Changed
- Updated rpfwd to do burst proxy reads similar to socks
## [3.4.24] - 2026-02-18
### Changed
- Updated PushC2 to funnel traffic into one channel instead of two
- Updated socks proxy reads to do a basic burst for read sizes to reduce number of concurrent waiting messages
- this increases throughput for socks traffic with a bit more bursty memory usage
- Updated key reflection in agent messages to omit cwd and impersonation_context fields
- Updated empty BFS paths to be cached as well so non-existent paths aren't recomputed a bunch
## [3.4.23] - 2026-02-08
### Changed
- Updated the payload type syncing to resync for all payload types, not just new wrappers
- this fixes a bug where payload types syncing for the first time after their wrapper synced wouldn't match them up
## [3.4.22] - 2026-02-02
### Changed
- Fixed an issue where building payloads while c2 profiles were syncing would double issue tasks to c2 profile and hang
- Fixed an issue here cached p2p paths weren't getting flushed properly
## [3.4.21] - 2026-01-14
### Changed
- Fixed an issue where downloaded files weren't having their sizes reflected after completion in the file browser
## [3.4.20] - 2026-01-08
### Changed
- Updated IterateAndAct to treat a crypto value of "" the same as "none"
## [3.4.19] - 2025-12-31
### Changed
- Updated processing of skipped steps to indicate skip instead of most recent step that was updated
## [3.4.18] - 2025-12-23
### Changed
- Updated how processing happens for the `update_deleted` with file browser data
- data is now processed as part of two channels to ensure ordering and supporting multi-chunk file browser data
## [3.4.17] - 2025-12-23
### Changed
- Fixed an issue where uploaded files were getting treated as folders in the file browsers
- Fixed an issue where uploaded files would get the wrong timestamp in the file browser
- Updated go modules
## [3.4.16] - 2025-12-23
### Changed
- Fixed an issue where supplying a cron job in eventing as something other than string would crash due to type conversion
## [3.4.15] - 2025-12-22
### Changed
- Fixed an issue with translation containers sometimes not getting associated with their payload types on first sync
## [3.4.14] - 2025-12-18
### Changed
- Added database triggers for `filemeta`, `credential`, and `keylog` to update timestamp when other fields change
## [3.4.13] - 2025-12-15
### Changed
- Updated MythicRPCTaskCreate to require OperatorID, TaskID, or EventStepInstanceID
- This is an update to make sure the new task is associated with the right user and not the callback creator
- Updated the default tasking to Split Tasking instead of the collapsable accordian tasking
## [3.4.12] - 2025-12-11
### Changed
- Added more context to the Proxy start event log message
- Added a new event log message when a Proxy stops
- Updated the CustomBrowserExportFunctionMessage to also take in a callback group
- Updated the SendMythicRPCFileCreate call to also allow creation by OperationID
## [3.4.11] - 2025-12-10
### Changed
- Added `CustomBrowser` containers to allow customized file-like browser creation
- This includes an "export" functionality that's a custom function you can implement per browser type
- This includes a new field in `responses` for `custom_browser`
- Added `SendMythicRPCCallbackTokenSearch`
- Added `SendMythicRPCCustomBrowserSearch`
- Added `verifier_regex` option to CommandParameters
- Allows you to provide regex that must match the supplied value
- Changed `mythictree` to move `has_children` out of metadata in support of CustomBrowsers
- Changed `mythictree` to have new `display_path` field separate from `full_path` in support of CustomBrowsers
- Added field to `payload` to track the version of the backing payload_type when the payload was created
- This makes it easier to track payloads as you're doing payload type development/updates
- Added `supported_c2` and `supported_wrapping` to Payload Types to track supported C2/Wrappers
- This is now used to "resync" data rather than asking the container to resync back to Mythic
- Changed `token_id` to int64 (from uint64) to match similar change in Postgres database to BigInt from just Integer
- Updated operation event log auto resolver to use new `warining=true` vs `level='warning'` check
- Added a 5s sleep between container's OnStart messages to help with multiple operations bombarding a container in rapid succession
- Updated standard RPC timeouts to 10s instead of 5s
- Updated auto re-hosting of files to have a 10s delay between files
- Updated ContainerVersion out of bounds message to be a bit clearer
- Updated `SendMythicRPCCallbackUpdate` to allow specifying the `dead` attribute
- Updated `SendMythicRPCFileSearch` to allow specifying a PayloadUUID in addition to AgentFileID in `AgentFileID` field
- Updated `SendMythicRPCResponseCreate` to go through the same process as an agent's `user_output`
- This allows responses in this way to be intercepted and emitted to logging
- Added some mutexes when syncing PayloadTypes to prevent possible race conditions
- Updated file downloads to allow specifying a negative `total_chunks` until you're done and know how many chunks total there are
- Added new `database` tab to file previews to run SQL queries on database right in the browser
- Added the following new options for BuildParameter's HideConditionOperator
- LessThan, GreaterThan, LessThanOrEqual, GreaterThanOrEqual, StartsWith, EndsWith, Contains, NotContains
- [UI Updates](/MythicReactUI/CHANGELOG.MD#0383---2025-12-10)
- [CLI Updates](/Mythic_CLI/Changelog.md#0321---2025-12-10)
## [3.4.10] - 2025-10-31
### Changed
- Fixed an issue with c2 profile logos not getting reset if removed
## [3.4.9] - 2025-10-30
### Changed
- Fixed an issue with eventing where payload data wasn't getting passed to new callback triggers in some situations
## [3.4.8] - 2025-10-29
### Changed
- Added support for a new MythicRPCCallbackEdgeRemove RPC call to allow developers to selectively remove edges
- Added support for a new MythicRPCHandleAgentJson RPC call to allow developers to submit standard Mythic JSON messages here for processing after using a translation container instead of hitting a bunch of various other RPC calls to create their needed objects
- Updating MythicRPCCallbackEdgeSearch to also return self edges - i.e. an egress' edge to Mythic
- This is a change where before it would only return P2P edges in the graph
- Updated MythicRPCTaskCreate to take in either AgentCallbackID or CallbackID
- Added a few more spots in agent message processing to emit error information to the operation event log
## [3.4.7] - 2025-10-28
### Changed
- Added "ui_position" fields to BuildParameters and C2 Profile Parameters for display ordering when building payloads
- Added "dynamic_query_function" option to BuildParameters to allow dynamic execution and choice creation during build process
- Added "copy_of_file_id" to FileMeta to better tracking when Mythic creates copies of files
- When uploading fileA to callback1, Mythic tracks this association so it can record things like upload location
- If fileA (by same UUID) is uploaded again (callback1 with a different task or callback2), Mythic creates a copy of the file meta and tracks it
- This allows Mythic to track the new upload location separate from the first upload
- Both of these files are backed by the same file on disk, so deleting one deletes all copies
- This is now better represented in the UI on the file search page
## [3.4.6] - 2025-10-16
### Changed
- Adjusted how file browser permissions are treated by default
- they're left as-is and not force-converted to an array
## [3.4.5] - 2025-10-16
### Changed
- Fixed a bug where creating payloads via scripting without providing values wasn't picking up dictionary based payload type c2 parameter deviations
## [3.4.4] - 2025-10-16
### Changed
- Updated apitoken create mutation to also return creation_time
## [3.4.3] - 2025-10-13
### Changed
- Fixed an issue with the SendMythicRPCCallbackGraphEdgeSearch returning null data for the callbacks
## [3.4.2] - 2025-10-10
### Changed
- Fixed a bug with default dictionary values for scripting parameters
- Updated the send event log scripting call to account for mythic_sync and level=warning values
- Updated delegate tasking to not include the `token` field if it's 0
## [3.4.1] - 2025-10-09
### Changed
- Fixed an issue with download tags not getting added to files
- Updated last checkin time tracking to bulk update once/s instead of once/s per callback
- the goal is to minimize unnecessary database writes that might spike the cpu for repeated actions
- Updated to experimental golang json v2 for performance increases
## [3.4.0] - 2025-10-07
### Changed
- Added "selected_os" array option to some eventing triggers to additionally limit not just on payload type but OS as well
- this is the "os" you select when you build a payload
- Modified the UI to allow creating new eventing workflows based on existing ones with a single button
- Added group_name, supported_os, and hide_conditions to build parameters for more dynamic build experiences
- Added supports_multiple_c2_in_build, supports_multiple_c2_instances, c2_parameter_deviations to payload types
- This allows payload types to slightly tweak c2 profile configurations they support and indicating how many c2s are allowed per build
- c2 parameter deviations allow indicating parameters are not supported at all, that they have a different set of choices, and that the default value can be something else
- Added semver option for payload types to more accurately convey their current version outside of their description
- Updated the payload build workflow in the UI
- Added an option for payload types to hook into the `help` function and provide their own as part of their payload type definition
- Added a notification to callback tabs if there's new task changes while you're not on the tab
- Updated delegate tasks for the same target callback to be grouped together into a single message instead of a separate message per task
- Fixed a bug with MythicRPCCallbackSearch where all the timestamps would be 0
- Added support for C2 Profiles to include their own agent icons for the UI
- Added support for C2 Profiles to report their own SemVer as well
- Added support for TranslationContainers to report back their own SemVer
- Added support for all consuming containers (eventing, auth, logging, webhook) to report back their own SemVer
- Fixed bug in reporting where tasks weren't in order
- Updated the CredentialCreateWebhook to support empty credentials
- Added callback context menu option for triggering eventing workflows
- Also added option to bulk issue eventing workflows from callbacks
- Edited workflows so that all can be triggered manually
- Edited the server so manul execution can still provide arbitrary extra data, not just keyword execution
- Updated operationeventlog to have a dedicated `warning` field that's separate from the level
## [3.3.1-rc94] - 2025-09-05
### Changed
- Fixed a processing bug for staging_translation messages that were getting their messages overwritten
## [3.3.1-rc93] - 2025-08-27
### Changed
- Updated the global setting initializer to properly update from global state
## [3.3.1-rc92] - 2025-08-27
### Changed
- Fixed a bug where consuming containers were never getting their OnStart called
## [3.3.1-rc91] - 2025-08-24
### Changed
- Fixing bug with eventing causing issues with ints
## [3.3.1-rc90] - 2025-08-21
### Changed
- Updated translation container errors to include missing translation container name
- Added new global_setting table
- You can now add a default user preferences config that gets applied to all new users
- Added new invite_link table
- invite links are now persistent across reboots
- removed ability to delete invite links
- Added new `mythic_parsed_params` field to Task entries
- This shows how mythic parses the parameters from the UI
- This is viewable from a task, click to "view all parameters"
- Fixed some hasura operations to scope down to current operation only
- Added new `semver` (semantic version) field to payload types
- This will be updated in a later version to fetch data from updated pypi/go packages
- Added new TriggerData for the following triggers to allow scoping down to specific commands for specific agents
- TaskCreate, TaskStart, TaskFinish, TaskIntercept
- This takes a map[string][]string format (a dictionary of string arrays)
- The dictionary key is the name of the payload type, the array of strings are the specific commands to trigger on
- An empty array of strings means this applies for all commands for that payload type
- Added a check in handling messages from agents to check for the all 0 UUID
- This is now reported back in the UI as a special error to indicate that the connectivity was a success
- This works in tandem with updated C2 Profiles' sample messages to use all 0 UUID values
- A new keyword is added for responses, `events`, which is an array where you specify the `keyword` (string) and `data` (dictionary) for an eventing workflow you want to trigger
- File Hosting now auto checks and adds `/` if it was somehow missed
- Additional checks were added to make removing files easier in case the file was deleted
- Updated Eventing response intercept logic to cache existing workflows to reduce the overhead of fetching data for every response
- Updated File Hosting tag process to only add tags after C2 Profile returned success for hosting the file
- [UI Updates](/MythicReactUI/CHANGELOG.MD#0368---2025-08-21)
## [3.3.1-rc89] - 2025-08-11
### Changed
- Fixed the processing of strings/ints for required fields in create tasking eventing
## [3.3.1-rc88] - 2025-07-31
### Changed
- Fixed a bug in cron eventing that would continue even after error
## [3.3.1-rc87] - 2025-07-21
### Changed
- Updated syncing for payload types to only happen with new c2, not all c2
- Updated syncing for translation containers to only force sync payload types when translation container is new
## [3.3.1-rc86] - 2025-07-18
### Changed
- Updated the processing of new file tracking to auto mark the file as completed for uploads
## [3.3.1-rc85] - 2025-07-17
### Changed
- Updated processing of command_augment containers to auto add commands to callbacks on any sync
## [3.3.1-rc84] - 2025-07-07
### Changed
- Updated the processing for completion functions to not blow away subtask error codes
## [3.3.1-rc83] - 2025-07-03
### Changed
- Updated the create credential webhook to more uniquely check for duplicates by type and comment
## [3.3.1-rc82] - 2025-07-02
### Changed
- Updated the cookie value to have secure `false` but httpOnly `true` so that `http` only versions of the UI can still access images via cookies
## [3.3.1-rc81] - 2025-07-01
### Changed
- Updated the invite link code to have fallback mechanisms for determining the full link invite address
## [3.3.1-rc80] - 2025-07-01
### Changed
- Updated back-end to not try to double-add commands when building payloads and checking dependencies
## [3.3.1-rc79] - 2025-06-27
### Changed
- Updated the processing for PushC2 to track the number of connected clients and only mark disconnected when they all exit
## [3.3.1-rc78] - 2025-06-23
### Changed
- Added `payload_id` and `callback_id` as options for tags
- Added `supports_multiple_c2_in_build` and `supports_multiple_c2_instances_in_build` database fields for Payload Types
- This is prepping for a future update to allow Payload Types to identify if they support multiple c2 to be selected at build
## [3.3.1-rc77] - 2025-06-19
### Changed
- Updated the database to track if a task wants to reprocess with a new command or the original command
- This was originally updated for `Command Augmentation` containers to allow proper tracking for when
- the `CommandName` was changed for a new `CommandPayloadType`, but this also resulted in every time the
- `CommandName` was changed in tasking that the processing would continue under the new command, which isn't always ideal
- Now, only if you set `response.ReprocessAtNewCommandPayloadType` will the processing change to the new `CommandName`
- This means that CommandA that sets its `response.CommandName = commandB` and does a `process_response` field will have the message processed at `CommandA` still
- Setting the above AND `response.ReprocessAtNewCommandPayloadType` will have the `process_response` processed at `commandB` (specify the same payload type name is ok too)
## [3.3.1-rc76] - 2025-06-18
### Changed
- Updated processing for agent messages to support new MythicRPCHandleAgentJson function
- This allows developers to hook into more "standard" agent message processing from MythicRPC locations
- Updated bulk downloading to force host if none exists ("UNKNOWN") and removes trailing "." if no file extension exists
- Fixed an issue where sometimes a callback on checking in after getting hidden wouldn't re-appear in the active table
## [3.3.1-rc75] - 2025-06-11
### Changed
- Updated the processing of completion handlers for tasks to better account script only and child tasks
- Added `cwd` and `impersonation_context` to callbacks as part of their `checkin` and update messages
- Added new `callback` field to agent response dictionary
- this field allows you to update any fields that you'd normally set in your `checkin` message
- Added new field to tasks, `CommandParameterType`, to better track where processing should go if a task sets a new PayloadType as part of its processing
- An example would be `forge` updating the command name and container where processing should continue - this new payload type is also tracked
- Updated health check code for database to properly report success
## [3.3.1-rc74] - 2025-06-09
### Changed
- Updated the processing of commands for building payloads to include `dependencies` in a command's attributes
- if `command1` is a dependency for `command2`, and the user selected command2 but not command1 when building,
- then mythic will automatically add `command1` to the list of commands that need to be built into the agent
- an example would be `dependencies = ["command1"]`
## [3.3.1-rc73] - 2025-06-04
### Changed
- Updated the UI to allow creation of new Artifacts (that aren't tied to specific tasks)
- Updated payload updating information to a new GraphQL Action for:
- description, callback_alert, delete, and callback_allowed
- New data tracked for callback_allowed to optionally prevent new callbacks from payloads
- Updated Artifact processing
- Reporting an artifact will result in getting back an `id` for the artifact
- That `id` can then be sent in future artifact messages to update its `needs_cleanup` and `resolved` status
- Payloads now have a `callback_allowed` attribute
- this is `true` by default, but setting it to false (toggling in the UI on the payloads page or callback metadata) will prevent future new callbacks from that payload
- this feature was "implicitly" there when you delete a payload, but that is removed in favor of this new method
- A new UI element will show on the payload if it's not marked for allowing callbacks
## [3.3.1-rc72] - 2025-6-03
### Changed
- Updated the MythicRPCCallbackUpdate call to allow no specifying C2 Profile when asking to update last checkin time
## [3.3.1-rc71]- 2025-05-30
### Changed
- Updated `help` output to have `help` and `clear` alphabetically included
- Adding regex checks for `help`, so you can do `help list.*` to find all commands that start with `list` that are loaded
- File Uploads (Mythic -> Agent) now track and display chunks sent on the File Search page for Uploads
- State of the vertical navbar (open/close) is saved in user preferences so it'll stay through refresh
- Updated the "InviteLinks" UI button on the settings page to only be enabled if you're an admin and the feature is enabled
- Updated UI and GraphQL to allow bulk file delete
- Added new User Preference to hide browser-based tasking (file browser / process browser) from your normal tasking views
- Updated file media viewer to dynamically update as more chunks for a file are received
- Added a new `task:job_kill` supported UI feature that takes in a raw agent_task_id (uuid)
- This shows up as a `skull` icon for tasking that has been picked up by the agent but hasn't completed
- Updated UI callback drag columns to match vertical navbar color
## [3.3.1-rc70] - 2025-05-22
### Changed
- Updated the onStart operator selection to require the bot's current operation id to be the target operation
- Fixed a logic bug in remove callback_tokens
## [3.3.1-rc69] - 2025-05-21
### Changed
- Updated the logic for automatic eventing ingestion to not check for files that don't exist
## [3.3.1-rc68] - 2025-05-21
### Changed
- Updated the server to have the version baked-in instead of reading a file on disk
## [3.3.1-rc67] - 2025-05-19
### Changed
- Updated some processing of process data to update task_ids so that newer data gets updated in the UI
## [3.3.1-rc66] - 2025-05-14
### Changed
- Fixed a bug with processing a built payload's updated command list
-
## [3.3.1-rc65] - 2025-05-11
### Changed
- Fixed a bug with credential searching via MythicRPC
- Updated healthcheck to include details about all installed services
- Fixed issue in apitoken create for tasks
- Updated post response token action to be "add" if none specified
- Updated callbackToken action to be "add" if none specified
- Updated command action to be "add" if none specified
- Updated README sponsors
## [3.3.1-rc64] - 2025-04-15
### Changed
- Updated the payload build process to not double trigger c2 profile start
- Updated the logging for payload builds to be when the payload is done instead of when it starts
## [3.3.1-rc63] - 2025-04-10
### Changed
- Updated reporting backend to trim spaces on comma separated exclusion filters
## [3.3.1-rc62] - 2025-04-08
### Changed
- Updated the processing of timestamped for linked callbacks to not update nested relationships with egress connections
- Updated mythictree update/delete to update the associated task_id as well to trigger updates in the UI
- Added an `ORDER BY id DESC` for most MythicRPC Search calls
## [3.3.1-rc61] - 2025-04-07
### Changed
- Updated the socks bind to explicitly bind to IPv4 addresses
## [3.3.1-rc60] - 2025-04-04
### Changed
- Fixed typo in sql query
## [3.3.1-rc59] - 2025-04-03
### Changed
- Fixed an issue with the tag get or create rpc call's sqlx IN processing
## [3.3.1-rc58] - 2025-04-02
### Changed
- Fixed an issue with tag creation
## [3.3.1-rc57] - 2025-04-01
### Changed
- Updated invite link checking to not count invite usage if the account wasn't created
## [3.3.1-rc56] - 2025-03-28
### Changed
- Updated MythicRPCTaskSearch to allow specifying parent task to get all subtasks
- Fixed bug in TagCreateWebhook
- Added MythicRPCTagCreate
- Added MythicRPCTagSearch
- Added MythicRPCTagTypeGetOrCreate
- Added new trigger - tag_create
- Updated DynamicQueryFunction to take in OtherParameters - the names/values of other paramters in the task
- If a command has `task_response:interactive` in its supported ui features, then Mythic will open up a new interactive component in the UI
- If that command ALSO has `task:process_interactive_tasks` in their supported ui, then these follow-on tasks will also go to that parent task's create tasking function first
- If you set this, you can check for this type of task:
- `taskData.Task.IsInteractiveTask` - boolean True or False
- `taskData.Task.InteractiveTaskType` - the type of input (normal input, ctrl characters, etc)
- There's an enum, `InteractiveTask` that can provide insight into what the int TaskTypes mean
- `taskData.Args.GetCommandLine()` - get what they actually typed
- `taskData.Args.SetManualArgs("new args\n")` - potentially update the input to something else (don't forget `\n` if you need it!)
- Otherwise, follow-on tasks in this new interactive component go directly to the agent
## [3.3.1-rc55] - 2025-03-19
### Changed
- Updated processing of files in file browser for better handling of deleted files
## [3.3.1-rc54] - 2025-03-14
### Changed
- Updated the response intercept function to not trigger on empty user outputs
## [3.3.1-rc53] - 2025-03-13
### Changed
- Fixing struct tag for conditional eventing responses
## [3.3.1-rc52] - 2025-03-12
### Changed
- Updated processing of `clear` and `help` in event logs to properly send the data through
- Updated RPC timeout for RabbitMQ to 5s with 3 retries
- Updated RabbitMQ retry loop to include redeclaring channels to help avoid rabbitmq locks
## [3.3.1-rc51] - 2025-03-11
### Changed
- Updated the process of create tasking responses to allow arbitrary intermediate status values
## [3.3.1-rc50] - 2025-03-07
### Changed
- Updated the FileSearch to not implicitly check for files with comments
- Fixed an issue with task automation not properly returning the display_id for tasks
## [3.3.1-rc49] - 2025-03-05
### Changed
- Updated the `size` field in `filemeta` to `bigint` instead of `int` for larger file size tracking
- Added a timer to sync chunk counts every 5s
## [3.3.1-rc48] - 2025-03-05
### Changed
- Updated the create tasking webhook to return sooner before sending to containers
- Updated some of the rabbitmq connections with loops to be a bit more robust to errors
- Updated some of the tasking status messages to try to be a bit more informative
## [3.3.1-rc47] - 2025-02-26
### Changed
- Updated task output to support `stdout` and `stderr` fields in addition to `user_output`
## [3.3.1-rc46] - 2025-02-21
### Changed
- Updated some rabbitmq processing to reduce deadlocks and return quicker from timeout delays to the UI
## [3.3.1-rc45] - 2025-02-20
### Changed
- Updated rabbitmq with retries for failed tasks before aborting
## [3.3.1-rc44] - 2025-02-18
### Changed
- Fixed a trailing comma in a SQL query that broke creating files based on payload uuid
## [3.3.1-rc43] - 2025-02-14
### Changed
- Fixed a bug when downloading 0 byte files that would cause a crash when sending eventing notifications
## [3.3.1-rc42] - 2025-02-10
### Changed
- Just reverting the rabbitmq tweaks since the queues aren't getting cleaned up properly
## [3.3.1-rc41] - 2025-02-10
### Changed
- Few rabbitmq tweaks
## [3.3.1-rc40] - 2025-02-07
### Changed
- Updated the rabbitmq code to be more resilient to errors and delays
-
## [3.3.1-rc39] - 2025-01-30
### Changed
- Fixed a syncing bug that wasn't auto adding commands to new callbacks for command augmentation containers
## [3.3.1-rc38] - 2025-01-30
### Changed
- Updated callback creation for command augmentation payload types to not include deleted commands
- Updated callback command remove RPC to be more performant across large numbers of callbacks
- Fixed an issue with parameter type ChooseOneCustom that wouldn't save default values
- Updated file preview to give more meaningful error message if the file has been deleted from disk
## [3.3.1-rc37] - 2025-01-24
### Changed
- Updated the comment added to files automatically tracked due to a secondary task fetching them
- Updating the onStart code to not delay and automatically fire for containers
- Updated the MythicRPCTaskSearch and MythicRPCFileSearch commands due to broken logic
- Added fields for the MythicRPCCallbackUpdate to indicate if the last_checkin time should be updated
- This requires also specifying which c2 profile the callback is using
- UpdateLastCheckinTime and UpdateLastCheckinTimeViaC2Profile
- Updated the CommandAugment container sync code to automatically add commands to existing callbacks, not just new ones
- Updated container sync messages to the "debug" level instead of "info" level
- Updated the task's creation completion handler to append new stdout output instead of overwriting
## [3.3.1-rc36] - 2025-01-18
### Changed
- Added a new Eventing Trigger - callback_checkin that is based on a callback's new trigger_on_checkin_after_time attribute
- Added supporting functions for new GUI Eventing creation wizard
- Added new Eventing action - alert_create
- Added new Eventing action - webhook_send
- Added new EventLog level, 'api', that's used for information about scripting/eventing API usage
- Added new API function, eventingImportContainerWorkflow, to the GraphQL API that can be used by containers to import workflows in their onStart functionality
- Added ability to update certain pieces of an Eventing workflow after it's been registered
## [3.3.1-rc35] - 2024-12-28
### Changed
- Added a check in file download to return error if chunk num > 0 and no chunk data present
## [3.3.1-rc34] - 2024-12-23
### Changed
- Added the option to tag callbacks with specific colors via the UI
- Added another database field for future use to allow triggering on delayed callback checkins
- Added another database field for future use to track specific versions of payloadtypes installed
## [3.3.1-rc33] - 2024-12-17
### Changed
- Updated the login / refresh process to return the current UTC timestamp
- this is used in the UI to try to prevent clock skew on callback times
## [3.3.1-rc32] - 2024-12-14
### Changed
- Updated MythicRPCCallbackSearch to specify a list of payload types
- Updated MythicRPCCallbackAddCommand and MythicRPCCallbackRemoveCommand to take in a list of callback ids
## [3.3.1-rc31] - 2024-12-13
### Changed
- Added an optional flag for payloads syncing to not retrigger the container's on_start functionality
## [3.3.1-rc30] - 2024-12-12
### Changed
- Fixed an issue where dynamic query functions for command augmentation commands would go to the base agent instead of the right augmentation container
## [3.3.1-rc29] - 2024-12-10
### Changed
- Updated the processing for agent messages to minimize memory bloat
- Updated file download process to cache filemeta information and open file descriptors to minimize disk/database access
- Updated agent response processing to cache task data for one update instead of per-response
- Updated MythicRPCResponseCreate to also touch the timestamp of the corresponding task to update the UI streaming
## [3.3.1-rc28] - 2024-11-26
### Changed
- Updated the command_augment injection process to use suggested_commands as well as builtin commands
- one of these two attributes needs to be set to true on the command augment's command for it to be automatically injected into new callbacks
- this is in conjunction with matching OS requirements and matching the command augment's supported payload types (if specified)
## [3.3.1-rc27] - 2024-11-26
### Changed
- Added more functionality to invite links
- you can now specify a specific operation and role to assign the new operator to
- you can now specify (and change) the maximum number of usages that the invite link has
- Updated mythic-cli to properly pass in the environment's mythic_server_allow_invite_links setting
## [3.3.1-rc26]
### Changed
- Updated the automated payload creation process to associate a task_id with the payload
- Execute a container's OnStart method after a file has been removed/edited/created via the UI
- Added new parameter to the create_go_tasking response, ReprocessAtNewCommandPayloadType
- this allows you to set the response.CommandName to some other command and response.ReprocessAtNewCommandPayloadType to the same or different payload type
- execution will then pass to that payload type's create_go_tasking for the new `CommandName` .
- This allows execution chains to happen for processing
- Added two more parameters to the MythicRPCCallbackAddCommand and MythicRPCCallbackRemoveCommand functions
- AgentCallbackID - allows you to add to callback based on AgentCallbackID (UUID) instead of by TaskID
- PayloadType - allows you to specify the payload type associated with the commands if they different than the payload type for the callback itself
- This is helpful for command augment containers that want to register additional augment commands
- Using the UI to add/remove/update files in a container will re-rigger the container's onStart function
- This allows containers to reprocess data as needed if it changes on disk
## [3.3.1-rc25] - 2024-11-18
### Changed
- Updated how file hosting works for C2 profiles
- When syncing to Mythic, C2 profiles get updated file hosting based on existing FileHosted tags in Mythic
- When stopping file hosting, Mythic ensures that the C2 profile successfully processed the request before updating the corresponding Tag
## [3.3.1-rc24] - 2024-11-18
### Changed
- Fixed a bug with onStart messages getting the wrong value for temporary APITokens
- Increased the timeouts for gRPC messages from 1s to 10s
## [3.3.1-rc23] - 2024-11-14
### Changed
- Added a new field to file browser responses, `set_as_user_output` (bool) to indicate that this structured data should be turned into JSON and set as user_output data by Mythic
- This allows agents to send file browser data once, but get it counted for both the file browser and user_output
- Added endpoints to leverage/set user preferences
## [3.3.1-rc22] -2024-11-6
### Changed
- Payload Search wasn't properly filtering on filename or description
- Added an update to make sure that the payload is not deleted and the build phase was a success too
## [3.3.1-rc21] - 2024-11-5
### Changed
- Fixed an issue where bot accounts were considered as operators for opsec checks
## [3.3.1-rc20] - 2024-11-5
### Changed
- Fixed an issue where some Numbers were getting saved as scientific notation floats
- Temporary update where Wrappers can identify payloads to wrap, not just payloads identifying the wrappers
- This currently is only additive
## [3.3.1-rc19] - 2024-11-1
### Changed
- Updated the file download process to only add to the file browser if data is not a screenshot
## [3.3.1-rc18] - 2024-10-28
### Changed
- Updated the `update_deleted` code for process listings to not filter on callback, but on callback groups
- this should fix a bug where processes weren't getting marked as deleted even though they should be
## [3.3.1.-rc17] - 2024-10-18
### Changed
- Updated the file delete call to invalidate existing cached info to prevent new callbacks
## [3.3.1-rc16] - 2024-10-14
### Changed
- Updated file uploads to better track the same file uploads across multiple callbacks
- Updated file download message for files hosted through C2 Profiles to be more descriptive
- Added support for operation banner_text and banner_color
- Reworked C2 Profile status updates so they can be more async and C2 profiles can opt for their own restarts
- Removed unnecessary C2 Profile restarts when checking configurations and building payloads
- C2 Profile Functions can now set a field for RestartInternalServer to ask Mythic to restart it for them
- Updated payload build to go on in background instead of blocking build API call
- Updated CommandAugment commands to only autoload builtin and suggested commands to new callbacks
- Added Username/Password auth options for SOCKS ports
- Added support for UDP Associate
- Agents need to inspect first packet for new server_id to see if it's \x00\x00 (UDP) or \x05 (TCP)
## [3.3.1-rc15] - 2024-09-27
### Changed
- Updated the proxy stop through the UI to be more precise instead of stopping all proxies based on callback id, port, and port type
- It didn't account for variations in remote ip/port combinations
## [3.3.1-rc14] - 2024-09-25
### Changed
- Added some checks for port byte tracking max sizes and file max sizes to not hit postgres limits
## [3.3.1-rc12] - 2024-09-23
### Changed
- Added a missing struct tag for GraphEdges that was breaking the MythicRPCCallbackGraphEdgeSearch call
## [3.3.1-rc11] - 2024-09-23
### Changed
- Updated callback last checkin time update process to not background jobs, hopefully preventing deadlock in some situations
## [3.3.1-rc9] - 2024-09-17
### Changed
- Changed the order of initializing the database so that migrations happen before initializing operators/operations
## [3.3.1-rc8] - 2024-09-13
### Changed
- Added more verbose error messages on connections to include user agent and full URL + Query paths
- Requires latest `http` and `websocket` profiles to forward the necessary headers
- Added more context for GraphQL queries used by APITokens/Scripting to the event log
- Fixed a bug with exporting saved c2 profile instances that would then break imports
## [3.3.1-rc7] - 2024-09-09
### Changed
- Updated some of the logging for bad messages to be clearer
## [3.3.1-rc6] - 2024-09-04
### Changed
- Added new tag for FileHosted to indicate and track that a file was hosted through a C2 Profile
- Updated the file download process to check if there's an alert notification requested as part of FileHosting and sends the alert
- Updated MythicRPCCallbackEncrypt and MythicRPCCallbackDecrypt to support Payload/Staging UUIDs and C2Profile information
## [3.3.1-rc5] - 2024-09-02
### Changed
- Updated file downloads so that you can send the first chunk along with the file registration to cut down on a round trip
- along with `total_chunks` you can send `chunk_data` and `chunk_num` like normal for the first chunk
## [3.3.1-rc4] - 2024-09-02
### Changed
- Fixed a bug in file search that wouldn't return results if you didn't specify a limit
## [3.3.1-rc3] - 2024-08-30
### Changed
- Fixed the file search to better account for search limits and workflow files
- Updated the processing step output fields to allow more flexibility
## [3.3.1-rc2] - 2024-08-30
### Changed
- Fixed a bug where all callbacks would have their last checkin reset when restarting Mythic
## [3.3.1-rc1] - 2024-08-28
### Changed
- Fixed an issue where sometimes the 'success' flag for file browser objects would get reset
## [3.3.0-rc23] - 2024-08-27
### Changed
- Added additional checks for eventing
## [3.3.0-rc22]
### Changed
- Updated the delegates responses to get added without the get_delegate_tasking check
## [3.3.0-rc20] - 2024-08-23
### Changed
- Updated the delegate checks for socks/rpfwd/interactive messages to only send delegates if there's data
- Updated interactive tasking to set processed and processing timestamps more consistently
- Updated file download processing to allow -1 total chunks so agents with unknown chunks can start downloads
## [3.3.0-rc19] - 2024-08-21
### Changed
- Added a new limit_credentials_by_type option to Command Parameters to reduce noise in the UI when using CredentialJson parameter types
## [3.3.0-rc18] - 2024-08-08
### Changed
- fixed a bug where updating timestamp of linked agents wouldn't unhide it
## [3.3.0-rc17] - 2024-08-07
### Changed
- Added context to filePreview graphql queries
## [3.3.0-rc16] - 2024-08-06
### Changed
- Updated the last checkin time for linked agents to match that of the egress agent
- this includes matching "Streaming Now" displays
## [3.3.0-rc15] - 2024-08-05
### Changed
- Updated the login function to return the user's utc time preference
- Added button to show/hide deleted consuming containers
- Shortened the dial time for rpfwd connections to 5s instead of 30s
## [3.3.0-rc13] - 2024-08-05
### Changed
- Added option for `id` return value from create_task eventing
## [3.3.0-rc12] - 2024-08-02
### Changed
- Updated the logic when downloading files to also update the timestamp on the mythictree entries so that the data is streamed to the UI properly
## [3.3.0-rc11] - 2024-08-01
### Changed
- Updated the opsec pre and create task response handles to mirror stderr messages to task output so it's easier for operators to see what's wrong
## [3.3.0-rc9] - 2024-07-29
### Changed
- Many UI Updates check out [UI Fixes](/MythicReactUI/CHANGELOG.MD) for 2.0.8
-
## [3.3.0-rc7] - 2024-07-29
### Changed
- Many UI Updates check out [UI Fixes](/MythicReactUI/CHANGELOG.MD) for 2.0.6
## [3.3.0-rc6] - 2024-07-29
### Changed
- Fixed a Docker copy with postgres based on https://github.com/its-a-feature/Mythic/issues/393 when use_volume is true
## [3.3.0-rc5] - 2024-07-29
### Changed
- Many UI updates check out [UI Fixes](/MythicReactUI/CHANGELOG.MD) for 2.0.4
## [3.3.0-rc2] - 2024-07-11
### Changed
- Updated eventing tasks to properly address when tasks fail and continue on with the eventing steps
- Updated the LimitByCallback field when searching for files to also account of a fileID was used in a task in a callback
- this helps with files that might be uploaded as part of workflows, but still loaded into callbacks
## [3.3.0-rc1] - 2024-07-09
### Changed
- Fixed how external_ip is fetched from containers to provide a more accurate representation
- help and clear appear in generic `help` output
- ability to hide callbacks that use the PushOneToMany
- updated Mythic's cookie to use strict same site and http only flags
- tasking input - fixed issue where double options could be presented when using tab
- tasking input - adjusted so complex types (link info, files, payloads, etc) aren't tab-completable
- This reduces some confusion when tab completing command parameters
- expand/hide subtasks in UI that have subtasks
- moved plaintext output expand icon to the left of 1 in text editor instead of in the middle
- fixed an issue where sometimes if a tab was open, clicking the keyboard for a callback wouldn't bring that tab back to focus
- fetch server version dynamically in the UI so it updates more often
- update mythic-cli allowed_ips to apply to all web/scripting routes, not just auth
- this now applies to all routes and sub-routes behind Mythic's local reverse proxy
- cache hasura information and invalidate / re-fetch after any modification to operator operation status
- each request went from 3-10ms to 700-1000micro seconds in processing time
- updated list/edit/delete/upload file features for containers to _all_ containers instead of just C2 containers
- fixed bug where non-utf8 characters in keylog data would error on the page
- function to get graphql schema (or option from Mythic)
- `schema = await mythic.mythic_utilities.fetch_graphql_schema(mythic=mythic_instance)`
- This is helpful when trying to do GraphQL via Golang
- only admins can create new operators
- only admins can create new operations
- fix the UI when the width is too small causing the top appbar to take up 2 lines and cover buttons
- now width <1100px will hide some buttons along the top
- after getting logged out, should redirect to where you were via redirect= URL parameter
- updated payloadtype definition to allow specification of UUID length pre-pended to agent messages
- This can be either 16 or 36 and defaults to 36 (the length of the normal UUIDv4 string)
- This makes it possible to have 16 Byte UUIDs used for P2P comms
- updated wrapper builds to not send the wrapped payload bytes via rabbitmq
- HTTP request to mythic made to fetch bytes from container before passing execution off to build function
- no change needed by agent developers
- jupyter access token changed from default 'mythic' to randomized 30 char password
- only affects new installs, but you'll need to fetch this value similar to fetching the hasura secret for GraphQL access
- fixed bug where zipped and downloaded files wouldn't record the final zip size or md5/sha1 hashes
- added button on keylogs page to view all keylogs within a user/host/window combination in your current search window at once
- When sending data back for the file browser, `success` is now an optional boolean field
- C2 Profile debug output is now also sent to the container's debug output so you don't have to view it through the UI
### Added
- Two new fields in agent message for artifacts for `needs_cleanup` and `resolved`
- added `process_short_name` field to Callbacks
- this is automatically parsed based on the `process_name` returned from agents when they checkin or update their callback information
- the `process_short_name` is displayed in the Mythic UI callbacks table, but the full `process_name` is shown in the callback detailed metadata view
- this allows agents to return the full path to the binary when checking in without worrying about it bloating up the UI
- light and dark mode agent icon support
- If no dark mode icon is provided, the light mode version is used for both by default on new sync
- There's a new field on payloadtype definitions for a dark mode icon
- MythicRPC call to expose Mythic's way of parsing paths so that agents don't have to do it themselves and it can be standardized
- MythicRPCFileBrowserParsePath
- added task display_id to tasks shown when doing browser script edits so that it's easier to tell the difference
- added an "email" field on operators
- add new ChooseOneCustom parameter type (build, command, and c2) to allow users to choose from list or add new value
- add new FileMultiple parameter type (build, command, and c2) to allow users to select and upload multiple files at once
- new "Last Updated" time in proxy table so you know when data is flowing
- the amount of data transfer updates every 20s
- auto-tag files as you download/preview them so that it's easier to see what has been triaged or not by the team
- all consuming containers now are tracked in the UI specifically and have their own name and description fields that must be set
- This applies to webhooks, loggers, eventing, auth
- A new type of user, a bot account, is now available for creation
- only admins can create new operator accounts and new bot accounts
- bot accounts are not available to login
- a bot account is automatically created for every operation
- bot accounts can be used to take actions in eventing (as long as the operation lead approves it)
- admins are able to generate/view/delete apitokens for bot accounts as well
- Added new `logging.UpdateLogToFile` and `logging.UpdateLogToStdout` functions to containers
- These allow you to dynamically update logging to write to file+stdout or just stdout as needed
- `mythic_container.logging.update_log_to_file` and `mythic_container.logging.update_log_to_stdout` in Python
- Admins can generate one-time-use invite codes to invite somebody to their Mythic server without pre-creating an account
- This is disabled by default but can be enabled in .env or in global settings by admins (MYTHIC_SERVER_ALLOW_INVITE_LINKS)
- Each invite link can be used only once and un-used invite links can be deleted
- Invite links become invalid when the server restarts
- SSO Support via "auth" containers
- can redirect to SSO providers (ExampleContainers has example for ADFS) that provide IDP services
- can process non SSO custom auth as well
- each case must return an email associated with a user that's logged in
- Operators now have email addresses optionally associated with them
- these can be seen via ConsumingServices page
- All containers have an `on_start` function that gets called when the container starts up
- This function is executed once for every operation that's currently running (not deleted and not complete)
- This function gets access to a special JWT APIToken that's scoped to the bot account assigned to the operation
- This JWT is for spectator access (no changes can be made) and only lasts for 5 minutes
- The goal here is to allow some basic configuration to be performed by the container
- New PayloadType attribute `agent_type` value of `command_augment`
- CommandAugment containers expose custom tasks to other PayloadTypes and are automatically injected into callbacks
- Payload type definitions have a new `CheckIfCallbacksAliveFunction`
- This gets a list of active callbacks based on this payload type along with their id, last checkin, first checkin, and sleep_info information
- This returns back a list of all the callbacks and an indication if they should be marked as "dead" or not
- "dead" status is reflected by a red skull in the last_checkin column in the callbacks table
- the `sleep_info` data can be updated at any time as a free-form string via MythicRPC or the UI
- the `sleep_info` data is also a column you can toggle to view or not in the UI in the callbacks table
- Added `SendMythicRPCCallbackNextCheckinRange` RPC call to get basic range for next checkin options based on:
- last_checkin, jitter percentage, and sleep interval
- This is provided as a helpful way to reduce duplicated efforts in all payload types checking if `time.Now().UTC()` within the possible range
- New Container Type and feature: Eventing
- Eventing button at the top now added to manage eventing workflows
- New docs around eventing added
## [3.2.20-rc11] - 2024-04-23
### Changed
- Fixed a bug where DynamicQueryParameters weren't getting set on first sync
## [3.2.20-rc10] - 2024-04-10
### Changed
- Fixed a few of the SendMythicRPC* calls to fetch all the same data as normal agent processing
## [3.2.20-rc9] - 2024-04-08
### Changed
- Added CallbackDisplayID, PayloadType, IsInteractiveTask, and InteractiveTaskType to RPC Search results and new_task logging data
- Fixed an issue with SendMythicRPCTaskSearch
## [3.2.20-rc8] - 2024-04-05
### Changed
- Fixed an RPC call for generating a new payload that wasn't calling the right function
## [3.2.20-rc7] - 2024-03-29
### Changed
- When payloads are built, files hosted, files written, or agent configurations checked, Mythic now restarts a C2 profile's server in case there were updates
- Added a fix for C2Profile Parameter Type of File
## [3.2.20-rc6] - 2024-03-25
### Changed
- Added support for PushC2OneToMany via gRPC
## [3.2.20-rc5] - 2024-03-19
### Changed
- Added in a check to support an agent's message_format field for `xml` or `json`
## [3.2.20-rc4] - 2024-03-19
### Changed
- Updated SOCKS to also send any read data even during a read error
## [3.2.20-rc3] - 2024-03-19
### Changed
- Updated the logging library to just be zerolog and not zerolog/logr which was messing with logging levels
- Removed a section of socks/rpfwd code that resulted in double closure messages getting sent to the agent
- Updated a section of socks to do multiple reads with smaller buffers
## [3.2.20-rc2] - 2024-03-14
### Changed
- Fixed an issue where rpfwd connections with the same local port wouldn't get tracked on the proxies page as new connections
- Added `xml` tags to agent messages for planned native support of `xml` in addition to `json` message formats
## [3.2.20-rc1] - 2024-03-08
### Changed
- Fixed an issue where port usage wasn't getting tracked for new ports
## [3.2.19] - 2024-03-05
### Changed
- Added `OperatorUsername` and `OperationName` to Callback data sent to tasks
## [3.2.18-rc10] - 2024-03-04
### Changed
- Updated SOCKS/rpfwd traffic to not double send close connection messages to the agent
- Added "AgentType" field to "PayloadType" database table
- Updated SOCKS initial connection to accept more bytes in case client supports many auth mechanisms
## [3.2.18-rc9] - 2024-02-28
### Changed
- Updated the processing of agent `responses` fields to return a 200 response with empty data if there's an error processing data
## [3.2.18-rc8] - 2024-02-22
### Changed
- Fixed a bug where files registered would get a comment with a taskID instead of a task's display id, leading to confusing task numbers
## [3.2.18-rc7] - 2024-02-21
### Changed
- Added support for exporting and importing c2 profile instances (green save icon next to a c2 profile then export/import)
## [3.2.18-rc6] - 2024-02-19
### Changed
- Added another check for parsing paths for when a parent_path for the file browser is reported as "path\path"
## [3.2.18-rc5] - 2024-02-16
### Changed
- Updated the response to a `download` message from an agent to include the `chunk_num` the agent sent in the response
## [3.2.18-rc4] - 2024-02-12
### Changed
- Added `secrets` and `preferences` as fields for the `operator` table
- Added migration to add these two fields
- User secrets are now available in:
- payload builds
- new callback functions
- opsec pre
- create tasking
- opsec post
- completion handlers
- dynamic query functions
- The secrets field allows your agent functions to interact with services on behalf of the tasking operator without storing auth tokens on disk
- Updated the callback import feature to also support commands and allow duplicate payloads UUIDs (not duplicate callback UUIDs though)
- Updated SOCKS handling to hopefully prevent a few more cases of deadlocking
- Updated SOCKS/RPFWD/Interactive Tasking to track bytes sent/received through the agent
- Data is streamed to the SOCKS search page
- Data is aggregated on the main dashboard
- [UI Fixes](/MythicReactUI/CHANGELOG.MD)
- [mythic-cli updates](/Mythic_CLI/Changelog.md)
## [3.2.18-rc3] - 2024-02-09
### Changed
- [UI Fixes](/MythicReactUI/CHANGELOG.MD)
- [mythic-cli updates](/Mythic_CLI/Changelog.md)
- Updated file-based routes to also log file_id
## [3.2.17.1] - 2024-02-08
### Changed
- Adjusted the SOCKS handling functions to use non-blocking sends when dealing with channels to help prevent deadlock
- Adjusted the SOCKS channels to have increased capacity
## [3.2.17] - 2024-02-06
### Changed
- Added ability to export a callback (via callback dropdown) and import callback (via speeddial on top right of callbacks page)
- Added a new environment variable, `global_server_name`, that gets passed down to webhook and logging containers
- Added new `mythic-cli config help` subcommand to get helpful descriptions of all environment variables in .env file
- Updated logging to track user_id, username, and source of requests
- Updated internal MITRE ATT&CK to the latest as of 2024-02-06
## [3.2.16] - 2024-01-28
### Changed
- Added new file view endpoint to not return files as attachments but just as content to render in the browser easier
- Added more checks for processing completion functions
## [3.2.15] - 2024-01-15
### Changed
- Added ability to query and set global settings such as the agent debug message setting from the UI
## [3.2.14] - 2024-01-11
### Changed
- Fixed typo
- Updated go modules
## [3.2.13] - 2024-01-11
### Changed
- Removed the FileRegister MythicRPC Command
- Updated the FileCreate MythicRPC Command to take in TaskID, PayloadUUID, or AgentCallbackID depending on what the context has available
- Added a `size` field for FileMeta to track the final size of files uploaded, download, or screenshots
- Added a `bytes_received` and a `bytes_sent` field for CallbackPorts to eventually track how much data goes through Mythic
- Updated the data passed in for DynamicFunctionQueries to have PayloadOS, PayloadUUID, CallbackDisplayID, and AgentCallbackID too
- should help making more informed decisions for which files or dynamic data to present to the user
## [3.2.12] - 2024-01-10
### Changed
- Updated the C2 File host webhook to automatically stop and restart a C2 Profile after hosting a file
- Added a new MythicRPC* for getting graph edges associated with a callback
- Added a new MythicRPC* for creating a new task based on AgentCallbackUUID
- associated Operator for this will be the operator associated with the Callback (i.e. the one that made the payload)
- Added new function for a Payload Type for `on_new_callback`/`onNewCallbackFunction` so that you can take actions based on new callbacks
- Fixed bug with attempts to send `alerts` in `checkin` message not properly tracking them for the new callback
- Support for container version 1.2.0
## [3.2.11] - 2023-01-04
### Changed
- Added a check for file transfers when getting null data
- Added a fix for spawning a new callback off a payload through the UI
## [3.2.10] - 2023-12-26
### Changed
- Fixed an issue with interactive tasking not working if there wasn't also a port open
## [3.2.9] - 2023-12-26
### Changed
- Updated the Dockerfile for Mythic_CLI and mythic-docker for go v1.21 GOPROXY usage changes that broke builds
## [3.2.8] - 2023-12-21
### Changed
- Adding missing hasura files that didn't get exported and added for updating operator status on the settings page
## [3.2.7] - 2023-12-21
### Changed
- Updated to allow SOCKS/rpfwd message format to specify a `port` (uint32) as part of their messages with Mythic
- This allows multiple instances of rpfwd per callback with proper tracking for which port to go to
- The `port` sent in the messages is the local port the agent binds to for rpwfd
- Updated the rpfwd remote connectivity test to happen in a goroutine and not block registration
## [3.2.6] - 2023-12-20
### Changed
- Fixed a bug in the staging_rsa refactor for provided RSA public keys
## [3.2.5] - 2023-12-19
### Changed
- Updated some golang packages in mythic_server
- Pulled some PRs for refactoring and beginning of adding unit tests
## [3.2.4] - 2023-12-14
### Changed
- Added a new controlled endpoint for managing operator admin, active, and deleted status
## [3.2.3] - 2023-12-12
### Changed
- Added new database migration for postgres function to convert callback groups into strings for easier searching
- Fixed bugs in mythic rpc functions for CallbackCreate, CallbackDecryptBytes, CallbackUpdate, and FileCreate
## [3.2.2] - 2023-11-17
### Changed
- Adjusted channel size to help with TOCTTOU issue
## [3.2.1] - 2023-11-17
### Changed
- Fixed a TOCTTOU bug with the total number of file chunks received when there are parallelized requests to Mythic
## [3.2.0] - 2023-11-17
### Changed
- Updated file/process browsers to store/merge information based on host + callback id
- Updated callbacks to have `mythictree_groups` attribute to specify which groups data should be displayed with in the UI
- Added new migrations for the above updates
- Adjusted the file writes during `download` commands to flush to disk after each chunk
## [3.1.7] - 2023-11-13
### Changed
- Fixed a non-idempotent sql migration
- Updated file transfers to Mythic to allow parallel messages from the agent
- Uses golang channels to ensure ordered file writes and f.Seek to get to the right spot in the file
## [3.1.6]
### Changed
- Updated agent messages to allow %encoding and safe base64 encoding for query parameters
## [3.1.5]
### Changed
- Updated rpfwd and SOCKS messages to aggregate through a single channel to ensure message order
## [3.1.4]
### Changed
- Fixed an issue with locks when checking for containers online or not
## [3.1.3]
### Changed
- Fixed a bug in interactive tasking ports that wouldn't pick up messages for multiple interactive tasks port in a single callback
## [3.1.2]
### Changed
- Fixed a bad channel close and double close scenario with interactive ports
## [3.1.1]
### Changed
- Updated the C2 Profile redirector RPC call to add `#` in front of all non-redirector messages to help with apache mod_rewrite configs
## [3.1.0]
### Changed
- Added new build step option for skipped steps (useful if you have conditional builds)
- Added new "Split Tasking view" as a callback dropdown option for viewing tasking
- Updated Graphing library (react-flow)
- Updated UI to React18
- Can now sort by last checkin time on active callbacks page
- New "PushC2" style available for egress C2 Profiles
- Updated with Websocket C2 profile
- Uses gRPC connections between C2 Docker container and Mythic
- New `TypedArray` parameter type available for commands, build parameters, and c2 profile parameters
- Useful for generic BoF/COFF style tasking where you need data and a type associated with it
- Data passed down as an array of tuples: `[ [type, value], [type, value] ]`
- PayloadType Commands need to supply a TypedArray Parsing Function to handle freeform input for typed array values
- ex: `my_bof -bof_args int:5 char*:testing wstring:"this is my string"` into proper array of arrays
- New "Host File Through C2" option available for all payloads and files via globe icon
- Up to the C2 profile to support the RPC call from Mythic and make the file available though
- Updated with `http` and `websocket` C2 profiles
- Shift+Tab will cycle backwards through options on the tasking CLI
- Event feed format changed and is now also searchable
- "alerts" keyword in responses from agents now allow setting a source, level (info, warning, debug)
- New `send_webhook` boolean field to indicate sending a custom webhook notification (even if the level isn't warning)
- New `webhook_alert` dictionary field for custom data to your webhook that's _not_ displayed to the user in the event log
- `alert` string field is what's displayed to the user in the event log
- Mythic-cli updated to allow options for setting the main UI to listen on IPv4, IPv6, or both
- Agents can now more easily support multiple C2 profiles and have it reflected in the UI
- Still only one instance of each c2 profile, but that will change in future releases
- Updated callback's "update_info" and "checkin" actions so that callbacks can update their own metadata
- New "Interactive" tasking type available to allow follow-on input in a PTY format
- Browser view has limitations compared to a full PTY/TTY since it's still in your browser (supports ASNI colors)
- Non-ANSI color sequence control sequences are ignored in the browser
- Use the new supported_ui_feature `SupportedUIFeatures: []string{"task_response:interactive"},` to enable this for your task in the UI
- With MythicRPC you can open an "interactive" port with your task which you can connect to with a terminal for full PTY support
- *NOTE* _ALL_ output is still captured and stored in Mythic and viewable in the UI for the task, so be careful about long-running jobs that dump out a lot of data
- Inputs from the Web UI will appear as "tasks" that you can search. Inputs via the opened port will _not_ appear as tasks.
- Your issued tasks will auto-expand, so it should reduce a click for tasks that finish immediately (help, clear, script_only)
- File Search page updated to have `Bin` and `Strings` views available without needing to expand the dropdown
- Updated `github.com/MythicMeta/MythicContainer` golang package and `mythic_container` PyPi packages
- New database migrations so that you don't have to blow away the database between updates
- Updated user login notification to be debug level (no UI popup)
- Allow dynamic port binding with MythicRPCProxyStart
- specify a LocalPort of 0 for Socks/Interactive ports and the next lowest available port will be used and returned
- Allow dynamic port closing with MythicRPCProxyStop
- specify a LocalPort of 0 for Socks/Interactive ports and Mythic will look up the port based on taskID and port type
- Updated ProxyPorts to track "deleted" status so that they're never actually deleted and can be restarted if needed
- Allows for a better tracking of which callbacks had/have which ports open
## [3.0.1-rc46] - 2023-08-22
### Changed
- Fixed an issue with the task searching MythicRPC call
- Fixed an issue with redirects for the UI with custom ports
## [3.0.1-rc45] - 2023-07-20
### Changed
- Fixed sql query error for linked messages
## [3.0.1-rc44] - 2023-07-18
### Changed
- Updated mythic_server and mythic-cli build processes to incorporate GOPROXY and GO111MODULE build/env settings
## [3.0.1-rc43] - 2023-07-18
### Changed
- Updated the bulk download zip option to save filenames as HOST_filename_uuid.ext to help with uniqueness in names
## [3.0.1-rc42] - 2023-07-17
### Changed
- Fixed an issue where with MythicRPCCallbackUpdate failing to find a callback based on task id
## [3.0.1-rc41] - 2023-07-16
### Changed
- Fixed an issue where linked callbacks were consistently creating new edges
## [3.0.1-rc40] - 2023-07-15
### Changed
- Fixed an issue where linked nodes 3+ deep weren't getting their tasking
- Fixed an issue where linked nodes weren't getting their token values
## [3.0.1-rc39] - 2023-07-14
### Changed
- Adjusted the agent message processing to account for agent messages less than 36 bytes long
## [3.0.1-rc38] - 2023-07-12
### Changed
- Adjusted the rabbitmq piece to force close channels on error
## [3.0.1-rc37] - 2023-07-11
### Changed
- Added some missing return statements for file uploads on error cases
## [3.0.1-rc36] - 2023-07-11
### Changed
- Fixed the following RPC functions: agent storage search, artifact search, process search
## [3.0.1-rc35] - 2023-07-10
### Changed
- Fixed how Mythic leveraged rabbitMQ channels to reduce the channel churn rate and increase throughput dramatically
- Updated Mythic's tasking to support mass-tasking natively without requiring all tasks to happen in sequence
- Fixed an issue with a high volume of new callbacks causing issues with Postgres connections
- Fixed an issue with a high volume of new callbacks resulting in duplicated callback identifiers
- Updated the sqlx connection information to limit the number of concurrent postgres connections
## [3.0.1-rc34] - 2023-07-05
### Changed
- Updated file browser data to track if a folder `has_children` or not so that it's easier to track in the UI
- Updated file download to not un-set `is_screenshot` tag based on default values from agents
## [3.0.1-rc32] - 2023-06-30
### Changed
- Updated the translation container code to only ask the translation container to generate encryption keys if the translation container is doing the encryption (instead of always asking)
## [3.0.1-rc31] - 2023-06-29
### Changed
- Added `file_name` field to Downloads so that you can report back a filename without necessarily returning a full_remote_path. This is particularly useful for screenshots or downloading things in memory.
## [3.0.1-rc30] - 2023-06-29
### Changed
- Updated the RPC File Create function to set the host field
## [3.0.1-rc29] - 2023-06-29
### Changed
- Updated check for marking a callback token as deleted to first fetch the proper token_id
## [3.0.1-rc28] - 2023-06-29
### Changed
- Updated check for container status to use rabbitmq REST api to port 15672 instead of passively declaring queues
- Updated rabbitmq image to rabbitmq:3-management-alpine to support the above bullet
## [3.0.1-rc26] - 2023-06-26
### Changed
- Updated the payload builder message to also include a wrapped_payload_uuid field
## [3.0.1-rc25] - 2023-06-14
### Changed
- Updated the rpfwd logic to not bail out if it can't reach the specified remote ip:port when starting
## [3.0.1-rc24] - 2023-06-12
### Changed
- Updated the logic for tracking up/down containers to only notify after successful database update
## [3.0.1-rc23] - 2023-06-09
### Changed
- Updated grpc translation container code to have a larger (maxInt) send/recv limit
## [3.0.1-rc22] - 2023-06-09
### Changed
- Added a line to reflect back keys from the agent at the "action" level
## [3.0.1-rc21] - 2023-06-08
### Changed
- MythicRPC calls for creating task and subtask now report back a tasking location of `mythic_rpc` instead of `command_line`
- Update file delete webhook to not error out if the file to be deleted has already been deleted
## [3.0.1-rc19] - 2023-06-05
### Changed
- Fixed a bug where *nix filepaths might be leading // causing file browser issues
- Fixed bug where deleted files that come back weren't getting marked as not deleted
- Fixed an issue in the UI with timestamps not converting properly between UTC and local time
## [3.0.1-rc18] - 2023-06-02
### Changed
- Fixed a bug where agents reporting back file browser paths with UNC formats wouldn't get properly ingested
## [3.0.1-rc17] - 2023-06-01
### Changed
- Fixed a bug where the `get_delegate_tasks` key wasn't getting passed to the delegate message check
- Fixed a bug where rpfwd messages weren't getting checked for delegate messages
## [3.0.1-rc16] - 2023-06-01
### Changed
- Removed ability to check number of consumers for logging/webhooks since it caused the messages to roundrobin instead
## [3.0.1-rc15] - 2023-05-31
### Changed
- Updated the UI to handle boolean parameters with `-paramName` as `true` on the CLI
- Updated the UI to show number of listeners for consuming services as well as green/orange counts
- Updated Mythic to emit a new `new_response` log type for user_output
- Updated the checks for existing containers to re-use rabbitmq channels if possible
- Updated the health check for rabbitmq to just check for ports listening since no alarms are configured
- Fixed an issue when reporting back deleted files that Windows paths with `\\` need to be escaped again, `\\\\`
- Updated task logging to emit when first created and also when task completes
### Added
- Added new `alerts` key for `post_response` messages to send alerts to the operation event log
- Added new `alerts` key for top level messages to send alerts to teh operation event log
## [3.0.1-rc14] - 2023-05-26
### Changed
- Additional error checking for trying to close SOCKS ports
## [3.0.1-rc13] - 2023-05-25
### Changed
- Updated some rabbitmq RPC functionality to not return error on timeouts
## [3.0.1-rc12] - 2023-05-24
### Changed
- Added a check when getting a new callback to see if the payload is deleted, if so then no new callback is created and an alert is thrown to the operator
- Reduced the popup display for some toast notifications when generating tasks
- Attempt to locate and mitigate potential RPC timeout errors
## [3.0.1-rc11] - 2023-05-23
### Changed
- Updated MythicRPCFileUpdateMessage to allow setting DeleteAfterFetch
- Updated UI to support GenerateIOCs and GenerateSampleMessage for C2 containers
- Updated UI to have icons next to options on the Payloads page so it's easier to find what you're looking for
- Updated UI to not base64 encode browser scripts
- Updated mythic_graphql with new GraphQL endpoint and permissions for c2GetIOC and c2SampleMessage functions
- Fixed an issue with additional information incorrectly mapped to map[string]string instead of map[string]interface{}
- Updated message about out-dated `upload` key for file transfers to be an informational debug message rather than a warning
- Updated Jupyter with mythic==0.1.2
## [3.0.1-rc10] - 2023-05-22
### Changed
- Updated the task status values to be more representative of what's going on
- Updated go.mod values
## [3.0.1-rc09] - 2023-05-18
### Changed
- Fixed an issue with the default value for a dictionary not getting populated correctly due to missing struct tags
## [3.0.1-rc08] - 2023-05-18
### Changed
- Fixed a few things in the UI with linking
- Fixed process browser in the UI not reporting process_id when tasking kill/inject
- Fixed an issue where linked p2p agents would get egress connections in the UI
## [3.0.1-rc07] - 2023-05-17
### Changed
- fixed an issue with creating saved c2 instances that wouldn't supply default values for non-supplied parameters
- updated the scripting version for the Jupyter Container
- added two new examples in the Jupyter container for c2 profiles
- fixed an issue with missing operation_id for c2 profile instances for payloads
## [3.0.1-rc05] - 2023-05-16
### Changed
- Reduced the number of toast notifications when syncing or hitting errors with translation containers
## [3.0.1-rc04] - 2023-05-15
### Changed
- Changed from ParseBytes to FromBytes when attempting to parse a 16 byte UUID instead of a 36 byte string UUID
## [3.0.1-rc03] - 2023-05-12
### Changed
- Fixed how timeouts work for translation services so that they don't hang internally on channels
## [3.0.1-rc02] - 2023-05-10
### Changed
- Updated the webhook for creating custom operation event messages to generate sources if none supplied
- Updated to allow users without an operation set to create an operation and create new users
- Fixed an issue when updating operations outside your operation causing an exception
- Two .svg icons for UI dev were ignored via .gitignore, so added them manually back to the repo
## [3.0.0] - 2023-05-10
### Changed
- Updated to actual release instead of release candidates for v3.0.0
## [3.0.0-rc53] - 2023-05-09
### Changed
- Modified MythicRPCProxyStart to support rportfwd
- Updated Dockerfile build to user smaller base images and use multi-stage builds to reduce final size
- Docker images updated:
- itsafeaturemythic/mythic_base_go <-- go1.20 with garble and gRPC
- itsafeaturemythic/mythic_base_python <-- python 3.11 with the latest mythic_container PyPi package installed
- itsafeaturemythic/mythic_go_dotnet <-- mythic_go_base + .NET Core 7.0 SDK, nuget, and the Mono compiler
- itsafeaturemythic/mythic_python_dotnet <-- mythic_python_base + .NET Core 7.0 SDK, nuget, and the Mono compiler
- itsafeaturemythic/mythic_go_macos <-- mythic_go_base + macOS 12.1 SDK
- itsafeaturemythic/mythic_python_macos <-- mythic_python_base + macOS 12.1 SDK
- All docker images now have a rolling `:latest` tag that can be used
- All docker images (and mythic-cli builds) now work for ARM as well as x86_64
- Fixed an issue with additional attributes not getting captured for commands
## [3.0.0-rc52] - 2023-05-05
### Added
- Added `File` as a valid build parameter type - like files for tasking, this is passed to the `build` function as a file UUID
- ContainerVersion v1.0.2 has the builder side of this addition
- Docker images updated:
- itsafeaturemythic/mythic_base <-- go1.20 and python 3.11 with the latest mythic_container PyPi package installed
- itsafeaturemythic/mythic_dotnet <-- mythic_base + .NET Core 7.0 SDK, nuget, and the Mono compiler
- itsafeaturemythic/mythic_macos <-- mythic_base + macOS 12.1 SDK
- All docker images now have a rolling `:latest` tag that can be used
- All docker images (and mythic-cli builds) now work for ARM as well as x86_64
## [3.0.0-rc51] - 2023-05-04
### Changed
- Updated `mythic-cli` with `update`, `save`, and `load` commands
- `update` command simply checks Mythic version, mythic-cli version, and mythic UI version locally against either the main branch or the branch specified with `-b`
- `save` command exports specified docker images to disk for use with load command
- `load` command loads exported docker images into local docker engine (helpful for offline environments)
- Updated UI to allow `crtl+F` within more output boxes
- Updated Dockerimages
- Updated `mythic` PyPi package in `jupyter` container to `mythic==0.1.0rc9`
## [3.0.0-rc50] - 2023-05-02
### Changed
- Updated agent post_response process dictionary to support `update_deleted` key to mark processes as deleted
- Updated agent post_response process dictionary to support `os` key to mark processes as `windows`, `macOS`, or `linux`
- Updated UI to add new "View Just This Process Tree" option in Info dropdown for process tree view
- Fixed bug with callback graph view's link commands
- Fixed bug with re-added edges in graph view
## [3.0.0rc49] - 2023-04-26
### Changed
- Fixed an issue with marking payloads as deleted when linking agents
- Updated the UI for tasking dropdown boxes are full width
- Updated reporting function to generate JSON output in addition to XML
## [3.0.0rc48] - 2023-04-25
### Changed
- fixed the UI to version 0.1.0 with an update to include the additional webhook types of alert/custom
- adjusted the test webhook function to handle testing the new alert/custom webhook types
## [3.0.0rc47] - 2023-04-25
### Changed
- Fixed an issue where SendMythicRPCFileCreate wasn't setting the is_screenshot or is_download_from_agent fields
## [3.0.0rc46] - 2023-04-24
### Changed
- Moved docker templates back out of this repository and to the MythicMeta/Mythic_Docker_Templates repository
## [3.0.0rc45] - 2023-04-24
### Changed
- Fixed a bug in file uploads that was causing the sha1 and md5 of payloads to not be recorded
## [3.0.0rc44] - 2023-04-21
### Changed
- Updated the payload build and build response to allow for updating the filename as part of the build process
## [3.0.0rc43] - 2023-04-20
### Changed
- Added another check in RSA EKE for PKIX format
## [3.0.0rc42] - 2023-04-20
### Added
- Added two new kinds of webhooks - one for alerts in the operation event log and one for custom webhook data
- Added examples of new webhooks in Jupyter notebook
## [3.0.0rc41] - 2023-04-19
### Added
- Updated MythicCLI to allow setting default operation webhook url and webhook channel in addition to operation name from .env file
- Updated MythicCLI to support `-b` and `--branch` flags when installing from GitHub
### Changed
- Updated some json tags on structs to omit unnecessary nested structure parsing with empty values
- Fixed the error message for bad messages to Mythic and added more error logging to the UI
## [3.0.0rc38] - 2023-04-18
### Changed
- Added event log notification if a connection is refused due to the IP allow list in the Mythic/.env file
## [3.0.0rc37] - 2023-04-14
### Changed
- For file browsing, if an OS type cannot be inferred based on host, path, and parent path, OS is assumed as Windows
- Fixed an issue with the UI sending the wrong host name for file listings
- Fixed an issue with uploaded files treated like folders in the file browser
## [3.0.0rc35] - 2023-04-13
### Changed
- Fixed an issue with files marked as "delete after fetch" weren't getting deleted
- Fixed some issues with the UI referring to old element IDs instead of display IDs
- Fixed some issues with MythicRPC Credential and File Searches
## [3.0.0rc32] - 2023-04-10
### Changed
- Fixed an issue with RabbitMQ Channels not getting closed after use, resulting in an ID exhaustion
## [3.0.0rc31] - 2023-04-6
### Added
- Added new configuration variable for `mythic_react_debug`
- Added MythicReactUI code to this repository for easier control and development for the community.
- New image and container are only used when `mythic_react_debug` is set to `true`, otherwise normal nginx container serving static files is used.
- Updated scripting package for Jupyter to mythic==0.1.0rc3
- Updated MythicUI tags to treat http* json fields as clickable links
## [3.0.0rc30] - 2023-04-5
### Changed
- Updated mythic-cli to include a version command
- Updated the agent message Get handler to look at first query parameter, first cookie value, and then message body
- Updated mythic-cli to include a check for the docker version >= 20.10.22
## [3.0.0rc28] - 2023-04-04
### Changed
- Added more to the report generation for the XML side
- Fixed an issue with bad hasura role for non-admins
- Added caching for container information for checking if containers are online
- Updated file tracking for newly created downloads to populate the file browser as well
- Dynamically update file's chunk_size if none is set by the agent to the size of the first chunk
## [3.0.0rc27] - 2023-04-03
### Changed
- Updated the xml reporting a bit further (not done yet)
- Updated processing of agent messages to have a separate case for base64 url encoded messages
- Updated a few issues in the UI
## [3.0.0rc26] - 2023-04-1
### Changed
- Fixed many bugs in mythic_rpc_* functionality that was slightly broken with SQL queries
- Prevented agents from auto-triggering their completion functions multiple times
- Added a flag to not show webhook/logger rabbitmq errors on send
- Updated the payload search rpc functionality to also return the build_phase
- Fixed some UI bugs for various command parameter types
## [3.0.0rc25] - 2023-03-30
### Changed
- Fixed a bug where an operation's channel wasn't sent down as part of webhook messages, only the url
## [3.0.0rc24] - 2023-03-30
### Changed
- updated how socks messaging works internally to mythic (more go channels instead of mutex locks)
- fixed an issue in the UI where bulk callback hides wasn't working
- fixed an issue with socks stop getting caught in deadlocks
## [3.0.0rc23] - 2023-03-27
### Changed
- fixed a few pieces of the UI for credentials and callbacks searching
- updated the graphql action for creating credentials so they get emitted to logging as well
- updated nginx reverse proxy to handle ip allow lists as well (so jupyter/docs/graphql all get protection too)
- added cpu limits for a few other services
## [3.0.0rc22] - 2023-03-25
### Changed
- Updated the way that callback updates happen so that it's easier with
## [3.0.0rc21] - 2023-03-23
### Changed
- fixed an issue with token not getting added for get_tasking requests like in Mythic 2.3.*
## [3.0.0rc20] - 2023-03-23
### Changed
- fixed an issue with tokens selected from the UI not making their way through to the payload containers
## [3.0.0rc19] - 2023-03-23
### Changed
- fixed an issue with token adding/removing with bad SQL syntax
- updated components for adding/removing/updating operations and operator memberships with new hasura action
- updated some tagging on database structure to make mapstructure decoding better
## [3.0.0rc18] - 2023-03-23
### Changed
- updated the mythic rpc callback search functionality to require a callback uuid instead of the callback id since the int id isn't available to translation containers
### Added
- Added new graphql endpoints for adding mitre attack to tasks and updating operations
## [3.0.0rc17] - 2023-03-22
### Changed
- fixed an issue where the `staging_translation` capability for a translation container was missing
- fixed an issue with tasking creation leveraging files not tied to tasks when searched
- updated the database schema to support cascading drops (requires dropping database and creating a new one)
- updated how display_ids are calculated for tasks and callbacks (there was an issue with duplicates once you start deleting tasks/callbacks)
- updated the ui and server to create new tasks/callbacks based on display_id rather than id
### Added
- a new endpoint for deleting callbacks and tasks via scripting
## [3.0.0rc16] - 2023-03-21
### Changed
- fixed an issue where hasura updated permissions weren't captured to disk
## [3.0.0rc15] - 2023-03-20
### Changed
- Updated mythic-cli with mythic_postgres to offer a different postgres.conf file based on if postgres_debug is true
## [3.0.0rc14] - 2023-03-19
### Changed
- fixed an issue when loading multiple commands via RPC that it would stop after the first successful one
## [3.0.0rc13] - 2023-03-17
### Changed
- fixed some issues with P2P connections and auto-adding routes
## [3.0.0rc12] - 2023-03-15
### Changed
- fixed an issue with 16 byte uuid not getting reflected back for agent response (defaulted to always 36 char string)
## [3.0.0rc11] - 2023-03-14
### Changed
- fixed an issue with RSA-based EKE where golang libraries require a slightly different format than before. Added code to auto-detect and fix
- fixed an issue where status wouldn't get updated to submitted
- fixed an issue with SOCKS reusing the same ports causing errors
- fixed an issue with mythic-cli stopping all containers instead of just the specified ones
### Added
- added a function to mythic-cli to remove intermediate images
## [3.0.0rc8] - 2023-03-14
### Changed
- fixed an issue with errors getting overwritten from create_tasking and going to the agent
- fixed an issue with script_only commands always reporting success and going to the agent
## [3.0.0rc7] - 2023-03-13
### Changed
- fixed an issue with the outer UUIDs for checkins appearing wrong thanks to BloodHound user Josh Feehs
- fixed a few issues with process_response and complection function messages
- refactored where the automatically updated build steps happened on errors
## [3.0.0rc6] - 2023-03-12
### Changed
- fixed an issue where selecting "none" for crypto would result in "" as the type instead of "none"
## [3.0.0rc5] - 2023-03-09
### Changed
- fixed issue in command addition that wasn't using $1, $2 for parameterization on database Get request
- fixed issue where mapstructure tag was missing from struct
## [3.0.0rc4] - 2023-03-07
### Changed
- updated the token/callback section to remove an instance of TokenID (should be token_id)
- updated the token/callback section to process tokens then callback tokens if both are provided simultaneously
## [3.0.0rc3] - 2023-03-06
### Changed
- fixed a few bugs in the UI
- fixed a bug where "none" encryption was reporting back as a string instead of a dictionary
## [2.3.13] - 2022-08-31
### Changed
- Allowed wrapper payload types to wrap additional wrapper payload types so that you can nest more payload types
## [2.3.12] - 2022-08-25
### Changed
- Updated P2P communications spec to return `mythic_uuid` and `new_uuid` (same value). Eventually `mythic_uuid` will be removed entirely to help reduce the number of mandatory `mythic` strings in agents.