Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

16 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ›ก๏ธ SecLab Toolkit

๐Ÿ“– Introduction

SecLab Toolkit (Security Labs Toolkit) is a Python-based cybersecurity learning and simulation framework designed for students, beginners, and security enthusiasts.

The toolkit combines multiple cybersecurity concepts into a single command-line interface (CLI) platform to provide practical exposure to:

  • Cryptography
  • Password Security
  • Honeypot Simulation
  • Phishing Awareness
  • SQL Injection Demonstrations
  • Logging and Monitoring
  • Ethical Hacking Concepts

The project focuses on hands-on learning through interactive demonstrations and simulated security environments. It is intended strictly for educational, research, and cybersecurity practice purposes.


โœจ Features

  • Modular cybersecurity toolkit
  • Interactive CLI-based interface
  • Cryptography demonstrations
  • Password analysis and generation tools
  • SSH honeypot simulation
  • Security logging and monitoring
  • Educational phishing demo
  • SQL Injection practice environment
  • Beginner-friendly implementation
  • Real-world cybersecurity concepts

โš™๏ธ Technologies Used

  • Python
  • Paramiko
  • Socket Programming
  • PyCryptodome
  • OpenCV
  • Logging
  • Threading
  • File Handling

๐Ÿ“‚ Project Structure

SecLab-Toolkit/
โ”‚
โ”œโ”€โ”€ cryptography/
โ”‚   โ”œโ”€โ”€ aes_demo.py
โ”‚   โ”œโ”€โ”€ rsa_demo.py
โ”‚   โ”œโ”€โ”€ digital_signature_demo.py
โ”‚   โ”œโ”€โ”€ secure_file_encryptor.py
โ”‚   โ”œโ”€โ”€ caesar_cipher.py
โ”‚   โ”œโ”€โ”€ vigenere_cipher.py
โ”‚   โ”œโ”€โ”€ base64_encoder_decoder.py
โ”‚   โ”œโ”€โ”€ hex_encoder_decoder.py
โ”‚   โ”œโ”€โ”€ url_encoder_decoder.py
โ”‚   โ”œโ”€โ”€ hash_generator.py
โ”‚   โ”œโ”€โ”€ hash_identifier.py
โ”‚   โ”œโ”€โ”€ file_hash_checker.py
โ”‚   โ””โ”€โ”€ Steganography.py
โ”‚
โ”œโ”€โ”€ password_tools/
โ”‚   โ”œโ”€โ”€ generator.py
โ”‚   โ”œโ”€โ”€ strength.py
โ”‚   โ”œโ”€โ”€ password_entropy_calculator.py
โ”‚   โ”œโ”€โ”€ commonpassworddetector.py
โ”‚   โ””โ”€โ”€ attack_simulator.py
โ”‚
โ”œโ”€โ”€ honeypot/
โ”‚   โ”œโ”€โ”€ honeypot.py
โ”‚   โ”œโ”€โ”€ audits.log
โ”‚   โ”œโ”€โ”€ cmd_audits.log
โ”‚   โ””โ”€โ”€ server_key
โ”‚
โ”œโ”€โ”€ phishing_demo/
โ”‚
โ”œโ”€โ”€ sql_injection_demo/
โ”‚
โ”œโ”€โ”€ main.py
โ””โ”€โ”€ README.md

๐Ÿš€ Installation

1. Clone the Repository

git clone https://github.com/murariguna/SECLAB.git
cd SECLAB

2. Install Dependencies

pip install -r requirements.txt

โ–ถ๏ธ Running the Project

Run the main toolkit interface:

python main.py

You can also execute individual tools directly:

python aes_demo.py

๐Ÿงฉ Main Modules

Module Description
Cryptography Encryption, hashing, encoding, digital signatures, steganography
Password Security Password generation, entropy analysis, strength testing
Honeypot SSH honeypot simulation and monitoring
Phishing Demo Educational phishing simulation
SQL Injection Demo SQL Injection attack and prevention demo
Logging & Monitoring Tracks activity and simulated attacks

๐Ÿ” Cryptography Module

The Cryptography Module demonstrates both classical and modern cryptographic techniques including encryption, hashing, encoding, digital signatures, and steganography.


๐Ÿ“œ Programs in the Cryptography Module

1. AES Encryption Demo

Demonstrates AES (Advanced Encryption Standard) symmetric encryption and decryption using CBC mode.

Features

  • AES encryption
  • AES decryption
  • 16-character key validation
  • CBC mode implementation

Use Cases

  • Secure communication
  • File protection
  • Learning symmetric encryption

2. RSA Encryption Demo

Demonstrates RSA asymmetric encryption using public and private keys.

Features

  • RSA key generation
  • Public key encryption
  • Private key decryption

Use Cases

  • Secure key exchange
  • Public-key cryptography learning
  • Encryption demonstrations

3. Digital Signature Demo

Demonstrates how digital signatures work using RSA and SHA-256.

Features

  • RSA key generation
  • Message signing
  • Signature verification
  • SHA-256 hashing

Use Cases

  • Digital signature learning
  • Data authenticity verification
  • Integrity checking

4. Secure File Encryptor

Encrypts and decrypts files securely using AES encryption.

Features

  • File encryption
  • File decryption
  • AES-CBC encryption mode
  • Secure file handling

Use Cases

  • File protection
  • Secure data storage
  • Encryption practice

5. Caesar Cipher

Implements the classical Caesar substitution cipher.

Features

  • Encode messages
  • Decode messages
  • Adjustable shift value

Use Cases

  • Learning classical cryptography
  • Cipher analysis practice

6. Vigenรจre Cipher

Implements the Vigenรจre polyalphabetic cipher using keyword-based encryption.

Features

  • Keyword-based encryption
  • Encoding and decoding support

Use Cases

  • Classical cryptography learning
  • Encryption analysis

7. Base64 Encoder/Decoder

Encodes and decodes Base64 text data.

Features

  • Base64 encoding
  • Base64 decoding

Use Cases

  • Data transmission
  • Encoding binary data into text

8. Hex Encoder/Decoder

Encodes and decodes hexadecimal strings.

Features

  • Hex encoding
  • Hex decoding

Use Cases

  • Binary analysis
  • Low-level data representation

9. URL Encoder/Decoder

Performs URL-safe encoding and decoding.

Features

  • URL encoding
  • URL decoding

Use Cases

  • Web application testing
  • HTTP request analysis

10. Hash Generator

Generates SHA-256 hashes for passwords or text.

Features

  • SHA-256 hashing

Use Cases

  • Password hashing
  • Integrity verification

11. Hash Identifier

Identifies common hash algorithms based on pattern and length.

Features

  • MD5 detection
  • SHA-1 detection
  • SHA-256 detection
  • SHA-512 detection

Use Cases

  • Hash analysis
  • Digital forensics learning

12. File Hash Checker

Calculates hashes of files for integrity verification.

Features

  • MD5 hashing
  • SHA-1 hashing
  • SHA-256 hashing

Use Cases

  • File integrity checking
  • Malware analysis
  • Digital forensics

13. Steganography Tool

Hides secret messages inside images using LSB (Least Significant Bit) steganography.

Features

  • Message hiding in images
  • Password-protected retrieval
  • LSB encoding technique

Use Cases

  • Covert communication
  • Steganography learning
  • Cybersecurity demonstrations

๐Ÿ”‘ Password Security Module

The Password Security Module focuses on password generation, password auditing, strength analysis, and password attack simulations.


๐Ÿ“œ Programs in the Password Security Module

1. Password Generator

Generates secure random passwords based on user preferences.

Features

  • Custom password generation
  • Random password generation
  • Configurable character sets

Use Cases

  • Secure password creation
  • Password management practice

2. Password Strength Checker

Analyzes password complexity and determines its security level.

Features

  • Weak/Moderate/Strong classification
  • Common password detection

Use Cases

  • Password auditing
  • Security awareness training

3. Password Entropy Calculator

Calculates password entropy in bits.

Features

  • Entropy calculation
  • Character set analysis

Use Cases

  • Password security measurement
  • Cryptography education

4. Common Password Detector

Checks whether a password exists in a common-password dictionary.

Features

  • Dictionary-based password analysis

Use Cases

  • Weak password detection
  • Security awareness

5. Password Attack Simulator

Simulates password guessing and brute-force behavior for educational purposes.

Features

  • Password guessing simulation
  • Randomized attack attempts
  • Demonstrates brute-force principles

Use Cases

  • Ethical hacking demonstrations
  • Password security awareness
  • Cybersecurity education

๐Ÿฏ Honeypot Module

The Honeypot Module simulates an SSH server to monitor and log attacker activity.


๐Ÿ“œ SSH Honeypot

A simulated SSH server that records login attempts and commands executed by attackers.

Features

  • SSH server emulation
  • Fake shell environment
  • Credential logging
  • Command logging
  • Real-time monitoring
  • Rotating audit logs

Logged Information

  • IP addresses
  • Usernames
  • Password attempts
  • Executed commands

Generated Files

  • audits.log
  • cmd_audits.log
  • server_key

Supported Commands

  • pwd
  • whoami
  • ls
  • cat jumpbox1.conf
  • exit

Use Cases

  • Threat monitoring
  • Attack analysis
  • Cybersecurity education
  • Honeypot research

๐ŸŽฃ Phishing Awareness Demo

The Phishing Awareness Module demonstrates how phishing websites trick users into revealing sensitive information.


โœจ Features

  • Fake login page simulation
  • Credential capture demonstration
  • Awareness-based learning
  • Social engineering simulation
  • Educational warning messages

๐Ÿ’ก Use Cases

  • Cybersecurity awareness training
  • Social engineering demonstrations
  • Phishing attack education
  • Ethical hacking demonstrations

๐Ÿ’‰ SQL Injection Demo

The SQL Injection Demo demonstrates how insecure database queries can be exploited and how secure coding practices prevent attacks.


โœจ Features

  • Vulnerable login simulation
  • SQL Injection payload testing
  • Authentication bypass demonstration
  • Secure query comparison
  • Input sanitization examples

๐Ÿ’ก Use Cases

  • Web security education
  • Secure coding demonstrations
  • Ethical hacking practice
  • Vulnerability analysis learning

๐Ÿ“Š Logging and Monitoring

The toolkit includes logging systems to monitor simulated activity and attacker behavior.


๐Ÿ“ Log Files

File Purpose
audits.log Connection and activity logs
cmd_audits.log Command execution logs

โš ๏ธ Educational Purpose Notice

This toolkit is created strictly for:

  • Educational purposes
  • Ethical hacking practice
  • Cybersecurity learning
  • Security research
  • Demonstration environments

Do not use this toolkit against systems you do not own or have permission to test.


๐Ÿ”ฎ Future Improvements

  • GUI-based interface
  • Web dashboard
  • Network scanner integration
  • Packet sniffer module
  • Malware analysis sandbox
  • Advanced logging dashboard
  • AI-assisted threat analysis
  • Multi-user support

๐Ÿ‘จโ€๐Ÿ’ป Author

Developed by Satya Murari Guna




๐Ÿ“œ License

This project is intended for educational and research purposes only.

Use responsibly and ethically.

About

๐Ÿ›ก๏ธ SecLab Toolkit (Security Labs Toolkit) is a Python-based cybersecurity learning and simulation framework featuring cryptography tools, password security analysis, SSH honeypot simulation, phishing awareness demos, SQL Injection demonstrations, logging systems, and ethical hacking practice modules.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages