Ahmed Benlafqih

Skills

For each skill: what I did, and where. A skill with no published evidence isn’t listed.

Cloud security

7 skills, headline domain

  • Azure Functions in Python

    • Amaris Consulting

      ML lead on an R&D pipeline where sensor data goes through Python Azure Functions into CosmosDB and Blob Storage, then into ML models. A function deployed through a GitHub Actions pipeline.

  • Cloud performance diagnosis and cost trade-offs

    • Amaris Consulting

      On an incident with a pipeline function: hypotheses tested one at a time, a benchmark of several App Service plans, and a performance-versus-cost trade-off, all written up as an analysis.

  • Deploying and hardening Azure VMs

    • Amaris Consulting

      Deployed and maintained an internal tool on Azure VMs: Linux with key-only SSH, RDP and SSH closed to the internet, Entra ID with MFA for admin access, least-privilege RBAC, a managed identity, secrets out of code, automated backups with a tested restore.

  • Identity and access on Azure (Entra ID, RBAC)

    • Amaris Consulting

      On the internal tool’s Azure VMs: admin sign-in through Entra ID with MFA, named accounts, least-privilege Azure RBAC roles, and a managed identity to reach other Azure resources without stored credentials.

  • Reviewing a cloud hosting configuration

    • Private client

      Reviewed the cloud hosting of a web application, in a school audit for a private client: storage of secrets and environment variables, access to deployments and project settings, exposed endpoints, CORS policy and security headers.

  • Secrets management on Azure (Key Vault)

    • Amaris Consulting

      For the internal tool: secrets stored in Azure Key Vault or injected as environment variables at deploy time; passwords rotated.

  • Static hosting on Cloudflare

DevSecOps

13 skills, headline domain

  • A backend with role-based access (FastAPI, PostgreSQL)

    • Amaris Consulting

      Built the internal tool with FastAPI, role-based access control and PostgreSQL, the database reachable only locally or from the application’s subnet.

  • Authenticated encryption in the browser (Web Crypto, AES-256-GCM)

    • AESChat, encrypted browser chat

      In AESChat, ported with AI coding agents: a 256-bit AES-GCM key generated in the browser and carried in the link fragment, a random 12-byte IV per message, a 16-byte tag, and a safety number derived from the key with SHA-256. Checked on 19 October 2026 by 13 passing tests, including rejection of tampered messages and wrong keys (not yet in the repository).

  • CI/CD with GitHub Actions

    • Amaris Consulting

      Several GitHub Actions pipelines; the first tests and deploys a Python function on Azure Functions, documented in a step-by-step handbook.

  • Dependency auditing

    • Private client

      Audited a web application's back-end dependencies with Trivy, in a school audit for a private client.

  • Deploying and hardening a web server

    • Université Paris Cité

      Put a local-only tool online: HTTPS with a TLS certificate behind an Nginx reverse proxy, a firewall closing unused ports, SSH key authentication, services in Docker containers, deployed on Kubernetes.

  • Kubernetes deployment

    • Université Paris Cité

      Docker containers deployed on Kubernetes for a self-hosted web service, with monitoring of the containers.

    • Amaris Consulting

      ML models for a smart-building platform deployed on Kubernetes.

  • Linux and Windows hardening

    • ESILV

      ESILV courses and TPs: Linux hardening (SSH, sudo, permissions, services), AppArmor or SELinux, auditing with Lynis and the CIS Benchmarks, Windows hardening basics with GPO.

  • Network hardening

    • ESILV

      ESILV courses and TPs: iptables / nftables firewall rules, IDS/IPS rules with Snort or Suricata.

  • Securing an automation platform (n8n)

    • Amaris Consulting

      An n8n automation served over HTTPS only behind a reverse proxy, with the editor not reachable from the internet, user accounts with 2FA or SSO, authenticated webhooks, and the encryption key kept out of workflow exports.

  • Securing embedded software

    • ESILV

      Covered in Securing Embedded Software, ESILV (4th year, 2025–26).

  • Security review of a web application

    • AESChat, encrypted browser chat

      A public self-audit of AESChat, done with AI assistance: a threat model, 13 findings ranked by severity and status, a sweep of every DOM injection sink, and a shipped fix for an XSS in the packet inspector (rebuilt with textContent). The two high findings, no Subresource Integrity and no CSP, are still open.

  • Triaging static-analysis (SAST) findings

    • SAST on wolfSSL with SonarCloud

      Ran SonarCloud on wolfSSL (over 2M lines of C), read its ratings and counts, and separated test and example material from real risk using the file paths; explained why an E rating doesn't mean the library is insecure.

  • Virtualisation and containers

    • ESILV

      ESILV courses and TPs: virtual machines (VirtualBox, VMware, KVM), Docker (images, isolation), and the concepts of TPM and Secure Boot.

AI/ML security

3 skills, headline domain

  • AI for cybersecurity

    • ESILV

      A theme of my ESILV major in connected objects and cybersecurity (IA pour la cybersécurité).

  • Machine learning for intrusion detection

    • Intrusion detection on NSL-KDD

      In a team of three: binary normal / anomaly classification on NSL-KDD, reading the results as false alarms and missed intrusions (best single model: 358 false alarms, 3,791 missed attacks out of 22,544 connections).

  • Threat modelling a system where AI makes decisions

    • Amaris Consulting

      Security of AI: a threat model and security proposals for an AI-driven datacenter proof of concept (device and service identity, safeguards around automated decisions). Proposals only, none implemented; details covered by an NDA.

ML engineering

5 skills, supporting domain

  • Advanced probability

    • ESILV

      Covered in Advanced probability, ESILV (4th year, 2025–26).

  • Imbalanced data (SMOTE, imbalanced-learn)

    • Intrusion detection on NSL-KDD

      In a team of three: rebalanced the NSL-KDD training data with SMOTE (imbalanced-learn), working in pandas and Jupyter notebooks.

  • Machine learning and AI fundamentals

    • ESILV

      Covered in Machine Learning, ESILV (4th year, 2025–26).

    • EIDD

      Covered in Intelligence artificielle, EIDD (2nd year, SIE).

  • Supervised classification and evaluation with scikit-learn

    • Intrusion detection on NSL-KDD

      In a team of three: one-hot encoding, SMOTE, scaling, Decision Tree, Random Forest and SVM tuned by grid or randomized search, ensembles, then precision, recall, F1-macro, confusion matrices and ROC-AUC on a held-out test set.

  • Time-series energy forecasting

    • IEEE SmartData 2026

      Built the day-ahead and week-ahead forecasting pipelines, including data cleaning and preprocessing, for a paper accepted at IEEE SmartData 2026.

    • Amaris Consulting

      In charge of the ML part of a smart-building R&D pipeline: models for energy consumption, anomaly detection and occupancy.

Offensive security

7 skills, supporting domain

  • Binary exploitation fundamentals

    • Stack buffer-overflow lab

      In an isolated lab, on a deliberately vulnerable training target: the full path of a stack buffer overflow, from crash to control of execution, with WinDbg debugging, and each step set against the memory protection (DEP, ASLR, canaries) that prevents it.

  • Coverage-guided fuzzing

    • Amaris Consulting

      Fuzzed the data-cleaning code of an Azure pipeline with Atheris (libFuzzer-based), using a harness that checks invariants on the outputs.

  • Hardware fault injection (voltage glitching)

    • Tegra X1 glitch modchip

      Installed an RP2040 glitch modchip that injects a voltage fault to skip the secure-boot signature check on a Tegra X1 (Switch Lite).

  • Network scanning and traffic analysis

    • ESILV

      ESILV courses and TPs: Nmap (host discovery, port and service scans), Wireshark and tcpdump (capture and analysis), netcat.

  • Penetration-testing toolkit

    • ESILV

      ESILV courses and TPs: Kali Linux, Metasploit, Burp Suite, OWASP ZAP, sqlmap, Hydra, John the Ripper, Hashcat, Gobuster, Nikto; the OWASP Top 10 web vulnerabilities (SQL injection, XSS, CSRF, path traversal).

  • Reverse engineering and forensics

    • ESILV

      ESILV courses and TPs: Ghidra, GDB, strings / objdump / readelf for static analysis, Volatility for memory, Autopsy for disk.

  • Secure boot & hardware root-of-trust analysis

    • Tegra X1 glitch modchip

      Broke a Tegra X1 boot-ROM chain of trust by fault injection, targeting the signature check rather than the cryptography.

GRC

7 skills, supporting domain

  • Cyber resilience and crisis management

    • ESILV

      Covered in Cyber Resilience & Crisis Management, ESILV (5th year, in progress).

  • Data protection management

    • ESILV

      Covered in Data protection management, ESILV (5th year, in progress).

  • EBIOS RM risk analysis

    • Amaris Consulting

      Risk analysis with the EBIOS RM method during the apprenticeship.

    • ESILV

      EBIOS RM covered in the connected objects and cybersecurity major.

  • Information security management

    • ESILV

      Covered in Information Security Management, ESILV (5th year, in progress).

  • ISO/IEC 27001 and 27005

    • Enablers

      Completed a training course on both standards, from implementation to integration into risk management.

    • Amaris Consulting

      Compliance work on ISO 27001 and ISO 27005 during the apprenticeship.

  • Risk management

    • ESILV

      Covered in Risk Management, ESILV (5th year, in progress).

  • Statistical risk analysis and game theory

    • ESILV

      Covered in Statistical Risk Analysis and Game Theory, ESILV (4th year, 2025–26).

Systems and embedded

16 skills, supporting domain

  • Authenticated encryption with OpenSSL (AES-256-GCM, EVP API)

    • TCP server in C with AES-GCM

      In the C server, encrypt and decrypt functions used by the stage 4 server and client: a random 12-byte IV per message with its return value checked, GCM tag verification, Base64 framing for a text protocol, and crypto buffers bounded from one constant. Tampered, wrong-key and oversize messages are refused in the 2026-10-19 test run. One hardcoded shared key, no key exchange.

  • Board-level rework & microsoldering

    • Tegra X1 glitch modchip

      Schematic tracing for a custom 3.3 V tap, flex- and wire-level microsoldering on the Switch Lite mainboard, and bring-up.

  • Concurrency with pthreads

    • TCP server in C with AES-GCM

      One detached thread per client; a global mutex for the client list, the counter and the aliases, and a mutex per mailbox. One race remains from reading the code: a recipient can be freed while a message is being queued for it.

  • Digital logic and processor design

    • LC-3 processor extension

      On a provided LC-3 processor frame in Logisim: a bit-scan block (reverser, multiplexers, priority encoder, extender, subtractor) added to the ALU as a fourth operation, write-back selection by opcode, and the negative/zero/positive flag logic that branches read.

  • Electronics, signals and control

    • EIDD

      Covered in Électronique, Signaux et systèmes and Automatique, EIDD (1st and 2nd years).

  • Embedded development on ESP32 with FreeRTOS

    • Disinformation simulator on ESP32

      On a five-person team project I led as team leader and lead developer, a firmware with: a FreeRTOS task pinned to one core at a 100 ms period, a double-buffered grid committed under a mutex, a Wi-Fi access point, pages served from LittleFS, a PlatformIO project.

  • ESP32 firmware tooling (PlatformIO, LittleFS)

  • Hardware debug interfaces (UART sniffing)

    • DVID hardware hacking

      UART sniffing and bus capture (SPI/I2C) with a logic analyzer on the DVID training board (ESP32/STM32 targets).

  • Hardware-layer security

    • ESILV

      Covered in HW Layer Security, ESILV (4th year, 2025–26).

  • Industrial security

    • ESILV

      Covered in Industrial Security, ESILV (5th year, in progress).

  • IoT security architecture

    • ESILV

      Covered in IoT Security Architecture, ESILV (5th year, in progress).

  • Network programming in C (POSIX sockets)

    • TCP server in C with AES-GCM

      A TCP server in four stages: IPv6 socket with SO_REUSEADDR, accept loop, full-write loop, a line-based text protocol with ok / fail replies; clients that resolve the host with getaddrinfo. Every stage builds without warnings and responds as described in the 2026-10-19 test run.

  • Networking fundamentals

    • ESILV

      ESILV courses and TPs: TCP/IP model, IPv4 addressing and subnetting, routing and NAT, VLANs, DNS/DHCP/ARP and their attacks, segmentation and DMZ, VPN, TLS.

  • Operating systems

    • EIDD

      Covered in Systèmes et réseaux and Systèmes avancés, EIDD (1st and 2nd years).

    • ESILV

      Covered in OS Architecture, ESILV (4th year, 2025–26).

  • Radio-frequency identification (RFID)

    • ESILV

      Covered in Radio Frequency Identification, ESILV (4th year, 2025–26).

  • Securing an API on a connected device

    • Disinformation simulator on ESP32

      On a team project I led as lead developer, in the firmware version published on GitHub (whether the demonstrated version had them is unknown): a shared token on the control routes, a rate limit on the public route, input clamping, secrets kept out of git and a written threat model. Known limits: plain HTTP, token accepted in the URL, state changes over GET.

Software and data

9 skills, supporting domain

  • Algorithms and theoretical computer science

    • EIDD

      Covered in Algorithmique and Informatique fondamentale, EIDD (1st and 2nd years).

  • Graph algorithms in Java

    • Île-de-France route planner

      On a team project I led: Dijkstra shortest path on a priority queue, (stop, line) nodes to separate staying on a line from changing, transfer edges, path reconstruction; JUnit 5 tests.

  • Object-oriented programming

    • EIDD

      Covered in Programmation objet and Programmation objets avancée, EIDD (1st and 2nd years).

  • Offline-first synchronisation

    • Quest Log task manager

      A plain-JavaScript PWA: local-first writes with dirty flags and a per-record version, chunked push, cursor-based pull with an overlap window, last-write-wins resolution, and a versioned service worker.

  • Open-data processing

    • Île-de-France route planner

      HTTPS download of CSV exports from the Île-de-France Mobilités open-data portal, join of line traces and stops by route, haversine distances and estimated durations, output of a normalised network file.

  • Peer-to-peer messaging with WebRTC

    • AESChat, encrypted browser chat

      In AESChat, ported with AI coding agents: two browsers talk directly over WebRTC through PeerJS, with Google STUN servers to set up the connection.

  • Relational databases

    • EIDD

      Covered in Bases de données, EIDD (2nd year, SIE).

  • Unit testing with JUnit 5

  • Web development in HTML, CSS and JavaScript

    • HACA

      Built a web calculator for FM and TV frequency fees, from the rules in the regulation and the stations' geolocation.

Soft skills

6 skills, supporting domain

  • Gathering requirements and turning them into a specification

    • Safran Aircraft Engines

      Gathered the trainers' needs to renew a training room's IT equipment, wrote the specification and obtained the quotes.

    • HACA

      Studied the calculation rules in the regulation and defined what the calculator had to do before designing it.

  • Leading a project team

    • Disinformation simulator on ESP32

      Team leader and lead developer of a team of five, on a project run in partnership with Campus Cyber.

    • Île-de-France route planner

      Team leader of a software-engineering project in Java.

    • Private client

      Project leader of a team of 5 on a web application security audit for a private client (school project); responsible for scope and rules of engagement, findings tracking and the final report (audit in progress).

    • Amaris Consulting

      Proposed and led an internal tool now used in several countries.

  • Organising student-association events

  • Project management

    • EIDD

      Covered in Management de projet, EIDD (2nd year, SIE).

  • Technical writing

    • Amaris Consulting

      Wrote up an incident analysis (hypotheses tested, benchmark, cost trade-off) and a step-by-step handbook on deploying with GitHub Actions.

    • SAST on wolfSSL with SonarCloud

      A short report explaining why a SonarCloud E rating doesn't mean a library is insecure.

  • Training and supervising

    • Safran Aircraft Engines

      Supervised a younger intern; trained staff to use the training screens, including basic cybersecurity awareness.

    • Self-employed

      Part-time private tutoring alongside my studies.