<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Rafi Athallah</title>
    <description>The latest articles on DEV Community by Rafi Athallah (@rafiathallah3).</description>
    <link>https://dev.to/rafiathallah3</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2968613%2Fd990e9a6-61a6-4235-a7fc-597dcd350e85.png</url>
      <title>DEV Community: Rafi Athallah</title>
      <link>https://dev.to/rafiathallah3</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rafiathallah3"/>
    <language>en</language>
    <item>
      <title>Is a Secure Online Exam Really Secure?</title>
      <dc:creator>Rafi Athallah</dc:creator>
      <pubDate>Mon, 02 Nov 2026 15:26:28 +0000</pubDate>
      <link>https://dev.to/rafiathallah3/is-a-secure-online-exam-really-secure-1n9j</link>
      <guid>https://dev.to/rafiathallah3/is-a-secure-online-exam-really-secure-1n9j</guid>
      <description>&lt;h3&gt;
  
  
  Thinking Beyond Technology: Security, Trust, and Risk in Digital Examinations
&lt;/h3&gt;

&lt;p&gt;When university leadership rolled out our digital examination platform, the administration assumed the system was secure because it checked off three tools: a Secure Exam Browser (SEB), webcam proctoring, and student accounts. But buying software is not the same as managing risk. A system is only secure when its design protects specific operational objectives against real attackers. By treating security as a procurement checklist rather than an architecture, the university left fundamental weaknesses unaddressed.&lt;/p&gt;




&lt;h3&gt;
  
  
  Security Beyond Tooling
&lt;/h3&gt;

&lt;p&gt;A secure system maintains acceptable risk across five core objectives: confidentiality, integrity, availability, authenticity, and accountability (CIAAA). Tools like SEB only constrain the student's local desktop. They do not secure backend databases, administrative APIs, or human interactions.&lt;/p&gt;

&lt;p&gt;The pilot incidents demonstrated breakdowns across all five objectives:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Incident A (Question Leakage) violated confidentiality.&lt;/strong&gt; Leaking exam questions to a messaging group exposed test content before the exam started. SEB restricts local browsing, but it cannot prevent an insider copying files from the central database or photographing a screen with a phone.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Incident B (Unauthorised Grade Changes) violated integrity and accountability.&lt;/strong&gt; Altering a recorded grade corrupted data accuracy (integrity). Because the system logged the change without recording user identity or session context, the university could not determine who made the modification (accountability).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Incident C (Examination Disruption) violated availability.&lt;/strong&gt; A 30-minute outage prevented hundreds of students from submitting their work. Security requires reliable, timely access to services; an unavailable system fails its operational purpose.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Incident D (Identity and Trust) violated authenticity.&lt;/strong&gt; Valid login credentials proved an account exists, but could not confirm that the person typing was the registered student. Authenticity requires ongoing proof of human identity, not just a one-time credential check.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Evaluating an exam platform requires measuring whether these five objectives hold up under real operating conditions, not counting installed security features.&lt;/p&gt;




&lt;h3&gt;
  
  
  Threat Analysis: Incidents B and D
&lt;/h3&gt;

&lt;p&gt;Analyzing Incidents B and D requires separating assets, vulnerabilities, threats, attacks, and risks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Incident B: Unauthorised Grade Changes&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Asset:&lt;/strong&gt; The grade database and student academic records.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vulnerability:&lt;/strong&gt; An administrative dashboard endpoint lacking strict access controls, parameter validation, and audit logs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Threat:&lt;/strong&gt; A student seeking higher marks, an attacker with stolen credentials, or a corrupt insider.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Attack:&lt;/strong&gt; The adversary discovers an exposed API endpoint on the web dashboard (software attack surface), issues a forged request, and alters the grade record without generating an attribution log.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Risk:&lt;/strong&gt; Unearned grades enter transcripts, destroying academic trust, threatening accreditation, and exposing the university to legal liability.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Incident D: Identity and Trust Breakdown&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Asset:&lt;/strong&gt; Academic credential legitimacy and degree validity.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vulnerability:&lt;/strong&gt; Dependence on static, single-factor credentials without continuous identity binding.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Threat:&lt;/strong&gt; A student hiring a proxy test-taker through contract-cheating services.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Attack:&lt;/strong&gt; The student shares credentials with a proxy who logs in directly or uses external hardware to evade webcam monitoring (human and hardware attack surface).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Risk:&lt;/strong&gt; Students graduate without demonstrating required competence, devaluing the university’s degrees.&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  Three Prioritised Security Controls
&lt;/h3&gt;

&lt;p&gt;To correct these failures, the university must implement Defense in Depth and Zero Trust principles ("never trust, always verify"). Three controls should take priority:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Role-Based Access Control with Immutable Audit Trails (Preventive and Detective)&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Enforce the Principle of Least Privilege by restricting database write permissions to verified registrar roles. Require dual authorization (separation of duties) for post-exam grade modifications, requiring two authorized staff members to sign off. Forward all database queries to an append-only, write-once, read-many (WORM) logging pipeline.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;Risk reduced:&lt;/em&gt; Prevents untraceable grade tampering and establishes accountability (Incident B).&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Trade-offs:&lt;/em&gt; Adds administrative approval delays during grade submission periods and increases log storage costs.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Phishing-Resistant MFA and Continuous Identity Verification (Preventive and Detective)&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Deploy FIDO2/WebAuthn multi-factor authentication for exam logins. Supplement this with periodic, randomized webcam checks and typing pattern analysis during the session to confirm the active test-taker matches the registered student.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;Risk reduced:&lt;/em&gt; Stops credential sharing and proxy test-taking (Incident D).&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Trade-offs:&lt;/em&gt; Raises student privacy concerns regarding biometric capture, requires fallback procedures for students with faulty webcams, and creates support overhead for lost tokens.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;High-Availability Infrastructure with Encrypted Local Caching (Preventive and Recovery)&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Distribute the exam backend across auto-scaling application tiers with redundant database read-replicas. Pair this with client-side encrypted local storage within the exam interface, saving answers locally in real time and syncing them automatically when connectivity recovers.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;Risk reduced:&lt;/em&gt; Prevents submission loss and service downtime during peak exam traffic (Incident C).&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Trade-offs:&lt;/em&gt; Increases cloud hosting costs and local cryptographic key-handling complexity.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;




&lt;h3&gt;
  
  
  The Bottom Line
&lt;/h3&gt;

&lt;p&gt;Locking down the student's browser while leaving backend APIs, database auditing, and identity verification unchecked creates an illusion of security. Real exam integrity requires layered controls: verifying identity continuously, logging every grade change immutably, and designing infrastructure that survives peak loads.&lt;/p&gt;

</description>
      <category>cybersecurity</category>
    </item>
  </channel>
</rss>
