EMBER2024 Malware Scanner is an intelligent security solution for scanning Windows PE files (e.g., .exe, .dll, .sys).
By leveraging the cutting-edge LightGBM models trained on the massive EMBER2024 dataset, this application provides an intuitive web interface for static analysis. It dynamically calculates maliciousness probability without ever executing the suspect files.
- 🧠 Modern AI Integration: Powered by LightGBM models built strictly on the EMBER2024 methodologies (utilizing
thremberandpefile). - 🔍 Fast Static Analysis: Immediate file parsing and prediction without detonating the payload.
- 🌐 VirusTotal Integration: Augment ML predictions by querying VirusTotal API for enhanced global reputation and network IOC extraction.
- 📄 OpenIOC Export: Automatically structures findings (Hashes, IPs, Domains) into actionable
.ioc(XML) reports for threat hunters. - 🖥️ Streamlit Dashboard: A beautiful, responsive web interface—no CLI expertise required.
Ensure you have Python 3.9, 3.10, 3.11, or 3.12 installed on your computer.
Step 1: Get the Code Download the project to your computer by cloning the repository:
git clone https://github.com/thanhdat317/Ember-PE-File-With-OpenIOC.git
cd Ember-PE-File-With-OpenIOCStep 2: Install Required Libraries
Install all the necessary Python packages (including thrember for the EMBER AI models):
pip install -r requirements.txtStep 3: Download the AI Models (Mandatory First-Time Setup) Because the AI models are over 400MB, they are NOT included in the GitHub repository. You must download them before scanning any files.
You can let the app download it automatically, OR manually trigger the download by running this quick Python command in your terminal:
python -c "import os, thrember; os.makedirs('models', exist_ok=True); thrember.download_models('./models')"Wait for the progress bar to finish. This will place the required EMBER2024_PE.model into the ./models folder.
Step 4: Launch the Dashboard! Start the Streamlit web server:
streamlit run app.py- Dashboard Access: After the server starts, navigate to
http://localhost:8501. - Scan: Drag and drop your suspect PE file into the uploader.
- Analyze Score: Observe the ML suspicion probability (e.g.,
98.24% (Malicious)). - VirusTotal (Optional): Input your VirusTotal API Key on the sidebar to complement the ML prediction and aggregate further networking/file indicators.
- Generate IOC: Click to render and download your formatted
OpenIOCthreat intelligence report.
This project is optimized for 1-click deployments on platforms like Streamlit Community Cloud:
- Automatic Models: Huge model files are strictly ignored on GitHub to comply with 100MB limits. The provided
app.pyscript automatically downloads them into the cloud container during runtime. - Environment: During deployment on Streamlit Cloud, navigate to Advanced Settings -> Select Python 3.10 to ensure maximum dependency compatibility for the
thremberandsignifypackages.