cheiron-instruction
Cheiron에서 인스트럭션의 실행 결과 행을 조회합니다.
cheiron-instruction [profile=값] instruction-id=값
- profile=값
- 선택. Cheiron 접속 프로파일 식별자
- instruction-id=값
- 필수. 조회할 Instruction ID (경로 파라미터)
출력 필드
| 필드 | 타입 | 이름 | 설명 |
|---|---|---|---|
| profile | 문자열 | 접속 프로파일 | Cheiron 접속 프로파일 식별자 |
| instruction_result_idx | 32비트 정수 | 결과 행 IDX | 예: 191970 |
| instruction_id | 문자열 | Instruction ID | 예: 00000000-0000-0000-0000-0000000000a8 |
| agent_idx | 32비트 정수 | 에이전트 IDX | 예: 25731244 |
| agent_id | 문자열 | 에이전트 ID | 예: 00000000-0000-0000-0000-0000000000bc |
| tenant_idx | 32비트 정수 | 테넌트 IDX | 예: 28 |
| proc_id | 문자열 | 프로시저 ID | 예: 00000000-0000-0000-0000-0000000000be |
| proc_name | 문자열 | 프로시저 이름 | 예: Download 2022-06 AppleSeed JSE Dropper |
| image_url | 문자열 | 이미지 경로 | 예: /api/v2/image/491 |
| tactics | 배열 | 전술 | 예: [11] |
| tech_id | 32비트 정수 | 테크닉 IDX | 예: 711 |
| description | 문자열 | 설명 | 예: This procedure simulates an attacker downloading dropper.jse, an ... |
| platforms | 맵 | 지원 플랫폼 | 예: {"mac": false, "linux": false, "detail": ["windows"], "windows": true} |
| environment | 맵 | 환경변수 | 예: {"C2_URL": {"type": "text", "value": "http://c2.example.com...", "require": true}, "CHEIRON_URL": {"type": "text", "v... |
| dependencies | 배열 | 선행 프로시저 | 예: [{"type": "bash", "description": "Fiile Backup", "prereq_command": "if [ -f "#{FILE_PATH}...", "get_prereq_command":... |
| main | 맵 | 실행 정의 | 예: {"args": {"Data": {"file_attach": 854118}, "Encoder": "", "FileType": "local", "Overwrite": true}, "path": "", "type"... |
| cleanup | 맵 | 정리 정의 | 예: {"type": "powershell", "command": "#Requires -Version 5.1"} |
| result | 맵 | 실행 결과 | 예: {"main": {"err": "", "pid": 11740, "type": "download", "result": {"Path": "C:\Users\user\AppData...", "Sha256": "8... |
| cleanup_result | 맵 | 정리 결과 | 예: none |
| aux_result | 맵 | 보조 결과 | 예: {"err": "", "pid": 11740, "Path": "C:\Users\user\AppData...", "type": "download"} |
| status | 32비트 정수 | 실행 상태 | -1 Waiting, 0 Waiting, 1 Running, 2 Running, 4 Paused, 5 Waiting, 6 Sent Fail, 7 Receive Fail, 9 Completed, 10 Stopped, 11 Result Error, 13 Create Fail, 16 Analysis Sent Fail, 17 Analysis Receive Fail |
| prevented | 32비트 정수 | 차단 여부 | 1 compromised, 2 prevented, 3 detected |
| ready_at | 날짜 | 준비 시각 | 예: 2026-11-18 00:00:00 |
| sent_at | 날짜 | 전송 시각 | 예: 2026-11-18 00:00:05 |
| completed | 날짜 | 완료 시각 | 예: 2026-11-18 00:00:11 |
| executor | 32비트 정수 | 실행기 | 예: 280 |
| file_attach | 32비트 정수 | 첨부 파일 | 예: 854118 |
| author_idx | 32비트 정수 | 작성자 IDX | 예: 2 |
| detection | 배열 | 탐지 방법 | 예: ["Monitor mshta.exe lau..."] |
| mitigation | 배열 | 완화 방법 | 예: ["Block mshta.exe with ..."] |
| reference | 배열 | 참고자료 | 예: [{"uri": "https://www.flaticon....", "type": "image"}] |
| main_timeout | 32비트 정수 | 실행 제한시간 | 예: 300 |
| scenario_task_idx | 32비트 정수 | 태스크 IDX | 예: 10512 |
| command_json | 맵 | 명령 원문 | 예: {"instruction_id": "00000000-0000-0000-00...", "agent_guid": "00000000-0000-0000-00...", "procedure_id": "00000000-00... |
| cleanup_command_json | 맵 | 정리 명령 원문 | 예: {"type": "powershell", "command": "Remove-Item C:\Window..."} |