CAPoW: Context-Aware AI-Assisted Proof of Work based DDoS Defense
Trisha Chakraborty, Shaswata Mitra, Sudip Mittal
TL;DR
CAPoW addresses DDoS defense by fusing context-aware AI with adaptive proof-of-work puzzles. It learns normal request patterns from server logs across context attributes (e.g., IP, time, flow) using an ensemble of base models (DAbR, TAM, Flow) to compute a context score $\Phi$, which a policy component maps to PoW difficulty. The resulting puzzles impose resource and latency costs on attackers, throttling attack throughput while preserving legitimate access. The authors implement a demonstrator and validate it on CIC-IDS2017, showing that contextual deviations can be translated into increased puzzle difficulty to deter adversaries, and they discuss policy design and future work including PoS or human-in-the-loop enhancements.
Abstract
Critical servers can be secured against distributed denial of service (DDoS) attacks using proof of work (PoW) systems assisted by an Artificial Intelligence (AI) that learns contextual network request patterns. In this work, we introduce CAPoW, a context-aware anti-DDoS framework that injects latency adaptively during communication by utilizing context-aware PoW puzzles. In CAPoW, a security professional can define relevant request context attributes which can be learned by the AI system. These contextual attributes can include information about the user request, such as IP address, time, flow-level information, etc., and are utilized to generate a contextual score for incoming requests that influence the hardness of a PoW puzzle. These puzzles need to be solved by a user before the server begins to process their request. Solving puzzles slow down the volume of incoming adversarial requests. Additionally, the framework compels the adversary to incur a cost per request, hence making it expensive for an adversary to prolong a DDoS attack. We include the theoretical foundations of the CAPoW framework along with a description of its implementation and evaluation.
