LawSamjo

Cyber Harassment, Stalking, and Modesty Protection under Electronic Crimes Act

⚖️
Muhammad Abdullah Qadeer (Advocate)
2026-08-04 33 min read
Font Size:
Courtroom Insider Tip

"Section 21 (Modesty / Superimposition) and Section 24 (Cyber Stalking) are the frontline weapons for defending women against online blackmail and revenge porn in Pakistan. In Section 20 defamation complaints, remember that under the original Section 20(2), only the aggrieved person (or their authorized guardian) can file a complaint; FIA cannot initiate suo motu proceedings on behalf of public officials or politicians!"

Muhammad Abdullah Qadeer (Advocate)

1. Social Media Harassment & Vulnerability of Citizens

The explosive growth of social media platforms (Facebook, Instagram, TikTok, WhatsApp, Snapchat, X) created unprecedented social vulnerabilities in Pakistan. Female students, working women, professionals, and private citizens became frequent targets of online blackmail, character assassination, non-consensual sharing of intimate images, deepfake video manipulation, and relentless cyber stalking.

To protect personal privacy, female modesty, and constitutional human dignity (Article 14 of the Constitution of Pakistan, 1973), Parliament enacted Sections 20, 21, and 24 of PECA 2016.

2. Section 20: Offences Against Dignity & Landmark IHC Judgment

Section 20 was enacted to address electronic defamation and character assassination.

Statutory Language of Section 20

"Whoever intentionally and publicly exhibits or displays or transmits any information through any information system, which he knows to be false, and intimidates or harms the reputation or privacy of a natural person, shall be punished..."

Essential Ingredients of Section 20

  • 1Public Exhibition/Transmission: The false information was shared on a public or semi-public digital forum (social media group, post, video).
  • 2Knowledge of Falsity: The accused knew or had reason to believe the information was completely false.
  • 3Harm to Reputation or Privacy: The publication directly harmed the reputation or invaded the private life of a natural person.
  • Statutory Penalty

  • •Imprisonment: Up to three (3) years.
  • •Fine: Fine up to Rs. 1,000,000, or both.
  • •Legal Status: Non-Cognizable / Bailable.
  • 🏛️ The Historic Landmark Islamabad High Court Judgment (PLD 2022 IHC 145: PFUJ Case)

    In February 2022, the Federal Government promulgated the Prevention of Electronic Crimes (Amendment) Ordinance, 2022, attempting to make Section 20 non-bailable, expanding its scope to state institutions, and mandating FIA arrests without warrants.

    Chief Justice Athar Minallah (Islamabad High Court) struck down the Ordinance as unconstitutional and ultra vires of Articles 9, 14, 19, and 19A of the Constitution, holding:

  • 1Criminal Defamation Abuse: The State cannot weaponize FIA criminal machinery to silence political critics, journalists, or whistleblowers.
  • 2Exclusivity of Natural Persons: Section 20 protects natural human persons only; government departments, armed forces, or corporate bodies cannot invoke Section 20 PECA to silence public accountability.
  • 3Aggrieved Person Requirement (Section 20(2)): Only the person whose reputation was directly injured can file a complaint. FIA possesses zero jurisdiction to register suo motu FIRs under Section 20.
  • 3. Section 21: Outraging Modesty, Superimposition & Revenge Porn

    Section 21 is a rigorous, high-penalty provision specifically enacted to combat sexual blackmail, revenge porn, and photo manipulation.

    Statutory Breakdown of Section 21

    Whoever intentionally:
  • 1Publicly exhibits, displays, or transmits any photograph or video of a natural person in a sexually explicit manner;
  • 2Superimposes, morphs, or alters the face or body of a person onto sexually explicit images (e.g. Deepfakes or Photoshop manipulations); or
  • 3Cultivates, entices, or blackmails a person by threatening to release private intimate media;
  • to harm their reputation or blackmail them.

    Statutory Penalties for Section 21

  • •General Offence: Imprisonment up to five (5) years, or fine up to Rs. 5,000,000, or both.
  • •Aggravated Offence Against Minors (Section 21(2)): If the victim is a child / minor, the imprisonment extends up to seven (7) years, and fine up to Rs. 5,000,000.
  • •Legal Status: Cognizable, Non-Bailable, and Non-Compoundable.
  • 4. Section 24: Cyber Stalking (Online Surveillance & Harassment)

    Cyber stalking involves persistent, unwanted online pursuit and psychological terrorization.

    Statutory Ingredients of Section 24

    A person commits cyber stalking if, with intent to coerce, intimidate, or harass any person, he:
  • 1Follows a person or monitors their online activities, communication, or movements;
  • 2Constantly sends unsolicited communications (incessant WhatsApp messages, emails, DMs from multiple fake accounts);
  • 3Spies on or tracks a person using spyware, GPS trackers, or malicious software; or
  • 4Distributes someone's private contact details online to incite third parties to harass them (Doxing).
  • Statutory Penalties for Section 24

  • •General Offence: Imprisonment up to three (3) years, or fine up to Rs. 1,000,000, or both.
  • •Aggravated Offence Against Minors (Section 24(2)): If the victim is a minor, imprisonment extends up to five (5) years, and fine up to Rs. 10,000,000.
  • •Legal Status: Cognizable, Non-Bailable, and Non-Compoundable.
  • 5. Statutory Safeguards for Women & Minor Victims

    PECA 2016 incorporates vital protective mechanisms to ensure vulnerable victims are not re-traumatized during legal proceedings:

  • 1In-Camera Proceedings (Section 45 PECA):
  • •In trials involving offences against modesty (Section 21), cyber stalking (Section 24), or child exploitation (Section 22), the Court must conduct proceedings in-camera (private courtroom with public excluded) upon application by the victim.
  • 2Confidentiality & Identity Concealment:
  • •Publication of the victim's name, photograph, or identifying details in media or court cause lists is strictly prohibited under contempt and penal sanctions.
  • 3Female Investigating Officers in FIA:
  • •Under FIA Cyber Crime Wing standard operating procedures, female complainants have the right to be interviewed by a female investigator in a dedicated privacy environment.
  • 6. Master Comparative Penalties Matrix

    Section & OffenceTarget VictimMaximum ImprisonmentMaximum FineCognizance & Bail Status
    S. 20: Dignity of Person (Defamation)Adult Natural Person3 YearsRs. 1 MillionNon-Cognizable / Bailable
    S. 21(1): Modesty / SuperimpositionAdult Natural Person5 YearsRs. 5 MillionCognizable / Non-Bailable
    S. 21(2): Modesty / SuperimpositionMinor / Child7 YearsRs. 5 MillionCognizable / Non-Bailable
    S. 24(1): Cyber StalkingAdult Natural Person3 YearsRs. 1 MillionCognizable / Non-Bailable
    S. 24(2): Cyber StalkingMinor / Child5 YearsRs. 10 MillionCognizable / Non-Bailable

    7. Conclusion

    In conclusion, Sections 20, 21, and 24 of PECA 2016 establish Pakistan's statutory fortress protecting constitutional dignity, female modesty, and individual privacy. The landmark jurisprudence of the superior judiciary has preserved democratic free speech by limiting Section 20 while aggressively enforcing Sections 21 and 24 against sexual blackmailers and cyber stalkers.

    University & Competitive Past Exam Questions Reference

  • •Q1: Critically examine Section 20 of PECA 2016 in light of the landmark judgment of the Islamabad High Court. Why was the 2022 Presidential Ordinance struck down?
  • •Q2: What constitutes the offence of Outraging Modesty and Superimposition under Section 21 PECA 2016? What aggravated penalties apply if the victim is a minor?
  • •Q3: Define Cyber Stalking under Section 24 PECA 2016. What are its essential ingredients?
  • •Q4: Discuss the statutory safeguards provided under PECA 2016 for the protection and dignity of female and minor victims during investigation and trial.
  • ⚖️Academic & Legal Education Advisory

    This study note has been structured and curated with the assistance of artificial intelligence and is published strictly for educational and academic study purposes. LawSamjo is an educational platform and does not offer courtroom legal research or professional advocacy services. For actual legal cases, court proceedings, or judicial citations, advocates and litigants must independently consult primary statutory bare acts and authoritative law reports (such as PLD, SCMR, CLC, PCrLJ, PTD).

    Spotted an error, outdated clause, or typographical mistake? Please help us keep this repository accurate.

    Let Us Know→
    Legal Career & Practice Accelerator

    Advance Your Legal Career & Courtroom Practice

    Attend live masterclasses by practicing advocates or explore verified chamber pupillages, internships, and legal vacancies across Pakistan.