A powerful reverse engineering + forensic file analysis tool built with Python and PySide6.
This tool allows users to analyze executables, documents, and multiple file types in a single modern GUI.
Created by: Syed Shaheer Hussain
GitHub: https://github.com/syedshaheerhussain
The Universal File Analyzer v4 PRO is an advanced desktop application designed for:
- Reverse Engineering
- Malware Analysis
- File Forensics
- Document Inspection
- Binary Structure Analysis
It combines multiple analysis engines into a single interface supporting both binary files and document formats.
- Provide a unified file analysis platform
- Support multiple file formats
- Display deep internal file structures
- Help learners understand reverse engineering
- Provide entropy-based security analysis
- Offer a modern GUI experience
- File parsing (PE / ELF / Documents)
- Binary analysis
- Entropy calculation (malware detection)
- Strings extraction
- Hexadecimal analysis
- Tree-based structure visualization
- GUI development with PySide6
- Python 3.x
- PySide6 (Qt GUI Framework)
- PEfile (Windows executable parsing)
- pyelftools (Linux ELF parsing)
- pdfminer.six (PDF extraction)
- python-docx (Word document parsing)
- BeautifulSoup4 (HTML parsing)
| Tool | Purpose |
|---|---|
| PySide6 | GUI Framework |
| PEfile | PE file parsing |
| pyelftools | ELF file parsing |
| pdfminer.six | PDF text extraction |
| python-docx | DOCX parsing |
| BeautifulSoup | HTML parsing |
| Python standard libraries | Core logic |
universal_analyzer_v4/
│
├── main.py
├── gui.py
├── detector.py
├── entropy.py
├── exporter.py
├── utils.py
│
├── parsers/
│ ├── pe.py
│ ├── elf.py
│ ├── docx_parser.py
│ ├── pdf_parser.py
│ ├── html_parser.py
│ ├── text_parser.py
git clone https://github.com/syedshaheerhussain/universal-file-analyzer.git
cd PE-ELF_File_Analyzerpip install pyside6 pefile pyelftools python-docx pdfminer.six beautifulsoup4python main.py- Open terminal / command prompt
- Navigate to project folder
- Run:
python main.py- GUI will open
- Click Open File
- Select any file (EXE, PDF, DOCX, TXT, HTML, ELF)
.exe.dll.elf.pdf.docx.txt.html.xlsx
- PE Structure Analysis
- ELF Structure Analysis
- Imports & Exports Viewer
- Sections Viewer
- Strings Extraction
- Hex Viewer
- Document Parsing
- Entropy Analysis (Malware Detection)
- Modern Dark UI
- Tab-based layout
- Search system
- Export functionality
- Tree-based structure view
- Responsive interface
- File entropy detection
- Packed file detection (high entropy)
- Suspicious binary identification
- Deep file inspection
Automatically detects file type using extension.
Each file type is routed to a dedicated parser:
- PE → pefile
- ELF → pyelftools
- DOCX → python-docx
- PDF → pdfminer
- HTML → BeautifulSoup
Creates hierarchical tree view:
- Sections
- Imports
- Exports
- Document paragraphs
- Tables
Scans binary data and extracts readable text.
Displays raw binary in hexadecimal format.
Calculates randomness of file:
- Low → Normal file
- Medium → Suspicious
- High → Packed / Malware-like
Exports analysis into JSON format.
Search inside:
- Strings
- Hex
- Info panel
from entropy import entropy
data = open("sample.exe", "rb").read()
print(entropy(data))- Load suspicious
.exe - Check entropy (high = packed)
- Inspect imports (suspicious API calls)
- Extract strings (URLs, commands)
- Analyze structure
- Load PDF or DOCX
- Extract hidden text
- Analyze metadata
- Search keywords
✔ Multi-file analyzer ✔ Reverse engineering support ✔ Malware detection via entropy ✔ GUI-based inspection tool ✔ Cross-format file support ✔ Export system ✔ Search engine
- File structure analysis (PE & ELF)
- GUI development using PySide6
- Binary data processing
- Malware detection basics
- File parsing techniques
- Software architecture design
- Modular programming
- Cybersecurity students
- Reverse engineering learners
- Malware analysts
- Software developers
- Ethical hackers
- Researchers
- Disassembler integration (Capstone)
- Function call graph
- Live memory analysis
- Malware sandbox
- Plugin system (IDA-style)
- Advanced UI dashboards
- Real-time file monitoring
- This tool is for educational purposes only
- Do NOT use on unauthorized systems
- Some binaries may not parse fully (packed files)
- Large files may take time to analyze
- Do not run unknown executables outside sandbox
- High entropy files may be malware
- Always verify file sources
This project demonstrates:
- Advanced Python programming
- GUI application development
- Cybersecurity fundamentals
- Reverse engineering concepts
- Real-world forensic tool design
If you like this project:
⭐ Star this repository 🔁 Share with others 👤 Follow developer: 👉 https://github.com/syedshaheerhussain
This project is open-source for educational use. You may modify and improve it for learning purposes.
This project is a mini reverse engineering + forensic suite built for learning and research purposes. It can be expanded into a professional-grade security tool with advanced features.
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)