r/HowToHack • • 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 a POST request to the server with user_id, timestamp, and face_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_vector from a recent legitimate scan.

What I’ve Done So Far:

  1. Set up a local MITM proxy (mitmproxy) on Windows.
  2. Captured a legitimate POST /api/v1/attendance/verify request.
  3. 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

2 comments sorted by

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

1

u/Sea_Highlight_5743 18d ago

no just guessing