"Knowledge is power, but analysis is understanding..."
WinPE-Scan est un toolkit multi-outils pour l'analyse de fichiers PE Windows (.exe, .dll, .sys). Un outil complet pour l'analyse de malwares et la recherche en sΓ©curitΓ©.
USAGE ΓDUCATIF UNIQUEMENT
WinPE-Scan est un outil Γ usage Γ©ducatif uniquement.
- Utilisez-le uniquement sur des fichiers pour lesquels vous avez l'autorisation
- L'auteur ne peut Γͺtre tenu responsable de toute utilisation abusive
- Respectez les lois de votre juridiction
| Outil | Description |
|---|---|
| π info | Analyse complΓ¨te du fichier PE |
| π strings | Extraction de strings ASCII/Unicode |
| π hash | Calcul de hashes (MD5, SHA1, SHA256, SHA512) |
| π headers | Visualisation des headers PE |
| π¦ sections | Analyse dΓ©taillΓ©e des sections |
| π₯ imports | Liste des imports/exports |
| βοΈ compare | Comparaison de deux fichiers PE |
| β sig | Information sur les signatures |
# Cloner le repo
git clone https://github.com/s1d9e/winpe-scan.git
cd winpe-scan
# Aucune dΓ©pendance requise - Python 3.8+ uniquement
python3 winpe-scan.py# Analyse complète
python3 winpe-scan.py info malware.exe
# Extraire les strings
python3 winpe-scan.py strings sample.dll
python3 winpe-scan.py strings file.exe -m 6 -f "http"
# Calculer les hashes
python3 winpe-scan.py hash suspicious.exe
# Voir les headers
python3 winpe-scan.py headers file.exe
# Analyser les sections
python3 winpe-scan.py sections malware.dll
# Lister imports/exports
python3 winpe-scan.py imports sample.exe
# Comparer deux fichiers
python3 winpe-scan.py compare file1.exe file2.exe
# Info signature
python3 winpe-scan.py sig file.exepython3 winpe-scan.py info malware.exe
[ BASIC INFO ]
File: malware.exe
Size: 45,232 bytes
MD5: d41d8cd98f00b204e9800998ecf8427e
SHA256: e3b0c44298fc1c149afbf4c8996fb924...
[ SECTIONS ]
Name VirtAddr Entropy
.text 0x1000 6.87 β οΈ
.data 0x6000 3.21
# Strings avec longueur minimale de 6
python3 winpe-scan.py strings malware.exe -m 6
# Filtrer par regex
python3 winpe-scan.py strings file.exe -f "http"python3 winpe-scan.py hash sample.dll
MD5 d41d8cd98f00b204e9800998ecf8427e
SHA1 da39a3ee5e6b4b0d3255bfef95601890afd80709
SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
SHA512 cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce...
python3 winpe-scan.py compare file1.exe file2.exe
Hashes:
File 1: a1b2c3d4...
File 2: e5f6g7h8...
Match: NO
Imports:
File 1: 12 DLLs
File 2: 15 DLLs
Common: kernel32.dll, ntdll.dll, ws2_32.dll
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β WINPE-SCAN v1.0 β
β Windows PE Multi-Tool Analyzer β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Tools: info | strings | hash | headers | sections | imports | compare | sig
$ python3 winpe-scan.py info suspicious.exe
[ BASIC INFO ]
ββββββββββββββββββββββββββββββββββββββββββββββββββ
File: suspicious.exe
Size: 45,232 bytes
MD5: d41d8cd98f00b204e9800998ecf8427e
SHA256: e3b0c44298fc1c149afbf4c8996fb924...
[ PE HEADERS ]
ββββββββββββββββββββββββββββββββββββββββββββββββββ
Machine: x64
Sections: 4
Subsystem: Windows GUI
Entry Point: 0x1000
[ SECTIONS ]
ββββββββββββββββββββββββββββββββββββββββββββββββββ
Name VirtAddr Entropy Flags
.text 0x1000 6.87 β οΈ CODE READ EXEC
.data 0x6000 3.21 READ WRITE
[ SUSPICIOUS ]
ββββββββββββββββββββββββββββββββββββββββββββββββββ
π¨ HIGH [NETWORK] http://malicious-domain.com
π¨ HIGH [COMMAND] cmd.exe /c powershell...
winpe-scan/
βββ winpe-scan.py # Multi-tool principal
βββ README.md
βββ LICENSE
βββ LEGAL.md
βββ .gitignore
βββ .assets/
βββ logo.svg
- Python 3.8+ - 100% Python, zero dΓ©pendances
- Colorama - Couleurs dans le terminal
- Struct - Parsing binaire natif
- Regex - DΓ©tection de patterns
- Fork le projet
- CrΓ©e une branche (
git checkout -b feature/AmazingFeature) - Commit (
git commit -m 'Add AmazingFeature') - Push (
git push origin feature/AmazingFeature) - Ouvre une Pull Request
MIT License - Voir LICENSE
Made with π‘οΈ by s1d9e | For Educational Purposes Only