Security for SDN environments with P4

Bibliographic Details
Main Author: Pires, Rui Manuel Marques
Publication Date: 2023
Format: Master thesis
Language: eng
Source: Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
Download full: https://hdl.handle.net/10316/110825
Summary: Dissertação de Mestrado em Segurança Informática apresentada à Faculdade de Ciências e Tecnologia
id RCAP_e51b0d33f4be1bbcaabc75d564593926
oai_identifier_str oai:estudogeral.uc.pt:10316/110825
network_acronym_str RCAP
network_name_str Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
repository_id_str https://opendoar.ac.uk/repository/7160
spelling Security for SDN environments with P4Soluções de Segurança para ambientes SDN com P4SDNsegurançaP4INTplano de dadosSDNsecurityP4INTdata planeDissertação de Mestrado em Segurança Informática apresentada à Faculdade de Ciências e TecnologiaAs redes definidas por sofware (SDN) separam o data plane do control plane, onde o controlo é exercido pelo controlador SDN. Assim, estes controladores têm a visão completa da rede.A linguagem de programação P4 traz uma nova série de novas possibilidades sobre a forma como os pacotes são processados no data plane que já não são definidas pelo fabricante, mas sim pelo programa P4. Isto permite que as aplicações funcionem no data plane e como tal podem funcionar à velocidade da linha, com grande vantagem para as funcionalidades de segurança. Funções como controlo de acesso, privacidade, encriptação ou defesa integrada, podem ser asseguradas pelo data plane programável, descongestionando assim o control plane. Uma consequência de o data plane tomar a cargo as funcionalidades de segurança é que se torna mais difícil ao controlador verificar se o comportamento do dataplane corresponde às políticas de segurança.Este trabalho investiga como uma função em P4 a correr no data plane, o P4-INT,pode ser usado como uma controlo de segurança numa rede P4, como pode ser atacado e como pode ser protegido. Nesta tese foi desenvolvida uma rede em Mininet e em P4Pi com INT-MD e switches BMv2. Nesta rede foi também configurado um colector de INT com InfluxDB e um painel Grafana. Esta solução foi testada como um possível controlo de segurança, na qual foram executados alguns cenários. Dado o valor de uma solução SDN com INT para a defesa, foi também testado como poderia ser atacado e defendido. Devido às vulnerabilidades encontradas neste rede INT, são propostas algumas melhorias.Software-Defined Networks (SDN) separates the data plane from the control plane, where the control is handled by the SDN controller. So, the controllers have full visibility of the network. P4 programming language brings a new set of possibilities, as the way the packets are processed is not defined by the vendor but rather by the P4 program. This allows moving the applications to the data plane which can now work at line speed, with great advantage for network security functions. Functions such as access control, privacy, encryption, and integrated defense can be mostly assured by the programmable data plane, thus offloading the controller. P4-INT is a P4-powered data-planefunction that can monitor the network and provide telemetry per packet. A consequence of having the data plane taking care of the security features isthe difficulty to confirm if the data plane behavior corresponds to the securitypolicies.This work investigates how P4-INT, can act as security control, how it can be attacked and how it can be protected. Within this thesis it was developed a Mininet and a P4Pi network with INT-MD with BMv2 switches. Within this network, it was configured an INT collector with InfluxDB and a Grafana dashboard. This solution was tested as a possible security control in which some scenarios were executed. Given the value of INT for the defense, it was also tested how it could be attacked and defended. Due to the vulnerabilities found in this INT network, some future improvements are also proposed.2023-07-21info:eu-repo/semantics/publishedVersioninfo:eu-repo/semantics/masterThesishttps://hdl.handle.net/10316/110825https://hdl.handle.net/10316/110825TID:203398262engPires, Rui Manuel Marquesinfo:eu-repo/semantics/openAccessreponame:Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)instname:FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologiainstacron:RCAAP2023-11-23T23:12:15Zoai:estudogeral.uc.pt:10316/110825Portal AgregadorONGhttps://www.rcaap.pt/oai/openaireinfo@rcaap.ptopendoar:https://opendoar.ac.uk/repository/71602025-05-29T06:02:47.167011Repositórios Científicos de Acesso Aberto de Portugal (RCAAP) - FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologiafalse
dc.title.none.fl_str_mv Security for SDN environments with P4
Soluções de Segurança para ambientes SDN com P4
title Security for SDN environments with P4
spellingShingle Security for SDN environments with P4
Pires, Rui Manuel Marques
SDN
segurança
P4
INT
plano de dados
SDN
security
P4
INT
data plane
title_short Security for SDN environments with P4
title_full Security for SDN environments with P4
title_fullStr Security for SDN environments with P4
title_full_unstemmed Security for SDN environments with P4
title_sort Security for SDN environments with P4
author Pires, Rui Manuel Marques
author_facet Pires, Rui Manuel Marques
author_role author
dc.contributor.author.fl_str_mv Pires, Rui Manuel Marques
dc.subject.por.fl_str_mv SDN
segurança
P4
INT
plano de dados
SDN
security
P4
INT
data plane
topic SDN
segurança
P4
INT
plano de dados
SDN
security
P4
INT
data plane
description Dissertação de Mestrado em Segurança Informática apresentada à Faculdade de Ciências e Tecnologia
publishDate 2023
dc.date.none.fl_str_mv 2023-07-21
dc.type.status.fl_str_mv info:eu-repo/semantics/publishedVersion
dc.type.driver.fl_str_mv info:eu-repo/semantics/masterThesis
format masterThesis
status_str publishedVersion
dc.identifier.uri.fl_str_mv https://hdl.handle.net/10316/110825
https://hdl.handle.net/10316/110825
TID:203398262
url https://hdl.handle.net/10316/110825
identifier_str_mv TID:203398262
dc.language.iso.fl_str_mv eng
language eng
dc.rights.driver.fl_str_mv info:eu-repo/semantics/openAccess
eu_rights_str_mv openAccess
dc.source.none.fl_str_mv reponame:Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
instname:FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia
instacron:RCAAP
instname_str FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia
instacron_str RCAAP
institution RCAAP
reponame_str Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
collection Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
repository.name.fl_str_mv Repositórios Científicos de Acesso Aberto de Portugal (RCAAP) - FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia
repository.mail.fl_str_mv info@rcaap.pt
_version_ 1833602558839488512