Digital forensics / free evidence pack
Solve a data leak: a digital forensics case you can work yourself
A fictional company lost its pricing sheet and client list to a competitor. You get the evidence: a USB image, a network capture, emails, logs, a phone and a memory dump. Work out what happened, how it left, who is most likely responsible, and what you can and cannot prove.
22labs9evidence items17flagsFree tools, Windows 10 or 11
The case
CASE-2026-SLV-017. Solvanta Infotech Pvt Ltd (SLV) sells cybersecurity products and managed services to mid-market firms through partners. Head office is in Kasol.
On 16 October 2026 a key client, Kaveri Freights Ltd, told Solvanta's sales head that a competitor, Telvo Corp, had quoted it a Managed SOC price just under Solvanta's own partner price. Only one document holds that number: the confidential Q3 partner pricing sheet. The client list may have left with it.
Solvanta has engaged you as an outside forensic examiner. Its IT team sealed a USB drive and a phone, and copied two workstations and the server logs under supervision. Your job is to find out how it happened, what was taken, how it left the network, who is most likely responsible, and what the evidence can and cannot prove.
Everything in this case is fictional: people, companies, IP addresses, domains and files. Domains
end in .example and IP addresses are documentation ranges. Do not contact anyone.
Who is who
| Person | Role |
|---|---|
| Rakesh Joshi | CEO. His name was spoofed. |
| Meera Rawat | Finance Manager, PC SLV-WS-042 (192.168.10.42) |
| Karan Bisht | Contract network engineer, PC SLV-WS-077 (192.168.10.77). Owns the USB drive and the phone. |
| Vikram Anand | Head of IT and Security. Your contact. |
| Nisha Kapoor | Legal and Compliance Counsel. Will ask for the legal map. |
| Sandeep Rao | HR Manager. Karan's contract ends 31 Oct 2026. |
| Pradeep Nair | Systems administrator. Uses the shared sysadmin account from 192.168.10.15. |
Systems and outside addresses
| System | Address |
|---|---|
| SLV-FS01, Windows file server | 192.168.10.5 |
| Mail gateway | 192.168.10.25 |
| jump01, Linux admin host | not stated |
| Public web server | not stated |
| External VPS | 198.51.100.77 |
| Look-alike phishing site | 198.51.100.88 |
| Telvo Corp FTP server | 203.0.113.50 |
Not every address in the logs matters. Some are ordinary visitors. Working out which is part of the job.
Solvanta's data classification
| Tier | Meaning | Examples |
|---|---|---|
| Public | Fine to publish | Marketing pages, list prices |
| Internal | Staff only | Intranet, the Public share (by design) |
| Confidential | Business harm if leaked | The Q3 partner pricing sheet. Finance group only, no USB, no external mail. |
| Restricted | Legal or contractual harm | The client list with contacts, credentials. Named people only, logged, encrypted. |
As you go, decide which tier each item belongs to, and whether it was handled that way.
The six questions
- How did the intruder first get access?
- What was taken, from where, how did it move, and which classification tier is each item?
- How was the data hidden and sent out?
- Who is the most likely culprit, and how strong is the link?
- Which laws are engaged (IT Act, BNS, BSA Section 63)?
- What should Solvanta do next?
The evidence
| ID | Item | Stage |
|---|---|---|
| E01 | USB drive image (FAT32) | The USB drive |
| E02 | Network capture (pcap) | The network and the logs |
| E03 | Two emails (.eml) | Email and browser |
| E04 | Browser history database | Email and browser |
| E05 | Windows, web server and SSH logs | The network and the logs |
| E06 | Steganography and hidden-data samples | Hidden in plain sight |
| E07 | Phone databases and photos | Phone, photos, memory, malware |
| E08 | Memory simulation (raw) | Phone, photos, memory, malware |
| E09 | Malware triage artifacts (simulated) | Phone, photos, memory, malware |
Ground rules
- Hash every item before you open it. Work on copies. Never modify the originals.
- Record each item in an evidence register and a chain of custody form.
- Note every finding with: what, where (file, offset, packet or row), when, and how you know.
- Times in the logs are IST (UTC+5:30) unless stated.
- Separate fact (what the evidence shows) from inference (what you conclude). Say what you could not prove.
Before you start: safety and law
- Everything here is a training scenario. Use these skills only on systems and data you own or have written permission to examine. Unauthorised access is a crime under the IT Act, 2000.
- The pack contains no real malware. Do not run or install anything from it. All analysis is done by reading and viewing files.
- One file (a "dropper" sample in E09) is an encoded command that only prints a message. Your antivirus may still flag it. Read it, do not run it. If you would rather be safe, do the whole case inside a virtual machine.
How flags work
Seventeen items hidden in the pack look like SLV{something}. Each is proof that you found a
specific artefact, not part of the story. Found one? Open the verify page, paste it, and it tells
you whether it is right. Nothing is sent anywhere: your browser compares a hash. There are no
spoilers on the page. A few answers are plain words, not flags: the lab will say so.
Set up
You need: a Windows 10 or 11 laptop, 8 GB RAM (16 GB is better), 10 GB free disk, and permission to install software. Most labs also work on Linux or macOS, but the commands here are Windows. A virtual machine is the safest choice: snapshot it before you start.
Steps
- Download the evidence pack zip from this page. Check its SHA-256 against the value shown next to the button.
- Unzip it to
C:\DF_Lab\pack. Keep a second folder,C:\DF_Lab\work, for your copies. You never editpack. - Install the tools. Either run
scripts\Setup_Tools.ps1from an administrator PowerShell (it uses winget and carries on if one install fails), or install them by hand from the table. - Run
scripts\Verify_Hashes.ps1. Every line must say OK. If one does not, download the pack again. - Install FTK Imager and Autopsy by hand (large, free, FTK needs a registration form).
- Test: open Wireshark, HxD, DB Browser for SQLite, 7-Zip, Notepad++ and FTK Imager. Note anything missing now.
A note on antivirus: do not switch it off and do not add an exclusion for a whole drive. If a tool or a sample is flagged, read what it is first. If you still want an exclusion, make it for one dedicated folder, on a machine you can afford to rebuild.
Tools
| Tool | Used for | Install |
|---|---|---|
| FTK Imager (Exterro) | Imaging, browsing, hashing | Manual download, free registration |
| Autopsy (Basis Technology) | Case analysis, recovery, timeline | Manual. Needs 8 GB RAM, 16 GB is better |
| Wireshark | Packet analysis | winget install Wireshark.Wireshark |
| HxD | Hex editor | winget install MHNexus.HxD |
| DB Browser for SQLite | Browser and phone databases | winget install DBBrowserForSQLite.DBBrowserForSQLite |
| 7-Zip | Archives | winget install 7zip.7zip |
| Notepad++ | Text with visible whitespace | winget install Notepad++.Notepad++ |
| ExifTool | Metadata | winget install OliverBetz.ExifTool |
| CyberChef (GCHQ) | Decode and transform. Use an offline copy | Download the release zip once |
| Audacity | Spectrograms | winget install Audacity.Audacity |
| Python 3.12 with pillow, numpy, pyzipper | Lab scripts | winget install Python.Python.3.12, then pip install pillow numpy pyzipper |
| Sysinternals Suite | strings, Autoruns, Process Explorer | winget install Microsoft.Sysinternals.Suite |
| PEStudio or Detect It Easy | Static triage of a harmless file such as notepad.exe | Manual download |
| Volatility 3 (optional) | Memory analysis | pip install volatility3 |
| TestDisk and PhotoRec (optional) | Recovery and carving | Manual download |
No practice disk yet? scripts\make_practice_vhd.ps1 builds a small FAT32 virtual disk with two
deleted files, so you can image and recover your own data before touching the case.
Secure the evidence
Before you analyse anything, prove the evidence is intact and that you can show who held it. Courts care more about this than about clever findings.
Lab 1Verify the evidence pack
Goal prepare your machine and prove the pack arrived intact.
- Unzip the pack to
C:\DF_Labas above. - Run
scripts\Verify_Hashes.ps1. Every line must say OK. - Open
00_CASE_BRIEF.txtand read it fully. Write the six questions in your notebook. - Install check: open each tool once and note what is missing.
Questions to answer
- How many evidence items are in the pack?
- Why verify hashes before you open evidence?
Lab 2Chain of custody and the evidence register
Goal practise the paperwork that makes evidence usable.
- Fill the evidence register for E01 to E09: item number, description, source, date and time received, SHA-256 (the first 16 characters are enough for practice).
- Fill one chain of custody form for E01 as if you received the USB image from Vikram Anand, Head of IT. Include the reason for transfer.
- Swap forms with someone, or review your own after a break. Find one gap: a missing signature, a missing time, a vague description.
- Write two sentences: what could the other side argue if this form had that gap?
Questions to answer
- What must a chain of custody show?
- Why give every item a unique evidence number?
Lab 3Hashing and integrity
Goal compute and compare hashes, and see the avalanche effect.
- Create
hello.txtcontainingHello DF. In PowerShell runGet-FileHash .\hello.txt -Algorithm SHA256. - Also run
Get-FileHash .\hello.txt -Algorithm MD5andcertutil -hashfile hello.txt SHA1. - Change one letter to lowercase and hash again. Compare the outputs.
- Copy
E01_karan_usb.ddtoC:\DF_Lab\work\and hash both copies. Compare withSHA256SUMS.txt. - In FTK Imager choose File, Add Evidence Item, Image File. Right-click the image and choose Verify Drive/Image. Note the hash FTK shows.
Questions to answer
- Do the two hashes of
hello.txtshare any pattern? - What is the SHA-256 of
E01_karan_usb.dd?
If a hash does not match, your copy is damaged or you downloaded an altered pack. Download it again rather than analysing it anyway. That is the habit this lab builds.
The USB drive (E01)
E01 is a forensic image of a 64 MB USB drive that belongs to Karan Bisht. A file system is only bytes with structure. These labs take it apart: open the image, read it by hand, find files that lie about what they are, recover what was deleted, and break a weak password.
Lab 4Open and explore a forensic imagesee Lab 7
Goal load a disk image read-only and list its contents, including deleted files.
- FTK Imager: File, Add Evidence Item, Image File, then choose
E01_karan_usb.dd. - Expand the tree. Note the volume label, the file system and the folders.
- Find files marked with a red cross (deleted). Write down their names and sizes.
- Select a deleted file and read its contents in the lower pane. Export one with right-click, Export Files.
- Export a directory listing: File, Export Directory Listing. Open the CSV in a spreadsheet.
Questions to answer
- What are the volume label and the file system?
- Which files are deleted?
- What does
passwords.txtreveal? - Why does it matter that the deleted files were company data?
If your tool says the image has no partition table, that is correct for a whole-device image. Mount it as a logical drive image instead.
Lab 5Read a FAT32 boot sector by hand
Goal decode key fields from the boot sector, to see that the structure is just bytes.
- HxD, File, Open, and choose your copy of the
.ddinC:\DF_Lab\work. - Offset
0x0B(2 bytes, little endian): bytes per sector. - Offset
0x0D: sectors per cluster. Offset0x0E(2 bytes): reserved sectors. - Offset
0x10: number of FATs. Offset0x52: file system type text. - Scroll to find the volume label text. Note its offset.
Questions to answer
- How many bytes per sector?
- How many FATs are there?
- What does "little endian" mean for the two bytes
00 02?
Offsets can differ slightly between formatting tools. The method matters: accept what your tool shows.
Lab 6File signature analysis
Goal prove that file extensions can lie.
- Export
Music\summer_mix.mp3andDCIM\holiday_goa.jpgfrom the image toC:\DF_Lab\work. - Open
summer_mix.mp3in HxD. What are its first 8 bytes? Compare them with the PNG signature89 50 4E 47 0D 0A 1A 0A. - Rename a copy to
.pngand open it. What does the picture show? - Open
holiday_goa.jpgin HxD. Search for hexFF D9(end of a JPEG). Is there more data after it? Look for50 4B 03 04. - Rename a copy of
holiday_goa.jpgto.zipand open it with 7-Zip. List the contents.
Questions to answer
- What is
summer_mix.mp3really? - What is hidden in
holiday_goa.jpg? - Why does an image viewer still show the photo?
Stuck? The first bytes of a file say what it is. The name says what someone wants you to think.
Lab 7Recover deleted files with Autopsy3 flags
Goal run an Autopsy case and recover the deleted evidence.
- Autopsy, New Case. Name it
DF-SLV-017and add yourself as the examiner. - Add Data Source, Disk Image or VM File, then
E01_karan_usb.dd. Choose the ingest modules File Type Identification, Extension Mismatch Detector, Embedded File Extractor, and optionally Recent Activity. - While ingest runs, open File Views, Deleted Files. Right-click each file and choose Extract File(s).
- Run a keyword search for
Goa,Telvoandpricing. Review the hits. - Open
Misc\readme.txtand the Hex tab. Scroll past the end of the 14 byte file into the slack area.
Questions to answer
- Which deleted files could you recover, and what do they contain?
- What was in the slack space of
readme.txt? - Which module flags the
.mp3that is really a PNG?
Autopsy needs minutes to ingest even a small image and wants 8 GB RAM. Start the ingest first and read while it runs. If it fails, export with FTK Imager and use HxD: the questions are the same.
Found one? Check it on the verify page.
Lab 8Crack a weak zip password1 flag
Goal see how context-based wordlists break weak passwords.
- Export
Docs\backup.zipfrom the image. - In PowerShell, in the folder holding
crack_zip.py, runpython crack_zip.py backup.zip wordlist.txt. - Open the extracted file. What does it contain?
- Add your own guess to the wordlist and watch how a longer list changes the time.
- Write one defensive recommendation about passwords.
Questions to answer
- What is the password?
- What are the contents?
- Why did this work?
A password built from words about the suspect's own world is a context guess. You may find the word turns up somewhere else in the evidence. Note where.
Found one? Check it on the verify page.
The network and the logs (E02, E05)
The USB drive tells you what left the building. The network capture and the server logs tell you how someone got in. Together they give you a timeline. All times in the logs are IST.
Lab 13Recon and triage commands (warm-up)
Goal run core network commands and read the output like an investigator. Use your own machine only.
ipconfig /all: note the IP, gateway, DNS and MAC. Is the IP private?arp -a: list the neighbours. Which one is the gateway?netstat -ano: find an ESTABLISHED connection. Match its PID in Task Manager (Details tab).nslookup example.comandtracert example.com, if your network allows it.- Document five facts in a table: command, finding, why it matters.
Questions to answer
- Which command maps connections to processes?
- Is
192.168.x.xa public address?
Lab 14Wireshark analysis of the case capture1 flag
Goal reconstruct the phishing, the scan and the exfiltration from one capture.
- Open the capture. Statistics, Conversations, then Protocol Hierarchy. Which IPs are most active?
- Filter
smtp. FindMAIL FROMand the message. Who sent it, and from where? - Filter
http.request.method==POSTand Follow TCP Stream. What credentials were submitted, and to which site? - Filter
tcp.flags.syn==1 && tcp.flags.ack==0. Identify the scanning host and the open ports (look for SYN/ACK replies). - Filter
ftp. FindUSERandPASS. Follow the stream and note the file that was transferred. - Rebuild the uploaded file: File, Export Objects, FTP-DATA, or Follow TCP Stream on the data connection, Show data as Raw, Save as. Hash it.
- Filter
dns. Look for unusual TXT queries to a suspicious domain.
Questions to answer
- Where did the spoofed email really come from?
- What credentials were posted to the phishing site?
- Which host scanned the file server, and which ports were open?
- What was exfiltrated over FTP?
- Is there a flag in the capture?
- What is odd about the DNS traffic?
Stuck? A conversation is two directions of one connection. Follow the stream, then look at the other side of it. Note which ports are the control channel and which carries the data.
Found one? Check it on the verify page.
Lab 15Logs, intrusion detection and the attack timeline2 flags
Goal find the intrusion in three log files and build one merged timeline.
- Windows events CSV: filter EventID
4625and count failures by account and source IP. Which source is unusual? - Find the first
4624with LogonType10form.rawatfrom an external IP. Record the time. - List the
4688,4720,4732and1102events after that logon. Note the times and the commands. - Web server log: search for
sqlmapandUNION SELECT. Count the requests from198.51.100.77. - SSH log: count the
Failed passwordlines and the usernames tried. - Write a Snort-style rule that would have alerted on the
sqlmapuser agent (a sketch is fine). - Enter each key event in the timeline template with its IST time and source file. Mark each FACT or INFERENCE.
Questions to answer
- When did the RDP logon from an external IP happen?
- What did the attacker do afterwards?
- What does the web log show?
- What does the SSH log show?
- Is there a USB event?
- What would your Snort rule look like?
Not every odd-looking line is an attack. Ordinary visitors and a routine admin login are in these logs on purpose. Say why each is, or is not, part of the story.
Found one? Check it on the verify page.
Email and browser (E03, E04)
A person's emails and browser history show what they meant to do. Headers tell you where a message came from. Search terms and timestamps tell you what someone was planning.
Lab 16Email header analysis
Goal show whether the "CEO" email was spoofed.
- Open both
.emlfiles. Read theReceivedlines from the bottom up for each. - Compare the
From,Reply-To,Return-PathandMessage-IDdomains. - Read
Authentication-Results: SPF, DKIM and DMARC. - Find
X-Originating-IPandX-Mailer. - List five indicators of spoofing in the suspicious email.
Questions to answer
- Where did the spoofed message originate?
- What are the SPF, DKIM and DMARC results?
- Which indicators point to spoofing?
- What does the genuine email look like by comparison?
The genuine email is the control. Always compare against one. A policy of "no enforcement" on the company's own domain is a finding too.
Lab 17Browser history forensics
Goal build a timeline of intent from browser history.
- Open the database read only. Browse the tables
urls,visits,downloadsandkeyword_search_terms. -
Run:
SELECT datetime(last_visit_time/1000000-11644473600+19800,'unixepoch') AS ist, title, url FROM urls ORDER BY last_visit_time; -
Group the searches by day. What was being planned on 12, 13 and 14 October?
- Look at the downloads. What was downloaded, and where is it?
- Write five sentences describing the suspect's planning, with timestamps.
Questions to answer
- What happened on the evening of 12 October?
- What happened on 13 October?
- What happened on 14 October?
- What was downloaded?
- What is the caveat when you attribute browsing to a person?
Chrome stores time as microseconds since 1 January 1601 (WebKit time). The +19800 shifts UTC to
IST (5 hours 30 minutes in seconds). Browser history shows what a profile did. It does not show
who was at the keyboard.
Phone, photos, memory, malware (E07, E08, E09)
The last evidence is the most personal (a phone) and the most volatile (memory). Work in this order in real cases: memory is lost when the power goes, so it is collected first. Here you study it last, with the whole story in your head.
Lab 19Mobile databases and deleted messages1 flag
Goal read phone artefacts and recover a deleted text message.
- Open
sms.dbin DB Browser. Note the visible rows and their timestamps (milliseconds since the Unix epoch). - Convert them:
SELECT datetime(date/1000,'unixepoch','+5.5 hours'), address, body FROM sms; - Open
calllog.dbandcontacts.db. Which number appears most? Who is it saved as? - Run
strings.exe sms.db(Sysinternals), or search the file in HxD for readable text. Find messages DB Browser does not show. - Reconstruct the conversation timeline and relate it to the case.
Questions to answer
- Who is
+919000000011? - What are the visible messages?
- What are the deleted messages?
- Why can deleted rows often be recovered?
Stuck? A database deletes a row by marking space as free, not by wiping it. The bytes stay until something overwrites them.
Found one? Check it on the verify page.
Lab 20Photo metadata and tampering
Goal detect an edited photo and read GPS data.
- Run
exiftoolon each file inphotos. - Compare Software, DateTimeOriginal and ModifyDate, and Make and Model.
- Convert the GPS coordinates and check them on a map.
- Find the file edited in an image editor. What does the mismatch show?
Questions to answer
- Which photo was edited?
- What does the GPS data show?
- What can you not conclude from it?
Metadata can be edited, stripped by messaging apps, or wrong. It is a lead, not proof.
Lab 21Memory dump analysis (simulation)2 flags
Goal extract artefacts from a raw memory image.
- Hash the file. Open it in HxD and note its size.
- Search ASCII strings (
strings -n 8), then UTF-16 strings (strings -elon Linux, or Sysinternalsstrings.exe, which shows both). What differs? - Find the process list and the command lines.
- Locate the PNG header
89 50 4E 47at offset0x800000. Carve to the end of the PNG and open it. - Optional: explain what you would run with Volatility 3 on a real dump.
Questions to answer
- Which processes are of interest?
- Which commands are in memory?
- Are there credentials in memory?
- Is anything hidden in UTF-16 text?
- What does the carved image show?
This is a simulation: a small file built to teach the method, not a full Windows dump. On a real
one you would use Volatility 3 (windows.pslist, windows.cmdline, windows.netscan,
windows.malfind). The skill is the same: find what the machine was doing at the moment of capture.
Found one? Check it on the verify page.
Lab 22Malware triage of the dropper (simulation)1 flag
Goal spot the malicious process, its persistence and its command-and-control address from triage artefacts.
- Open
E09_process_list.csv. Find the process with the wrong name, path or parent. - Check
E09_netstat.txtfor its connections. Note the remote IP and port. - Open the autoruns file and list persistence entries that are not verified.
- Decode
E09_dropper_encoded.txtin CyberChef: From Base64, then Decode text with UTF-16LE. Do not run it. - Look up the fictional hashes in
E09_file_hashes.csvas you would on VirusTotal. Why can a hash lookup fail? - Write the list of indicators of compromise (IOCs).
Questions to answer
- Which process is malicious?
- How does it persist?
- What does the decoded command say?
- What are the IOCs?
- Why can a hash lookup fail?
The sample is harmless and only prints a message. The habit is the point: decode, read, never run.
Found one? Check it on the verify page.
Law and the report
Findings only matter if they hold up. This stage turns lab notes into a report someone else can act on, and ties the facts to the law. Say plainly: you are an examiner, not a lawyer. The legal map is for learning, and Nisha Kapoor, Solvanta's counsel, makes the final call.
Lab 18Map the law to the case
Goal match actions to statutes and draft a Section 63(4) certificate.
- List six actions in the case: phishing, unauthorised access, data theft, account creation, log clearing, and the sale of data.
- Map each to IT Act sections and BNS sections using the legal map.
- Draft a Section 63(4) BSA style certificate for the USB image: device, hash, tool, examiner declaration.
- Write what additional evidence a court would want.
- Note which duties actually apply to Solvanta today (see "Reporting duties" below).
Questions to answer
- What is a sample mapping of actions to sections?
- What goes in a 63(4) certificate?
- What is the disclaimer you must attach to a legal map?
CapstoneWrite the report
Goal answer the six case questions in a written report and a 10 minute talk.
- Decide roles if you are working with others: lead, disk and mobile, network and logs, reporting. Alone, do each in turn.
- Fill the evidence register and the timeline template from your lab notes.
- Answer questions 1 to 6 with evidence references (file, offset or packet, and time).
- Separate fact from inference and list your limitations.
- Write the report using the template. Present it aloud for 10 minutes, to a friend or to a recording.
Questions to answer
- How did the intruder first get access?
- What was taken, from where, how did it move, and which tier is each item?
- How was it hidden, and how did it leave?
- Who is the most likely culprit, and how strong is the link?
- Which laws are engaged?
- What should Solvanta do next?
Two traps decide how good a report is. First, shared infrastructure is not the same as a shared person: an address that appears in two places links two events but does not prove who sat at either keyboard. Second, report what you could not prove as clearly as what you could.
Reporting duties in Oct 2026 (for Lab 18 and question 6)
- CERT-In Directions (April 2022). Body corporates must report listed cyber incidents to CERT-In within 6 hours of noticing them and keep logs for a rolling 180 days within India.
- DPDP Act 2023. The Act is law. The Rules were notified in November 2025, but the personal data breach notification duty (Rule 7) is in the second phase and is not due to be enforceable until about May 2027. Check the Gazette for the exact date. In Oct 2026 a client list with contact details still raises a personal-data question, but not yet a statutory breach-notification deadline.
- BSA 2023, section 63. Electronic records produced as evidence need a certificate under section 63(4), with the record's hash value, completed by the party and by an expert. This is why Labs 2 and 3 matter.
All of this is for learning. Laws change and facts matter. Confirm with counsel.
After you finish
Write the report (Lab C1), then compare your method, not just your answers, with a friend or a colleague. The skill that matters is separating what you can prove from what you only suspect.
Cheat sheets, templates and glossary
Keep these open next to the labs. Click a title to open it.
Cheat sheet: hashing
Get-FileHash .\file -Algorithm SHA256 certutil -hashfile file SHA1 sha256sum file (Linux)
Cheat sheet: Windows triage commands
ipconfig /all arp -a netstat -ano tasklist /v nslookup domain tracert host whoami /all net users schtasks /query /fo LIST /v
Cheat sheet: Wireshark display filters
| Goal | Filter |
|---|---|
| One host | ip.addr == 192.168.10.77 |
| Port | tcp.port == 21 |
| Protocol | http, dns, ftp, smtp |
| HTTP POST | http.request.method == "POST" |
| SYN scan | tcp.flags.syn==1 && tcp.flags.ack==0 |
| Text search | frame contains "password" |
| DNS names | dns.qry.name contains "exfil" |
Cheat sheet: file signatures
| Type | Hex header | Footer or note |
|---|---|---|
| JPEG | FF D8 FF |
ends FF D9 |
| PNG | 89 50 4E 47 0D 0A 1A 0A |
ends 49 45 4E 44 AE 42 60 82 |
| ZIP | 50 4B 03 04 |
central directory 50 4B 01 02 |
25 50 44 46 |
ends %%EOF |
|
| EXE (PE) | 4D 5A |
MZ header |
| SQLite | 53 51 4C 69 74 65 |
"SQLite format 3" |
| WAV | 52 49 46 46 .. 57 41 56 45 |
RIFF WAVE |
Cheat sheet: Windows Security event IDs
| ID | Meaning |
|---|---|
| 4624 | Successful logon (type 3 network, type 10 RDP) |
| 4625 | Failed logon |
| 4688 | Process created |
| 4720 | User account created |
| 4732 | Member added to a local group |
| 1102 | Audit log cleared |
| 6416 | External device recognised |
| 5145 | Network share object accessed |
Cheat sheet: strings and carving (memory)
strings -n 8 file ASCII strings -el file UTF-16 little endian (Linux) strings.exe file Sysinternals, shows both vol -f dump windows.pslist | windows.cmdline | windows.netscan | windows.malfind
Cheat sheet: time conversions
Chrome: datetime(last_visit_time/1000000-11644473600,'unixepoch') Android: datetime(date/1000,'unixepoch') IST = UTC + 5:30
Legal map (for learning, confirm with counsel)
| Offence or need | IT Act 2000 | BNS or other |
|---|---|---|
| Phishing and spoofed identity emails | s.66C (identity theft), s.66D (cheating by personation using a computer resource) | BNS s.318 (cheating) |
| Unauthorised access to systems or accounts | s.43 (civil), s.66 (offence with dishonest intent) | |
| Data theft and copying files | s.43(b), s.66 | BNS property and trust provisions, as advised |
| Tampering with logs or records | s.65 (tampering with computer source documents), s.66 | |
| Breach of confidentiality | s.72 | |
| Cyber stalking | BNS s.78 | |
| Defamation online | BNS s.356 | |
| Obscene content or CSAM | s.67, 67A, 67B | |
| Interception or monitoring by the state | s.69 | |
| Electronic evidence admissibility | BSA 2023 s.63, with the s.63(4) certificate | |
| Search, seizure, investigation procedure | BNSS 2023 | |
| Incident reporting and logs | CERT-In Directions 2022: report within 6 hours, retain logs 180 days | |
| Personal data breach | DPDP Act 2023 (breach notification not yet enforceable, see above) |
Template: evidence register
| Item | Description | Source | Received (date, time) | SHA-256 (first 16) | Received by |
|---|---|---|---|---|---|
| E0_ |
(One row per item, E01 to E09.)
Template: chain of custody form
| Date and time | Released by | Received by | Purpose | Condition and hash checked | Signatures |
|---|---|---|---|---|---|
Template: attack timeline (IST)
| Date and time | Event | Source (file, row, packet) | FACT or INFERENCE |
|---|---|---|---|
Template: report outline
- Executive summary (5 lines, plain language)
- Scope and authority
- Evidence list with hashes
- Method and tools (versions)
- Findings (each with an evidence reference)
- Timeline
- Conclusions: facts, inferences, what is not proven
- Legal mapping (draft, subject to counsel)
- Recommendations
- Appendices: screenshots, tool output, glossary
Template: Section 63(4) BSA certificate (training format)
The real certificate is a Schedule to the Act with a part for the party and a part for an expert. This is a simplified practice version.
I, ____________, (role) ____________, certify that: (a) the electronic record ____________ was produced by the device ____________ (make, model, serial); (b) the device was operating properly; (c) the data was copied using ____________ (tool and version) on ____________; (d) the SHA-256 hash of the record is ____________; (e) the contents are true to the best of my knowledge. Signed: ____________ (person in charge) ____________ (expert).
Glossary
| Term | Meaning |
|---|---|
| Hash | A fixed-length fingerprint of data. Change one bit and it changes completely. |
| Chain of custody | The record of who held evidence, when, and why. |
| Forensic image | A bit-for-bit copy of a drive, including deleted data. |
| Slack space | Unused bytes at the end of a file's last cluster, which can hold old data. |
| Unallocated space | Disk areas not assigned to any file, where deleted data may remain. |
| File signature | The first bytes of a file that say what it really is. |
| LSB steganography | Hiding data in the least significant bits of pixels or audio samples. |
| Alternate data stream | A hidden named stream attached to a file on NTFS. |
| IOC | Indicator of compromise: an address, hash, filename or behaviour that marks an attack. |
| Spoofing | Forging a sender or origin so a message looks genuine. |
| SPF, DKIM, DMARC | Email checks that say whether a sender is allowed to use a domain. |
| WebKit time | Microseconds since 1 January 1601, used by Chrome. |
| Carving | Recovering files by their signatures, without a file system. |
| Fact and inference | What the evidence shows, and what you conclude from it. Keep them apart. |