Dissertação de Mestrado
Web security pentesting laboratory
— 2025
Informações chave
Autores:
Orientadores:
Publicado em
13 de novembro de 2025
Resumo
Web security is a critical area of cybersecurity, with escalating cybercrime rates and a pressing need for accessible knowledge to help users address emerging threats. We developed a laboratory for web security experimentation, designed for both the GNS3 network emulator and container runtime environments, providing a safe setting to identify, exploit, and mitigate vulnerabilities without endangering real systems. We cover a broad spectrum of web security attacks, including recent LLM-related threats that fall within this domain. While LLM attacks span a wide range, enough to merit a dedicated OWASP track, we focus specifically on those relevant to web security. Accordingly, the work addresses injection, access and resource exploitation, and request forgery attacks, as well as LLM-specific threats such as prompt injection, system prompt leakage, and improper output handling. The lab leverages Hackergram, a social network application originally designed to demonstrate web security concepts. We significantly extended it to support new vulnerabilities and countermeasures. To address LLM-related threats, we integrated LLMs into Hackergram using the Ollama framework. The lab also incorporates ZAP and Burp for automated scanning and request interception, respectively. In addition, we developed an automated installation and configuration solution, along with step‑by‑step lab guides for exploring attacks and countermeasures, all made available through a dedicated website. This work is supported by the Instituto de Telecomunicações.
Detalhes da publicação
Autores da comunidade :
João Pedro Arruda Pimentel
ist198951
Orientadores desta instituição:
Rui Jorge Morais Tomaz Valadas
ist126537
Domínio Científico (FOS)
electrical-engineering-electronic-engineering-information-engineering - Engenharia Eletrotécnica, Eletrónica e Informática
Idioma da publicação (código ISO)
eng - Inglês
Acesso à publicação:
Acesso Embargado
Data do fim do embargo:
19 de setembro de 2026
Nome da instituição
Instituto Superior Técnico