AGENT SKILL

digital-forensics

Digital forensics and malware analysis for evidence collection and investigation

License 许可
MIT
最近更新
2026-09-22
Stars
★ 0
Forks
0

01 前言 Front Matter

name
digital-forensics
retry
{ "delays": [ 5000, 10000 ], "enabled": true, "strategy": "linear", "max_attempts": 2, "retryable_errors": [ "E_TOOL_TIMEOUT" ], "non_retryable_errors": [ "E_EVIDENCE_CORRUPTED", "E_HASH_MISMATCH" ] }
errors
{ "E_HASH_MISMATCH": { "code": 3002, "message": "Hash verification failed", "recovery": "Re-acquire evidence if possible" }, "E_FILE_NOT_FOUND": { "code": 3001, "message": "Evidence file not found", "recovery": "Verify file path" }, "E_EVIDENCE_CORRUPTED": { "code": 3003, "message": "Evidence file corrupted", "recovery": "Document and attempt partial recovery" } }
bond_type
PRIMARY_BOND
operations
{ "analyze_disk": { "input": { "image_path": { "type": "string", "required": true }, "artifact_types": { "type": "array", "default": [ "filesystem", "registry", "browser" ] } }, "atomic": true, "output": { "timeline": "array<TimelineEntry>", "artifacts": "array<Artifact>" }, "description": "Analyze disk image for artifacts" }, "extract_iocs": { "input": { "evidence_source": { "type": "string", "required": true } }, "atomic": true, "output": { "iocs": "array<IOC>", "stix_bundle": "object" }, "description": "Extract Indicators of Compromise" }, "analyze_memory": { "input": { "profile": { "type": "string", "optional": true }, "dump_path": { "type": "string", "required": true } }, "atomic": true, "output": { "processes": "array<Process>", "injected_code": "array<MalwareIndicator>", "network_connections": "array<Connection>" }, "description": "Analyze memory dump for processes and malware" }, "analyze_malware": { "input": { "sample_path": { "type": "string", "required": true }, "analysis_type": { "type": "enum", "values": [ "static", "dynamic", "both" ], "default": "both" } }, "atomic": true, "output": { "iocs": "array<IOC>", "behavior": "array<Behavior>", "classification": "string" }, "description": "Perform malware analysis" }, "acquire_evidence": { "input": { "source": { "type": "string", "required": true }, "acquisition_type": { "type": "enum", "values": [ "disk", "memory", "network" ], "required": true } }, "atomic": true, "output": { "hash_md5": "string", "hash_sha256": "string", "evidence_path": "string", "chain_of_custody": "object" }, "description": "Acquire forensic evidence with integrity verification" } }
validation
{ "rules": [ { "name": "file_exists", "check": "path.exists(source)", "error": "E_FILE_NOT_FOUND" }, { "name": "hash_format", "error": "E_INVALID_HASH", "pattern": "^[a-fA-F0-9]{32}$|^[a-fA-F0-9]{64}$" } ] }
description
Digital forensics and malware analysis for evidence collection and investigation
bonded_agent
03-forensics-analyst
last_updated
2025-01-01
bond_strength
1
observability
{ "chain_of_custody": { "enabled": true, "log_all_access": true } }
sasmp_version
1.3.0
production_grade
true

02 资源文件 3

03 SKILL.md 正文

Digital Forensics Skill

Purpose: Investigation and evidence analysis.

Operations Overview

Operation Input Output
acquire_evidence source, type path, hashes, custody
analyze_disk image_path artifacts, timeline
analyze_memory dump_path processes, malware
analyze_malware sample_path classification, iocs
extract_iocs evidence iocs, stix

Chain of Custody Protocol

Evidence → Hash → Document → Copy → Verify → Analyze

Key Artifacts

OS Artifact Location
Windows Prefetch C:\Windows\Prefetch
Windows Registry NTUSER.DAT
Linux auth.log /var/log

Troubleshooting

Analysis Failed
    │
    ├─► E_HASH_MISMATCH → Re-acquire or document
    ├─► E_EVIDENCE_CORRUPTED → Partial recovery
    └─► E_FILE_NOT_FOUND → Verify path

Version History

Version Date Changes
2.0.0 2025-01-01 Production-grade upgrade
1.0.0 2024-12-29 Initial release

04 同仓库更多 Skills