cheiron-add-procedure
Creates a procedure in Cheiron, optionally with a thumbnail image.
cheiron-add-procedure [profile=VALUE] procedure-information-json=VALUE
- profile=VALUE
- Optional. Cheiron connect profile identifier
- procedure-information-json=VALUE
- Required. Procedure definition as a JSON object (the procedure_information part of the request). Required when creating: proc_name, is_base_proc, tech_id (technique idx), platforms, environment, main, cleanup. Other fields: proc_id, tactics (tactic idx array), description, dependencies, is_cleanup, is_danger, danger_desc, result, is_elevated, role (1 Attacker, 2 Victim), main_timeout (seconds, default 300), visibility (1 public, 2 private), detection, mitigation, reference. Every field is optional when updating. e.g.
{"proc_name": "Owner Discovery", "is_base_proc": false, "tactics": [7], "tech_id": 23, "platforms": {"windows": true, "linux": false, "mac": false, "detail": ["windows"]}, "environment": {}, "main": {"type": "cmd", "command": "whoami"}, "cleanup": {}}
Output Fields
| Field | Type | Name | Description |
|---|---|---|---|
| profile | String | Connect Profile | Cheiron connect profile identifier |
| procedure_idx | Integer | Procedure Idx | e.g. 382982 |
| proc_id | String | Procedure ID | e.g. 00000000-0000-0000-0000-0000000000a2 |
| proc_name | String | Procedure Name | e.g. harness-setup |
| result_code | Integer | Result Code | e.g. 200 |
| result_msg | String | Result Message | e.g. OK |