Internship Project for Codec Technologies
A safe, educational simulation of ransomware encryption & decryption! π
Demonstrates AES-based file encryption in a controlled sandbox environment.
Tech Stack: Python, pyAesCrypt, Logging
Developed as part of my internship with Codec Technologies, the Custom Ransomware Simulation is a project designed to demonstrate ransomware-like behavior in a safe sandbox.
It showcases how ransomware encrypts and decrypts files, with proper logging and key handling, without putting real system files at risk.
- π Key Generation β Secure random key creation saved in
key.key - π File Encryption β Encrypts sandbox files with AES-256
- π File Decryption β Decrypt files using the same key
- ποΈ Sandbox Environment β Works only on test files (no risk to your system)
- π Logging β Tracks every action in
simulation.log - π§ͺ Unit Tests β Includes test cases for safe verification
- Python 3.8+
- Virtual environment recommended
# Clone and setup git clone https://github.com/CodeWithTanim/Custom-Ransomware-Simulation.git cd Custom-Ransomware-Simulation python -m venv venv venv\Scripts\activate # Windows source venv/bin/activate # Linux/macOS # Install requirements pip install -r requirements.txt # Run the app python src/main.pyCustom-Ransomware-Simulation/ β βββ README.md β Project documentation βββ requirements.txt β Python dependencies β βββ docs/ β Documentation & Screenshots β βββ project_overview.md β βββ encryption_demo.md β βββ screenshots/ β βββ encrypt_demo.png β βββ decrypt_demo.png β βββ src/ β Source Code β βββ main.py β Main program β βββ encryptor.py β Encryption logic β βββ decryptor.py β Decryption logic β βββ utils.py β Key generation & logging β βββ tests/ β Unit Tests β βββ test_encryptor.py β βββ test_decryptor.py β βββ test_utils.py β βββ sandbox/ β Safe testing folder βββ sample_text.txt βββ sample_files/ βββ sample1.txt - Understood ransomware workflow (key, encrypt, decrypt)
- Implemented AES-256 encryption in Python using
pyAesCrypt - Practiced secure coding with logging and sandboxing
- Gained hands-on with project structure & testing
- Learned professional GitHub documentation
MD SAMIUR RAHMAN TANIM Intern at Codec Technologies π GitHub | LinkedIn
- Thanks to Codec Technologies for the internship opportunity
- Python & pyAesCrypt community for excellent documentation
Pull requests are welcome! Found bugs or improvements? Fork the repo and submit a PR.
