VULNAREX
SYSTEM ONLINE

πŸ›‘οΈ Training Arenas

Labs
Interactive exploit and defense labs
Courses
Structured learning tracks and missions
Sandbox
Live browser and terminal hacking arena
Whiteboard
Attack planning and vector sketches
Practice
Hands-on code and vulnerability exercises
Tools
Mini utilities for crypto, encoding, and analysis

πŸ“– Knowledge Vaults

Articles
Deep-dive security investigations
Blogs
Cyber threat news and analysis
Cheatsheets
Quick reference payloads and commands
Docs
Platform docs, guides, and protocols
Vulnerabilities
Latest CVEs, advisories, and KEV details

πŸ’Ό Career Prep

Exams
Certification and challenge prep
Interview Questions
Common questions and answer walkthroughs
Dashboard
XP, progress, and live rank telemetry
Learning Paths
Guided role-based learning roadmaps
Services
Consulting, training, and expert reviews
Contact
Get in touch with VulnarEx Lab ops
About
Login
Script Kiddie
Lv1 Β· 0xp
Intel Dispatch Β· Subscribe

Get Exploit Alerts & New Release Drops

Advanced exploit dissections, CVE breakdowns, and new lab drops β€” straight to your inbox. Unsubscribe anytime.

VULNAREX

A gamified offensive-security sandbox for developers, sysadmins, and researchers β€” from baseline hardening to kernel-level exploits.

Core Instance Β· Active & Stable
Telegram WhatsApp Facebook X / Twitter YouTube
Training
  • Labs
  • Courses
  • Sandbox
  • Practice
  • Whiteboard
  • Tools
Knowledge
  • Articles
  • Blogs
  • Cheatsheets
  • Docs
  • Vulnerabilities
Career
  • Exams
  • Interview Prep
  • Dashboard
  • Learning Paths
  • Services
  • Contact
Cluster Nodes
Active Nodes99.98% SLA
London Β· UK
24ms
Berlin Β· DE
18ms
Virginia Β· US
42ms
Tokyo Β· JP
95ms
30-day uptime99.98%

Β© 2026 VULNAREX SECURE LABS Β· ALL RECON FLAGS PROTECTED

PrivacyΒ·TermsΒ·DisclaimerΒ· TLS 1.3Β·Built with
Curriculum lobby
0s35 min Loop35 minβ˜… 100 XP
Syllabus

Cybersecurity Basics β€” From Core Principles to Real-World Defense

Core Principles of SecurityThe CIA Triad (Confidentiality, Integrity, Availability)Non-Repudiation, Authentication & Authorization (AAA)Defense in Depth & Least Privilege
Threat Actors & MotivationsTypes of Threat Actors (Script Kiddies, Insiders, APTs, Nation-States)Motivations: Financial, Political, Hacktivism, Espionage, SabotageCommon Attack Vectors (Phishing, Malware, Social Engineering)
Attack Surfaces & Attack VectorsDigital Attack Surface (Networks, Apps, Cloud, APIs)Physical Attack Surface (Devices, Kiosks, Data Centers)Human Attack Surface (Social Engineering, Insider Threats)Supply Chain & Third-Party Risks
Risk Management FundamentalsRisk vs. Threat vs. VulnerabilityRisk Assessment (Identification, Analysis, Evaluation)Risk Treatment Strategies: Avoid, Mitigate, Transfer, AcceptBusiness Impact Analysis & Disaster Recovery Basics
Security ControlsAdministrative Controls: Policies, Training & AwarenessTechnical Controls: Firewalls, IDS/IPS, Encryption & MFAPhysical Controls: Biometrics, Badges, CCTV & BollardsPreventive, Detective, Corrective, Deterrent & Compensating Controls
Real-World Application & Case StudiesAnalyzing a Ransomware Attack: Colonial PipelineData Breach Post‑Mortem: Target & EquifaxMapping Controls to CIA Failures
Final Assessmentscenario based risk analysisSecurity Control Selectionbasics certification practice quiz
cybersecurity-basics / aaa-framework

Non-Repudiation, Authentication & Authorization (AAA)

#How to Prove Who Did What β€” and Hold Them Accountable#link

In the previous lesson, we established that confidentiality ensures only authorized eyes see sensitive data. But how do we determine who is authorized in the first place? Enter the AAA framework: Authentication (proving identity), Authorization (granting permissions), and Accounting (logging actions for non-repudiation). When a rogue employee at Tesla exported gigabytes of Autopilot source code in 2021, the investigation relied entirely on accounting logs to establish non-repudiation β€” proving that a specific authenticated user performed specific actions that authorization should have prevented.

Authentication: Proving You Are Who You Claim

Authentication is the process of verifying an identity claim. The three classic authentication factors are: something you know (password, PIN), something you have (smart card, YubiKey, phone), and something you are (fingerprint, face, retina). Multi-factor authentication (MFA) combines two or more of these categories. A password plus a one-time code from an authenticator app constitutes MFA; two passwords do not, because both fall under 'something you know' and share the same vulnerability profile.

callout

Biometrics are not secrets. You cannot rotate your fingerprint after a breach. Treat biometric authentication as a convenience factor, not a high-assurance secret. Always pair biometrics with a second factor for sensitive systems.

python
# Simple MFA simulation: verifying a TOTP code alongside a password
import pyotp
import hashlib

# User's stored credentials (hashed password, TOTP secret)
stored_password_hash = hashlib.sha256(b"CorrectHorseBatteryStaple").hexdigest()
totp_secret = "JBSWY3DPEHPK3PXP"  # Base32-encoded TOTP secret

def authenticate(password: str, totp_code: str) -> bool:
    # Factor 1: Something you know
    if hashlib.sha256(password.encode()).hexdigest() != stored_password_hash:
        print("[FAIL] Password incorrect β€” authentication denied")
        return False
    
    # Factor 2: Something you have (TOTP generator)
    totp = pyotp.TOTP(totp_secret)
    if not totp.verify(totp_code):
        print("[FAIL] TOTP code invalid or expired β€” authentication denied")
        return False
    
    print("[SUCCESS] Multi-factor authentication passed")
    return True

# Test with correct credentials
authenticate("CorrectHorseBatteryStaple", totp.now())
# [SUCCESS] Multi-factor authentication passed

Authorization: What You're Allowed to Do After Login

Authentication confirms identity; authorization defines permissions. The principle of least privilege dictates that users should have the minimum access necessary to perform their job functions β€” and nothing more. Role-Based Access Control (RBAC) maps permissions to roles, not individuals. Attribute-Based Access Control (ABAC) extends this with contextual attributes like time-of-day, device posture, and geolocation. A payroll specialist should have write access to salary tables during business hours from a corporate device, but never from a coffee shop VPN at 3 AM.

Viewing Linux file permissions to understand authorization in practice
root@vulnarex:~#ls -la /etc/shadow stat /etc/shadow

The `/etc/shadow` file demonstrates classic Unix discretionary access control (DAC). Only the root user (UID 0) has read-write access; members of the `shadow` group have read-only access (needed by authentication daemons). All other users are denied. This is authorization, not authentication β€” even if you prove you are `alice`, the filesystem permission bits authorize or deny your access to this specific resource.

Accounting & Non-Repudiation: The Digital Paper Trail

Accounting (sometimes called Auditing) is the systematic logging of authentication events, authorization decisions, and user actions. Non-repudiation is the property that prevents a user from plausibly denying they performed an action. Together, they form the evidentiary backbone of incident response. When properly implemented, accounting logs answer: Who accessed what? From where? When? What did they do? And β€” critically β€” can they deny it? Digital signatures, timestamps from trusted time sources, and append-only log architectures all strengthen non-repudiation.

info

πŸ’‘ Non-repudiation requires cryptographic binding. A plaintext log entry saying 'User Alice deleted record #4567' is trivially forgeable. But a log entry signed with Alice's private key and timestamped by a trusted authority is cryptographically non-repudiable.

Generating a digital signature for non-repudiation with GPG
root@vulnarex:~#gpg --detach-sign --local-user alice@company.com transaction_log.txt gpg --verify transaction_log.txt.sig transaction_log.txt
AAA ComponentQuestion AnsweredPrimary MechanismsFailure Consequence
AuthenticationWho are you?Passwords, MFA, biometrics, certificatesImpersonation, unauthorized access
AuthorizationWhat can you do?RBAC, ABAC, file permissions, IAM policiesPrivilege escalation, data leakage
AccountingWhat did you do?Audit logs, digital signatures, SIEMInability to investigate, no non-repudiation
  • β–ͺAuthentication = Identity proof (1FA weak, MFA strong)
  • β–ͺAuthorization = Permission boundaries (least privilege is the gold standard)
  • β–ͺAccounting = Tamper-proof activity records (non-repudiation is the goal)
  • β–ͺAAA failures compound β€” stolen credentials bypass both authentication and authorization controls
  • β–ͺAlways log authentication and authorization events to a centralized, immutable log store
STRICT SECURE AUDIT RULE

⚠️ Never implement authentication and authorization in the same code module. The 'single point of decision' anti-pattern means a bug in your auth logic can grant both identity bypass and admin permissions simultaneously. Enforce separation of concerns.

quiz BLOCK (β˜… 50 XP)

An attacker steals a user's password and logs into the corporate VPN. They then access a file share containing salary data. Which AAA components have been compromised?

Select your proof vectors above

Verification Proof Checkpoint

Verify exercises to earn β˜… 100 XP and unlock next lab level.

Previous Lab
Workspace
Lab Notes

βœ“ Auto-persisted per lesson. Export as Markdown.

Checkpoints
How to Prove Who Did What β€” and Hold Them Accountable
Laboratory Sanity Code

Isolate active probes on matched virtual networks. Keep execution streams fully sandboxed.