AWS Builder Center

Building CyberShield on AWS: A Student's Journey to Detect Scam Messages and Calls in Real Time

CyberShield is a cloud-powered cybersecurity project that analyzes suspicious messages, notifications, and potential scam calls using an Android companion app, a FastAPI backend, and AWS EC2. This blog shares the real journey of building, debugging, and deploying the system from idea to working solution.

Building CyberShield on AWS: A Student's Journey to Detect Scam Messages and Calls in Real Time Every day, people receive messages saying things like: "Your bank account will be blocked. Share your OTP immediately." Many people panic and react before verifying whether the message is genuine. That simple observation became the starting point for CyberShield, our cybersecurity project that combines an Android sensor application with a cloud-hosted analysis engine running on AWS EC2.
The Problem We Wanted to Solve Digital scams are becoming more convincing. Some common examples include: Fake banking alerts UPI payment scams OTP theft attempts Fraudulent job offers Fake delivery messages Suspicious links Most existing solutions either focus only on websites or require users to copy and paste content manually. We wanted a solution that could work in real time.
Our Solution: CyberShield CyberShield combines an Android application with a cloud-based intelligence engine. The Android application acts as a lightweight sensor that monitors suspicious notifications and sends relevant content to a secure backend hosted on AWS. The backend analyzes the content and immediately returns a threat assessment. The result is presented as an alert that helps users make safer decisions before interacting with suspicious content.
Step-by-step workflow The Android app detects a notification or incoming call. Relevant text is securely sent to the FastAPI backend. AWS EC2 processes the request. The CyberShield engine evaluates risk indicators. The user receives an instant threat alert.
The Technology Stack Android - Notification and call sensor Kotlin- Native Android development FastAPI - Backend REST API
HTML • CSS • JavaScript - Public web interface AWS EC2 - Cloud deployment Nginx - Reverse proxy and static hosting
How We Used AWS AWS became the backbone of our project. Instead of running the backend only on our laptops, we deployed CyberShield on an Amazon EC2 Ubuntu instance. AWS services used Service & Purpose Amazon EC2 - Hosted the backend Ubuntu - Server operating system Nginx - Website hosting and API routing Security Groups - Controlled public access Public IP - Allowed users to access the website
Our Deployment Journey Deploying the project taught us much more than simply uploading files.
Setting up EC2 We: launched an Ubuntu EC2 instance connected through SSH installed Nginx configured FastAPI opened HTTP access through Security Groups Seeing the website become publicly accessible was one of the biggest milestones of the project. Hosting the Website
Nginx serves two important roles: hosting the CyberShield website forwarding API requests to FastAPI This allows users to access both the website and backend through a single server.
Android Integration The Android application became much more than a normal mobile app. It acts as a sensor by: monitoring suspicious notifications sending messages for cloud analysis displaying threat alerts supporting Android Call Screening functionality
The Challenges We Faced This project was not built without obstacles. Some of the real problems we solved included: Static files not loading The website initially appeared without styling because CSS paths pointed to the wrong location. We corrected the Nginx file paths and restored the complete interface. Backend connectivity We verified API communication using: before exposing the service publicly. Android permissions Notification access required careful permission handling.
Sample Threat Analysis Input message: "Your bank account will be blocked. Share your OTP immediately." CyberShield responds with a structured assessment. Field & Result Risk - CRITICAL Category - Financial Scam Confidence - Medium Action - Never share OTPs Instead of simply saying "unsafe," the system explains why the message appears risky.
What We Learned This project became much more than a hackathon submission. We gained practical experience in: deploying applications on AWS EC2 configuring Nginx building Android applications
Future Improvements CyberShield can continue growing with features such as: HTTPS with a custom domain multilingual scam detection smarter call-risk detection phishing URL intelligence real-time analytics dashboard
Final Thoughts:
CyberShield began as an idea to make everyday digital communication safer. With the help of AWS EC2, we transformed that idea into a working cloud-hosted cybersecurity platform that connects Android devices with real-time threat analysis. This journey taught us that cloud computing is not only about infrastructure—it is about building solutions that people can actually use. CyberShield — Detect. Analyze. Protect.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article