Ahmed Lekssays

Ahmed Lekssays

Auto-generated profile, based on publicly available information

Ahmed Lekssays

Qatar Computing Research Institute, Doha, Qatar

Research Focus & Metrics

Academic Career Length

6Years (2021-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
1 December 2021 in Computer Networks
Verified
Journal Article
Closed access
ALAhmed Lekssays
Ahmed Lekssays
LLLuca Landa
Luca Landa
BCBarbara Carminati
Barbara Carminati
EFElena Ferrari
Elena Ferrari

1 July 2024
Verified
Conference Paper
Open access
UKUdesh Kumarasinghe
Udesh Kumarasinghe
ALAhmed Lekssays
Ahmed Lekssays
HSHusrev Taha Sencar
Husrev Taha Sencar
SBSabri Boughorbel
Sabri Boughorbel
CECharitha Elvitigala
Charitha Elvitigala
PNPreslav Nakov
Preslav Nakov
We introduce a novel approach for mapping attack behaviors described in threat analysis reports to entries in an adversarial techniques knowledge base. Our method leverages a multi-stage ranking architecture to efficiently rank the most related techniques based on their semantic relevance to the input text. Each ranker in our pipeline uses a distinct design for text representation. To enhance relevance modeling, we leverage pretrained language models, which we fine-tune for the technique annotation task. While generic large language models are not yet capable of fully addressing this challenge, we obtain very promising results. We achieve a recall rate improvement of +35% compared to the previous state-of-the-art results. We further create new public benchmark datasets for training and validating methods in this domain, which we release to the research community aiming to promote future research in this important direction.

30 September 2021
Verified
Book Chapter
Closed access
PDF file
LGLodovico Giaretta
Lodovico Giaretta
ALAhmed Lekssays
Ahmed Lekssays
BCBarbara Carminati
Barbara Carminati
EFElena Ferrari
Elena Ferrari
ŠGŠarūnas Girdzijauskas
Šarūnas Girdzijauskas

5 June 2023 in Computer Networks
Verified
Journal Article
Open access
ALAhmed Lekssays
Ahmed Lekssays
BCBarbara Carminati
Barbara Carminati
EFElena Ferrari
Elena Ferrari

8 October 2023
Verified
Conference Paper
Open access
DRDebaditya Roy
Debaditya Roy
ALAhmed Lekssays
Ahmed Lekssays
SGSarunas Girdzijauskas
Sarunas Girdzijauskas
BCBarbara Carminati
Barbara Carminati
EFElena Ferrari
Elena Ferrari
Federated learning (FL), a decentralized machine learning technique, enhances privacy by enabling multiple devices to collaboratively train a model without transferring data to a central server. FL is used in Human Activity Recognition (HAR) problems, where multiple users generating private wearable data share models with a server to learn a useful global model. However, FL may compromise data privacy through model information sharing during training. Moreover, it adheres to a one-size-fits-all approach toward data privacy, potentially neglecting varied user preferences in collaborative scenarios such as HAR. In response to these challenges, this paper presents a collaborative learning framework integrating differential privacy (DP) and FL, thus providing a tailored approach to privacy protection. While some existing works integrate DP and FL, they do not allow clients to have different privacy preferences. In this work, we introduce a framework that allows different clients to have different privacy preferences and hence more flexibility in terms of privacy. In our framework, DP adds individualized noise to individual clients’ gradient updates for privacy. However, such noised updates can also be interpreted as an attack on the FL system. Defending against these attacks might result in excluding honest private clients altogether from training, posing a fairness concern. On the other hand, not having any defensive measures might allow malicious users to attack the system, posing a security issue. Thus, to address security and fairness, our framework incorporates a client selection strategy that protects the global model from malicious clients and provides fair model access to honest private clients. We have demonstrated the effectiveness of our system on a HAR dataset and provided insights into our framework’s privacy, utility, and fairness.

12 April 2026
Verified
Conference Paper
Open access
ALAhmed Lekssays
Ahmed Lekssays
Large Language Models (LLMs) face critical challenges when analyzing security vulnerabilities in real-world codebases: token limits prevent loading entire repositories, code embeddings fail to capture inter-procedural data flows, and LLMs struggle to generate complex static analysis queries. These limitations force existing approaches to operate on isolated code snippets, missing vulnerabilities that span multiple functions and files. We introduce codebadger, an open-source Model Context Protocol (MCP) server that integrates Joern’s Code Property Graph (CPG) engine with LLMs. Rather than requiring LLMs to generate complex CPG queries, codebadger provides high-level tools for program slicing, taint tracking, data flow analysis, and semantic code navigation, enabling targeted exploration of large codebases without exhaustive file reading. We demonstrate its effectiveness through three use cases: (1) navigating an 8,000-method codebase to audit memory safety patterns, (2) discovering and exploiting a previously unreported buffer overflow in libtiff, and (3) generating a correct patch for an integer overflow vulnerability (CVE-2025-6021) in libxml2 on the first attempt. codebadger enables LLMs to reason about code semantically across entire repositories, supporting vulnerability discovery, patching, and program comprehension at scale.