This API provides a programmatic interface for interacting with Codehunter and performing range of actions.
Submits a file to be analyzed by Codehunter. Please check the Codehunter supported file types.
In case of password protected .zip file the password has to be infected
The file to be analyzed.
| file | string <binary> The file to be analyzed (e.g., .exe, .zip, .pdf). |
{- "status": "IN_PROGRESS",
- "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
- "submitted_at": "2025-11-06T17:30:00Z"
}Retrieves a single, full analysis report by the file's SHA-256 hash. This provides the most recent, complete analysis for a given file hash available to the authenticated user.
| sha256 required | string <sha256> Example: 01a2d56feea8c374a9a767edb216ce5e6d17e8cf0a88597c6b8133efd970c6d4 The SHA-256 hash of the file to retrieve a report for. |
{- "analysis_detail": {
- "parent_sha256": null,
- "is_trusted": false,
- "status": "Completed",
- "verdict": "Malicious",
- "scan_duration": 4500,
- "known": "BAD",
- "validated": {
- "score": 8,
- "total": 10
}, - "behaviors_count": {
- "critical": 1,
- "medium": 7,
- "low": 8
}, - "behaviors": [
- {
- "behavior_id": 13314147,
- "name": "Known Malware Detected",
- "description": "This sample writes a file from an FTP connection.",
- "impact": "HIGH",
- "mitreId": [
- "T1071.002"
], - "mbcId": [
- "T1129"
], - "evidences": [
- {
- "evidence": {
- "yaraArtefacts": [
- {
- "ruleName": "DITEKSHEN_MALWARE_WIN_NANOCORE"
}
]
}
}
]
}
], - "child_analyses": [ ]
}, - "file_metadata": {
- "fileName": "01a2d56feea8c374a9a767edb216ce5e6d17e8cf0a88597c6b8133efd970c6d4",
- "fileSize": 207909,
- "fileType": "Windows executable",
- "hash": "01a2d56feea8c374a9a767edb216ce5e6d17e8cf0a88597c6b8133efd970c6d4"
}
}