Federated Attack Campaign Detection via Contrastive Encoding of Threat Indicators in Gradient Updates
Abstract
Detecting orchestrated cyberattack campaigns that span multiple organizations traditionally requires sharing sensitive telemetry and threat intelligence across institutional boundaries and country borders, a barrier that Federated Learning removes by training shared threat detectors directly on local data. We propose FedIoC, a modular framework in which clients fold locally available structured threat indicators into their gradient updates; we instantiate the client-side encoder with a supervised contrastive loss over IoC-matched flows. Within each training batch, flows that match any known indicator pattern form the positive set; the contrastive objective pulls their learned embeddings together and pushes non-IoC embeddings away, so that campaign-relevant structure is, by design, expressed in the gradient direction. Clients sharing indicators for the same attack campaign then produce aligned gradient components, which the server clusters by the cosine similarity of their updates to recover global campaign patterns without any direct IoC transmission. We evaluate FedIoC on two public threat-detection benchmarks distributed across FL clients that each observe only a fragment of every active campaign and hold disjoint indicator sets derived from their local telemetry. In this regime the FL server recovers cross-organizational campaign cohorts directly from gradient geometry. We contribute FedIoC as a modular framework for this setting, and use it to pinpoint the non-IID gradient structure as the main driver of recovery and to define the open problem of designing encoders that improve on it.
Create a lesson
Metadata
- Categories
- cs.LG, cs.CR
- Comments
- Accepted to ECML-PKDD 2026, 4th Workshop on Advancements in Federated Learning - Towards Trustworthy Federated Learning
Related papers
Fine-grained Distributed Backdoor Attacks in Federated Learning
Shared title terminologycs.LGJian Wang, Hong Shen, Wei Ke et al.
MOLE: Detecting Insider Threats in AI Agents
Shared title terminologycs.LGAashiq Muhamed, Virginia Smith
SAFEGuard: Detect Optimization-Based Jailbreak Attacks Through Harmful Semantic Analysis and Fluency Measurement
Shared title terminologycs.LGQuoc Viet Vo, Trung Le, Damith C. Ranasinghe et al.
Backdoors Leave Structural Traces: FedMAST for Backdoor Detection and Containment in Federated Learning
Shared title terminologycs.LGSrinivasan Subramanian, Md. Abdullah Al Hafiz Khan, Kazi Aminul Islam
Critical Sequence Length: A Note on How Document Structure Bounds Gradient-Noise Reduction
Shared title terminologycs.LGSunny Guha
CONMAN: Steering LLM Agent Actions via Contrastive World Model Manipulation
Shared title terminologycs.LGHaoyu He, Fengqing Jiang, Radha Poovendran et al.