Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thecomputeguy/jedi
A web malware analysis framework for PHP-based backends
https://github.com/thecomputeguy/jedi
cms malware-detection python security
Last synced: 3 days ago
JSON representation
A web malware analysis framework for PHP-based backends
- Host: GitHub
- URL: https://github.com/thecomputeguy/jedi
- Owner: TheComputeGuy
- Created: 2022-06-07T12:23:07.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-25T20:50:17.000Z (over 1 year ago)
- Last Synced: 2023-07-30T07:40:23.410Z (over 1 year ago)
- Topics: cms, malware-detection, python, security
- Language: Python
- Homepage:
- Size: 3.05 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Jedi
This tool builds on top of [Cyber Forensics Innovation Lab's](https://cyfi.ece.gatech.edu/) [Yoda](https://github.com/CyFI-Lab-Public/YODA), a tool to analyse website backups for malicious plugins delivered via well-known Content Management Systems.
Jedi aims to run analysis on non-plugin files to perform the same, and also aims to add more analysis rules to improve the web malware detection capabilities of Yoda.
## Installing
This app best works in Linux, running it in Windows requires certain quirks especially regarding the PHP runtime and how the phar files are executed.
Start by cloning this repo
### [Optional - Recommended] Using a virtual environment
Install and setup virtual environment
```
pip install virtualenv
virtualenv venv
```To activate your virtualenv
```
source ./venv/bin/activate
```To exit the virtual environment
```
deactivate
```### App setup
Install the required dependencies
```
pip install -r requirements.txt
```Other requirements include having a PHP runtime and having the php-dev packages installed.
## Running in local
```
python framework.py
```## Note
This code has been tested in Python 3.6.9 and may not necessarily work in Python 3.10 and onwards owing to changes in some method signatures in Python 3.10.## Relevant previous work from CyFI Lab
[TARDIS](https://ieeexplore.ieee.org/document/9152609)R. Pai Kasturi et al., "TARDIS: Rolling Back The Clock On CMS-Targeting Cyber Attacks," 2020 IEEE Symposium on Security and Privacy (SP), 2020, pp. 1156-1171, doi: 10.1109/SP40000.2020.00116.
[YODA](https://www.usenix.org/conference/usenixsecurity22/presentation/kasturi)‘Mistrust Plugins You Must: A Large-Scale Study Of Malicious Plugins In WordPress Marketplaces’, στο 31st USENIX Security Symposium (USENIX Security 22), 2022.