Step-by-step triage procedures, passive and active investigation techniques, Android and iOS forensics- adapted for Kenyan Human Rights Defenders
Plain-Language Glossary
Term | Plain-Language Definition |
Admissibility | Whether a court will allow a piece of evidence to be presented and considered. Evidence that is inadmissible cannot be used — even if it proves the truth — because of how it was collected or handled. |
Chain of Custody | The documented record of every person who has handled a piece of evidence, from the moment it was collected to the moment it appears in court. A broken chain of custody can disqualify evidence entirely. |
SHA-256 Hash | A unique mathematical fingerprint of a digital file. If even a single character in the file changes, the hash changes completely. Courts use it to prove that digital evidence has not been altered since collection. |
Write Blocker | A hardware or software tool that allows a forensic investigator to read a storage device without writing anything to it. This prevents the investigation itself from altering the evidence. |
Forensic Image | A bit-for-bit copy of a storage device - every byte, including deleted files and empty space. Unlike a normal file copy, a forensic image captures the complete state of a device at a specific moment. |
Volatile Data | Data that exists only in a device's active memory and is lost permanently when the device is powered off. This includes running processes, active network connections, and open sessions. It must be captured before shutdown. |
Metadata | Data about data. A photograph's metadata includes when it was taken, with what device, and sometimes where. An email's metadata includes routing servers and timestamps. Metadata can be altered and can be used to prove or disprove authenticity. |
SPF / DKIM / DMARC | Email authentication standards. SPF checks whether a sending server is authorised. DKIM checks whether the email content was signed by the claimed sender. DMARC tells mail servers what to do when these checks fail. All three failing together is a strong indicator of email spoofing. |
IOC (Indicator of Compromise) | A technical artefact — a file hash, malicious domain, IP address, or registry key — that indicates a system has been attacked or is communicating with attacker infrastructure. |
Zero-Click Exploit | A method of infecting a device without requiring any action from the target — no link to click, no file to open. The target simply receives a message or call. Pegasus spyware uses zero-click delivery vectors. |
Spyware | Software secretly installed on a device to monitor its user — reading messages, activating the microphone or camera, tracking location, and exfiltrating data — without the user's knowledge or consent. |
Section 106B | The provision of the Kenya Evidence Act (Cap. 80) that governs whether digital evidence is admissible in Kenyan courts. Evidence must satisfy four conditions: operational integrity, non-tampering, regular use, and a certificate of authenticity. |
Data Controller | Any organisation that decides what personal data to collect and why. Under Kenya's Data Protection Act 2019, all HROs processing beneficiary, staff, or witness data are data controllers, regardless of size. |
OpSec (Operational Security) | Protecting information about an investigation from the attacker — including the investigator's identity, methods, and progress. Poor OpSec can alert an attacker, enabling them to destroy evidence or escalate threats. |
Sandbox | A remote, isolated cloud environment in which suspicious files or URLs are executed safely — so their behaviour can be observed without risk to the investigator's own device or network. |
The tools and procedures in this Part exist for one reason: to ensure that digital evidence collected by HRDs can be used in a Kenyan court of law. Without that goal, forensic procedure is just paperwork.
Understanding why courts reject evidence - and what makes evidence legally strong - is not a lawyer's job alone. Every person who handles digital evidence in your organisation is making decisions that affect admissibility. The programme officer who takes a screenshot of a threatening message, the paralegal who saves an email, the IT lead who attempts to clean an infected device: all of them are either building or destroying a legal case, depending on what they know.
This section gives every member of your team — lawyers, paralegals, and non-technical staff alike — the foundation they need to make those decisions correctly.
The Three Questions Every Evidence Handler Must Be Able To Answer:
If the answer to any of these three questions is "no" or "I don't know", the evidence is at serious risk of being ruled inadmissible — regardless of how clearly it shows what happened.
Target: Every person who might encounter a suspicious message, file, or device incident in the course of their work.
Core knowledge required:
Target: Staff who will handle, document, or transmit digital evidence in the course of legal support or case management work.
Core knowledge required:
Delivery: 1-day workshop. Facilitated by Tatua DRC or a trained legal officer. Includes practical exercises for each skill above.
Recommended: Annual refresher and debrief after any real incident.
Target: Staff responsible for submitting evidence to authorities, supporting prosecutions, or advising other staff on evidence handling.
Core knowledge required:
Legal Literacy Self-Assessment
Answer honestly. Each 'No' identifies a gap that increases your legal risk.
Scoring:
Before any technical tool is opened, investigators must establish two things: the emotional safety of the person reporting the incident, and the nature and scope of the threat. These two steps are not optional preamble - they are the foundation of the entire investigation. A distressed person will misremember critical details. A misclassified incident will receive the wrong response.
This sequence applies whether you are experiencing the incident yourself or supporting someone else. In both cases: people first, tools second.
STEP 1 | Establish emotional safety
Before asking any technical questions, acknowledge the person's experience. Ask how they are feeling. Confirm they are physically safe. Allow them to speak without interruption. A person who feels heard and not judged will provide far more accurate information than a person who feels blamed or rushed. Only proceed to technical questions when the person is calm enough to recall details accurately.
STEP 2 | Establish consent and explain what comes next
Explain in plain language: what information you will collect, who will have access to it, what the risks of sharing externally are, and what the investigation process involves. Confirm explicit consent before proceeding. Make clear that the person can stop at any point for any reason without consequence.
STEP 3 | Gather threat context
Ask: Did you receive a suspicious message or link, and did you click it? When did you first notice something unusual? Has anyone else in your organisation reported similar issues? Have you been in contact with sensitive sources or attended high-profile events recently? Has your device been out of your direct control at any point? These questions determine whether you are dealing with an opportunistic scam, a targeted campaign, or a sophisticated spyware infection - three completely different response pathways.
STEP 4 | Classify using the triage table
Use the triage decision table below to classify the incident and determine the immediate response pathway. Classification determines: (a) whether internal handling is appropriate or immediate escalation is required; (b) what tools are safe to use; (c) what evidence preservation steps must happen before any other action. When in doubt between two classifications, always choose the higher-severity one.
STEP 5 | Verify through a different channel
The fastest way to confirm whether a suspicious communication is genuine is to contact the apparent sender through a completely different channel - a Signal message to a saved number, a phone call, or a face-to-face conversation. Never reply to the suspicious message to verify it. Never click a link to confirm whether it is safe.
Use the expanded triage decision table below to classify the incident and select your response pathway:
Table 13: Triage Decision & Response pathway
Incident Signal | Distinguishing Characteristics | Immediate Action |
Generic spam/mass phishing | No personalisation; obvious grammar errors; mass-broadcast format | Delete. Brief staff if volume is high. No investigation needed unless multiple staff clicked links. |
Targeted phishing (spear-phishing) | Uses your real name, job title, org name, or references current work; spoofed trusted sender | Passive investigation : extract headers, look up domain, sandbox link. Report to IT lead. |
Business Email Compromise (BEC) | Impersonates a known colleague, donor, or partner with accurate operational details; urgency around wire transfer or credential change | Treat as active incident. Revoke active email sessions. Check mail rules. Report to leadership. |
Account takeover indicators | Password reset emails you did not request; MFA prompts you did not trigger; unrecognised logins; sent messages you did not write | Reset password immediately. Revoke all sessions. Enable/harden MFA. Audit mail forwarding rules. |
Malware / ransomware infection | Encrypted files with ransom note; system unusually slow; antivirus alert; unknown processes consuming CPU/RAM | Isolate device from network |
Suspected spyware / zero-click | Device anomalies: battery drain, overheating, background data surge, microphone/camera light without user action | DO NOT investigate further internally. Preserve device state. Complete Section 3.5d checklist. Contact Tatua or Citizen Lab immediately. |
Device seizure / physical confiscation | Device taken by authorities, lost at border, or stolen in high-risk context | Do NOT remote-wipe if using as harassment evidence. Contact legal counsel + Tatua immediately. |
Website defacement | Homepage content replaced with hostile messaging; CMS (Content Management System )admin access without authorisation | Take screenshot with URL + timestamp. Put holding page up. Review access logs. |
DDoS / website unavailability | Site inaccessible; abnormally high traffic; hosting provider confirms volume attack | Contact Tatua /DCI for escalation. Switch to static mirror. Do not pay attackers if they request a ransom |
Doxxing / online harassment | Personal information of staff or beneficiaries published online; coordinated harassment campaign | Document all content immediately (URL + screenshot + timestamp). Assess physical safety risk. Report to Tatua.Digital or KICTANet. |
An HRD organisation received what appeared to be generic spam and deleted it without investigation. The same email had been sent to twelve staff members with individually personalised content. It was a spear-phishing campaign targeting the organisation's case management system. Without triage, the organisation had no record that the campaign had occurred. When credentials were later compromised, there was no documented incident timeline to support a criminal complaint.Skipping triage does not reduce risk — it eliminates the evidence trail that would have established a legal case.
Passive Investigation: Gathering intelligence about a threat using publicly available data and cloud-based analysis services, without making direct contact with attacker-controlled infrastructure. Passive investigation does not trigger the threat and does not alert the attacker that an investigation is underway.
Passive investigation is the appropriate starting point for nearly all incidents. All tools in this section can be used safely from your own device - they require only a web browser and do not require you to click suspicious links, open malicious files, or install any software. The single most valuable passive investigation skill for non-technical HRDs is reading an email header.
Every email carries a hidden technical record - the 'header' - containing metadata about its real origin, routing path, and authentication status. The visible 'From:' address you see in your email client can be completely fabricated. The header reveals the truth.
Navigate to mxtoolbox.com/EmailHeaders or toolbox.googleapps.com/apps/messageheader. Paste the entire raw header text into the input box and click 'Analyse'. You will receive a visual breakdown of:
Received chain:
If all three results - SPF, DKIM, and DMARC - show FAIL, the email almost certainly did not come from the claimed sender. This is not proof of malicious intent on its own (legitimate emails sometimes fail authentication due to forwarding) but combined with suspicious content, it is strong evidence of spoofing.
For advanced email forensics: the 'Authentication-Results' header from the final receiving mail server is the most authoritative source for SPF/DKIM/DMARC results - it is added by the server you control, not by the sender. Earlier 'Authentication-Results' headers added by intermediate servers can be spoofed by a sophisticated attacker. Always use the last (topmost in order) authentication result header.
The table below provides a comprehensive reference for all passive investigation tools, including user level, privacy risk rating, and specific operational guidance for HRD contexts:
Table 14:Passive Investigation Tools
Investigation Type | Tool | User Level | Privacy Risk | What It Does, When to Use It, and URL |
Email Header Analysis | MxToolbox Header Analyser | Beginner | LOW | Paste raw email header for automated SPF/DKIM/DMARC analysis and routing visualisation. Best starting point. URL: mxtoolbox.com/EmailHeaders |
Email Header Analysis | Google Admin Toolbox | Beginner | LOW | Google's own header parser - particularly accurate for Gmail-routed messages. URL: toolbox.googleapps.com |
URL Reputation | URLScan.io | Beginner | LOW | Sandboxed screenshot + resource listing of any URL without visiting it - shows redirects, scripts, cookies. URL: urlscan.io |
URL Reputation | VirusTotal (URL mode) | Beginner | MEDIUM | Multi-engine URL check. Use URL mode not file upload. Queries are logged - use with awareness on targeted attacks. |
Shortened URL Expansion | Unshorten.me / ExpandURL | Beginner | LOW | Reveals final destination of shortened links before clicking. Always expand before sharing. URL: unshorten.me |
Known Phishing DB | PhishTank / OpenPhish | Beginner | LOW | Community databases of confirmed phishing URLs - verify before blocking or escalating. URL: phishtank.org |
Domain Registration | Beginner | LOW | Identifies registrar, registration date, registrant (if not privacy-masked), and hosting provider. URL: who.is | |
IP Geolocation | MaxMind GeoIP / ipinfo.io | Beginner | LOW | Country, city, ISP for any IP address - cross-reference sign-in locations against your known baseline. URL: ipinfo.io |
Certificate Transparency | crt.sh / Censys | Intermediate | LOW | Lists all SSL certificates for a domain - reveals hidden subdomains and look-alike attacker infrastructure. URL: crt.sh |
Historical DNS | SecurityTrails | Intermediate | LOW | Past DNS records and IP resolutions - reveals attacker infrastructure pivots and shared hosting relationships. URL: securitytrails.com |
Internet Asset Scanning | Shodan | Advanced | LOW | Internet-wide scanner for open ports, services, banners, certificates by IP or domain. URL: shodan.io |
Website Technology | BuiltWith / Wappalyzer | Beginner | LOW | Identifies CMS, plugins, frameworks - useful for identifying known vulnerabilities in attacker sites or your own. |
Username Search | NameChk / KnowEm | Beginner | LOW | Searches a username across hundreds of platforms - useful for attacker identity research. URL: namechk.com |
Data Integrity | CyberChef | Intermediate | LOW | Browser-based Swiss Army Knife: SHA-256 hashing, Base64 decode, URL defanging, data extraction. No installation. URL: gchq.github.io/CyberChef |
Breach Exposure Check | Have I Been Pwned | Beginner | LOW | Checks if an email or domain has appeared in known data breaches - essential for account triage. URL: haveibeenpwned.com |
Web Sandbox: A remote, isolated cloud environment in which suspicious files and URLs are executed or visited on your behalf, allowing you to observe their behaviour - spawned processes, network connections, file changes, registry modifications - without any risk to your own device, network, or identity.
Active investigation involves interacting with suspected malicious content, but doing so exclusively through remote sandbox environments. The fundamental rule is: never execute or open suspicious content on your primary device, your organisation's network, or any device connected to accounts you use for real work.
Table 15:Active Investigation tools
Category | Tool | User Level | Privacy Risk | Capability and Operational Guidance |
Malware Sandbox | Any.Run | Intermediate | LOW | Interactive real-time execution - upload file, watch processes spawn, network connections made, registry changes, files dropped. Assigns maliciousness score. Free tier submits publicly - use premium or hash-only for targeted attacks. URL: app.any.run |
Malware Sandbox | Hybrid Analysis | Intermediate | LOW | Combines static code analysis with dynamic sandbox. Maps to MITRE ATT&CK. Identifies malware families. Free, no account needed. URL: hybrid-analysis.com |
Multi-Engine Scanner | VirusTotal | Intermediate | MEDIUM | 70+ AV engines. CRITICAL: always use hash-only search for targeted attack files - search the SHA-256 hash in the search bar rather than uploading the file. Uploading exposes the file to all subscribers. URL: virustotal.com |
Malware Repository | MalwareBazaar | Advanced | LOW | Known malware sample repository. Check if a file hash is already documented and analysed before running your own sandbox - saves time and avoids unnecessary file submission. URL: bazaar.abuse.ch |
URL Sandbox | URLScan.io | Beginner | LOW | Visits a URL in a remote browser, takes a screenshot, lists all resources loaded - JavaScript, iframes, cookies, redirect chain. First step for all suspicious links. URL: urlscan.io |
Network Analysis | Wireshark + Any.Run PCAP-Packet Capture | Advanced | LOW | Download the PCAP -Packet Capture file from any Any.Run analysis and open in Wireshark for deep network traffic inspection - reveals Command and Control communication patterns, DNS queries, and data exfiltration. URL: wireshark.org |
STEP 1 | Never open the attachment on your primary device
Save to an isolated drive. Do not double-click. If you have accidentally opened it: disconnect from the network immediately, capture volatile data, and escalate to a technical responder.
STEP 2 | Compute the SHA-256 hash first using CyberChef
Navigate to gchq.github.io/CyberChef. Operations panel: search 'SHA2', drag into recipe, set to 256 bits. Input: 'Open file'. Copy the resulting 64-character hash. Record in your investigation notes.
STEP 3 | Search by hash - MalwareBazaar then VirusTotal
Check MalwareBazaar (bazaar.abuse.ch) first - if found, full analysis may already exist. Then check VirusTotal by searching the hash in the search bar (not uploading the file). If either platform returns a positive identification, you have your answer without submitting the file.
STEP 4 | Submit to Any.Run if hash lookups return no result
Navigate to app.any.run. Upload the file or paste the hash. Use Interactive mode to simulate user actions. Observe the full execution report: processes spawned, network connections made, registry keys modified, files dropped. Record all findings as IOCs.
STEP 5 | Document all IOCs and share appropriately
Record: SHA-256 and MD5 hashes; malware family if identified; all domains and IPs contacted; all files dropped; all registry modifications. These indicators are used for threat hunting across your organisation and can be shared with the HRD peer network via TLP:AMBER.
An investigator who exposes their own identity, location, or analysis activity to the attacker has compromised both the investigation and their personal safety. Operational security for forensic investigators is a mandatory discipline applied at every stage of every investigation.
For investigators assessed as targets of nation-state adversaries: consider Tails OS for the most sensitive investigations. Tails is a live operating system that runs from a USB drive, leaves no trace on the host machine, routes all traffic through Tor, and has no persistent storage. It cannot be compromised by malware on the host computer because it runs entirely in RAM. Consult Tatua Digital Resilience Centre for guidance on integrating Tails into your investigation workflow.
Mobile devices are the primary target for advanced surveillance in the Kenyan HRD community. All surveyed Kenyan HRDs rely on mobile devices for day-to-day work under BYOD arrangements - yet technical forensic capacity for mobile triage remains critically underdeveloped. This section provides the step-by-step procedures that were absent from the original guidebook.
Investigate a mobile device when it exhibits two or more of the following indicators without an alternative explanation:
Follow these steps in order. Stop and document immediately if you find anything suspicious. Do not attempt to remove suspicious apps or change settings before documenting - you may destroy the evidence. Take a screenshot of every suspicious finding before taking any action.
Table 16: How to perform Android Triage
No. | Action | Exact Navigation Path | What to Look For and What to Do |
1 | Check app permissions | Settings > Privacy > Permission Manager | Review apps with access to SMS, Microphone, Camera, Location, Contacts, Call Logs. Malware requests these to intercept 2FA codes, monitor calls, and track location. Revoke unknown app permissions immediately. Screenshot the full permissions list before changing anything. |
2 | Check recently installed apps | Settings > Apps > Sort by 'Install date' (descending) | Look for apps installed around the time anomalous behaviour began. Malware often disguises itself as a utility, document viewer, or game update. Note full app name, package name, and install date. |
3 | Review data usage by app | Settings > Network & Internet > Data usage > App data usage | Sort by 'Background data'. Identify apps consuming abnormal background data - spyware exfiltrates continuously. Note the volume and compare to known baseline usage for that app. |
4 | Check device administrator apps | Settings > Security > Device Admin Apps | Legitimate apps rarely need device administrator status. Any unfamiliar app with this privilege should be revoked then uninstalled. Do not uninstall first - removing admin privilege before uninstalling may not work. |
5 | Review accessibility services | Settings >Accessibility >Downloaded apps / Installed Services | Accessibility services can read screen content, simulate taps, and capture keystrokes - making them ideal for spyware. Only assistive tools you deliberately installed should appear here. Any unknown entry is a critical red flag. |
6 | Audit unknown accounts | Settings > Accounts & Backup > Manage Accounts | Unknown sync accounts may have been added by malicious apps for data exfiltration. Remove any account you did not add. |
7 | Disable advertising ID | Settings > Privacy > Ads > Delete advertising ID (Android 12+) | Removes the unique identifier used by ad networks to track you across apps. On Android 12+, you can delete it entirely. On older versions, use 'Opt out of Ads Personalisation'. |
8 | Check developer options / USB debugging | Settings > About Phone > tap Build Number 7x > Developer Options | If Developer Options or USB Debugging is enabled and you did not enable it, this may indicate someone with physical access prepared the device for forensic extraction or remote access. Disable both. |
9 | Review enabled sideloading | Settings > Apps > Special App Access > Install Unknown Apps | Any app granted permission to install unknown apps from outside the Play Store is a high-risk finding. Remove permission from all apps you do not recognise. |
10 | Run Google Play Protect scan | Play Store > Profile icon > Play Protect > Scan | Play Protect scans installed apps against Google's malware database. A clean result does not guarantee safety - sophisticated spyware bypasses Play Protect - but a positive result confirms known malware. |
11 | Document all findings and STOP | Screenshot every suspicious finding with device name and system clock visible | If any of steps 1–10 reveals a suspicious finding: STOP. Do not attempt to remove malware yet. Document everything you found. Contact Tatua Digital Resilience Centre or your technical responder. Premature removal destroys forensic evidence. |
iOS provides stronger user-facing privacy controls than Android, but these controls do not protect against zero-click exploits used by commercial spyware. If sophisticated spyware is suspected, do not proceed past documentation.
If the device is returned to you, seek forensic examination from a qualified professional BEFORE using the device again. Such an examination may reveal what forensic tools were used on it, what data was accessed, and whether any surveillance software was installed. This information can support legal challenges to the seizure and complaints to regulatory bodies.
Research by Citizen Lab has documented the use of Cellebrite forensic extraction technology against Kenyan activists and politicians. If your device has been seized and returned, treat it as potentially compromised until examined. Do not sign back into any accounts on the device until it has been cleared by a qualified examiner.
3.6 Learning from Legal Outcomes
All case studies are composite and anonymised but based on documented patterns in East African digital rights cases.They illustrate the immediate consequence of correct versus incorrect procedure.
Case Study 1: The Wiped Device
Category: Evidence rejected due to poor collection practice
Maps to: section 3.5(b) Android Triage, section 3.3(a) Attachment Analysis
What Happened:
A civil society organisation in East Africa received a complaint from a staff member that their Android phone was behaving strangely - overheating and showing unusual battery drain. An IT-confident colleague offered to 'clean' the device. They uninstalled several unfamiliar apps, ran an antivirus tool, and eventually performed a factory reset when the problems continued. The device 'felt clean' afterwards.
Three weeks later, the organisation sought to file a complaint with authorities about suspected targeted surveillance. Their lawyer requested the forensic evidence from the device.
What The Court Found:
The factory reset had destroyed all forensic artefacts. No spyware samples, no network traffic logs, and no evidence of unauthorized processes remained. The complaint could not be supported with any technical evidence. The case was dropped at the preliminary stage.
What Went Wrong:
✗ The device was 'cleaned' before any forensic image was taken
✗ Apps were uninstalled before their package names were documented
✗ The factory reset destroyed all evidence permanently
✗ No SHA-256 hash was generated before any action was taken
✗ No chain-of-custody record was created
What Should Have Happened:
✓ Enable aeroplane mode immediately - no reset, no cleaning
✓ Photograph every suspicious screen before touching any settings
✓ Contact Tatua for forensic triage before taking any action
✓ A forensic image should have been taken before any remediation
✓ SHA-256 hash generated and chain-of-custody form completed
Legal Lesson:
Under Section 106B of the Kenya Evidence Act, evidence must demonstrate that it has not been altered since collection. A factory reset ensures that it cannot. There is no technical recovery from this mistake. The first 30 minutes after discovering a suspected compromise determine whether a legal case is possible at all.
Case Study 2 — Evidence Rejected: Unverified Screenshot
What Happened:
A human rights defender received a threatening message via social media. She took a screenshot and cropped it to show only the threatening text, removing the sender's profile, the platform URL, and the timestamp. She then shared the cropped screenshot via WhatsApp with her colleagues, who forwarded it further. By the time it reached the organisation's lawyer, it had been downloaded, re-uploaded, and compressed twice.
What The Court Found:
The defence challenged the screenshot on three grounds: (1) no timestamp was visible, so the date could not be verified; (2) no URL or platform was visible, so the source could not be confirmed; (3) the image had been shared multiple times and compressed, meaning its metadata was from the final save, not the original capture. The court ruled the screenshot inadmissible as it could not satisfy the authenticity requirements of Section 106B. The threatening message was excluded from the record.
What Went Wrong:
✗ The screenshot was cropped, removing the timestamp, URL, and sender identity
✗ The screenshot was shared via WhatsApp, modifying its metadata
✗ No original device retained the unmodified screenshot
✗ No SHA-256 hash was generated at the point of capture
✗ No record was kept of who took the screenshot, when, or on what device
What Should Have Happened:
✓ Full screenshot taken with timestamp, URL bar, sender name, and full message visible
✓ Screenshot stored in a secure, encrypted folder immediately
✓ SHA-256 hash generated using CyberChef at the point of capture
✓ Device used for capture identified and logged in the incident record
✓ Original file shared only via encrypted, traceable channels (Signal, secure file transfer) — never via WhatsApp
Legal Lesson:
A screenshot is only as strong as its provenance. A court needs to know: when it was taken, on what device, by whom, and whether it has been altered. Cropping, WhatsApp sharing, or any re-saving breaks that proof chain. Take complete screenshots. Hash them immediately. Store them once.
Case Study 3 — Evidence Rejected: Consent and Ethical Breach
Category: Evidence rejected due to ethical and procedural breach
Maps to: section 3.1 Step 2 — Consent Protocols
What Happened:
A digital security support organisation assisted a defender with the triage of their compromised laptop. During the investigation, the investigator accessed and photographed files on the device to document evidence of malware, including some personal documents unrelated to the investigation. The defender was distressed and had not been clearly informed of what the investigation would involve. No written consent form was completed. The investigator believed the urgency of the situation justified proceeding without formal consent.
When the case reached proceedings, the defence argued that the forensic evidence had been obtained in violation of the defender's right to privacy and without informed consent, rendering the chain of custody ethically compromised.
What the court found:
The court questioned the admissibility of the evidence on consent grounds and asked the support organisation to produce documentation showing the scope of consent given. No such documentation existed. The investigator's access to personal documents outside the scope of the investigation was noted as a breach of the Data Protection Act's data minimisation principle. The evidentiary record was significantly weakened.
What Went Wrong:
✗ No written consent form was completed before the investigation began
✗ The scope of the investigation was not explained to the defender
✗ Personal documents outside the investigation's scope were accessed
✗ The DPA data minimisation principle was violated
✗ The emotional distress of the defender was not addressed before the technical investigation began
What Should Have Happened:
✓ Establish emotional safety first (§3.1 Step 1)
✓ Explain in plain language what the investigation will involve, who will have access to the findings, and the risks of sharing them externally
✓ Obtain explicit written consent before any device access
✓ Define and document the scope: only data relevant to the incident
✓ Complete a consent form (see Appendix) before proceeding
Legal Lesson:
Forensic evidence collected without consent, or outside its consented scope, can be challenged on both ethical and legal grounds. Consent is not a formality - it is a legal protection for both the defender and the investigator. Take five minutes to do it correctly every time.
Case Study 4 — Admissibility Achieved: Correct Procedure
What Happened:
A journalist in Kenya reported to their organisation that they had received a suspicious email appearing to come from a trusted regional media partner. The email contained a link and an attached PDF. The journalist had not clicked the link or opened the attachment.
The organisation's digital safety officer followed the correct procedure:
WHAT THE COURT FOUND:
When the case reached a regulatory hearing, the digital safety officer was able to produce: the original email with its header, the MxToolbox analysis report, the SHA-256 hash of the attachment matched to the MalwareBazaar record, all timestamped screenshots, the completed chain-of-custody form, and the signed consent form. The evidence was ruled fully admissible. The case demonstrated a clear targeted attack.
What Went Right:
✓ Emotional safety was established before any technical questions were asked
✓ Written consent was obtained, and the scope was defined
✓ Passive investigation only — no suspicious content was opened
✓ A SHA-256 hash was generated before any file action
✓ The hash was searched before the file was submitted, preserving confidentiality
✓ All screenshots were complete: URL, timestamp, and tool name visible
✓ Chain-of-custody was documented throughout
✓ Notifications were filed within legal timeframes
The Tatua Digital Resilience Centre, established by KICTANet, empowers Social Justice Organizations in East Africa to strengthen digital resilience, recover from threats, and harness technology for human rights work. Serving Kenya, Tanzania, and Uganda, it offers strategic support, fosters partnerships, and plans to expand across Africa with sustainable funding models.
Nine Planets, Earth Wing, Suite E9, Kabarnet Garden Road, Nairobi, KENYA | Phone: +(254) 751-000-001 | Email: info@tatua.digital
© 2026 TATUA DIGITAL RESILIENCE CENTRE