The University of Western Ontario
CAPTURE: Comprehensive Analysis and Penetration Testing for Uncovering Risks in Exposed IP Cameras
Abstract
dc:description.abstractThe increasing use of IP (Internet Protocol) cameras in residential, enterprise, and public surveillance systems has introduced critical cybersecurity risks, with devices often shipped with weak security configurations and insufficient protection against advanced attack vectors. Existing research and industry tools remain fragmented, focusing either on isolated vulnerabilities or manual testing, lacking an end-to-end automated approach tailored for IP camera environments. This thesis addresses this gap by presenting an automated penetration testing framework specifically designed for IP-based surveillance systems, capable of scanning devices, identifying vulnerabilities, and generating structured security risk reports with actionable remediation guidelines. To validate the robustness and versatility of the proposed framework, two carefully selected consumer-grade IP cameras were tested. The Tapo C200, a widely popular model with support for RTSP and ONVIF protocols, represents a modern and resilient target due to its recent firmware updates and improved security mechanisms. Its widespread use and prior exposure in security research make it ideal for evaluating advanced protocol-layer attacks and testing the effectiveness of contemporary defenses. However, as the Tapo C200 operates exclusively through a mobile application and lacks a web-based interface, it limits assessment of web-layer vulnerabilities. To complement this, the Tenda CH7 was chosen for its web-based authentication system, making it suitable for testing web-specific attacks such as brute-force login attempts, SQL injection, and cross-site scripting (XSS). By combining these two distinct models, the framework demonstrates model-agnostic scalability, ensuring applicability across varying device architectures and capturing a wider range of real-world attack scenarios. The modular framework systematically executes a range of real-world attacks, including brute-force login attempts, replay attacks, man-in-the-middle (MITM) interception, SQL injection, cross-site scripting (XSS), and unauthorized ONVIF access, etc. A combination of industry tools such as Hydra, Wireshark, Burp Suite, and custom Python scripts was employed for packet capture, injection testing, and response manipulation, simulating active adversarial scenarios. Key findings revealed critical vulnerabilities, while highlighting the resilience of devices with encrypted communications. Additionally, an AI-driven reporting module powered by the OpenAI GPT-4 API was integrated to automate vulnerability classification, CVE lookups, severity scoring, and mitigation recommendations, streamlining the reporting process for security practitioners. This research contributes a scalable, reproducible, and automated methodology for end-to-end IP camera security testing, bridging the gap between manual penetration testing and automated vulnerability assessment to enhance the security posture of IoT surveillance ecosystems.
Degree
thesis:*- Name thesis:degree_name
- M Sc
- Discipline thesis:degree_discipline
- Computer Science
- Grantor dc:publisher
- The University of Western Ontario
- Year dc:date.issued
- 2025
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Hassan, Inara Zahin
- Advisor dc:contributor.advisor
-
- Haque, Anwar
Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/20.500.14721/38561