https://github.com/sebdraven/petojson
Serialize PE to Json based on PE-Parse
https://github.com/sebdraven/petojson
json malware pe-parse serialisaton
Last synced: over 1 year ago
JSON representation
Serialize PE to Json based on PE-Parse
- Host: GitHub
- URL: https://github.com/sebdraven/petojson
- Owner: sebdraven
- License: mit
- Created: 2017-09-19T09:37:49.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-11T10:20:01.000Z (over 8 years ago)
- Last Synced: 2025-03-21T23:24:03.169Z (over 1 year ago)
- Topics: json, malware, pe-parse, serialisaton
- Language: Python
- Homepage:
- Size: 21.5 KB
- Stars: 8
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
PEtoJSON
==========
the goal of this project based on pe-parse, it's to serialize pe to json with metadata informations
Installation
=============
* Install python 3.5
* Install pe-parse https://github.com/sebdraven/pe-parse
* ` pip install -r requirements.txt `
* `python3.5 setup.py install`
Usage
=======
petojson.py
or
from peanalysis.parse import PEParser
p =
pe = PEParser(p)
pe.load()
pe.dump_sections()
pe.dump_imports()
pe.dump_exports()
pe.dump_resources()
pe.dump_tls()
json.dumps(pe.dict_pe)
Todo
=======
Support:
* PE 64bits format
* PEHash
* Assembly and Graph flow
Thanks
=======
Thanks to E.Carrera for the work on PEfile !