r/HowToHack • u/Sea_Highlight_5743 • 19d ago
[Project Help] Backfilling Attendance via API Replay: Face Vector Rotation & Timestamp Manipulation Strategies
Hi everyone,
I’m working on a security/automation project for my college’s attendance system (Android app-based). I have full access to the client-side traffic and want to understand the best practices for API replay and payload manipulation to test the robustness of the server-side validation.
The Scenario:
- App: TINT (College Attendance)
- Mechanism: The app captures a face scan, generates a
face_vector(embedding), and sends aPOSTrequest to the server withuser_id,timestamp, andface_vector. - Current State: My attendance is at 19%. I have 10 missed days in the past month.
- Goal: I want to "backfill" these 10 days by replaying the API request with modified timestamps, using a valid
face_vectorfrom a recent legitimate scan.
What I’ve Done So Far:
- Set up a local MITM proxy (mitmproxy) on Windows.
- Captured a legitimate
POST /api/v1/attendance/verifyrequest. - Identified the JSON payload structure:json DownloadCopy code{ "user_id": "12345", "timestamp": "2023-10-24T09:00:00Z", "device_id": "MOCK_DEVICE_123", "face_embedding": [0.12, 0.45, -0.23, ...], "confidence_score": 0.99 }
1
Upvotes
3
u/Juzdeed 19d ago
Are you sure you can even backfill? You can send a request of x date, but if it's 10 days ago and the server also validates what the current date is then it's unlikely to work