The problem: you log in once, and then?
Most systems check who you are exactly once. After that, the session belongs to whoever is sitting in front of the screen. If you walk away and someone else sits down, the device has no idea. That gap is session takeover, and it matters most on shared and unattended edge devices where nobody is watching.
Continuous authentication closes the gap by checking identity throughout the session instead of only at the door. My dissertation asks whether that can be done properly on cheap edge hardware, with no cloud, no subscription and an audit trail nobody can quietly rewrite.
The entry gate
Before a session starts, every check has to pass:
- a face liveness check, so a printed photo or a screen can't get in;
- face recognition against the enrolled user;
- a voice challenge with a random passphrase each time, which blocks replayed recordings.
Trust that rises and decays
Once inside, the system keeps a trust score. Every 4 seconds it checks the face in front of the camera. The enrolled user keeps trust up. A different face makes trust decay fast. An empty seat makes it decay slowly, after a 15-second grace window so that looking away for a moment doesn't lock you out.
When trust drops below 0.30, the session is suspended and re-authentication is required. In practice, when someone else sits down, re-authentication kicks in within about 20 seconds.
Fusing the signals
Rather than trusting any single reading, a logistic regression model fuses face similarity with temporal features to decide whether the session is genuine. I evaluated it with 7-fold leave-one-session-out cross-validation, so the model is always tested on a session it has never seen.
Across the folds it reached a mean AUC of 0.978 and an equal error rate of 6.7%, trained on 14 sessions (7 genuine, 7 attack) split into 420 windows.
Why decentralised
Every access decision is written to a Solidity smart contract on the BNB Smart Chain testnet. The point is accountability: a log held on one server can be edited by whoever controls that server, while entries on a ledger can't be quietly changed after the fact. If a session was taken over, the record of what the system decided, and when, survives.
The hardware
Everything runs on the device itself. The build is a Raspberry Pi 4B with a Pi Camera Module V2 and a ReSpeaker 4-Mic Array over USB. Two LEDs give physical feedback: green on GPIO 27 (pin 13) and red on GPIO 17 (pin 11), each through a 330 Ω resistor to ground. A Flask and Socket.IO dashboard shows the live trust score.
For development on a laptop, the same code runs in simulation with mocked GPIO, the webcam and the system microphone, so the logic can be tested before it ever touches the board.
What's next
The evaluation used 14 sessions. The natural next step is a larger and more varied group of users and attack styles, plus testing how the trust thresholds hold up in noisier, real-world rooms.
Keywords
- continuous authentication
- multimodal biometrics
- session takeover
- edge computing
- IoT security
- Raspberry Pi
- face recognition
- voice verification
- liveness detection
- score fusion
- smart contract audit log
Cite this
Raza, A. (2026). Decentralized Continuous Multimodal Biometric Authentication for Session-Takeover on Edge IoT Devices [Master's dissertation, Ulster University]. https://ahmadrazashafi.com/research/continuous-multimodal-biometric-authentication