About the Project

Inspiration

Cybersecurity is becoming increasingly important as digital systems store large amounts of personal and sensitive information. I wanted to build a project that demonstrates how common security threats work and how systems can be analyzed for potential vulnerabilities. This inspired the creation of CyberGuard, a simple cybersecurity toolkit that helps demonstrate real-world security concepts in a practical way.

What I Learned

While building this project, I learned several important concepts related to cybersecurity and software development. I practiced socket programming for scanning open ports, used regular expressions (regex) to detect sensitive information such as emails and phone numbers in files, and explored how keyboard input can be captured through a keylogger demonstration. I also learned how to structure a Python project using multiple modules and manage files and directories for scanning.

How I Built the Project

CyberGuard was developed using Python and built in a modular structure so each feature could work independently. The project includes:

  • A Port Scanner built with Python sockets to detect open ports on a system.
  • A Keylogger Demo using the pynput library to demonstrate how keystrokes can be captured.
  • A PII Leak Scanner that uses regex patterns to identify sensitive data such as email addresses, phone numbers, and credit card numbers in files.

The project was developed and tested in VS Code, and version control was managed using Git and GitHub.

Challenges I Faced

One of the main challenges was correctly organizing the project files so that different Python modules could work together without import errors. Another challenge was writing accurate regex patterns for detecting sensitive information in files. Debugging module imports and ensuring that the scanner worked across directories also required careful testing.

Despite these challenges, completing the project helped me better understand how cybersecurity tools work and strengthened my problem-solving and Python development skills.

Built With

Share this project:

Updates