Mission Beluga
Mission Beluga– Fast, Static, and Reliable Threat Detection for Executables and Documents.
Created on 23rd February 2025
•
Mission Beluga
Mission Beluga– Fast, Static, and Reliable Threat Detection for Executables and Documents.
The problem Mission Beluga solves
Cyber threats are evolving, and malware can hide within executables (.exe, .dll) and documents (.pdf, .docx, .doc), making traditional antivirus solutions slow or incomplete.
Challenge:
- Many malware scanners require execution, increasing security risks.
- Checking files manually is time-consuming and error-prone.
- Not all solutions provide detailed static analysis.
How This Tool Helps:
- Detects malware instantly using static analysis (no execution required).
- Uses YARA rules, entropy analysis, PE header inspection, and VirusTotal integration.
- Provides a detailed risk report, making malware detection faster, safer, and more reliable.
Ideal for: Security researchers, IT teams, and users who want a quick malware scan without running files.
Challenges we ran into
- Handling False Positives in Static Analysis
Issue: Many clean files (like official software installers) triggered malware alerts due to overly aggressive YARA rules.
Solution: We refined our rule set, adjusted entropy thresholds, and filtered out benign API imports to improve accuracy. - Parsing and Analyzing Multiple File Types
Issue: Extracting meaningful data from PE files, PDFs, and DOCX documents required different parsing techniques.
Solution: We integrated PEfile, pdfplumber, and olefile libraries to properly analyze each file type. - VirusTotal API Rate Limits
Issue: The free VirusTotal API has strict request limits, making large-scale scanning difficult.
Solution: Implemented hash-based lookups first, so previously scanned files don’t require new API requests. - Ensuring Fast Scanning Without Execution
Issue: Dynamic analysis was too resource-intensive and not suitable for quick scans.
Solution: Focused entirely on static analysis (entropy, imports, YARA rules, and hash lookups) for speed and safety. - Handling Large File Uploads Efficiently
Issue: Users uploading files larger than 10MB could crash the server.
Solution: We set a strict file size limit and used Multer for efficient handling of uploads. - React Not Displaying Formatted Output Properly
Issue: The scan result was printing in a single line instead of a readable format.
Solution: Adjusted the state update logic to store results as an array and mapped them correctly in JSX. - Node.js - Handling Child Process Output from Python
Issue: The Python script returned output in multiple lines, but Node.js struggled to parse it properly.
Solution: Ensured Python outputs JSON, and Node.js properly parses the JSON response before sending it to React. - CORS Issues Between React and Node.js
Issue: The React frontend was unable to communicate with the Node.js backend due to CORS policy restrictions.
Solution: Configured CORS middleware in Express to allow requests from React.
Tracks Applied (1)
CyberSec
Discussion
Builders also viewed
See more projects on Devfolio
