How it works
Adversaries can be outsiders, insiders, careless users, automated bots, or people misusing legitimate access. AI can amplify both attacks and defensive analysis.
Treat AI output as a draft, not an authority. Verify recommendations and do not paste sensitive configurations into untrusted tools.
Common error
Do not assume every suspicious action requires a sophisticated attacker. Ordinary misconfiguration and leftover access are common causes.
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.3 Best Practices for Public Networks
Identify the possible public-network threat, protect the appropriate connection, and avoid assigning an attacker or a data theft from a network name alone.
- 1.3.A Who's Behind the Attack?
- 1.3.B Wireless Attacks
- 1.3.C Staying Safe on Public Wi-Fi
Read topic 1.3 notes, evidence, and quick checks
Separate capability, access, and motivation
An adversary may rely on ready-made tools or have the expertise to develop and adapt them; low skill does not mean low impact. Insiders have some trusted access, while outsiders may approach through public services or wireless signals. Financial gain, recognition, revenge, ideology, strategic advantage, or disruption can motivate activity. Criminal groups, hacktivists, state-sponsored actors, and cyberterrorists are descriptive categories, not conclusions an analyst can reliably assign from one failed connection.
An SSID is a name, not proof of the access point's identity
An evil twin imitates a legitimate wireless service, potentially using an identical name. A rogue access point is unauthorized in the relevant environment and need not imitate another one. Confirm the intended connection through the venue's established instructions, but recognize that matching the name or entering a shared password does not alone authenticate the operator. Stop if a guest portal demands unusual secrets, a new certificate, or unrelated software.
Distinguish observing a path from reading protected content
An adversary controlling a network path may observe metadata, interfere with access, or present a deceptive portal. Properly validated HTTPS protects the relevant exchange with the actual website even on an untrusted local network; do not assume a rogue AP automatically reads every encrypted password. An encrypted connection to a fake website still delivers information to that fake website. Verify the real service and never bypass a certificate warning just to proceed.
Distinguish discovery, interception, and disruption
Wireless discovery, sometimes called war driving when conducted while moving through an area, identifies signals and coverage; it does not automatically break encryption or grant access. Jamming intentionally interferes with wireless communication and threatens availability. Slow Wi-Fi can also reflect congestion or accidental interference. Use appropriate authorized radio and network evidence before declaring intentional jamming, and do not conduct interference or probe someone else's network as an exercise.
Know what the VPN tunnel covers
An appropriate VPN encrypts traffic routed through its tunnel between the device and VPN endpoint. Split tunneling, excluded applications, and a disconnected tunnel can leave other traffic outside that protection. The VPN provider and endpoint become part of the trust decision. A VPN does not make a fake login page legitimate, fix a compromised endpoint, or universally protect the onward path beyond its endpoint. Retain HTTPS and account protections for the actual service.
Choose practical habits for the required task
Keep the device and browser updated, limit unnecessary sharing/discovery, disable unintended auto-join, and forget unused networks. Use the known app or saved service rather than links from a captive portal. For a sensitive task, an available trusted personal connection may avoid the questionable AP, but does not solve phishing or device compromise. A network requiring no password is not proof of either theft or safety; assess the relevant encryption, authentication, and application behavior.
| Observation | Risk or limit | Matching action |
|---|---|---|
| Two nearby networks use the same guest name. | The label does not establish which operator is legitimate. | Use established venue guidance or a trusted alternative; do not test authenticity by entering secrets. |
| A portal asks for the member-portal sign-in code. | An unrelated guest connection is requesting an account secret. | Do not submit it; disconnect from the questionable service and report the request. |
| The browser shows a certificate warning. | The protected connection has not been validated as expected. | Stop the sensitive task and verify through the known service or responsible team. |
| A page is encrypted but the actual domain is unfamiliar. | Encryption protects delivery to that domain, including a fraudulent operator. | Use the independently known app/domain; encryption alone is not endorsement. |
| VPN status is connected but a browser is excluded from the tunnel. | That browser does not gain the tunnel's path protection. | Check the approved routing/split-tunnel policy and keep application encryption. |
| Wireless speed drops across the room. | Congestion, fault, accidental interference, or deliberate disruption are possibilities. | Use authorized network/radio evidence and report; speed alone cannot establish jamming. |
| Category or dimension | Illustrative characteristic | Evidence caution |
|---|---|---|
| Less-skilled tool user | Relies largely on tools built by others. | An off-the-shelf tool can still cause serious harm; capability is not motive. |
| Highly skilled adversary | Can develop or adapt tools and investigate unfamiliar weaknesses. | A successful attack does not automatically prove a new vulnerability or exceptional skill. |
| Criminal group | May pursue theft, extortion, or other financial benefit. | A money-related incident does not identify a particular group. |
| Hacktivist | May act to promote a cause or gain attention. | A claimed cause may be false or incomplete. |
| Insider risk | Involves trusted access used maliciously, carelessly, or through compromise. | Account activity is not proof that its named owner acted intentionally. |
| State-sponsored or ideologically motivated attacker | State-sponsored actors may seek strategic access or disruption. Cyberterrorism seeks intimidation or coercion through cyberattacks for political or ideological aims. | Motivation and sponsorship need substantial evidence, not an IP location or one tool name. |
Guest-connection review: an account-code request proves more than a signal name
FICTIONAL CEDAR CRAFT GUEST CHECK
Venue guidance: guest access asks for acceptance of usage terms only.
Visible SSIDs: CedarCraft-Guest and CedarCraft-Guest-Secure
Selected network: CedarCraft-Guest-Secure; operator not verified
Portal request: member password, current sign-in code, and certificate install
Browser warning: connection identity cannot be validated
Owner action: disconnects without submitting credentials or installing anything
Later report: another device is slow; no radio analysis is availableThe unexpected secret and installation requests conflict with the known guest process, and the warning is a reason to stop. The observations justify reporting the questionable service; they do not establish that a password was stolen or that a nearby slow device was jammed. Even the exact approved SSID can be copied. Prefer the established access process or an appropriate trusted alternative, and use the known member service with validated encryption.
Vocabulary in context
- SSID
- The advertised wireless network name; a copied name is not proof of operator identity.
- Evil twin
- A wireless service imitating a legitimate network to attract connections.
- On-path adversary
- An adversary positioned along communication paths, with impact limited by the protections actually in use.
- Jamming
- Intentional radio interference that disrupts communication and availability.
- Wireless discovery
- Observing wireless signals or coverage; observation alone does not grant authorized access.
- VPN tunnel
- An encrypted path between supported endpoints for the traffic actually routed through it.
Quick checks
Form your answer, then open the question to compare your reasoning.
1. Can an evil twin use exactly the same name as the real venue network?
Yes. An identical SSID can be copied, so a matching name alone is not proof of an authorized access point.
2. Does joining a rogue AP automatically expose every properly encrypted HTTPS password?
No. Validated application encryption protects that exchange. The AP can still interfere, observe some metadata, or lure users to a different fake destination.
3. Does an encrypted connection to a fraudulent login page protect the secret from that page's operator?
No. Encryption protects transport to the destination; the destination itself receives the submitted information. Use the independently known service.
4. Why stop at the guest portal in the evidence case?
It requests unrelated account secrets and a certificate install, contrary to venue guidance, while the browser cannot validate the connection. Do not submit or install anything.
5. What conclusion follows from one nearby device being slow?
Only that the device experienced poor performance. Congestion, faults, and interference are alternatives; intentional jamming is not established.
6. What is the VPN protection limit when the browser uses a split-tunnel exclusion?
The excluded browser traffic is outside that VPN tunnel. Even tunneled traffic still needs trustworthy destinations, application encryption, and a healthy endpoint.
7. Does wireless discovery alone prove intrusion or malicious intent?
No. It can reveal signals and coverage without obtaining access; intent and authorization need context. Do not scan or interfere with networks without permission.
8. Does using a ready-made tool make a person harmless or establish a nation-state sponsor?
Neither. A less-skilled operator can cause harm, and tools or source locations alone cannot establish sponsorship or motive.
1.4 AI-Based Cybersecurity Attacks
Explain how AI can amplify deception and attacks, recognize risks to AI-assisted workflows, and verify high-stakes claims through independent controls.
- 1.4.A How Adversaries Use AI
- 1.4.B Defending Against AI-Augmented Attacks
Read topic 1.4 notes, evidence, and quick checks
Treat polished language as appearance rather than authentication
Generative tools can produce fluent, translated, personalized messages and many variations quickly. Poor grammar is not required for phishing, and polished writing does not establish AI involvement or legitimacy. Evaluate the requested action, actual destination, independent identity, and approval process. AI can increase scale or lower effort without giving an adversary perfect information or unlimited capability.
A recognizable voice or face is not independent proof
Synthetic audio, images, or video can imitate a known person. Caller ID and account pictures can also be misleading without AI. For requests involving money, sensitive data, or changed access, pause and verify through an established contact and approval process. A private verification phrase can provide an additional signal, but it can be exposed or elicited too; do not make it the only safeguard or publish it as a recovery hint.
Public details can make a false request feel personal
AI-assisted collection and summarization can connect public roles, schedules, relationships, and interests into a targeted pretext. Reduce unnecessary public exposure and avoid predictable recovery answers or passwords based on personal facts. A genuine detail can come from public posts or a compromised account rather than a trusted relationship. Limit disclosure in conversation as well as in forms.
Understand AI-assisted malicious development at a high level
An adversary can use coding assistance to draft or alter malicious programs, investigate weaknesses, or create variations. Generated code is not automatically functional, undetectable, or novel. Defenders still need maintained devices, least privilege, controlled software execution, and evidence-based response. The introductory task is to connect the capability to risk and protection, not to generate malware or test attacks against real people.
Separate malicious input instructions from poisoned learning data
Prompt injection attempts to steer an AI through hostile instructions in a message, document, retrieved page, or other input. Training-data poisoning manipulates data used in learning to influence later behavior; editing one web page does not prove it entered a model's training set. Retrieval contamination can instead affect the documents supplied at answer time. Treat untrusted text as evidence to analyze, restrict connected tools/data, and require appropriate validation and approval for consequential actions.
Protect prompts and verify conclusions with independent evidence
An AI tool can expose information through storage, sharing, configured connectors, or downstream actions even when training is not involved. Understand the approved tool's data handling and share only the permitted minimum, excluding secrets and unnecessary personal data. Check summaries against authoritative records and trusted human verification. Do not assume every system trains on prompts or that forbidding training alone makes disclosure harmless.
| Possible use or abuse | What could go wrong | Matching control |
|---|---|---|
| Fluent targeted messages | A familiar-looking request induces a secret disclosure or approval bypass. | Independent verification of the action and identity, plus protected authentication. |
| Synthetic voice or video | A high-stakes request appears to come from a trusted person. | Known-channel callback and appropriate separate approval; do not rely on appearance. |
| Public-profile summarization | Public facts make an impersonation or recovery scam more convincing. | Minimize exposed details and protect recovery workflows. |
| Malicious instructions inside a retrieved document | An assistant treats hostile text as permission to use tools or reveal information. | Treat retrieved text as untrusted, minimize tool/data privilege, and validate consequential actions. |
| Manipulated training or retrieval material | An answer incorporates false or attacker-selected information. | Control data provenance and access, evaluate outputs, and verify against reliable records. |
| Sensitive incident data pasted into an unapproved tool | Private information leaves the intended control boundary. | Use approved tools and minimized permitted records; understand retention and access. |
Two separate AI-risk observations: an urgent voice request and an untrusted document
FICTIONAL CASE A: SUPPLIER-DETAIL CHANGE
A voice message sounds like the workshop coordinator.
Request: change a supplier payment destination without the normal second review.
Pressure: the coordinator is busy and wants the change finished immediately.
Known-number callback: the real coordinator denies the request.
Voice-forensics result: none; synthetic generation is not established.
FICTIONAL CASE B: TEXT FOUND INSIDE A VENDOR DOCUMENT
The document includes a line telling an assistant to ignore review rules and
send the staff roster outside the organization.
User's actual task: summarize the delivery schedule only.
No outside transfer is authorized; the document is untrusted task data.A is an independently denied impersonation request, but its method could involve synthetic audio, edited audio, or another form of deception. Reject the bypass and preserve/report the relevant evidence. B is an instruction attempt inside data, not permission from the user. The assistant should analyze the relevant schedule without following the document's unrelated directions, and its available data/actions should be limited. Neither case requires assuming an AI detector can reliably decide authenticity.
Vocabulary in context
- Deepfake
- Synthetic or manipulated media representing a person or event; appearance alone does not verify identity.
- AI-assisted reconnaissance
- Using automated analysis to collect or connect information useful for targeting.
- Prompt injection
- Hostile instructions in input that attempt to redirect an AI-assisted workflow.
- Training-data poisoning
- Manipulation of data used in learning with the aim of changing learned behavior.
- Retrieval contamination
- Unreliable or manipulated material entering the documents supplied to an answer or workflow.
- Data minimization
- Sharing only the information needed and permitted for the approved task.
Quick checks
Form your answer, then open the question to compare your reasoning.
1. Does perfect grammar make a password request trustworthy?
No. Humans or AI can produce fluent text. Check the identity, actual service, requested action, and independent verification path.
2. Does the denied voice request prove the message was AI-generated?
No. Independent denial supports impersonation or an unauthorized request, but the exact production method remains unproven.
3. Why is a known-number callback stronger than calling the number in the suspicious message?
It uses an established channel rather than one potentially controlled by the requester. Keep normal second approvals for consequential changes.
4. Why should a family or team verification phrase remain only one part of protection?
It can be leaked or elicited. Independent contact and normal authorization remain important; a correct phrase is not unlimited permission.
5. What distinguishes prompt injection from training-data poisoning?
Injection attempts to redirect behavior through the input being processed. Poisoning manipulates data used for learning. Contaminated retrieved context can affect an answer without retraining the model.
6. Does publishing false text on one website prove a model has learned it?
No. The text must actually reach a learning or retrieval process, and its effect needs evidence. Website publication alone proves neither ingestion nor behavior change.
7. Why is turning off prompt training insufficient as the whole privacy review?
Retention, human access, sharing, connected tools, and downstream actions can still disclose data. Follow the approved data-handling arrangement and minimize what is provided.
8. What should an assistant do with the roster-transfer line in the vendor document?
Treat it as untrusted content, not an authorized instruction. Stay within the actual schedule-summary task and the approved data/tool boundaries.
1.5 Leveraging AI in Cyber Defense
Use AI to help review configurations, code, and events while keeping evidence, data access, testing, and consequential decisions under accountable control.
- 1.5.A AI as a Defender's Tool
- 1.5.B Faster Detection and Response with AI
Read topic 1.5 notes, evidence, and quick checks
Give a configuration reviewer the intended policy
An assistant can compare roles, settings, or traffic rules with a stated requirement and identify possible gaps. Supply approved, minimized context and ask it to distinguish a finding from a proposed change. A recommendation that fixes one denied task by granting every user broad access conflicts with least privilege. An authorized reviewer must confirm the actual platform semantics, necessity, and effect before applying a change.
Use code suggestions as findings to verify
AI can highlight suspicious data flows or missing checks, but can miss vulnerabilities or invent them. For a database example, concatenating untrusted input into command text is different from binding values through the database driver. Parameterized queries protect that code/data boundary; type/range validation and authorization have separate roles. A programmer should review the actual library behavior, test normal and adverse inputs, and confirm that legitimate work still succeeds.
Summarize events without inventing a causal story
Automated analysis can group related alerts, compare a baseline, and bring useful records to a reviewer sooner. Retain the original timestamps, identity/session identifiers, source system, and confidence limits. A summary should distinguish a failed attempt from a successful action and avoid merging unrelated events solely because their times are close. Fast processing does not guarantee complete coverage or correct attribution.
Measure misses and false alerts as well as speed
A false positive flags benign activity; a false negative misses malicious activity. Evaluate a proposed detection against known, representative cases, both normal and adverse, with an agreed labeling process. Overall accuracy can hide poor alert quality when benign events dominate. In the teaching table, 60 alerts contain only 18 true malicious events, while two malicious events are missed. Interpret the result in context rather than treating a score as proof of safe automated containment.
Keep automatic actions proportionate and reversible
Automation can notify an analyst, enrich a record, or apply a narrowly approved response. Actions such as disabling accounts or isolating a critical device can interrupt legitimate work, so define scope, thresholds, approval needs, logging, recovery, and an override. A generic model recommendation is not blanket authorization. Check that the response actually protects the stated asset and does not create a larger outage or erase useful evidence.
Use a repeatable review and feedback loop
Define the question and required policy, provide only permitted information, ask for supporting evidence and uncertainty, then validate the proposal in an appropriate test environment. A knowledgeable reviewer decides whether and how to use it, and records the outcome and rollback path. Monitor the deployed result and revisit errors or changed conditions. Human review works when the reviewer has the records, competence, and authority to challenge the output.
| Task | Useful draft output | Verification before consequential use |
|---|---|---|
| Configuration review | A specific mismatch between the approved role policy and current access. | Confirm the requirement, actual settings, necessary access, and positive/negative permission tests. |
| Code review | A concrete untrusted-input path and a proposed parameterized operation. | Review driver syntax, validation, authorization, normal behavior, and adverse-input tests. |
| Detection-rule proposal | A stated pattern, threshold, and testable rationale. | Check representative benign/malicious cases, alert burden, misses, and approved response scope. |
| Event triage | A timeline with record identifiers and qualified hypotheses. | Compare the original evidence, clock context, account ownership, and actual completed actions. |
| Automated containment | A narrowly scoped approved action with logged reason and recovery option. | Confirm authority, likely impact, exceptions, safeguards, and an accountable reviewer. |
| Detector outcome | Actually malicious | Actually benign |
|---|---|---|
| Alert raised | 18 true positives | 42 false positives |
| No alert raised | 2 false negatives | 958 true negatives |
Configuration and code review: require the intended boundary
FICTIONAL CONFIGURATION REQUIREMENT
A stock clerk may view tool availability.
A stock clerk may not export private member contacts.
AI proposal: make every authenticated user an administrator to remove denials.
Review: reject the broad grant; identify the exact authorized task and test it.
SEPARATE PYTHON sqlite3 TEACHING EXCERPT — public tool-label lookup
Unsafe construction:
query = "SELECT label FROM tools WHERE tool_id = " + supplied_id
Parameterized operation:
cursor.execute("SELECT label FROM tools WHERE tool_id = ?", (supplied_id,))
Additional requirements: validate expected ID format/range and enforce any
applicable access rules separately. Never interpolate the value into SQL text.The proposed administrator grant does not fit the stated role. For the separate code example, the driver placeholder passes the supplied ID as a value rather than command text. This fixes that construction boundary, not every application risk. The expected identifier and any applicable permissions still need checks, and tests must verify the actual library behavior before use.
Check the detector summary against its labeled counts
FICTIONAL DETECTOR REVIEW
Labeled set: 20 malicious events and 1000 benign events
Alerts: 18 malicious + 42 benign = 60 alerts
No alerts: 2 malicious + 958 benign = 960 events
AI summary: "The detector is about 95.7% accurate, so every alert proves
an intrusion and it is safe to disable all flagged accounts automatically."
CHECKS
Correctly classified: (18 + 958) / 1020 = approximately 95.7%
Malicious among alerts: 18 / 60 = 30%
Malicious detected: 18 / 20 = 90%; 2 of 20 were missed
No automatic-disabling policy has been approved.The accuracy arithmetic is plausible, but the conclusion does not follow. Most alerts in this set are benign, and two malicious cases are missed. These teaching labels do not guarantee future performance or describe the harm of an account disablement. Review false alerts and misses, validate on representative data, and use only an approved proportionate response with an accountable recovery path.
Vocabulary in context
- False positive
- A benign case incorrectly flagged as suspicious or malicious.
- False negative
- A malicious case missed by the detection process.
- Triage
- Prioritizing and reviewing observations to decide what needs investigation or response.
- Parameterized query
- A database operation that binds supplied values separately from the SQL command text.
- Least privilege
- Granting only the access needed for the authorized role or task.
- Human oversight
- Accountable review with enough evidence, expertise, and authority to challenge or stop a proposed action.
Quick checks
Form your answer, then open the question to compare your reasoning.
1. Why reject administrator access for every member merely to remove a stock-clerk denial?
It grants unrelated powers and conflicts with the stated role. Confirm the legitimate task and apply the narrow permission change only if it is actually required.
2. What specific boundary does the sqlite3 placeholder protect?
It binds supplied_id as a value rather than merging it into SQL command text. It does not replace format/range validation, role authorization, or testing.
3. Does an AI code-review finding prove the deployed application is vulnerable?
No. Review the actual data flow, library behavior, deployed configuration, and tests. The finding is a lead to validate, not a completed exploit or an automatic change authorization.
4. How many of the 60 alerts in the teaching set are actually malicious?
18, or 30% of the alerts. The remaining 42 alerts are false positives under the stated labels.
5. What fraction of malicious events did the detector find, and what did it miss?
It found 18 of 20, or 90%, and missed two malicious events. Alert quality and missed-event rate are different measures.
6. Why is approximately 95.7% accuracy insufficient to approve disabling every flagged account?
The set is dominated by benign events, most alerts are false positives, and two malicious cases are missed. Consequences, authority, representative evaluation, and recovery controls also matter.
7. What should a useful AI event summary preserve?
Original record identifiers, timestamps and zones, relevant session/identity links, actual actions and outcomes, and uncertainty. Verify its proposed timeline against the records.
8. What makes human oversight meaningful before an automated response?
An authorized, knowledgeable person has access to evidence, can challenge the recommendation, understands service impact, and can require testing, a narrow scope, and a recovery path.
Worked example
A contractor account downloads an unusually large set of files after its engagement ends. Distinguish evidence from motive.
Evidence
Account: former-contractor
Transfer: 2 GB
Time: outside scheduled work
Role end date: previous weekThe activity and stale access justify investigation and proportionate containment, but do not establish a motive by themselves. Preserve access and transfer logs, validate whether any approved work explains the event, and remove access that is no longer authorized.
Exercises
Exercise 1
An AI assistant confidently calls one failed login an insider attack. Why is that conclusion unsupported?
Show solution
A failed login can arise from an ordinary typo, an automated attempt, or several other causes. One event does not establish actor identity or intent; correlate additional evidence.
Exercise 2
What data-handling precaution applies before using an external AI tool to summarize incident records?
Show solution
Use an approved tool and share only the permitted minimum. Remove secrets and unnecessary personal or confidential data, then verify the summary against the original records.
