Timeline Mythic Parser
Trigger when Mythic exports (callbacks/tasks/responses/operations) are provided for timeline consolidation.
Input Contract
- Directory
input/c2logs/mythic/with JSON exports for callbacks, tasks, responses, or full operations.
Output
- Produce
output/mythic_entries.jsonwith timeline entries (timestamp, source, operator, action, details, raw_timestamp). - Add metadata with
source_type = "mythic", counts, and parse errors.
Workflow
- Detect export type (callbacks, tasks, full operations) by inspecting keys such as
callbacks,command_name, ortimestamp. - Convert all timestamps to ISO 8601 UTC (ensure
Zsuffix) usingfromisoformatfallback patterns. - Emit entries:
- Callback exports:
beacon_initatinit_callback,checkinatlast_checkin. - Task exports: map
command_name,original_params, ordisplay_paramstoaction/details. - Operation exports: iterate nested
callbacksandtasks, keeping owner context.
- Callback exports:
- Normalize
sourcenames toMythic-callback-<id>orMythic-task-<id>. - Include operator names, host/service details, and
action = task_namewithdetailsfrom params/output. - Capture MITRE clues from command names when available (documented in the consolidator).
Notes
- Favor
display_paramsfor human-readable commands. - When
responsesarrays exist, include their output as part of thedetailsfield.