ByteShield
A web application designed to perform static malware analysis on uploaded files using tools like YARA rules, pefile, and other detection mechanisms, it scans files for suspicious patterns and provides
Created on 24th February 2025
•
ByteShield
A web application designed to perform static malware analysis on uploaded files using tools like YARA rules, pefile, and other detection mechanisms, it scans files for suspicious patterns and provides
The problem ByteShield solves
This project is a file analysis tool designed to detect potentially malicious files, focusing on EXE, PDF, and DOCX formats. It leverages PE file analysis, entropy calculations, suspicious section checks, and YARA rules to identify anomalies. The tool also inspects embedded JavaScript in PDFs and macros in DOCX files, and performs hash-based checks against known threats. It provides a "Malicious" or "Clean" verdict based on comprehensive file scrutiny.
Challenges we ran into
We used new tech stack like flask and learned some cybersecurity things. While building the project, I encountered a bug in the entropy calculation function.The issue arose because the bit_length() method was being called on a float object in the entropy calculation function. The bit_length() method is designed for int types, not float, which led to a runtime exception.
Tracks Applied (1)
WebDev
Technologies used
