Secure Cloud Storage · CSP650

Triple-Layered
Secure Cloud
Storage

Cloudie checks every upload with VirusTotal first, then reads how the file is built: rule-based structure checks for PDF, Office, ZIP, CSV and image files, plus a Random Forest analyzer for PDFs that also says when a file is unlike anything it was trained on. The file is then encrypted on the server with AES-256-CBC. Only a SHA-256 hash of your key is kept, so you need your key to read the file back.

VirusTotal · 70+ engines Structure checks · no signature needed Random Forest · 32 features AES-256-CBC 2-step login
UPLOAD PIPELINE · ILLUSTRATION
invoice_q3.pdfPDF · 214 KB
SCANNING
  1. Upload 
  2. VirusTotal (primary) 
  3. Structure checks (+ AI for PDF) 
  4. Encrypt on the server 
  5. Store 

Example files, not a real scan. The file is sent to VirusTotal for the primary check; only a SHA-256 hash of your key is stored, so you need your key to read a file back.

The problem

Cloud storage trusts files it never inspects

Malware slips through

PDFs are a common delivery vehicle for embedded JavaScript, launch actions and exploits. Most storage platforms accept them blindly.

Files sit unencrypted

Even when "encrypted at rest," the provider usually holds the keys — meaning they, or anyone who breaches them, can read your data.

No second opinion

A single scan engine can miss novel or evasive samples. There's rarely a fusion of independent detection signals.

The approach

Three independent layers of defense

01
VirusTotal first

VirusTotal's 70+ signature-based engines give the primary verdict. Two or more engines block a file, a single engine only warns, and if VirusTotal gives no answer the upload is refused (fail closed).

02
Structure checks + explainable AI

Signatures know the past; structure reads the file. Rule-based checks catch what has no signature yet: a macro inside a .docx, hidden PDF scripts, zip slip, programs disguised as documents, data hidden in images, CSV formula injection. For PDFs a Random Forest (32 features) adds an explained score and says when a file is unlike its training data. A finding stores the file tagged Suspicious, with the reason.

03
AES-256-CBC encryption

Clean and suspicious files are encrypted on the server with a freshly generated AES-256-CBC key. Cloudie keeps only a SHA-256 hash of the key, so you need your key to read the file back.

Results

Measured, not assumed

Numbers from the CIC-Evasive-PDFMal2022 dataset, validated on a held-out test split.

99.87%
Hold-out accuracy (size-based: 99.46%)
18,126
Training samples
32
Structural features
AES-256
Encryption standard
Standards

Mapped to recognised frameworks

Each control is mapped to the code that implements it. Mapped, not certified.

MITRE ATT&CK

The structure checks detect named attack techniques.

T1027 Obfuscation T1221 Template injection T1559.002 DDE T1036 Masquerading T1059.005 Macros
NIST CSF 2.0

Controls across the framework's functions.

Identify: threat model Protect: AES-256, OTP Detect: every upload scanned Respond: block or tag Recover: daily backups
ISO/IEC 27001:2022

Technical controls from Annex A.

8.7 Malware protection 8.24 Cryptography 8.5 Secure authentication 8.15 Logging 8.13 Backup
OWASP & NIST SP 800-63B

Web application and password guidance.

File Upload Cheat Sheet A03 Injection A07 Authentication 800-63B password rules
Under the hood

Technology stack

/ Frontend
PHP Apache HTML/CSS
/ Backend
Python Flask REST API
/ Machine Learning
scikit-learn Random Forest pandas
/ Data & Security
MySQL AES-256-CBC VirusTotal v3
Credits

About the developer

Portrait of Aqeef Azhar, the developer of Cloudie

Aqeef Azhar

BSc (Hons) Netcentric Computing — Universiti Teknologi MARA (UiTM)

Cloudie is my Final Year Project (CSP650), built to explore how malware detection (VirusTotal plus structure checks and an AI analyzer) and AES encryption can work together in a single, usable cloud-storage workflow. Supervised by Dr. Fakariah Hani Binti Mohd Ali.

ProjectCloudie
CourseCSP650
FacultyComputer & Math Sciences
Year2026