This project is part of a cybersecurity forensics investigation. It provides a Python-based tool for correlating Android call logs, SMS records, and app usage patterns from CSV data exported during mobile device analysis.
The objective is to identify behavioural patterns by analysing:
- Call activity (incoming, outgoing, missed)
- SMS communications (sent and received)
- App usage events (open, close, time in foreground)
This helps forensic investigators and analysts visualise user activity over time, detect suspicious patterns, and provide context to specific events.
ForensicsAnalysis/
│
├── data/ # Folder for CSV datasets (not tracked by Git)
│ ├── CallLog.csv
│ ├── SMS_Messages.csv
│ └── AppUsage.csv
│
├── main.py # Main Python script for correlation and visualisation
├── requirements.txt # Python dependencies
├── .gitignore # Files/folders excluded from Git
└── README.md # This file
git clone https://github.com/btolawoyin/dsa_cybersecurity.git
cd dsa_cybersecurity/ForensicsAnalysispython -m venv .venv
.venv\Scripts\Activate # On Windowspip install -r requirements.txtPlace your data files inside the /data folder:
CallLog.csvSMS_Messages.csvAppUsage.csv
Ensure each CSV includes a timestamp column such as Date, timestamp_start, etc.
Run the main script:
python main.pyThis will:
- Load the data
- Merge all events into a single timeline
- Visualise the correlation between calls, texts, and app usage with a scatter plot
A forensic timeline showing when each communication or app event occurred:
| Time | Event Type | Details |
|------------------|------------|-----------------------|
| 2025-06-30 14:10 | Call | Outgoing: +234801... |
| 2025-06-30 14:11 | App | WhatsApp opened |
| 2025-06-30 22:15 | SMS | Sent to +234902... |
pandasmatplotlibseaborn
You can install them via:
pip install pandas matplotlib seaborn- Integration with SQLite or MongoDB for persistent storage
- Jupyter Notebook interface
- Support for browser history, contacts, and media artefacts
- Automated artefact parsing from Android forensic images
This project is for educational and lawful forensic investigation purposes only. Any use outside ethical and legal boundaries is strictly discouraged.
Bukky Olawoyin
Cybersecurity & Forensics Researcher | Software Engineer | Agricultural Investor
🔗 LinkedIn
This project is for educational and non-commercial use only.
MIT License – seeLICENSEfile for details.