LAT eBook
LAT eBook
Hacking in Pakistan: PECA Law, Account Takeovers, Phone Hacking & Legal Remedies
CYBER CRIME · PECA · PAKISTAN

Hacking in Pakistan: PECA Law, Account Takeovers, Phone Hacking, Business Attacks and Legal Remedies

When people say an account has been “hacked,” they can mean very different things. Sometimes a hacker guesses or steals a password and logs into a Facebook or Instagram account. Sometimes malware is installed on a phone. In other cases, an employee copies company data, a criminal hijacks a WhatsApp account, or a business server is damaged through unauthorized access.

Updated 2026 · Hacking · PECA · NCCIA · Legal Remedies
NEED LEGAL HELP?

Account, Phone or Business System Hacked?

If an account, device or company system has been accessed without permission, preserve the evidence before it disappears and document what changed, what was copied and whether money or identity information was involved.

Need Expert Lawyer?
Hacking in Pakistan under PECA law

Pakistani cyber crime in Pakistan does not treat all of these situations as one single offence.

Under the Prevention of Electronic Crimes Act, commonly called PECA, the legal section depends on what actually happened. Unauthorized access is one offence. Copying or transmitting data is another. Damaging or interfering with a system is another. Identity misuse, electronic fraud and malicious code can also become relevant in the same incident.

That distinction matters because the penalties and legal procedure can change from one section to another.

Key Takeaways

  • PECA separates unauthorized access, unauthorized copying or transmission, and interference with systems or data into different offences.
  • A hacked social-media or email account can involve additional legal issues if identity information is misused or the account is used for fraud.
  • Critical infrastructure hacking is legally distinct from an ordinary Facebook, Gmail or WhatsApp takeover.
  • Victims should secure recovery channels quickly while preserving security emails, login alerts, device information and transaction records.
  • Businesses should avoid wiping compromised systems before important logs and incident evidence are preserved.
  • IP addresses and other technical indicators can assist an investigation but do not automatically identify the person responsible.
06 · HACKING IN PAKISTAN

Someone Hacked My Facebook Account: What Should I Do?

The first goal is to recover and secure the account.

Meta's account recovery process is separate from the criminal complaint process. Facebook controls access to the account, while NCCIA investigates any criminal conduct connected with the takeover.

If you still have access, change the password immediately, remove unknown sessions and enable two-factor authentication.

If you are locked out, use Facebook's official hacked-account recovery process.

Then secure the email account connected to Facebook. A hacker who controls the recovery email may simply take the Facebook account again after you recover it.

If the hacker uses your profile to impersonate you, ask contacts for money, publish harmful content or commit fraud, preserve that evidence and consider an NCCIA complaint.

Steps after a hacked Facebook or social media account
07 · HACKING IN PAKISTAN

Facebook Account Taken Over and Used to Ask Friends for Money

This is more serious than simple unauthorized access.

A single incident can involve several offences.

Section 3 may apply to the unauthorized login.

Section 16 may become relevant if the person uses your identity information without authorization.

Section 14 may become relevant if the account is used to deceive people into sending money.

Section 16 currently provides imprisonment up to three years, a fine up to Rs. 5 million, or both for unauthorized use of another person's identity information. Section 14 electronic fraud can carry imprisonment up to two years, a fine up to Rs. 10 million, or both. Pakistan Code

The exact section depends on what the hacker did after gaining access.

09 · HACKING IN PAKISTAN

Why Instagram Security Emails Matter

A “password changed” or “email changed” notice can be very useful evidence because it may show when control of the account changed.

Do not rely only on screenshots of the hacked profile.

Preserve the complete security email, date, time and any device or location information shown.

If possible, keep the original email rather than forwarding or editing it.

10 · HACKING IN PAKISTAN

WhatsApp Account Hacked: What Should You Do Immediately?

A WhatsApp cyber crime takeover can happen in several ways.

The attacker may obtain your SMS verification code.

They may gain access through a linked device.

They may take control of your SIM through SIM swapping.

They may also deceive you into sharing an OTP or verification code.

If you still control your phone number, re-register WhatsApp using your number and the verification code sent to you.

Check linked devices and remove any session you do not recognize.

Enable WhatsApp two-step verification.

Then inform close contacts that your account may have been compromised, especially if the hacker has been asking people for money.

11 · HACKING IN PAKISTAN

WhatsApp Account Hacked and Used for Fraud

If the attacker only entered the account, Section 3 may be relevant.

If they impersonate you, Section 16 may become relevant.

If they use the account to deceive contacts into transferring money, Section 14 may also become relevant.

NCCIA currently identifies hacking, identity theft and financial fraud among the cybercrime categories it investigates, and its official complaint system lists helpline 1799. NCCIA

12 · HACKING IN PAKISTAN

WhatsApp Account Cloned or SIM Swapped

People often use the word “cloned” for different problems.

Sometimes the issue is simply an unauthorized linked device.

Sometimes the attacker has gained control of the phone number itself through a SIM swap.

If you suspect SIM swapping, contact the telecom operator immediately.

Ask whether a replacement SIM or other change was issued without your authorization.

Secure the mobile number first because many other accounts may use that number for password recovery.

Then change passwords for:

  • email
  • banking apps
  • social media
  • cloud accounts

A stolen phone number can become the starting point for multiple account takeovers.

13 · HACKING IN PAKISTAN

Someone Is Using My WhatsApp Account Without Permission

Preserve evidence before the account is fully recovered.

Useful material includes:

  • screenshots of messages sent by the hacker
  • linked-device information
  • login alerts
  • SIM replacement information
  • messages from contacts
  • payment requests
  • wallet or bank details provided by the hacker

If money was requested from contacts, ask them to preserve their own chats and transaction information.

Their evidence may show what the attacker did after taking over your account.

15 · HACKING IN PAKISTAN

Email Account Hacked: What Should You Do First?

Recover the account using the provider's official recovery system.

Then secure the recovery email address and phone number.

Check:

  • recent logins
  • recovery addresses
  • forwarding rules
  • filters
  • connected applications
  • unknown devices

Attackers sometimes add email-forwarding rules so they can continue receiving copies of messages even after the password is changed.

Remove anything you do not recognize.

16 · HACKING IN PAKISTAN

Someone Logged Into My Social Media Without Permission

A login without permission can itself be legally significant.

Section 3 does not require the victim to first prove that money was stolen.

It focuses on dishonest unauthorized access to an information system or data. Pakistan Code

However, evidence still matters.

A security alert showing an unfamiliar login is useful, but it does not always identify the person responsible.

The investigation may need to connect:

  • account logs
  • device information
  • IP records
  • phone numbers
  • other evidence
17 · HACKING IN PAKISTAN

Password Stolen and Account Misused

A stolen password can lead to several different offences depending on how it is used.

If the password is used to enter the account, Section 3 may apply.

If personal identity information is then used without authority, Section 16 may become relevant.

If the account is used to deceive someone for financial gain, Section 14 may apply.

The password itself is therefore only part of the case.

The stronger complaint explains what the offender actually did after obtaining it.

18 · HACKING IN PAKISTAN

Someone Is Trying to Hack My Account but Has Not Succeeded

Do not ignore repeated unauthorized login attempts.

Preserve:

  • failed login emails
  • OTP requests
  • password reset messages
  • new-device alerts
  • suspicious recovery requests

Then change the password and enable two-factor authentication.

A failed login attempt is not automatically the same as a completed Section 3 offence, because the statutory offence requires unauthorized access to have been gained.

The legal treatment of an attempted offence can depend on the wider criminal law framework and the facts, so it is better not to describe every failed login alert as a completed hacking offence.

You can still report suspicious activity where there is a genuine and repeated threat.

19 · HACKING IN PAKISTAN

Someone Hacked My Phone: How Do I Know?

A phone behaving strangely does not automatically prove hacking.

Battery drain, heat, pop-ups or slow performance can have ordinary technical causes.

More meaningful signs may include:

  • unknown applications
  • unexpected administrator privileges
  • unrecognized linked accounts
  • unexplained SMS activity
  • password reset messages you did not request
  • security alerts from unknown devices
  • remote-control applications you did not install

Do not install random “spyware detector” applications simply because you suspect compromise.

If the matter is serious, preserve the device and seek competent technical examination.

20 · HACKING IN PAKISTAN

What Evidence Should You Preserve After Phone Hacking?

Save:

  • security alerts
  • suspicious application names
  • screenshots
  • unexpected OTP messages
  • unrecognized outgoing calls or SMS
  • ransom messages
  • email login notifications
  • account takeover messages

But remember that screenshots alone do not necessarily explain how the compromise occurred.

A digital forensic tools may be necessary to identify malware, suspicious files or system activity.

Evidence to preserve after phone hacking or malware compromise
26 · HACKING IN PAKISTAN

Hacked Account Used for Financial Fraud

Suppose someone gains access to a Facebook account and starts asking the victim's contacts to send money.

The case may begin as unauthorized access.

It may then become identity misuse.

Once financial deception occurs, electronic fraud may also be involved.

This is why the correct legal analysis follows the conduct step by step rather than applying every PECA section automatically.

27 · HACKING IN PAKISTAN

Unauthorized Access to a Computer or Mobile Phone

The same basic legal principles apply beyond social media.

A laptop, company server, smartphone, database or online account may all fall within PECA's concept of an information system or data, depending on the circumstances.

Section 3 focuses on unauthorized access.

Section 4 focuses on unauthorized copying or transmission.

Section 5 focuses on interference or damage.

These provisions form the basic legal structure for many hacking cases. Pakistan Code

28 · HACKING IN PAKISTAN

Cyber Attack on a Business in Pakistan

A business cyberattack can be far more complex than an individual account takeover.

The first priority should usually be containment without destroying evidence.

A company may need to:

  • isolate compromised systems
  • secure administrator credentials
  • preserve server logs
  • preserve firewall records
  • keep intrusion alerts
  • record affected systems
  • secure backups

Do not immediately wipe compromised servers unless there is a clear incident-response reason to do so.

The logs may contain the best evidence of how the attacker entered.

Business cyber attack response and evidence preservation
29 · HACKING IN PAKISTAN

Why Businesses Should Preserve Logs Before Cleaning Systems

Once a compromised server is rebuilt, important evidence may disappear.

Useful records can include:

  • login history
  • IP addresses
  • authentication failures
  • file changes
  • administrator actions
  • network connections

PECA itself requires investigators dealing with seized digital systems to take measures to preserve integrity and chain of custody. Pakistan Code

The same principle is useful for businesses handling their own incident response.

30 · HACKING IN PAKISTAN

Corporate Data Theft in Pakistan

Corporate data theft should not automatically be described as Section 5.

The correct section depends on the conduct.

If someone accessed the system without authorization, Section 3 may be relevant.

If they copied or transmitted company data without authorization, Section 4 may be particularly relevant.

If they damaged or interfered with the system, Section 5 may apply.

If they used stolen information to commit fraud, other provisions may also become relevant.

This distinction is important because “data theft” can involve several different acts.

31 · HACKING IN PAKISTAN

Employee Stole Company Data: Is It Cybercrime?

Possibly.

Employee cases are more complicated because the person may originally have had legitimate access.

Suppose an employee was authorized to view a customer database as part of their job.

That does not necessarily mean they were authorized to copy the entire database onto a personal drive and send it to a competitor.

The legal question becomes:

What access was authorized, and what conduct went beyond that authorization?

A company should preserve:

  • access-control records
  • employment role
  • system logs
  • file transfer records
  • USB activity
  • email records
  • NDA or confidentiality terms

The technical evidence should be compared with the employee's actual permission level.

32 · HACKING IN PAKISTAN

Employee Access Versus Unauthorized Access

This is one of the most important distinctions in corporate hacking cases.

A person can have permission to enter a system but still lack permission to copy, transfer, delete or misuse particular data.

Therefore the case should not be reduced to:

“He had the password, so it was authorized.”

Authorization has a scope.

The evidence should show what the employee was permitted to do and what they actually did.

33 · HACKING IN PAKISTAN

Ransomware and Hacking

Ransomware can involve several PECA issues.

A ransomware attacker may:

  • gain unauthorized access
  • copy data
  • encrypt or damage data
  • deploy malicious code
  • demand payment

Depending on the facts, Sections 3, 4, 5 and 23 may become relevant, along with other laws where extortion or financial demands are involved.

A victim should preserve the ransom note, wallet address, affected files and relevant system logs.

34 · HACKING IN PAKISTAN

What if a Hacker Changes My Bank or Payment Details?

This can be particularly serious for businesses.

An attacker who enters a company account and changes payment instructions may redirect genuine customer payments.

Preserve:

  • original account details
  • unauthorized new account details
  • change history
  • email notifications
  • administrator logs
  • customer communications

If deception is used to obtain money, Section 14 electronic fraud may become relevant in addition to the underlying unauthorized access. Pakistan Code

35 · HACKING IN PAKISTAN

What Evidence Is Most Useful in a Hacking Complaint?

Good evidence usually tells a sequence.

Keep:

  • security alerts
  • login notifications
  • password-change emails
  • IP logs where available
  • profile URLs
  • device details
  • screenshots of unauthorized activity
  • emails from service providers
  • transaction records
  • chats with the attacker
  • ransom demands
  • server logs
  • firewall logs
  • malware scan results

Avoid editing the only copy of important evidence.

Where possible, keep original files and exports.

36 · HACKING IN PAKISTAN

Why IP Addresses Do Not Automatically Identify the Hacker

An IP address can be useful.

But it does not automatically prove who was sitting behind the device.

An IP may belong to:

  • a household
  • office
  • public Wi-Fi network
  • VPN
  • proxy
  • mobile network

Investigators usually need additional records to attribute activity to a particular person.

This is why technical evidence should be interpreted carefully.

37 · HACKING IN PAKISTAN

Can NCCIA Trace a Hacker?

NCCIA has cyber investigation and digital forensic functions and may obtain evidence through lawful investigative procedures. NCCIA

But no agency can honestly guarantee that every hacker will be identified.

Attribution depends on what records exist, whether they can lawfully be obtained, whether they have been preserved and how effectively the attacker concealed their identity.

38 · HACKING IN PAKISTAN

Why Fast Reporting Matters

digital evidence in cyber crime cases can disappear.

Logs may be overwritten.

Accounts may be deleted.

Platforms may retain information only for limited periods.

PECA provides for expedited preservation of data where an authorized officer considers it reasonably required for a criminal investigation and at risk of being modified, lost or destroyed. Pakistan Code

This is one reason victims should preserve their own evidence and report serious incidents without unnecessary delay.

39 · HACKING IN PAKISTAN

How to File an NCCIA Complaint for Hacking

A strong complaint should be chronological and specific.

Explain:

  1. 01
    what account, device or system belonged to you
  2. 02
    when you last had normal control
  3. 03
    what unauthorized activity you noticed
  4. 04
    what was changed, copied or deleted
  5. 05
    whether your identity was misused
  6. 06
    whether money was requested or stolen
  7. 07
    what evidence you have

NCCIA currently lists hacking and unauthorized access as cybercrime categories and provides complaint reporting through its portal and helpline 1799. NCCIA

40 · HACKING IN PAKISTAN

What Should You Do Immediately After an Account Is Hacked?

Secure the recovery email first if it may also be compromised.

Then change the password.

Enable two-factor authentication.

Remove unknown sessions and linked devices.

Review recovery phone numbers and email addresses.

Preserve security alerts.

Warn contacts if the hacker has been sending messages in your name.

If financial accounts are involved, contact the relevant bank or wallet provider immediately.

41 · HACKING IN PAKISTAN

How to Protect Your Accounts From Hacking

Most account takeovers do not require a movie-style technical attack.

Many begin with:

  • reused passwords
  • phishing links
  • stolen OTPs
  • fake login pages
  • compromised email
  • SIM swapping

Use a unique password for important accounts.

Enable two-factor authentication.

Do not give OTPs or recovery codes to anyone.

Review active sessions regularly.

Keep the recovery email account especially secure.

Your email is often the key to resetting every other password.

Frequently Asked Questions About Hacking in Pakistan

Yes. Unauthorized access, copying or transmission of data, interference with systems and related conduct are covered by PECA where the statutory requirements are satisfied.

Section 3 covers dishonest unauthorized access to an information system or data. Pakistan Code

Up to three months' imprisonment, a fine up to Rs. 50,000, or both. Pakistan Code

Section 4 deals with unauthorized copying or transmission of data, not critical infrastructure hacking. Pakistan Code

Section 5 deals with interference with or damage to an information system or data. Pakistan Code

Sections 6, 7 and 8 deal with unauthorized access, unauthorized copying or transmission and interference involving critical infrastructure. Pakistan Code

Use Facebook's recovery process, secure the linked email, remove unknown sessions, enable two-factor authentication and preserve evidence of any misuse.

Yes, where the facts disclose a PECA offence such as unauthorized access, identity misuse or fraud.

Re-register your number, remove unknown linked devices, enable two-step verification, warn contacts and report criminal misuse where necessary.

The legal issue depends on how the password was obtained and used. Unauthorized use of the password to enter an account may fall under Section 3.

Potentially, depending on their authorization and what they copied, transmitted or misused.

Section 23 specifically criminalizes certain willful distribution or transmission of malicious code intended to cause harm. Pakistan Code

No. Ordinary Sections 3, 4 and 5 are not in the current Section 43 special list of non-bailable and cognizable offences. Pakistan Code

An IP address can assist an investigation, but by itself it does not always identify the individual responsible.

You can report serious repeated unauthorized login attempts and preserve the alerts, but a failed login should not automatically be described as a completed Section 3 offence.

CONCLUSION

Hacking Under Pakistani Cyber Crime Law

Hacking under Pakistani cybercrime law is not one single offence.

The law separates the conduct into different acts.

Unauthorized access falls under Section 3.

Unauthorized copying or transmission of data falls under Section 4.

Interference or damage falls under Section 5.

Critical infrastructure has its own stronger provisions under Sections 6 to 8.

Identity misuse, financial deception and malicious code may bring Sections 16, 14 and 23 into the same case where the facts support them.

Need Help After a Hacking Incident?

Secure the affected account or system, preserve the original evidence, and document the incident clearly before taking the next reporting or legal step.

Contact Qanooni Rah