Inspiration
Insider threats are among the challenging cybersecurity problems because suspicious activities can happen through legitimate user accounts. A compromised employee account or misuse of authorized access may look like normal daily activity. We wanted to create an educational environment where students and cybersecurity learners could understand how these threats happen, how they can be detected, and how security teams can respond to them safely. This idea led to CITS (Compromised Insider Threat Simulator).
What It Does
CITS is an interactive cybersecurity simulation platform that demonstrates how suspicious account activities can be monitored, detected, investigated, and handled. It creates a fictional organization with employees, departments, roles, permissions, and digital assets. Users can explore five different security scenarios: Compromised Employee Account Unauthorized Sensitive-Data Access Mass Data Download Privilege Abuse Simulated Data Exfiltration
The platform includes activity monitoring, rule-based threat detection, risk scoring, incident investigation, and simulated incident response. It also provides an experiment center where users can compare four defensive configurations and evaluate their effectiveness using metrics such as detection rate, false-positive rate, time to detection, and attack success.
How We Built It
CITS was developed using Python and Streamlit, with SQLite for data storage. The main technologies include: Python: Core application logic and simulation. Streamlit: Interactive user interface and dashboard. SQLite: Storage of simulated organizational activities, events, and incidents. Pandas and NumPy: Data processing and analysis. Plotly Express: Interactive charts and visualizations. Scikit-learn: Machine learning evaluation using Isolation Forest. The system follows a modular architecture with separate services for authentication, access control, event generation, detection, risk scoring, incident response, experiments, and reporting.
We also implemented a machine learning evaluation workflow that compares Isolation Forest with a rule-based detector using precision, recall, F1-score, and false-positive rate. Challenges We Focused On
One of the main design challenges was representing suspicious behavior in a way that distinguishes unusual activity from legitimate work. We addressed this by combining multiple signals, including login timing, device familiarity, access history, asset sensitivity, authorization results, and activity sequences.
Another important consideration was balancing security and usability. For example, strict access restrictions can prevent harmful actions but may also interrupt legitimate users.
CITS demonstrates these trade-offs through configurable security controls, approval-based responses, and controlled experiments.
What We Learned
Through this project, we explored how identity and access management, least privilege, authentication, behavioral monitoring, anomaly detection, risk assessment, and incident response work together. We also gained practical experience with Python application development, database management, machine learning evaluation, data visualization, and modular software architecture.
What's Next
We aim to extend CITS with additional threat scenarios, more advanced anomaly detection, improved analytics, and potential AWS-based integrations for demonstrating cloud security concepts. Our goal is to make cybersecurity learning more practical, interactive, and accessible.
CITS is an educational simulator that uses fictional data and isolated local experiments. It does not connect to real organizational systems or provide production security protection.
Built With
- isolationforest
- machine-learning
- numpy
- pandas
- plotly
- python
- scikit-learn
- sqlite
- streamlit