Skip to content

duythucvnu/zero-trust-mfa

Repository files navigation

Zero Trust Multi-Factor Authentication System (ZT-MFA)

A secure authentication system based on the Zero Trust Architecture (ZTA) model. This project integrates Multi-Factor Authentication (MFA) using password, One-Time Password (OTP), and biometric face recognition with anti-spoofing detection to ensure robust user verification.

Features

  • Zero Trust Architecture (ZTA) principles
  • Password Authentication with hashed storage
  • Email-based OTP Verification
  • Face Recognition with real-time anti-spoofing

How to Run

  1. Clone the repo

    git clone https://github.com/duythucvnu/zero-trust-mfa.git
    cd zero-trust-mfa
  2. Install dependencies

    pip install -r requirements.txt
  3. Run the app

    streamlit run app.py

Face Recognition & Anti-Spoofing

  • Users are authenticated by matching their real-time face from webcam with the stored profile image.
  • Anti-spoofing ensures the face is live and not a photo, video, or mask using a YOLO-based model.

Security Principles

  • Verify Explicitly: MFA with email OTP and facial biometrics
  • Least Privilege Access: Only valid users access system resources
  • Assume Breach: All access is re-verified; spoof attempts are blocked

Demo Video

Click the thumbnail to see the demo of our project.

Watch the Demo

License

This project is licensed under the MIT License.

About

ZT-MFA: A Secure Login System with Biometric Authentication

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages