How it works
Authentication proves identity. Authorization decides what that identity may do. Strong security separates those ideas and reduces the value of stolen credentials.
Use multi-factor authentication for important accounts, remove old access, avoid shared administrator accounts, and review unusual login signals.
Common error
A longer password helps, but it does not replace MFA, account lifecycle management, or least privilege.
Unit 1 topics and evidence practice
Work through five introductory security topics using invented messages, login records, public-network observations, and AI review exercises. Connect each conclusion to evidence and a matching control. The original foundation lessons and exercises remain available. All people, organizations, addresses, domains, and logs in the added cases are fictional; .test names and documentation IP addresses are examples rather than live services.
1.2 Suspicious Website Logins
Interpret login patterns without confusing a failed attempt with successful compromise, then strengthen authentication and verify recovery of the whole account.
- 1.2.A Signs of a Password Attack
- 1.2.B How Adversaries Exploit Weak Authentication
- 1.2.C Making Authentication Stronger
Read topic 1.2 notes, evidence, and quick checks
Separate password-attack patterns from confirmed method
Online guessing submits attempts to an active sign-in service. Many guesses against one account can fit brute-force or dictionary guessing; a few common guesses spread across many accounts can fit password spraying. Credential stuffing reuses exposed account/password pairs from elsewhere. Offline cracking works against obtained password-verifier data rather than repeatedly contacting the login page. Ordinary event records usually cannot prove which guessed passwords or tools were used, and should not record plaintext secrets.
Read time, account, outcome, device, and session together
Record the time zone, account, source, device/session identifiers, outcome, and any second-factor result. A burst of failures followed by a success deserves attention, especially with unapproved recovery changes. An IP may represent many users behind a shared network or VPN; approximate location and user-agent labels are not reliable proof of a person. Correlate owner confirmation, identity records, session actions, and the normal work schedule.
Prefer unique, long, unpredictable secrets over predictable decoration
A pet name plus a year and punctuation remains guessable even if it meets a character-mix rule. Use distinct passwords for different services and an approved password manager to generate and store them, with a strong protected manager account and recovery plan. A passphrase must also be difficult to guess and not reused. Follow the service's length policy, change an exposed secret promptly, and do not present arbitrary routine changes or symbol placement as a guarantee.
Identify different factors and their actual protection
Knowledge factors include a password or PIN; possession factors include control of a security key or registered authenticator; biometric factors use an approved physical characteristic. Password plus PIN is still one category. MFA reduces many credential-only attacks, but codes can be phished, approval prompts can be abused, and existing sessions can be stolen. Phishing-resistant cryptographic methods can bind authentication to the genuine service; evaluate the supported configuration rather than treating every second step as equivalent.
Use rate controls, alerts, and safe recovery as complementary defenses
A service can limit attempts, detect suspicious patterns, block known-compromised password choices, and apply suitable authentication and recovery controls. An overly broad lockout can let an attacker disrupt legitimate accounts, while a single IP block may affect unrelated users or miss a distributed attack. Recovery contacts and authenticator enrollment need protection too. Authentication identifies an account; role-based authorization still limits its permitted actions after login.
Recover sessions and settings as well as the password
Open the known service from a trusted device and follow the approved response. Preserve useful evidence, revoke unauthorized sessions where supported, replace exposed credentials, and review recovery contacts, authenticators, application grants, and relevant account actions. A password reset does not universally revoke every session. Confirm normal access and investigate the scope of unauthorized changes; failure counts alone cannot establish a data export or the attacker's identity.
| UTC time · 2026-10-29 | Event | Relevant context |
|---|---|---|
| 13:00:00 | Successful normal sign-in from known workstation; session R61. | Source 192.0.2.63; member recognizes this activity. |
| 13:21:00–13:23:00 | 24 failed authentication attempts for the same account. | Source 198.51.100.122; unfamiliar client label; no plaintext guesses are logged. |
| 13:23:12 | Successful sign-in; session R72; one-time-code step passed. | Same recorded source as the failure burst; successful MFA is not proof of owner intent. |
| 13:24:05 | Recovery contact changed using session R72. | The event records a completed setting change. |
| 13:24:20 | Member-directory export requested by R72; authorization denied. | No successful export is established by this record. |
| 13:27:00 | Owner contacted through established directory and denies R72 sign-in and recovery change. | Supports treating this session as unauthorized; exact credential acquisition method remains unresolved. |
| Pattern | Plausible concern or alternative | Next evidence |
|---|---|---|
| Many failures for one account | Guessing, a forgotten password, or an application retrying an old secret. | Client process, secret-change timing, rate pattern, and subsequent session activity. |
| Sparse failures across many accounts | Password spraying is possible; the attempted password itself is not established. | Account distribution, authentication detection context, and approved testing schedule. |
| Success using an exposed reused account/password pair | Credential stuffing is possible when the pair's use is independently established. | Exposure context and identity/session evidence without collecting or displaying plaintext secrets. |
| A new city or client label | Possible account abuse, travel, VPN use, or a new device. | Owner verification and correlated session actions rather than location alone. |
Recovery review: challenge the assistant's unsupported all-clear
FICTIONAL REVIEW DRAFT
"R72 passed a code check, so it must be the owner. The blocked export means
nothing happened. Resetting the password guarantees every session is gone."
CHECK AGAINST THE RECORD
R72: owner denies the session and completed recovery-contact change.
Export: denied; no successful export shown by this event.
Service behavior: session revocation is a separate supported action.
Investigation: exact acquisition method and any other data access unresolved.The owner denial and completed change support unauthorized session activity despite the code check. A denied export limits that particular conclusion; it does not undo a separate successful setting change. Verify and revoke the relevant sessions and restore approved recovery settings as supported. Do not claim brute force was conclusively established or that all data was stolen.
Vocabulary in context
- Credential stuffing
- Trying exposed account/password pairs against other services, often exploiting reuse.
- Password spraying
- Trying a small set of candidate passwords across many accounts rather than concentrating every guess on one.
- Authentication
- Checking the claimed identity through the service's supported proof.
- Authorization
- Deciding which actions or resources an authenticated identity may access.
- MFA
- Authentication using different factor categories; its resistance depends on the methods and configuration.
- Session revocation
- Invalidating an established session through the service's supported controls.
Quick checks
Form your answer, then open the question to compare your reasoning.
1. Does one unfamiliar IP address prove who attempted the login?
No. Shared networks, VPNs, proxies, changing assignments, and incomplete records limit attribution. Correlate session and owner evidence.
2. What do the 24 failures followed by R72 success suggest, and what do they fail to prove?
They warrant investigation for unauthorized access or guessing, but do not establish the exact attempted passwords, attack method, actor identity, or data accessed.
3. What does the 13:24:05 record establish that the blocked export does not cancel?
R72 completed a recovery-contact change. The later export denial supports no successful export by that request, while the independent account change still occurred.
4. Is a password plus a separate PIN necessarily MFA?
No. Both are knowledge factors. Different factor categories are required, and actual authentication methods must be evaluated.
5. Why can passing an OTP check coexist with an unauthorized session?
The code may have been phished or relayed, or a session may be abused through another route. A successful check does not prove that the owner intended the observed actions.
6. Which helps more against cross-service reuse: adding punctuation to the same password or using distinct unpredictable passwords?
Distinct unpredictable passwords reduce reuse exposure. Protect the approved manager and recovery path, and use suitable MFA; punctuation alone does not solve reuse.
7. Why should defenders avoid an automatic permanent block of every account behind one source IP?
The source can represent legitimate users as well as suspicious attempts, and attackers can change sources. Apply proportionate service controls and investigate the pattern.
8. After changing the password, what else needs checking?
Supported session revocation, recovery contacts, authenticator enrollment, application grants, relevant account actions, and normal access. Confirm the service's actual reset behavior.
Worked example
A teacher logs in successfully but cannot edit payroll records. Separate two access decisions.
Evidence
Identity check: successful
Role: teacher
Payroll edit permission: absentAuthentication succeeded, while authorization correctly denies an action outside the role. Giving every authenticated user edit rights would weaken security. Review role assignments only if the documented job requirement actually includes the denied task.
Exercises
Exercise 1
Are a password and a PIN necessarily two distinct authentication factors? Explain.
Show solution
Not necessarily. Both are knowledge factors. Multifactor authentication requires different factor categories, such as knowledge plus possession.
Exercise 2
A temporary administrator changes roles. What account lifecycle action should follow?
Show solution
Remove unnecessary elevated permissions promptly, retain an individual identity for accountability, and verify that the new role retains only the access its work requires.
