PISA Pakistan — Community CERT

← 🚩 CTF: Getting Started

22. Physical Security & Social Engineering for CTF: Simulating Real-World Threats

⏱ 9 min

Physical & Social Engineering in CTF

Physical security and social engineering (SE) challenges simulate real‑world attackers who manipulate people rather than code. In a CTF they appear as “Human” or “Red‑Team” flags.

Real‑World Pakistani Attack Vectors

  • WhatsApp phishing: fake prize messages claiming you won an easypaisa draw.
  • OLX/Daraz scams: seller asks for a JazzCash OTP to “confirm delivery”.
  • NADRA impersonation: caller pretends to be from NADRA, requests CNIC details for a “verification”.
  • Vishing (voice phishing): automated calls from “bank” asking for SBP‑registered account numbers.

These vectors are frequent complaints reported to the NCCIA cybercrime helpline 1799.

Designing a Social Engineering Challenge

  1. Pretext: Create a convincing story—e.g., a “customer support” rep offering a free SIM upgrade.
  2. Bait: Offer a reward (e.g., Rs 500 airtime) in exchange for the target’s CNIC number.
  3. Delivery: Use SMS, WhatsApp, or a short phone call.
  4. Capture: Log responses in a controlled Google Form (no real personal data).
  5. Flag: The flag is hidden in the form’s hidden field; participants who submit a correct answer (the CNIC) receive the flag.

Tools & Techniques

  • Social Engineering Toolkit (SET) – rapid spear‑phishing.
  • Gophish – open‑source phishing framework with real‑time reporting.
  • Caller ID spoofing via VoIP (ensure legal compliance with PTA regulations).

Reporting & Response

If a participant discovers they have been socially engineered, they should:

  1. End the interaction immediately.
  2. Report the incident to NCCIA 1799 for guidance.
  3. Do not share any real personal information on public CTF channels.

Do / Don't

  • Do obtain explicit consent before testing SE on volunteers.
  • Don't collect genuine personal data; use fictional personas.
  • Do debrief participants about the attack vectors and mitigations.

Takeaway Today

Set up a Gophish campaign that sends a mock OLX phishing email to a test inbox. Verify the captured credentials appear in the Gophish dashboard and note the steps you would take to report the attack via NCCIA 1799.

Further reading on defending against WhatsApp phishing is available at pisa.maahir.io.

← PrevNext →