Logical security is the set of systems and protocols that verify a user’s identity, control what resources they can access, and track their activity. At its core is the AAA framework — Authentication, Authorization, and Accounting — supported by protocols such as RADIUS, LDAP, SAML, and TACACS+. Multi-factor authentication and single sign-on are practical deployments of these principles, and technologies like honeypots and the CIA triad define how organisations detect and defend against attacks. These notes follow Prof. Messer’s Network+ N10-009 videos: Authentication, Security Technologies.
⏱ Video — Authentication (12:37): 0:01 intro to the aaa framework · 0:17 identification · 0:55 authentication · 1:13 authorization · 1:31 accounting · 2:03 vpn concentrator scenario · 2:55 single sign-on · 3:53 radius · 4:51 ldap and x.500 · 8:06 saml · 9:34 tacacs+ · 10:19 multi-factor authentication · 11:23 time-based one-time password
⏱ Video — Security Technologies (7:05): 0:02 intro to deception technologies · 0:15 honeypots · 1:08 honeynets · 1:58 risk · 3:00 vulnerabilities · 4:01 exploits · 4:42 threats · 5:36 the cia triad
The AAA framework
The AAA framework (Authentication, Authorization, Accounting) is the process behind every login. It starts with identification — a username or email address — which is considered public information. Knowing someone’s login name alone does not grant access.
- Authentication (first A): proving you are who you say you are, usually with private information such as a password or another factor.
- Authorization (second A): granting the proper access to files, directories, or network areas based on the authenticated identity.
- Accounting (third A): tracking who logged in and out, including failed authentication attempts and other metadata.
In a typical scenario, a laptop on the internet connects to a VPN concentrator and sends a username and password. The concentrator forwards this to an AAA server, which stores usernames, protected passwords, and other proof. If the credentials match, the server sends back an approval and the user is allowed to traverse the network.
Single sign-on
SSO (Single Sign-On) is a one-time authentication that lasts for a set period, often 24 hours. The user authenticates once in the morning and does not need to re-enter credentials for the rest of the day. Not all authentication methods support SSO — check the method in use to see what options are available.
Authentication protocols
- RADIUS (Remote Authentication Dial-In User Service) — a long- established protocol supported on many operating systems and devices. Despite the “dial-in” name, it works on modern networks. RADIUS is used for VPN concentrator authentication, server authentication, and 802.1X wireless access. It is a common option on new VPN concentrators and firewalls.
- LDAP (Lightweight Directory Access Protocol) — reads and writes a centralised directory on the network, similar to a phone book. Created by the ITU (International Telecommunication Union) and based on the X.500 standard. The original was the Directory Access Protocol; LDAP is the lightweight version. Used in Windows Active Directory, Apple Open Directory, and Novell eDirectory.
- X.500 attributes — LDAP organises objects hierarchically: a web server named “widget web” can have attributes such as an organisational unit (OU = Marketing), an organisation (widget), a location (London), and a domain (widget.com). Higher-level objects are containers; individual users and devices are leaf objects.
- SAML (Security Assertion Markup Language) — an open standard for authentication and authorisation across many applications. Not designed for mobile devices. Three components: resource server (the service the user wants), client (the browser), and authorisation server (identity provider). The flow: a user tries to access a resource → the server redirects to the authorisation server → credentials confirmed via LDAP or RADIUS → a token is generated → the client presents the token → the resource server verifies the cryptographic signature → access granted.
- TACACS+ (Terminal Access Controller Access-Control System Plus) — the latest version of TACACS, originally used for dial-up lines over modems at ARPANET. Closely associated with Cisco devices, though parts of the protocol were made public as an open standard in 1993.
Multi-factor authentication
MFA (Multi-Factor Authentication) adds additional layers beyond a username and password. The factors are:
| Factor | Example |
|---|---|
| Something you know | Password |
| Something you have | Mobile phone with authenticator app |
| Something you are | Biometric (fingerprint) |
| Somewhere you are | GPS location |
TOTP (Time-based One-Time Password)
TOTP (Time-based One-Time Password) is a widely used “something you have” factor. An app on a mobile device generates a number using a secret key and the current time of day. The number changes periodically, commonly every 30 seconds. It appears random but is expected by both the client and server, which are synchronised via NTP (Network Time Protocol). The user logs in with username, password, and the app code. TOTP is used by Google, Facebook, Microsoft, and many other organisations.
CIA Triad
The CIA Triad (also called the AIC Triad to avoid confusion with the Central Intelligence Agency) is the foundation of IT security:
- Confidentiality — restricting access or encrypting data so only authorised parties can read it.
- Integrity — data has not been modified by an unauthorised party. Commonly associated with digital signatures.
- Availability — security measures must not prevent legitimate users from accessing the systems and data they need.
Risk, vulnerabilities, exploits, and threats
- Risk — the exposure to something harmful or dangerous. Every organisation has risk; the larger the organisation, the more risk it takes on. Decisions about expanding, adding applications, or changing configurations must weigh risk and, if needed, add security controls.
- Vulnerability — a weakness in an operating system, authentication process, data stream, or configuration. Vulnerabilities can exist undiscovered for months or years. Microsoft patch notes are a common source of known vulnerabilities.
- Exploit — someone taking advantage of a vulnerability to gain access to a system or data. An exploit can be as simple as an embedded username or as complex as a multi-step attack.
- Threat — what the attacker uses to exploit a vulnerability. Threats can also be accidental (fire, flood). The threat agent creates a threat action that exploits the vulnerability, potentially causing the system to become unavailable, private data to be accessed, or information to be published.
Where attacks live — mental map (beyond the video)
Not from the video — why this matters for security.
- MFA is bypassed — push-fatigue attacks, SIM-swapping, and phishing steal TOTP codes; no single factor is invincible.
- SSO is a single choke point — compromise of the identity provider grants the attacker every resource the user had access to.
- RADIUS and LDAP are central targets — a breach of the AAA server or directory exposes every account on the network.
- Vulnerability disclosure — attackers find zero-days faster than patches arrive; monitoring threat feeds is as important as applying updates.
- The CIA Triad as a test — every security control can be evaluated against which leg of the triad it protects, and every attack breaks at least one.