Skip to content

BS Computer Science Student | AI & Cybersecurity

Building Intelligent Solutions. Defending the Digital World.

I'm Hamza Khan, a BS Computer Science student focused on Machine Learning and Cybersecurity. I build data-driven applications, explore AI-powered threat detection, and develop security-focused projects that connect intelligent systems with practical cyber defense.

~/portfolio

$ whoami

hamza-khan

$ cat focus.txt

machine-learning · cybersecurity · dns-security

$ echo $LOCATION

Peshawar, KP, Pakistan

$

Portrait of Hamza Khan wearing a black Kali Linux hoodie

Hamza Khan

Peshawar, KP, Pakistan

UET

About me

Where intelligent systems meet cyber defense.

I am a Computer Science student at UET Peshawar specializing in Cybersecurity, with a strong interest in Machine Learning and AI-driven security solutions. My work includes developing ML-based threat detection concepts, building data-driven applications, and working on security-focused projects. I am currently focused on DNS security and am particularly interested in DNS threat detection, privacy-preserving AI, and LLM security. I enjoy solving technical problems, learning through hands-on experimentation, and developing practical projects that combine intelligent systems with cybersecurity.

View my projects
  • Machine Learning

    Building data-driven applications, learning data preprocessing and model development, and exploring ML deployment through REST APIs.

  • Cybersecurity Research

    Exploring network traffic analysis, DNS threats, threat intelligence, SIEM concepts, and adversarial testing in controlled environments.

  • AI Security

    Learning about LLM vulnerabilities, prompt injection, jailbreaking, AI agents, and practical defense mechanisms.

Soft skills

  • Problem-solving
  • Analytical thinking
  • Communication
  • Teamwork & collaboration
  • Independent learning

Languages

  • EnglishProfessional working proficiency
  • UrduFluent
  • PashtoNative

Technical skills

Tools I build and learn with.

A working toolkit across Python, machine learning, and security. Some I use regularly, others I am actively learning.

Programming

  • Python
  • JavaScript
  • Dart
  • SQL

Machine Learning & Data Science

  • scikit-learn
  • TensorFlow
  • Keras
  • Pandas
  • NumPy
  • LSTM Networks
  • Data Preprocessing
  • Statistical Modeling
  • Jupyter Notebook

AI & Research

  • Federated Learning
  • Flower Framework
  • Privacy-Preserving ML
  • AI-Based Threat Detection
  • LLM Security Fundamentals
  • Adversarial Testing

Backend & Deployment

  • FastAPI
  • Flask
  • REST APIs
  • JWT Authentication
  • Node.js & Express
  • Model Serving
  • MLOps Fundamentals

Cybersecurity

  • DNS Security
  • Network Traffic Analysis
  • Scapy
  • Wazuh SIEM
  • MITRE ATT&CK
  • Kali Linux
  • Ubuntu Linux
  • Threat Detection
  • Malware Analysis Concepts

Databases & Tools

  • MongoDB
  • PostgreSQL
  • Git & GitHub
  • VMware
  • VS Code
  • Flutter

CS Fundamentals

  • Data Structures & Algorithms
  • BFS & DFS
  • A* Search
  • Operating Systems
  • Linear Algebra

Current project

What I'm building now.

My current focus is DNS Security. The repository link will appear here once it goes public.

01 · AI Security · DNS Security · Research

In Progress

DNS SecurityFeatured research

My current project: exploring adversarially robust DNS threat detection and automated mitigation. The proposed architecture combines a DNSSEC-validating recursive resolver, DNS traffic analysis, machine learning-based detection, and policy-based mitigation.

View details

Key focus areas

  • DNS tunneling and DGA detection
  • DNSSEC-validating recursive resolution with Unbound
  • Adversarial red-team evaluation
  • Automated mitigation using response policy mechanisms
  • Reproducible security experiments in isolated VMs

Listed items describe the project scope. Components are still being built and evaluated.

  • Python
  • Unbound
  • DNSSEC
  • Linux
  • Machine Learning
  • VMware
Repository coming soon

Research & interests

Questions I keep coming back to.

DNS Security is my current research-oriented project. It is ongoing work, not a published paper.

  • AI-powered cybersecurity

    Applying machine learning to detect and respond to threats.

  • DNS tunneling & DGA detection

    Identifying covert channels and algorithmically generated domains.

    → DNS Security
  • Adversarially robust detection

    Building detectors that hold up against evasive attackers.

    → DNS Security
  • Federated learning for cyber defense

    Training shared models without centralizing sensitive data.

  • Privacy-preserving ML

    Differential privacy and secure training techniques.

  • LLM application security

    Understanding how AI-powered apps fail and how to harden them.

  • Prompt injection & jailbreaking

    Studying attacks against language models and practical defenses.

  • Threat intelligence & automation

    Turning indicators into automated, actionable detections.

  • Red-team & blue-team methods

    Thinking like an attacker to build stronger defenses.

Education

Academic foundation.

  1. University of Engineering and Technology (UET), Peshawar

    Bachelor of Science in Computer Science

    Specialization: Cybersecurity

    2023 – Present

    Relevant coursework

    • Data Structures and Algorithms
    • Artificial Intelligence
    • Linear Algebra
    • Operating Systems
    • Application Development

Practical learning

Hands-On Labs & Technical Exploration.

Self-directed labs and experiments run in controlled, isolated environments.

  • Research

    AI Security & LLM Defense

    Experimenting with prompt injection, jailbreak patterns, and guardrail strategies against LLM applications.

    • Python
    • LLMs
  • In Progress

    DNS Security Lab

    Configuring a DNSSEC-validating recursive resolver to study DNS behavior and threats.

    • Ubuntu
    • Unbound
    • DNSSEC
  • Lab Exercise

    Controlled Network Testing

    Practicing reconnaissance and security assessment techniques inside an isolated lab network.

    • Kali Linux
    • VMware
  • Lab Exercise

    Packet Analysis

    Capturing, crafting, and inspecting network traffic to understand protocols and anomalies.

    • Scapy
    • Wireshark
  • Lab Exercise

    ML Models & API Serving

    Training models and exposing them through REST endpoints for inference.

    • scikit-learn
    • FastAPI
    • Flask
  • In Progress

    SIEM & Threat Monitoring

    Exploring log collection, alerting rules, and ATT&CK-mapped detections.

    • Wazuh
    • MITRE ATT&CK

Certifications & Training

Only verified credentials are marked as earned.

  • Certified Ethical Hacker (CEH)

    Planned goal

    EC-Council

  • Google Cybersecurity Professional Certificate

    Planned goal

    Google

  • Certified in Cybersecurity (CC)

    Planned goal

    ISC2

  • Cyber Security Certification

    Planned goal

    NAVTTC

Contact

Let's Build Something Intelligent and Secure.

I'm interested in connecting with developers, researchers, and cybersecurity professionals working on AI, Machine Learning, and practical cyber defense.

This form opens your own email app. Nothing is sent or stored by this website.