Hadiqa Khan

Application Security Engineer · Karachi · open to remote and relocation

AppSec engineer with an attacker's eye.

Half my job is building security in. The other half is trying to break it. Clients in the USA, UK and Saudi Arabia.

client and internal web apps and APIs assessed
15+
critical/high findings found and helped fix
40+
first-pass assessment, down from 5–7 days
5–7 hrs
fewer post-deployment vulnerabilities
40%

Key achievements

From the offensive side

I break it first, so the fix lands in the right place.

Every finding below went to the team with its root cause and a fix. Testing is how I make the AppSec work sharper, not a separate job. The usual suspects: authentication bypasses, broken access control, IDOR/BOLA and privilege escalation.

#ClassFindingStatus
01AuthZRecurring access-control flaws, one root causeTraced repeated broken-access-control findings back to a shared backend cause and recommended reusable authorization patterns. (client web apps)Fixes verified across affected features
02AuthZCross-tenant JWT validation bypassTokens could be used across tenant boundaries. Found during an overnight AI-assisted repository review. (pre-prod repo)Reported as critical/high next morning
03PrivEscAdmin mass-assignment privilege escalationMass assignment let a regular user grant themselves administrative privileges. (pre-prod repo)Reported with root cause
04AuthNFirst-login flow bypassA hardcoded client-side key encrypted an isFirstLogin flag in localStorage; tampering skipped create-password. (pre-prod portal)Reported before launch
05SecretsExposed production credentialsLive credentials committed to source, alongside temporary-password weaknesses. (pre-prod repo)Reported as critical/high
06LogicFail-open account checksAccount validation that allowed access when the check itself failed. (pre-prod repo)Reported with root cause
07Gray-boxGo-live pentest of a fleet platformManual and automated gray-box testing of web, mobile and API surfaces before production. (fleet platform)Remediated and retested before go-live
08Black-boxBlack-box PoC pentestProof-of-concept black-box test of web and API surfaces, run ahead of a full engagement. (new client)PoC delivered ahead of full engagement

CTF results

Procom CTF'23
1st of 50 teams
NED NCCS'22 CTF
1st
National Cyber Hackathon qualifier
3rd of ~50

Training and giving back

  • TCM Practical Ethical Hacking. TryHackMe Jr Penetration Tester and PenTest+ path.
  • Ran the seven-day Hackweek'23 bootcamp as ACM chapter president and built its "Ripperdoc" TryHackMe room. Talks at BSides Pakistan.
  • Toolkit: Burp Suite · OWASP ZAP · Semgrep · CodeQL · Gitleaks · Nessus
  • Read my write-ups on Medium ↗TryHackMe: oggy101 ↗

All projects

Showing 22 of 22 projects

Background

Jul 2023 to now
Security Engineer II, ByteCorp TechnologiesAppSec, cloud security, DevSecOps and GRC. Leads internal vulnerability management, co-led SOC 2 Type II (attested two years running) and runs the cybersecurity trainee program.
Jan to Jul 2023
Junior SOC Analyst, SupersecureMonitored client environments with Stellar Cyber OpenXDR, SIEM, SOAR and UBA, and wrote detection rules.
Jul to Oct 2022
Cyber Threat Hunting Intern, ThincsCorpResearched APT tactics and techniques, and ran static and dynamic malware analysis.
2019 to 2023
BS Computer Science, FAST KarachiCum laude. First female president of the ACM Cyber Security Chapter.

Case study 05 · Automation · Attack surface · Internal

Domain Takeover Bot: catching dangling DNS every day.

I deployed an automated pipeline that discovers subdomains, tests them for takeover, and files an alert before an attacker can claim the orphaned resource.

Role
Designed and deployed
Monitored
Company and client domains
Fingerprints
90+ cloud providers
Runs
Daily
Alerts
GitHub Issues · Slack

01

Records outlive the resources

When cloud resources such as GCP services are decommissioned, their DNS records can stay behind. Those dangling records point trusted subdomains at something nobody owns any more, and detection was reactive.

02

Why it matters

An attacker who claims the orphaned resource can use the trusted domain to:

  • Host malicious content
  • Steal cookies scoped to the parent domain
  • Run phishing that looks legitimate

03

How the daily pipeline runs

  1. 1

    Discover

    Subfinder and Certificate Transparency logs surface hidden or forgotten staging subdomains.

  2. 2

    Verify

    Subdominator tests 90+ provider fingerprints, such as GCP 404s and AWS NoSuchBucket errors.

  3. 3

    Alert

    A GitHub Issue and a Slack alert open automatically for every hit.

  4. 4

    Remediate

    Each alert links to the daily inventory CSV so the fix can start immediately.

04

Stopping it recurring

DNS-first deletion
Delete the record before decommissioning the resource
Wildcard minimization
Avoid * records that widen the attack surface
Ownership verification
Use vendor CNAME and TXT validation records

05

Outcome

Subdomain-takeover detection moved from reactive to continuous, with a fix path attached to every alert.

06

What I'd do next

Turn DNS-first deletion from a guideline into a pipeline check that blocks a resource from being decommissioned while its DNS record still exists. Then extend discovery to every DNS zone and cloud account automatically.