Advanced
Searching inSummaries
How to search
  • Words find lesson titles, text and code. Filter by type (guides, courses, programs, books) or stay in this book.
  • book:rhcsa and ch:8 narrow the search; #code finds a word only in commands of the lessons.
  • "two words" finds the exact phrase.
  • Plain words find names, texts and examples.
  • ↑ ↓ to move · Enter to open · Esc to close · / to search
Try:

Course 10Name in the course: Incident Response and Digital Forensics

Incident Response and Digital Forensics

Course 10 of 14 in the IBM Cybersecurity Analyst certificate. What incident response is, and why a plan matters.

Course page: Coursera

  • 8 Lessons
  • 2 Commands
  • 1 Labs

$ run as a normal user# run as root (or with sudo)

10.1

What the course covers

What incident response is, and why a plan matters.

  • How to prepare people, tools, and documents before an incident.
  • How to detect, contain, remove, and recover from an incident.
  • How digital forensics collects and keeps evidence safe.
  • How to analyze evidence and write a clear report.
ModuleMain focus
Module 1Incident response ideas, preparation, documentation, detection and analysis, containment, eradication, recovery.
Module 2Digital forensics: collection, examination, Cowrie log investigation, evidence handling, analysis, and reporting.
Module 3Final project and course wrap-up.

10.2

Module 1: Incident Response

An event is any observable thing in a log. An incident is an event that harms, or may harm, systems or data.

  • Incident response (IR) is the plan and the steps to handle an incident fast and well.
  • The lifecycle is: preparation; detection and analysis; containment, eradication, recovery; post-incident activity.
  • Preparation: IR plan, team roles, contact list, tools, training, and practice. A tabletop exercise tests the plan with no real attack.
  • Documentation matters. Write down each action, the time, the person, and the result.
  • Detection and analysis: alerts come from SIEM, IDS/IPS, antivirus, and users. Ask three things: is it real, how bad is it, and how wide is it?
  • Containment stops the spread. Short term: isolate the host and block the IP. Long term: rebuild or move to a clean network.
  • Eradication removes the cause: delete the malware, close the entry point, and patch the bug.
  • Recovery restores data and service, then watches closely for a second attack. Post-incident work covers lessons learned and a report.
  • A playbook gives fixed steps for one incident type. It saves time under stress.
  • Keep evidence and logs safe from the first minute. Do not reboot or clean a machine before you capture memory.

10.3

Module 2: Digital Forensics

Digital forensics finds, keeps, and studies digital evidence for a case.

  • The process is: identify, preserve, collect, examine, analyze, report.
  • Chain of custody records who held the evidence, when, and where. A gap can destroy the case.
  • Write blockers stop changes to the disk. Hashing (SHA-256) before and after shows the copy is the same as the original.
  • Order of volatility: capture the most fragile data first. Memory, cache, and live connections come before the disk and backups.
  • Cowrie is a honeypot. It logs attacker commands and sessions, so its logs help the investigation.
  • Network forensics captures traffic and studies flows and DNS. Wireshark and tcpdump are common tools.
  • Memory forensics reads RAM: running processes, open connections, and keys. Volatility is a common tool.
  • Anti-forensics means attackers hide or destroy evidence: timestomping, log deletion, and encryption.
  • The report says what was found, how, and what it means. Keep the original evidence untouched and work on a copy.

10.4

Module 3: Final Project

The final project puts the work together: respond, collect evidence, analyze, and report.

  • Use short facts and a clear timeline. Do not make claims that the evidence does not support.

10.5

Key terms

The words of this course in one table. Learn them before the quiz or exam.

TermMeaning
Analysis asksIs it real, how bad is it, how wide is it?
Anti-forensicsTimestomping, log deletion, encryption.
Chain of custodyWho held the evidence, when, and where.
CowrieA honeypot that logs attacker commands.
Detection sourcesSIEM, IDS/IPS, antivirus, and users.
Digital forensicsFind, keep, and study digital evidence.
DocumentationWhat happened, when, who, and the result.
EventAny observable thing in a log.
Forensics processIdentify, preserve, collect, examine, analyze, report.
IncidentAn event that harms, or may harm, systems or data.
IR lifecyclePreparation; detection and analysis; containment, eradication, recovery; post-incident.
Memory forensicsRead RAM: processes, connections, keys.
Network forensicsStudy traffic, flows, and DNS.
Order of volatilityThe most fragile data goes first.
PlaybookFixed steps for one incident type.
Post-incidentLessons learned plus a report.
ReportWhat was found, how, and what it means.
Short-term containmentIsolate the host and block the IP.
Tabletop exerciseTest the plan with no real attack.
Write blockerStops changes to the evidence disk.

10.6

Check yourself

Answer each question first, then open it to check the answer.

1What is a security incident? a) Any line in a log · b) A security event that harms, or may harm, systems or data · c) A normal user login · d) A firewall update

b) A security event that harms, or may harm, systems or data. An incident harms or may harm systems or data. Not every log line is an incident.

2Which phase comes first in the incident response lifecycle? a) Containment · b) Eradication · c) Preparation · d) Lessons learned

c) Preparation. Preparation comes first. It builds the plan, team, and tools.

3What is the goal of containment? a) Delete all log files · b) Stop the spread of the attack · c) Patch every server in the company · d) Write the final report

b) Stop the spread of the attack. Containment keeps the damage small and stops the spread.

4Which order of response steps is correct? a) Detect, contain, eradicate, recover · b) Contain, detect, recover, eradicate · c) Recover, detect, contain, eradicate · d) Eradicate, recover, detect, contain

a) Detect, contain, eradicate, recover. Find the problem, stop the spread, remove the cause, then restore.

5What is the chain of custody? a) A list of company passwords · b) A backup plan · c) A record of who held the evidence, when, and where · d) A firewall rule

c) A record of who held the evidence, when, and where. The chain of custody tracks the evidence and proves nobody changed it.

6Why do we hash evidence before and after copying it? a) To make the file smaller · b) To compress the disk · c) To prove the copy is the same as the original · d) To hide the file name

c) To prove the copy is the same as the original. Equal hashes before and after prove the copy is unchanged.

7Which data is the most volatile? a) A backup tape · b) RAM (memory) · c) A printed report · d) An old archive

b) RAM (memory). Memory changes fast. Capture it before powering off the machine.

8What is a write blocker? a) A tool that stops changes to the evidence disk · b) A password policy · c) A type of malware · d) An email filter

a) A tool that stops changes to the evidence disk. A write blocker blocks writes, so the disk stays unchanged.

9What is Cowrie used for in this course? a) To encrypt disks · b) To log attacker activity in a honeypot · c) To send phishing email · d) To scan ports fast

b) To log attacker activity in a honeypot. Cowrie is a honeypot that records what attackers type.

10What happens in the eradication phase? a) You inform the media · b) You restore the backup · c) You remove the cause: malware, entry point, and the bug · d) You write the lessons learned

c) You remove the cause: malware, entry point, and the bug. Eradication removes the malware, the entry point, and the bug.

11What is an incident playbook? a) A list of all staff home addresses · b) A fixed set of steps for one incident type · c) A firewall brand · d) A disk image

b) A fixed set of steps for one incident type. A playbook gives fixed steps, so the team is faster under pressure.

12Why does the forensic report need a timeline? a) To hide the team mistakes · b) To list the tools only · c) To make the file longer · d) To show the order of events with times

d) To show the order of events with times. A timeline shows what happened, in order, with times.

13What is a tabletop exercise? a) A test of the plan with no real attack · b) A disk backup · c) A type of malware · d) A firewall brand

a) A test of the plan with no real attack. A tabletop exercise walks through the plan with no real attack.

14Why do we write down each action, time, person, and result during a response? a) To make the report longer · b) To keep a clear record for the report and lessons learned · c) To hide mistakes · d) To slow the team down

b) To keep a clear record for the report and lessons learned. A clear record supports the report, the timeline, and lessons learned.

15The team isolates an infected host and blocks the attacker's IP. Which step is this? a) Recovery · b) Eradication · c) Containment · d) Preparation

c) Containment. Isolating a host and blocking an IP are containment actions.

16What happens in the eradication phase? a) You inform the media · b) You restore the backup · c) You remove the malware, the entry point, and the bug · d) You write the lessons learned

c) You remove the malware, the entry point, and the bug. Eradication removes the malware, the entry point, and the bug.

17Which step restores data and service after an incident? a) Recovery · b) Detection · c) Containment · d) Preparation

a) Recovery. Recovery brings data and service back, then watches for a second attack.

18Lessons learned and the final report belong to which phase? a) Detection and analysis · b) Containment · c) Post-incident activity · d) Preparation

c) Post-incident activity. Lessons learned and the report come after recovery.

19What is an incident playbook? a) A list of staff home addresses · b) A fixed set of steps for one incident type · c) A firewall brand · d) A disk image

b) A fixed set of steps for one incident type. A playbook gives fixed steps, so the team is faster under pressure.

20Which action can destroy memory evidence? a) Photographing the screen · b) Rebooting the machine · c) Writing the time in a log · d) Taking a hash of a disk

b) Rebooting the machine. A reboot wipes memory, so capture RAM first.

21What does the chain of custody record? a) A list of company passwords · b) A backup plan · c) Who held the evidence, when, and where · d) A firewall rule

c) Who held the evidence, when, and where. The chain of custody tracks the evidence and proves nobody changed it.

22What is a write blocker for? a) Stopping changes to the evidence disk · b) Blocking spam email · c) Slowing down the network · d) Hiding the file name

a) Stopping changes to the evidence disk. A write blocker blocks writes, so the disk stays unchanged.

23Which one is NOT an anti-forensics action? a) Timestomping · b) Log deletion · c) Hashing the evidence · d) Encryption

c) Hashing the evidence. Hashing protects the evidence. The other three destroy or hide it.

24In the forensics process, what comes right after preserve? a) Report · b) Collect · c) Analyze · d) Identify

b) Collect. The process is identify, preserve, collect, examine, analyze, report.

25What should a forensic report do? a) Show the facts and a timeline, with no claims beyond the evidence · b) Hide the team mistakes · c) List the tools only · d) Make the file longer

a) Show the facts and a timeline, with no claims beyond the evidence. A report states the facts and the timeline. It does not invent claims.

26Under the order of volatility, which data do you capture first? a) Memory and live connections · b) The hard disk · c) A backup tape · d) A printed report

a) Memory and live connections. Live memory and connections vanish fastest, so they go first.

27What should you do before you analyze a disk? a) Reboot the machine · b) Delete the logs · c) Image it and work on the copy · d) Encrypt the original

c) Image it and work on the copy. Image the disk and analyze the copy. Keep the original untouched.

10.7

Study and exam tips

Learn the lifecycle in order: prepare, detect, contain, eradicate, recover, review.

  • Keep the pairs clear: containment stops the spread; eradication removes the cause; recovery restores service.
  • For forensics, pick the action that keeps evidence unchanged: hash it, use a write blocker, log the chain of custody.
  • Order of volatility: memory first, disk next, backups last.
  • In scenario questions, ask what is the safest next step for the evidence.
  • In a scenario, ask what is the safest next step for the evidence.

Practice

All commands in this chapter