Django Project Implementation
- VirusTotal API (Task 1.1)
- CVE identification & enrichment (Task 1.2)
- Local Llama 3.1 8B model for SOC-grade recommendations (Task 2)
For each malware hash, the system retrieves:
- File metadata
- Detection statistics
- Process behavior
- File system changes
- Registry activity
- Network IOCs
Automatically performs:
- CISA report download
- Regex CVE extraction
- Llama-assisted extraction (fallback)
- VirusTotal CVE tags
- Fallback CVE mapping
CVE enrichment from:
- NVD
- CVE.org
- CIRCL
Local Llama-3.1-8B-Instruct produces:
- Threat analysis
- IOCs
- Exploitation flow
- Detection & prevention
- Incident response
- Long-term hardening
- Hash input + preset malware buttons
- Detection charts
- Heatmaps
- Behavior tables
- CVE cards
- Full LLM prompt + response
git clone <your-repo-url>
cd repopython3 -m venv venv
source venv/bin/activateWindows:
.\venv\Scripts\activatepip install -r requirements.txtexport VT_API_KEY="YOUR_VT_KEY"
export MALWARE_LOG_LEVEL="INFO" # optionalhuggingface-cli loginpython manage.py migratepython manage.py runserverOpen browser:
http://127.0.0.1:8000/
Analyzes malware hash.
Request:
{
"hash": "<sha256>"
}Response includes VT data, CVEs, LLM analysis, charts, tables.
