The design and implementation of network attack and defense platform based on cloud desktop

Zining Yan, Yunhan Wang, Shijiao Shao, Boquan LiJournal of Physics Conference Series 2017

Abstract

This paper presents the design and implementation of a flexible, web-based cybersecurity training platform. By leveraging XenServer virtualization and the Guacamole gateway, the system translates remote desktop protocols into HTML5, allowing users to perform penetration testing exercises through a standard web browser. This approach addresses common hurdles in cyber range construction, such as high costs and complex client-side requirements.

Introduction

Traditional network attack and defense training platforms, or "cyber ranges," often face significant challenges. High construction costs, difficult maintenance, and the requirement for specialized client software or high-performance hardware limit their accessibility. Instructors frequently struggle to provide consistent, isolated environments for every student. To solve these issues, this paper proposes a "clientless" platform based on a Browser/Server (B/S) architecture, utilizing cloud desktop technology to provide a resource-efficient and easily manageable learning environment.

System Architecture and Methodology

The platform's architecture is built upon several key technologies integrated to provide a seamless user experience.

Virtualization Layer

The underlying engine is XenServer, which partitions a single physical server into multiple isolated virtual machines (VMs). This allows for the rapid cloning of "gold standard" environments, ensuring that every student begins their exercise with an identical, bit-for-bit copy of the target environment.

The Guacamole Gateway

The core innovation of the platform is the use of the Guacamole gateway. Guacamole acts as a bridge between standard remote desktop protocols (like VNC and RDP) and the web browser. It translates these protocols into a stream of HTML5 and JavaScript, enabling full desktop access without any local plugins or software.

Architecture of the Guacamole gateway translating remote protocols to HTML5

Vulnerability Database

The platform includes a custom-built vulnerability database developed with PHP and MySQL. It features six categories of web vulnerabilities: Brute Force, Command Execution, Cross-Site Request Forgery (CSRF), SQL Injection, File Upload, and Cross-Site Scripting (XSS). These exercises are designed with tiered difficulty levels (e.g., "low" vs. "advanced") to teach students how to identify and bypass various security filters, such as mysql_real_escape_string().

Results and Functional Validation

The platform was tested for cross-platform compatibility and stability. It successfully operated on various devices, including PCs (Firefox), iPads (Safari), and smartphones (Safari). Despite the overhead of protocol translation, the remote desktop remained clear and responsive. Functional validation was performed through end-to-end exercises, such as a "Storage-type XSS" attack, which successfully triggered malicious scripts within the virtualized environment.

Limitations and Future Work

While the user-facing side of the platform is fully web-based, the administrative management still relies on the XenCenter desktop application, which must be installed on a Windows-based computer.

XenServer virtualization layer and the XenCenter management interface

Future development will focus on two areas: transitioning the administrative interface to a B/S model to allow full lifecycle management via the browser, and expanding the vulnerability database to include more modern and complex security threats.

Summary updated

BibTeX
@article{yan2017design,
  author = {Zining Yan and Yunhan Wang and Shijiao Shao and Boquan Li},
  title = {{The design and implementation of network attack and defense platform based on cloud desktop}},
  journal = {Journal of Physics Conference Series},
  year = {2017},
  doi = {10.1088/1742-6596/887/1/012038},
}
Figure