Skip to main content
CYBERSECURITY FOUNDATIONS / LESSON 04 / PHASE 02: UNDERSTAND ATTACKS

Malware & Credential Threats.

A file was blocked. A suspicious session appeared. Documents became unreadable. Learn why those represent different evidence—and how defenders investigate without guessing the outcome.

Beginner → Intermediate · Lesson 0460–80 min reading + explorerSix synthetic telemetry timelines
00 / START HERE

From deceptive requests to real systems and accounts.

Lesson 03 introduced deceptive messages and safe reporting. Here we study what may happen after an initial lure—or after an exposed service or stolen password is used. You will learn to distinguish an attempted action from a successful session and from demonstrated business harm.

We will not download malware, run exploits, generate password attacks, collect live credentials, or alter real endpoints. Every telemetry example is fictional and designed for defensive reasoning. Prior knowledge of SIEM queries, PowerShell or operating-system event IDs is not required.

01Distinguish malware delivery, execution, persistence, impact and blocked attempts.
02Recognize broad malware categories without inferring specific behavior from labels alone.
03Differentiate password spraying, credential stuffing, brute-force attempts and session abuse.
04Correlate endpoint, network, file and sign-in evidence while acknowledging uncertainty.
05Select proportional monitoring, escalation and authorized containment or recovery actions.
Reading-first promise: Every term used in the Threat Chain Explorer and Practice is introduced below. First learn the evidence types, then inspect the guided timelines, and only afterward move to independent Practice.
01 / UNDERSTAND ATTACKS

Malware is software used for harmful purposes.

Start with observable behavior, not a dramatic label.

Malware is software intentionally used to cause unauthorized, unwanted or harmful outcomes. The word describes the purpose and behavior of the code, not a single file extension or a special kind of computer. Malware may steal data, encrypt files, open remote access or interfere with a service. An infection can be initiated through a lure, a vulnerable service, a compromised update or stolen administrative access.

Defenders should avoid claiming 'the machine is infected' solely because an antivirus product displayed a detection name. A detection can represent a blocked download, a quarantined file, a running process or even a false positive. Ask exactly what happened, at what time, and what evidence proves the next stage occurred.

MalwareSoftware intended to perform an unauthorized or harmful action.
DetectionA security product's observation or rule match, not necessarily a completed compromise.
False positiveA signal labeled as malicious that does not correspond to the suspected harmful activity.
WORKED EXAMPLE / NORTHSTAR / ANALYST WORKSTATION

An endpoint product reports that a suspicious attachment was blocked before it ran.

Defender's reasoning

The alert supports a blocked attempt, not confirmed execution. Validate the event's action, file handling and whether any separate process or network evidence exists.

Check your understanding: Does a quarantined attachment prove that ransomware encrypted any files?

No. Quarantine can stop a file before execution. Look for independent evidence of actual harmful behavior before claiming impact.

02 / UNDERSTAND ATTACKS

Different malware families describe capabilities and goals.

Understand the categories without assuming they are mutually exclusive.

A computer worm can spread through susceptible systems with limited user involvement; a Trojan presents itself as useful or legitimate; a remote-access Trojan (RAT) enables unauthorized remote control; spyware collects information; ransomware denies access, often through encryption, to coerce payment. These descriptions concern behavior. A single campaign may combine multiple capabilities.

No category tells you the complete incident story. A legitimate remote-management tool can also be abused by an attacker; you need context and authorization to classify its use. The type of file or the appearance of a program window does not establish what the process actually did.

WormMalware designed to propagate across systems, often exploiting reachable weaknesses.
TrojanMalicious functionality disguised as benign or useful software.
RATRemote-access Trojan enabling attacker-controlled access to a device.
RansomwareMalware that attempts to deny access to assets, often via encryption or destruction, to extort payment.
WORKED EXAMPLE / NORTHSTAR / REMOTE ASSISTANCE

A remote tool appears on a technician workstation, but asset inventory says the support team uses a similar legitimate tool.

Defender's reasoning

Tool presence alone is not proof of malware. Verify publisher, installation approval, process behavior and authorized remote sessions using approved evidence.

Check your understanding: Can malware be both a Trojan and ransomware?

Yes. A disguise may describe how software arrives, while ransomware describes harmful outcomes. Campaigns can combine capabilities.

03 / UNDERSTAND ATTACKS

A lure, file download, execution and impact are separate events.

Reconstruct only the stages supported by evidence.

An attacker might deliver a file through phishing, persuade someone to run it, establish persistence, access additional resources and eventually steal or encrypt data. That is one plausible chain, not a mandatory sequence. Some attacks begin with exposed services or compromised credentials without a phishing email at all.

If a web proxy shows a download but endpoint telemetry shows no process launch, the evidence supports a download, not confirmed execution. If a suspicious process launches but no sensitive file access is observed, avoid asserting exfiltration. Write down each observed event and the gaps between them.

DeliveryHow content or access reaches a target, such as a message, download or service connection.
ExecutionA program or command running on a system.
ImpactObserved consequence such as encrypted files, service loss or disclosed information.
WORKED EXAMPLE / NORTHSTAR / INVOICE FILE

A staff member downloads a suspicious installer and the endpoint product blocks its execution.

Defender's reasoning

The download occurred, but successful execution has not been established. Follow-up checks can confirm the block and look for any other activity.

Check your understanding: What is the difference between seeing a download and proving execution?

A download shows content was retrieved; execution requires evidence that a program or command actually ran.

04 / UNDERSTAND ATTACKS

Behavioral evidence matters more than an alarming filename.

Correlate process, file, network and identity events.

Endpoint telemetry can report a process launch, parent process, file modification, security-product action or network connection. A process is a running instance of a program; its parent is the process that started it. A suspicious chain may involve a document reader unexpectedly launching a command interpreter, but legitimate automation can look similar. Explain why the context is unexpected rather than assuming a single process name proves maliciousness.

Network logs can show a destination and time without revealing everything that was transferred. DNS resolution shows a hostname was looked up, not necessarily that a harmful download succeeded. File-event spikes can indicate automated changes but also legitimate backups or updates. Multiple sources improve confidence; none should be treated as perfect.

ProcessAn actively running instance of a program on an operating system.
Parent processThe process that started another process; helps explain execution context.
CorrelationCombining independent observations across events, systems and time.
WORKED EXAMPLE / NORTHSTAR / ENDPOINT LOGS

A PDF reader starts a command process at 09:03, followed by unexpected outbound traffic.

Defender's reasoning

This raises suspicion and warrants investigation. Verify the user's task, command details, software history and network context; do not infer data theft from a connection alone.

Check your understanding: Does a DNS query for an unknown hostname prove that data was stolen?

No. DNS lookup evidence shows a name was queried. Additional evidence is needed to establish a connection, transfer and unauthorized disclosure.

05 / UNDERSTAND ATTACKS

Persistence and privilege change what an attacker could reach.

Be precise about what the telemetry demonstrates.

Persistence means a mechanism for maintaining access after a restart, sign-out or similar interruption. It might involve an autorun setting, scheduled task, service or cloud application grant. Privilege escalation involves gaining broader authority than initially held. Neither can be concluded solely from an unusual login or an isolated suspicious file.

Look for validated system changes, account role assignments and activity that follows those changes. In a real environment, investigating persistence safely may require endpoint or cloud security tooling and a documented escalation path. A beginner should not delete scheduled tasks or revoke high-value accounts just because a list looks unfamiliar.

PersistenceMechanism intended to keep access available across time or system changes.
Privilege escalationGaining a level of authority beyond the starting permissions.
AutorunConfiguration that starts a program automatically under defined conditions.
WORKED EXAMPLE / NORTHSTAR / NIGHT MAINTENANCE

A new scheduled task runs at 02:00 on a server used for nightly inventory.

Defender's reasoning

A scheduled task can be legitimate. Verify its owner, command, change record, signer and observed behavior before labeling it persistence.

Check your understanding: Is every newly created scheduled task evidence of attacker persistence?

No. Scheduled tasks have legitimate uses. Determine whether the task is authorized and whether evidence links it to unauthorized activity.

06 / UNDERSTAND ATTACKS

Ransomware response starts with evidence and containment authority.

Know the difference between a ransom demand, encryption and recoverability.

Ransomware may encrypt files, exfiltrate data, disrupt backups or threaten public disclosure. A ransom note is concerning, but it is only one artifact. File change events, inaccessible records, endpoint detections, shared-storage activity and backup status help establish which systems were affected. Do not assume that a ransom note proves every backup was destroyed or that all data was stolen.

Containment may involve isolating systems, blocking an account or halting a process, but these are operationally consequential actions. Follow an authorized incident procedure; isolation may interrupt critical services and may affect evidence collection. Restore only from evaluated recovery points and validate the recovery before declaring resolution.

Encryption impactLoss of access caused by unauthorized encryption of data.
ContainmentApproved action intended to limit a security incident's further impact.
Recovery pointA retained state or copy from which an affected system or data may be restored.
WORKED EXAMPLE / NORTHSTAR / SHARED FILES

A server shows hundreds of rapid file rewrites and users report unreadable documents.

Defender's reasoning

This is stronger impact evidence than a suspicious email alone. Escalate through the incident response process, preserve telemetry and coordinate approved isolation and recovery.

Check your understanding: Does the presence of an intact backup prove that ransomware recovery will succeed?

No. Restoration depends on protected, usable recovery points, application consistency and tested procedures.

07 / UNDERSTAND ATTACKS

Password spraying, stuffing and brute force describe different login patterns.

Distinguish techniques using the shape of observed authentication failures.

Password spraying attempts a small set of common passwords against many accounts, often to avoid per-account lockouts. Credential stuffing tries known or stolen username-and-password combinations across services. Brute-force attempts many guesses for a single secret or account. Observations can overlap, and sign-in logs do not automatically reveal exactly where the attacker obtained candidate credentials.

An authentication log contains a timestamp, account, source context and outcome where available. A broad wave of failures across users can suggest spraying; repeated guesses against one account may suggest brute force. A successful login after failures is a reason to investigate, not automatically proof the login was malicious.

Password sprayingTesting a small number of password guesses across many accounts.
Credential stuffingTesting known or stolen account credentials against other services.
Brute-force guessingRepeatedly trying candidate secrets to discover a valid one.
WORKED EXAMPLE / NORTHSTAR / SIGN-IN REPORT

Twenty employees each show one failed attempt from a common unfamiliar source over a few minutes.

Defender's reasoning

That pattern is consistent with password spraying but is not conclusive. Investigate source, sign-in outcomes, MFA results and related user activity.

Check your understanding: How do spraying and brute force differ in a common example?

Spraying tests a few passwords across many accounts; brute-force guessing tests many candidate secrets against one target.

08 / UNDERSTAND ATTACKS

MFA reduces risk but does not end the credential investigation.

Examine both the authentication result and the session.

A password can be stolen while an MFA challenge blocks account access. An attacker may still seek an unsolicited prompt approval, reuse a stolen session token or exploit an application with weak access controls. These are different problems with different indicators. Phishing-resistant authentication can reduce some impersonation and relay risks, but it is not a promise that endpoint or token compromise is impossible.

When evaluating a suspicious sign-in, note whether it failed, required MFA, completed MFA, issued a usable session or accessed a sensitive resource. These are distinct states. A user report of unexpected prompts should be escalated, but the prompts themselves do not establish that an attacker reached the mailbox.

MFA challengeAdditional authentication check demanded by an identity service.
Session tokenCredential-like artifact representing an authenticated interaction under defined conditions.
Session abuseUnauthorized use of an authenticated session, potentially without reentering a password.
WORKED EXAMPLE / NORTHSTAR / FINANCE

A stolen-password attempt reaches an MFA prompt and the employee rejects it.

Defender's reasoning

The rejected prompt supports an attempted sign-in that was blocked at this gate. Check for other successful sessions rather than declaring either a breach or universal safety.

Check your understanding: Can a rejected MFA prompt prove that all other sessions are safe?

No. It shows an outcome for that particular attempt. Review relevant sessions, token use and other alerts as appropriate.

09 / UNDERSTAND ATTACKS

Read sign-in evidence without inventing an attacker.

Time, account, source and outcome form a defensible starting record.

A sign-in event may include the account name, timestamp, application, source IP address, location estimate, result, authentication requirement and device signals. IP-based location is approximate and may reflect proxies or VPN services; two different locations minutes apart are a useful anomaly but not conclusive proof of account takeover.

Compare suspicious events with user reports, managed-device inventory, approved remote work, previous sign-in patterns and downstream application actions. A successful sign-in from an unfamiliar source raises the need for verification. A failed sign-in is not the same thing as a completed session, and a successful session is not automatically proof of data access.

Sign-in eventRecord describing a particular authentication attempt and its outcome.
Source IPNetwork address reported for the request; may not uniquely identify the actual human requester.
Session creationEvent or evidence showing authenticated access was established.
WORKED EXAMPLE / NORTHSTAR / REMOTE STAFF

A login appears to originate from a distant location, but the employee reports using an approved corporate VPN.

Defender's reasoning

The location alone is not proof of abuse. Correlate VPN egress, device, sign-in method and employee activity before assigning an incident outcome.

Check your understanding: Does an unusual country shown in a sign-in log prove a compromised account?

No. IP location can be inaccurate or affected by VPN egress. It is an anomaly that requires correlation.

10 / UNDERSTAND ATTACKS

Triage separates an alert, a suspected incident and demonstrated harm.

Match response urgency to the evidence and potential consequence.

Start with the observable signal and the asset at risk, then ask what more can be established: was a file blocked or executed, was a sign-in rejected or completed, did any resource access occur, did important data change? Record both confirmed observations and unresolved questions. Multiple independent observations can justify stronger concern even before every uncertainty is resolved.

Some actions are safe to recommend at a service desk level—reporting, preserving logs, contacting the responsible security team, and avoiding suspicious content. Others are high-impact, such as disconnecting a server, revoking many sessions, changing firewall policy or restoring production databases. An authorized responder must evaluate business impact, scope and evidence before acting.

TriageInitial evaluation and prioritization of an event based on severity, credibility, scope and urgency.
IncidentSecurity event with confirmed or sufficiently suspected unauthorized adverse consequences under an organization's criteria.
EscalationTransfer of an investigation to a team with appropriate authority and capability.
WORKED EXAMPLE / NORTHSTAR / HELP DESK

An endpoint alert says a file was blocked but a teammate asks for emergency network isolation of every server.

Defender's reasoning

Escalate the alert and verify its scope first. Broad isolation is not justified by a single blocked file unless other reliable context warrants it and the response is authorized.

Check your understanding: Should an entry-level technician disconnect an entire server fleet on an unverified alert?

No. Follow established incident escalation and authorized containment procedures, considering service impact and evidence.

11 / UNDERSTAND ATTACKS

Preventive, detective and recovery controls address different parts of an attack.

Explain what each control can and cannot establish.

Patching, application allowlisting, least-privilege accounts and appropriate network boundaries can reduce opportunities for harmful execution or spread. Phishing-resistant authentication and scoped permissions reduce certain identity abuse paths. Endpoint detection and response (EDR), sign-in monitoring and audit logs help discover and investigate activity; they do not make every dangerous action impossible.

Protecting offline or immutable recovery copies and regularly testing restores reduces some disruption consequences but does not undo data disclosure. The control lesson is the same as Lesson 01: choose a safeguard for the specific path to harm, verify its operation, and document residual uncertainty instead of claiming risk has reached zero.

EDREndpoint detection and response tooling that can collect endpoint signals and support investigation or authorized response.
Application allowlistingPolicy that limits which programs or code may execute.
Immutable backupRecovery copy protected against modification or deletion for a defined retention period.
WORKED EXAMPLE / NORTHSTAR / RANSOMWARE READINESS

The company has EDR, least privilege, protected backup copies and a practiced incident procedure.

Defender's reasoning

These safeguards address different phases: limiting initial execution, limiting privilege, detecting suspicious behavior and recovering services. None alone guarantees that no data can be stolen.

Check your understanding: Do protected backups prevent an attacker from reading sensitive data?

No. They support recoverability after disruption, not confidentiality of files that may already have been disclosed.

12 / UNDERSTAND ATTACKS

Build the evidence timeline before choosing a response.

Try six investigations where an observed alert may mean very different things.

The Threat Chain Explorer below contains only synthetic endpoint and sign-in events. Inspect the timeline carefully. Then decide whether the evidence shows an attempted action, a suspected compromise needing correlation, or confirmed harmful activity; finally select a proportionate next step. In these scenarios, 'confirmed' refers only to a demonstrated event or impact described in the supplied evidence—not proof of every possible attacker action.

The explorer does not execute malware, run commands or interact with a directory. The goal is defensive reasoning: connect the time of delivery, authentication, process creation and impact without filling gaps with assumptions. After this guided workbench, independent Practice will give you different incidents and no preselected answers.

Event timelineSequence of observations ordered by time to explain how activity developed.
Evidence confidenceJudgment about how strongly observations support a specific conclusion.
Response scopeAssets, identities or services affected by an authorized defensive action.
WORKED EXAMPLE / NORTHSTAR / ALERT QUEUE

One alert reports a blocked download; another reports unreadable files and rapid rewrites.

Defender's reasoning

Both deserve evaluation, but the second includes direct evidence of impact. The response level should reflect observed consequences, context and authorized procedures.

Investigate six different alert timelines.

Inspect event observations before you classify the evidence. Some alerts describe a blocked attempt, some are unverified concerns, one shows documented impact, and one is consistent with authorized work. Nothing here touches real systems.

INTERACTIVE / THREAT CHAIN & EVIDENCE EXPLORER

Follow the evidence. Stop where the proof stops.

Inspect synthetic endpoint and identity events, classify what actually occurred, and select the safest next action. A suspicious event is not always an executed attack, and an authenticated session is not automatically an intruder.

DEFENSIVE TRAINING ONLY · NO MALWARE, NETWORK CALLS, OR REAL ACCOUNTS
01 / Choose an incident record
ASSET / SCOPEAccounts payable workstation
TELEMETRY CATEGORYEndpoint

An endpoint sensor quarantined an attachment before it could run. The user reported opening the email but did not open the attachment. No subsequent process execution appears in the available endpoint timeline.

02 / Inspect the timeline (0/4 events opened)

  1. 09:03MESSAGE
  2. 09:05FILE
  3. 09:05BLOCK
  4. 09:08UNKNOWN
03 / What is the strongest conclusion supported?
04 / What is a proportional next action?

Inspect at least two timeline events and choose a conclusion and an action before checking.

All events and identities are fictional. The workbench never runs processes, handles credentials, executes malware or performs real containment. Operational changes must follow authorized incident procedures.

Check your understanding: Why should an investigation distinguish what the defender observed from what the attacker might have done?

The distinction prevents false incident conclusions and helps responders choose safe, justified next actions.

13 / BEFORE YOU PRACTICE

Describe the incident stage you can actually prove.

A download is not a process launch. A process launch is not proof of exfiltration. A failed login is not a session, and a completed session is not automatically proof of an attacker. Conversely, actual inaccessible files and corroborating unauthorized rewrites may justify urgent response without identifying the initial entry point.

1Name the affected asset and observation
2Build the timestamped event sequence
3Distinguish blocked, suspected and observed impact
4State unknowns and competing explanations
5Escalate and validate proportionate authorized action

These habits connect directly to Security Evidence & Logs, Detection & Alert Triage, and Incident Response Fundamentals, where incomplete records and operational consequences demand careful decisions.

OPTIONAL / DEEPER DEFENSIVE READING

Reference guidance from security organizations.

The lesson and its Practice are self-contained. These official resources expand on malware, credential threats, and evidence-led incident response.

UP NEXT / INDEPENDENT PRACTICE

Prove the distinction in independent Practice.

Continue to Lesson 04 Practice, where you'll classify new evidence, differentiate authentication patterns and work through four more incident decisions before returning to the full Foundations path.

Start Lesson 04 Practice →
NEXT REQUIRED STEP · CYBERSECURITY FOUNDATIONS

Complete the Practice milestone

You've reached the end of this written lesson. Your next step is practice—complete Malware & Credential Threats · Independent Practice before proceeding to a new lesson. This is milestone 8 of 26. You can revisit the explanation whenever you need it.