Back to Blog

How to Preserve Evidence After a Phishing Attack (Forensic & Legal Guide)

Reviewed by Cyber Safety Editorial Desk

Last verified & updated: October 2026
Reviewed by: FixMyIssues Digital Forensics & Cyber Legal Defense Desk

The instinctive reaction of most individuals after clicking a suspicious link or entering credentials into a deceptive website is panic: they immediately delete the offending text message, purge their browser history, or perform a factory reset on their phone.

From an investigation and legal standpoint, this is the worst possible mistake.

When you delete phishing messages or factory reset your device, you destroy the critical digital artifacts required to substantiate an FIR, support a bank chargeback, or allow police cyber cells to identify the attacker. Under Indian criminal procedure, electronic evidence must satisfy rigorous chain-of-custody standards under Section 63 of the Bharatiya Sakshya Adhiniyam, 2023 (BSA) (which superseded Section 65B of the Indian Evidence Act, 1872).

This forensic guide explains how to neutralize immediate threats to your device while simultaneously preserving pristine, court-admissible evidence after a phishing encounter.


1. Immediate Threat Containment (Without Evidence Destruction)

The objective during the first 60 seconds is to stop ongoing data exfiltration or malware communication without wiping local temporary logs.

graph TD
    A[Suspicious Link Tapped] --> B[Toggle Airplane Mode ON]
    B --> C[Isolate Cellular & Wi-Fi]
    C --> D{Did you download an APK or file?}
    D -->|Yes| E[Do NOT Tap or Open; Quarantine to Zip]
    D -->|No| F[Do NOT Factory Reset Device]
    E --> G[Export Forensics with Uncropped Metadata]
    F --> G

Step 1: Disconnect Internet Connectivity (Airplane Mode)

  • Swipe down your device status bar and turn Airplane Mode ON.
  • Turn off Wi-Fi and Bluetooth.
  • Why this is critical: Phishing kits and mobile Trojans require active HTTP/Websocket channels to communicate with the attacker's Command & Control (C2) server. Severing connectivity halts the transmission of your contact books, SMS messages, or saved credentials while leaving file timestamps and cached memory completely intact.

Step 2: Do NOT Factory Reset or Clear App Data Yet

Police investigating officers (IOs) and forensic examiners need device logs to trace IP connections and verify that unauthorized software accessed your system. Factory resetting your device wipes /data/data/ app caches and system event logs, making it impossible to prove that an intrusion occurred without your consent.


2. Preserving Phishing Emails: Extracting Full RFC 822 Headers

Scammers routinely spoof the display name of emails so an email appears to come from "State Bank of India" or "Income Tax Department". The only way to reveal the actual sender is to extract the RFC 822 Internet Header, which logs every server hop the email took.

Received: from mail-relay.scam-server.net (unknown [185.220.101.5])
    by mx.google.com with ESMTPS id ...
Authentication-Results: mx.google.com;
    dkim=fail; spf=softfail ...

How to Extract Raw Headers Across Platforms:

In Gmail (Web Browser):

  1. Open the suspicious email in your computer browser.
  2. Click the three vertical dots (More) next to the Reply button.
  3. Select "Show original".
  4. A new tab opens displaying the raw technical headers, including SPF, DKIM, and DMARC verification scores.
  5. Click "Download Original" to save the email as an unedited .eml file. This file contains cryptographic proof of origin and must be saved onto a clean USB drive.

In Microsoft Outlook (Desktop / Web):

  1. Open the message and go to File > Properties (or the three dots menu > View > View message details).
  2. Copy the entire contents of the Internet headers text box into a plain text file (.txt).
  3. Save the email as an .msg file (File > Save As).

In Apple Mail (macOS):

  1. Open the email.
  2. Go to the top menu: View > Message > Raw Source (or press Cmd + Option + U).
  3. Save the source text for police submission.

3. Preserving SMS and Instant Messaging Evidence

Phishing attacks delivered over SMS (Smishing) or WhatsApp, Telegram, and Signal require specific export techniques to ensure court admissibility.

A. SMS / Text Messages (Smishing)

  • Do NOT crop your screenshots. Take full-screen screenshots that clearly show:
    1. The complete alphanumeric sender ID (e.g., AD-HDFCBK, VM-SBIINB, or the complete 10-digit mobile number +91-XXXXX-XXXXX).
    2. The device status bar at the top displaying the exact device time, network provider, and battery percentage.
  • Inspect Message Details: Long-press the SMS in your default messaging app and tap "View Details" or "Message Info". Note down the SMS Service Center (SMSC) Number and the exact timestamp down to the second.

B. WhatsApp & Telegram Evidence

  • Export Chat with Media:
    1. Open the chat with the scammer.
    2. Tap the contact name at the top > Scroll down and tap "Export Chat".
    3. Select "Attach Media".
    4. WhatsApp bundles all text messages, shared QR code images, audio voicemails, and PDF lures into a single .zip archive.
    5. Save this zip archive immediately to an external cloud drive or USB drive.
  • Preserve Contact Metadata: Open the scammer's contact card. Take screenshots of their displayed phone number, profile photo, about section, and the business account verification status.

4. Quarantining Malicious Android APKs

If a fraudulent link prompted the download of an application file (e.g., SBI_Reward_Update.apk, PM_Kisan_Yojana.apk, or Electricity_Bill_QuickSupport.apk):

+-----------------------------------------------------------------------------------------+
| DO NOT TAP OR INSTALL THE FILE                                                          |
| If installed, it can grant overlay permissions and intercept SMS OTPs in the background |
+-----------------------------------------------------------------------------------------+

Forensic Preservation Steps:

  1. Open your device's built-in Files or My Files app (while in Airplane Mode).
  2. Navigate to /Internal Storage/Download/.
  3. Locate the .apk file. Do not tap it (tapping will trigger the Android Package Installer).
  4. Long-press the file and select "Compress" or "Add to Zip".
  5. Set a simple password if prompted (e.g., infected123). Compressing the APK inside a password-protected zip file prevents Google Play Protect or automated security scanners from silently deleting the file from your phone before police examiners can inspect it.
  6. Copy the .zip file to an external memory card or computer.

5. Capturing Web Page Evidence & Redirect Chains

Phishing attackers frequently take down their spoofed websites within 4 to 12 hours after launching a campaign. Once the domain is terminated, proving the site's original appearance becomes difficult unless preserved immediately.

  1. Capture Full-Page Scrolling Screenshots: Using modern mobile browsers or desktop extensions (like Chrome's Developer Tools Capture full size screenshot), take a top-to-bottom screenshot of the fake portal.
  2. Copy the Complete URL String: Many phishing links include URL parameters containing victim tracking IDs or base64-encoded strings (e.g., https://secure-sbi-portal.xyz/login.php?user=eyJuYW1lI...). Copy the complete, unshortened URL into a plain text file.
  3. Submit to Independent Archive Portals: If your device is in a secure environment on a secondary computer, you can submit the malicious URL to public threat intelligence databases:
    • URLhaus: https://urlhaus.abuse.ch/ (Community malware URL repository)
    • VirusTotal: https://www.virustotal.com/ (Analyzes domain reputation and captures hosting IP addresses)
    • Wayback Machine: https://web.archive.org/ (Preserves a permanent static snapshot of the webpage)

6. The Legal Requirement: Section 63 BSA / Section 65B Certificate

Under Indian jurisprudence, an electronic record (such as printed screenshots, chat logs, or call recordings) is not admissible in a court of law unless accompanied by an electronic certificate executed by the person who had lawful control over the device.

When submitting digital evidence to the Cyber Crime Police Station or Bank Grievance Officer, prepare a simple written certificate containing the statutory declaration:

CERTIFICATE UNDER SECTION 63 OF THE BHARATIYA SAKSHYA ADHINIYAM, 2023 
(FORMERLY SECTION 65B OF THE INDIAN EVIDENCE ACT, 1872)

I, [Your Full Name], residing at [Your Residential Address], do hereby solemnly affirm and state as follows:

1. I am the lawful owner and user of the electronic device, namely [Make and Model of Mobile/Laptop - e.g., Samsung Galaxy S23 / iPhone 14], running operating system [Android 14 / iOS 17], bearing IMEI/Serial Number [Your Device IMEI/Serial].

2. The electronic outputs attached herewith as Annexures (including printed screenshots of phishing WhatsApp messages, SMS debit alerts, and email headers) are true, accurate, and unedited reproductions produced from the aforesaid electronic device during the ordinary course of its operation.

3. During the period when the aforesaid electronic records were generated, the device was operating properly, and there were no operational faults affecting the accuracy or integrity of the contents.

4. The printed representations submitted herewith are exact replicas of the digital records stored on the said device.

Deponent / Signatory:
(Signature)
Name: [Your Full Name]
Date: DD/MM/YYYY
Place: [City, State]

7. Action Checklist: Your 5 Next Steps

  1. Verify if Funds Were Compromised: Check your bank account balances using a separate, secure device or via official ATM balance inquiry. If unauthorized debits occurred, immediately follow our Emergency Action Protocol.
  2. Report to 1930 Helpline: If financial losses occurred, dial 1930 immediately to alert the National Cyber Crime Reporting Portal.
  3. Report to CERT-In: Forward the phishing email, URL, or malicious APK to the Indian Computer Emergency Response Team (CERT-In) at incident@cert-in.org.in to initiate domain takedowns.
  4. Draft Formal Complaint: Use our free utility to combine your evidence into a structured complaint draft: Generate Cyber Complaint PDF.
  5. Secure Your Core Accounts: From a verified clean device, reset your Google/Apple ID passwords, enable hardware or app-based 2-Factor Authentication (Authenticator app instead of SMS), and terminate all active web sessions.

🔗 Related Guides

Editorial Sourcing & Methodology

Researched in compliance with guidelines from the Reserve Bank of India (RBI) and the National Cyber Crime Reporting Portal (1930). Read our Editorial Policy.

Advertisement

Need to file a formal complaint?

Use our automated utility to draft a precise Cyber Cell application and escalate to your bank's nodal officer instantly.

Open Complaint Generator