Skip to content
KitploitKITPLOIT
OutilsBlog
Soumettre
OutilsBlog
Soumettre

Outils de Hacking, PenTest et Cybersécurité pour votre Arsenal de Sécurité !

Kitploit est un répertoire d'outils de hacking, de cybersécurité et de pentesting. Découvrez les dernières mises à jour des projets pour trouver des vulnérabilités, analyser des systèmes, automatiser les tests et renforcer votre sécurité.

··Flux·Contact·Confidentialité·© 2026 Kitploit

Répertoire d'outils

Catégories

Voir toutes les catégories
Loading categories
pecli — Outil CLI pour analyser les fichiers PE | Kitploit
Outils/GitHubGitHub/te-k/pecli
Analyse StatiqueRétro-ingénierieAnalyse de MalwareAnalyse de Binaires
GitHubte-k/pecli

pecli

Outil CLI pour analyser les fichiers PE

Voir le dépôt
9023il y a 1 anVérifié par Kitploit

Populaires

Voir tout →

Découvrez les outils les plus utilisés par notre communauté.

Explorer tous les outils

Parcourez notre collection d'outils

Voir tous les outils →
Partager

PEcli

Outil pour analyser les fichiers PE en Python 3. Fonctionnalités actuelles :

  • Afficher les informations sur le fichier (importations, exportations, ressources)
  • Rechercher des informations intéressantes dans le fichier (ressources anormales, peid...)
  • Extraire les sections ou ressources
  • Vérifier la taille
  • Rechercher une chaîne de caractères dans le fichier

PyPI PyPI - Downloads PyPI - License GitHub issues

Installation

Vous pouvez l'installer depuis pypi : pip install pecli

Ou directement depuis le code :

root@kitploit:~
git clone https://github.com/Te-k/pecli.git
cd pecli
pip install .

Comment faire

PEcli fonctionne avec des plugins, comme pecli PLUGIN FICHIER

root@kitploit:~
usage: pecli [-h] {check,checksize,crypto,dump,info,richpe,search,shell,sig,strings,vt} ...

positional arguments:
  {check,checksize,crypto,dump,info,richpe,search,shell,sig,strings,vt}
                        Plugins
    check               Vérifier la présence d'éléments dans le fichier
    checksize           Vérifier la taille du fichier PE
    crypto              Identifier les valeurs cryptographiques
    dump                Extraire une ressource ou une section du fichier
    info                Extraire les informations du fichier PE
    richpe              Décoder l'en-tête Rich PE
    search              Rechercher une chaîne dans un fichier PE
    shell               Lancer un shell ipython pour analyser le fichier PE
    sig                 Gérer la signature PE
    strings             Extraire les chaînes du fichier PE
    vt                  Vérifier les informations PE sur VirusTotal

Exemple :

root@kitploit:~
$ pecli info explorer.exe
Metadata
================================================================================
MD5:           418045a93cd87a352098ab7dabe1b53e
SHA1:          98b9ad668e0727be888b861f49aac0f72725e634
SHA256:        81419093ccb985da284931fa3df41c4cfe25350db1c366792903411819371664
Imphash:       c3eb9567e9430e65e703dca7bb8343fa
Size:          1036800 bytes
Type:          PE32 executable (GUI) Intel 80386, for MS Windows
Compile Time:  2008-04-13 19:17:04 (UTC - 0x48025C30)
Entry point:   0x101a55f (section .text)
Debug Information: explorer.pdb

Sections
================================================================================
Name       VirtSize  VirtAddr  RawSize   RawAddr   Entropy  md5
.text      0x44c09   0x1000    0x400     0x44e00   6.3838   8c58c76b600f5aee7f7c7242454b9a1f
.data      0x1db4    0x46000   0x45200   0x1800    1.2992   983f35021232560eaaa99fcbc1b7d359
.rsrc      0xb2f64   0x48000   0x46a00   0xb3000   6.6381   f7df812e2e64b1514d61a9681fbe71da
.reloc     0x374c    0xfb000   0xf9a00   0x3800    6.7817   ec335057489badbf6d8142b57175fd91


Imports
================================================================================
ADVAPI32.dll
	0x1001000 RegSetValueW
	0x1001004 RegEnumKeyExW
	0x1001008 GetUserNameW
[SNIP]

Resources:
================================================================================
Id           Name    Size      Lang           Sublang           Type           MD5
2-143-1031   None    2040 B    LANG_GERMAN    SUBLANG_GERMAN    data           f0e8e299c637633db0a5af11042adb04
2-145-1031   None    35322 B   LANG_GERMAN    SUBLANG_GERMAN    data           1e5bfaf34503ce750b3cc13058a3f88b
2-146-1031   None    12826 B   LANG_GERMAN    SUBLANG_GERMAN    data           061daf6ef2047f33947d5655f1c8aaa4
[SNIP]
root@kitploit:~
$ pecli check playlib.exe
Running checks on playlib.exe:
[+] Abnormal section names: .enigma1 .enigma2
[+] Suspicious section's entropy: .enigma1 - 7.931
[+] Known malicious sections
	-.enigma1: Enigma Virtual Box protector
	-.enigma2: Enigma Virtual Box protector
[+] 200 extra bytes in the file
[+] TLS Callback: 0x446bb0
[+] PE header in sections .enigma2
[+] Known suspicious import hash: Enigma VirtualBox

Licence

Cet outil est publié sous licence MIT

Outils similaires

  • Viper
  • PEScanner publié par Michael Ligh pour le Malware Analyst's Cookbook (python2 uniquement)
  • Manalyze par Ivan Kwiatkowski
  • Sous Windows, PeStudio, PEView et Resource Hacker
Télécharger l’outil