CBS/09/24B — German-Malaysian Institute

FILES LOCKED. IDENTITY VERIFIED.

Files are encrypted with AES-256 when you upload them. Opening or deleting one needs your fingerprint, and every upload is checked for malware. Your files, keys and fingerprint data stay on your own server.

AES-256Cipher standard
LOCALSelf-hosted storage
RBACRole-scoped vault
The film

SecureVault in 90 seconds

Sign in, upload, scan to open, and what happens when someone tries to break in.

System Objectives

Three Objectives, One Vault

Each objective in the project scope is backed by something the system actually enforces.

Objective 01

Cipher Layer

Every file is encrypted with AES-256 once it passes the malware scan, and is only decrypted in memory for its owner. Someone who walks off with the disk gets encrypted data and nothing else.

Objective 02

Access Ledger

Each account is either an admin or a user, and the vault only shows what that role is allowed to see. Logins, uploads, downloads, deletes and role changes all go into the activity log, which admins can review from the dashboard.

Objective 03

Threat Watch

Repeated failed logins, repeated fingerprint mismatches and infected uploads are caught as they happen. The account is locked, the event is logged and the alarm goes off.

Inside a session

What happens between login and a file leaving the vault

Four checkpoints run in sequence before a single file is decrypted.

1

Password

Your password is checked against a bcrypt hash. Five wrong passwords lock the account until an admin unlocks it.

2

Role check

The dashboard and file list only show what your role is allowed to see. Admins manage accounts but cannot open other people's files.

3

Fingerprint step-up

Asked for when you download or delete a file, and when an admin deletes an account. A matching scan on the AS608 sensor gives a one-time pass that lasts 30 seconds. Five failed scans lock the account.

4

Decrypt on demand

Files stay encrypted on disk and are only decrypted in memory after the fingerprint check passes.

How it connects

One Server, Three Ways In

Everything runs on a Raspberry Pi. Nothing on it is exposed directly to the internet: browsers and the buzzer come in through Cloudflare Tunnel, and the fingerprint kiosk talks to it over an SSH tunnel.

HTTPSpolls alertstunnelUSB serialencryptedUser browserLogin · upload · downloadESP32 buzzerAlarm + silence buttonFingerprint kioskAS608 sensor + ArduinoCloudflareTunnel · HTTPS onlySSH tunnelKiosk to Pi bridgeRaspberry Pi 4Self-hosted serverApache + PHP appMariaDB · append-only logsClamAV daemonAES-256 encrypted filestunnelencryptedBrowserHTTPSESP32 buzzerPolls alertsCloudflareTunnel · HTTPS onlyRaspberry Pi 4Self-hosted serverApache + PHP appMariaDB · append-only logsClamAV daemonAES-256 encrypted filesSSH tunnelKiosk to Pi bridgeFingerprint kioskAS608 sensor + Arduino
Preview

See It in Action

Screenshots from the live system. Email addresses have been blurred.

SecureVault Files page
FilesEvery file is stored encrypted. Users only get Download and Delete on their own files; everyone else sees "Owner only".
SecureVault Intrusion Logs page
Intrusion LogsBlocked malware uploads, failed fingerprint scans and lockouts, with severity and the action taken.
SecureVault Access Control page
Access ControlAdmins create accounts, enroll fingerprints and unlock accounts. Failed attempts show up per user.
SecureVault Activity Log page
Activity LogLogins, uploads, downloads and blocked actions. The log is append-only, so entries can't be deleted.
Under The Hood

Seven Enforced Mechanisms

Each of these runs on real requests and leaves a log entry behind.

AES-256 + HMACPer-file encryption, tamper detection
Fingerprint step-upRequired before every download, file delete and account delete
Admin-cleared lockoutsPasswords and fingerprints, no timers
ClamAV scanningEvery upload checked against 3.6M+ signatures
Physical alertBuzzer sounds on lockouts and malware
No public sign-upEvery account created by an admin
Encrypted fingerprintsAES-256-GCM templates, matched in the sensor
01 — Cipher

AES-256 Encryption + Integrity Check

Once an upload passes the malware scan, it's encrypted with AES-256-CBC using its own random IV. Every file also carries an HMAC-SHA256 tag, so if anyone changes a stored file, even by one byte, the download is refused and the alarm goes off. Files are only decrypted in memory for their owner.

02 — Identity

Password Login + Fingerprint Step-Up

Signing in only needs your password, which is stored as a bcrypt hash. The AS608 fingerprint sensor comes in when you try to download or delete a file. A matching scan gives a one-time pass for that one file, and it expires after 30 seconds.

03 — Lockout

Admin-Cleared Lockouts

Five wrong passwords or five failed fingerprint scans lock the account and raise an intrusion alert. There's no timer. The account stays locked until an administrator checks what happened and unlocks it.

04 — Malware Scan

ClamAV Signature Scanning

Every upload, including profile pictures, is scanned by ClamAV before it's encrypted or stored. Infected files are rejected and logged with the signature name. If the scanner can't be reached, the upload is refused instead of being let through unchecked.

05 — Physical Alert

Hardware Buzzer

The buzzer goes off when an account gets locked or when an upload is flagged as malware, so someone notices even if nobody is watching the dashboard. It can be silenced from the admin dashboard or with the button on the device.

06 — Accounts

Admin-Created Accounts

There's no public sign-up. An administrator creates each account after confirming who the person is, and the first login uses a temporary password that has to be changed straight away. Admins manage accounts, but they can't open, download or delete files that belong to someone else.

07 — Fingerprint Data

Encrypted Fingerprint Templates

Fingerprint templates are encrypted with AES-256-GCM and tied to one account, so a template copied onto another account won't work. The sensor turns your finger into a template and does the matching itself, so no fingerprint image is ever sent to or stored on the server.

The Team

Who Built It

SecureVault is our final year project at the German-Malaysian Institute.

Team MemberWan Muhammad Hakimi bin Wan Zul Adli
Team MemberSiti Darwisyah binti Jamaluddin
Team MemberAdam Wafiq bin Shahhedan
SupervisorMohamad Aiman Hanif Apandi
Questions

Before You Ask

The things people check before trusting a vault with real files.

What happens if I upload an infected file?+

It never gets stored. ClamAV scans every upload before it's encrypted. If it finds something, the file is rejected and the intrusion log records the signature name.

Do I need my fingerprint to log in?+

No. Logging in only needs your password. The fingerprint check happens when you download or delete a file, and the pass it gives you works once and only for 30 seconds. So even if someone takes over your session, they still can't get a file out without your finger on the sensor.

What happens after too many failed login attempts?+

After 5 wrong passwords the account is locked, an intrusion alert is raised and the alarm sounds. It stays locked until an administrator unlocks it.

What happens if the fingerprint doesn't match?+

The download or delete is refused and the attempt is logged. After five failed scans in ten minutes, the account is locked and the alarm sounds.

Where are the files actually stored?+

On the same server that runs SecureVault, encrypted, with a unique IV and an integrity tag for every file. There's no third-party cloud storage. Cloudflare only carries the encrypted connection to the server.

Can a regular user see what admins see?+

No. Users see and manage their own files only. Admins create accounts and review the logs, but they can't open, download or delete files that belong to someone else.

How do I get an account?+

Ask your administrator. They'll confirm who you are, create the account, enroll your fingerprint at the kiosk and give you a temporary password. If your organisation doesn't use SecureVault yet, get in touch with us below.

Ready when you are

Open your vault

Accounts are set up by your administrator. They'll confirm who you are, enroll your fingerprint at the kiosk and give you a temporary password.

Contact

Talk to the team

Want SecureVault for your hospital, bank or organisation, or want a live demo? Email us and tell us a bit about what you need to protect.

Email
fyp09dkw@gmail.com
Email us

If the Email us button doesn't open your mail app, copy the address and send from any email account.