This repository contains a collection of YARA rules designed to identify and classify Python compiled bytecode files (*.pyc
) based on their magic numbers.
Magic numbers in Python bytecode files are used to indicate the version of Python with which the file was compiled. This project helps in forensic analysis, malware detection, and reverse engineering tasks involving Python bytecode.
- Version variety: Rules for detecting different versions of Python from 1.5 to the latest alphas.
- Actual state: This repo regenerates new YARA ruleset each Sunday.
Contributions to this project are welcome! Here are some ways you can contribute:
- Submit Bugs: If you see some missed magics or inability to detect your pyc version - feel free to make an issue :)
- Ideas: Feel free to suggest features related to this project using Issues.
- Stars: Good option to support this project is to star this project.
- Follow author at Telegram.
This project is published under MIT license.