Experience: ENTRAP - An IaC Enterprise Cyber Range for Reproducible Security Assessment and Dataset Generation
Abstract
An enterprise breach causes most of its damage after the perimeter is crossed. Once an attacker gains a foothold, they can move laterally to other hosts, take over the trusted services of the network, and encrypt the backups needed for recovery. Defenders, on the other hand, need to study this post-compromise stage, but they cannot rehearse it on a production enterprise network. Building such an enterprise network manually is time-consuming, and resetting it to its clean state between runs is still harder. As a result, security experiments are difficult to perform, compare and reproduce. We develop Enterprise Network Testbed for Reproducible Attack and Defense Practices (ENTRAP), an Infrastructure-as-Code (IaC) cyber range that defines a fully segmented enterprise as version-controlled automation. ENTRAP uses Ansible, KVM/Libvirt, and Cloud-init to provision the environment and reset it to a clean state whenever necessary. The enterprise network includes several entities such as a gateway, an internal Demilitarized Zone (DMZ), DNS, DHCP, a backup server, a web server, and clients. On this network, a user can learn to assemble the entities, launch attacks, and write rules or defensive measures that harden its security. We launch three attacks: a Ransomware-as-a-Service (RaaS)-backed ransomware campaign, a Layer-2 DHCP starvation and rogue DHCP attack, and perimeter web exploitation. Each attack runs from a clean state, and ENTRAP acts as a reproducible generator of labeled attack datasets. Using the collected dataset, we train a Random Forest classifier for ransomware detection and present its evaluation results. We publicly release the codebase, collected logs, and datasets to facilitate further research.
Create a lesson
Related papers
Information Security Risk Preparedness in Electronic Data Interchange: A Comparative Assessment of General IT and Healthcare Environments
Shared title terminologycs.CRNaresh Kshetri, Bishwo Prakash Pokharel, Arati Bastakoti et al.
ScenarioForge: Resource-Grounded Generation and Execution Validation of Cyber Exercises
Shared title terminologycs.CRJaime C. Acosta, Anantaa Kotal, Aritran Piplai
SecDVA: A Maliciously Secure Multi-Party Framework for Data Value Assessment in Modern Machine Learning Data Markets
Shared title terminologycs.CRLixu Wang, Xinpeng Yang, Meng Hao et al.
Harvesting Apple's Orchard: A Security Analysis of On-Device CoreML Models Across the Apple Ecosystem
Shared title terminologycs.CRJustice Owusu Agyemang, Winifred Harriet Asante, Kwame Opuni-Boachie Obour Agyekum et al.
Evaluating LLM Security Review Agents with Operationally Sourced Ground Truth
Shared title terminologycs.CRMudita Khurana, Karim Liman-Tinguiri
Trustworthy Edge AI: Security, Privacy, and Resilience for Distributed Intelligence
Shared title terminologycs.CRJaydip Sen, Subhasis Dasgupta