Saltar para o conteúdo principal

Como revogar o acesso WiFi quando um colaborador sai

Este guia detalha como revogar o acesso WiFi quando um colaborador sai, substituindo palavras-passe partilhadas inseguras por certificados 802.1X por utilizador ou iPSK. Abrange o desaprovisionamento automatizado via SCIM para cumprir os requisitos de auditoria ISO 27001 e SOC 2.

📖 5 min de leitura📝 1,063 palavras🔧 2 exemplos práticos3 perguntas de prática📚 8 definições principais

Ouça este guia

Ver transcrição do podcast
Welcome to the Purple Technical Briefing. I'm your host, and today we're tackling one of the most common gaps in enterprise offboarding: what actually happens to WiFi access when an employee leaves? It sounds straightforward. Someone hands in their badge, HR closes their account, and you move on. But if your network still runs on a shared WPA2 password, that person walked out the door still knowing the password. And unless you rotate it for everyone, they can reconnect from the car park. That's the problem we're solving today. We'll cover the three credible models for per-user WiFi revocation, walk through a same-day revocation checklist, and explain exactly what an ISO 27001 or SOC 2 auditor expects to see in your logs. Let's get into it. Section one: why shared passwords are the wrong tool for the job. WPA2-Personal, the standard home-router setup, uses a single pre-shared key. Everyone on the network knows the same password. When one person leaves, that password is still valid on their phone, their laptop, any device they ever connected. The only way to revoke their access is to change the password for the entire network and redistribute it to every remaining user and device. In a hotel with 200 staff, that means updating every point-of-sale terminal, every back-office PC, every manager's phone. In a retail chain with 50 stores, it means a coordinated rollout across every site. The operational cost is high, the disruption is real, and the window between the leaver's last day and the completed rotation is a genuine security gap. PCI DSS, the payment card industry standard, requires you to change shared credentials whenever personnel with knowledge of them leave. So if your tills are on the same network as your staff WiFi, a leaver triggers a compliance obligation, not just a best-practice recommendation. The root cause is simple: a shared password has no identity attached to it. The network cannot distinguish between a current employee and a former one. To fix that, you need per-user credentials. Section two: the three models that actually work. Model one is 802.1X with EAP-TLS certificate-based authentication. This is the gold standard for enterprise WiFi security. In this model, each user or device holds a unique digital certificate issued by your Certificate Authority, or CA. When they connect to the WiFi, the RADIUS server validates that certificate cryptographically. The certificate is tied to an identity, not a password. To revoke access, you revoke the certificate at the CA level. The RADIUS server checks revocation status in real time using OCSP, the Online Certificate Status Protocol. When you mark a certificate as revoked, the next time that device tries to authenticate, the RADIUS server queries the OCSP responder, gets back a revoked response, and sends an Access-Reject to the access point. The device is off the network within seconds of the next authentication attempt. For active sessions, you use RADIUS Change of Authorisation, or CoA, to terminate the existing session immediately. Combined, OCSP and CoA mean you can revoke WiFi access for a leaver in under a minute, with a full audit trail in your RADIUS logs. The challenge with EAP-TLS is the PKI overhead. You need a Certificate Authority, a mechanism to issue certificates to devices, typically via an MDM like Microsoft Intune, and a process to revoke them. For organisations with a mature MDM and identity infrastructure, this is the right answer. For smaller teams or environments with IoT devices that cannot support certificate authentication, you need a different approach. Model two is iPSK, Identity Pre-Shared Key. Cisco calls it iPSK, Ruckus calls it DPSK, Aruba calls it MPSK, but the concept is the same: every user or device gets a unique password, even though they all connect to the same SSID. The RADIUS server maps each unique key to a specific identity and, optionally, to a specific VLAN. When you delete that key from the RADIUS database, the device can no longer authenticate. The blast radius of a leaver is exactly one person. Everyone else's keys remain valid. iPSK is particularly well-suited to environments with mixed device types. IoT devices, point-of-sale terminals, and legacy hardware that cannot support 802.1X certificates can all use iPSK. It is also simpler to operate than a full PKI deployment, making it the right choice for mid-market organisations that need per-user revocation without the infrastructure overhead. The revocation time for iPSK is typically a few minutes, not seconds. The key deletion propagates to the RADIUS server, but active sessions may persist until the device re-authenticates or until you send a CoA packet to force disconnection. Model three is SCIM-driven deprovisioning. SCIM stands for System for Cross-domain Identity Management. It is an open standard, defined in RFC 7643 and RFC 7644, that allows your identity provider to push user lifecycle events to downstream systems in real time. Here is how it works in practice. Your identity provider, whether that is Microsoft Entra ID, Okta, or Google Workspace, is the authoritative source of truth for user accounts. When HR disables a leaver's account in the identity provider, SCIM sends a request to every connected system, including your WiFi management platform. Purple connects to your identity provider via SCIM. The moment you disable a user in Entra ID, Okta, or Google Workspace, Purple receives the SCIM event and revokes their WiFi credentials at the next authentication. The event is logged with a timestamp, the user's identity, and the action taken. That log entry is exactly what an ISO 27001 auditor needs to see. SCIM does not replace 802.1X or iPSK. It sits above them. SCIM handles the identity lifecycle; the authentication protocol handles the network enforcement. The combination of SCIM plus 802.1X gives you automatic, real-time revocation with a full audit trail and zero manual steps. Section three: the same-day revocation checklist. When a leaver's last day arrives, here is the sequence your IT team should follow. Step one: disable the account in your identity provider. This is the trigger for everything else. In Microsoft Entra ID, set the account to disabled. In Okta, deactivate the user. In Google Workspace, suspend the account. Step two: if you are running SCIM, verify the deprovisioning event fired. Check your SCIM logs or your WiFi management platform for the corresponding event. If SCIM is not in place, manually revoke the certificate in your CA or delete the iPSK key from your RADIUS database. Step three: send a RADIUS CoA to terminate any active WiFi session. Most enterprise RADIUS servers, and platforms like Purple, can do this automatically on a deprovisioning event. If you are doing it manually, use your RADIUS server's CoA interface to disconnect the user's device by MAC address or session ID. Step four: confirm no active sessions remain. Check your WiFi controller dashboard. On Cisco Meraki, HPE Aruba, Ruckus, Juniper Mist, Ubiquiti UniFi, Cambium, Extreme, or Fortinet, you should be able to search by username or device and confirm zero active associations. Step five: archive the audit log entry. Export or flag the RADIUS authentication log, the SCIM event log, and the CoA log for the relevant user and date. Store these in your ITSM or security information and event management platform. ISO 27001 Annex A control A.9.2.6 requires you to remove or adjust access rights of all employees and contractors upon termination. Your log is the evidence. Step six: if you are running WPA2 shared PSK and none of the above applies, rotate the password. Coordinate the rollout across all sites and devices before the leaver's last day if possible, or immediately after. Section four: what the auditor expects. ISO 27001 and SOC 2 both require you to demonstrate that access is removed promptly when employment ends. For WiFi specifically, auditors look for four things. First, a documented offboarding procedure that explicitly includes network access. Second, evidence that the procedure was followed for a sample of leavers, typically ten to twenty-five individuals selected from the past twelve months. Third, a log showing the timestamp of account disable and the timestamp of WiFi access revocation, with the gap between them clearly visible. Fourth, confirmation that no former employee accounts show active WiFi sessions. If you are running WPA2 shared PSK, you cannot produce evidence for items three and four. There is no per-user log. The best you can do is show the password rotation date and argue that it was completed before or on the leaver's last day. Auditors increasingly push back on this. If you are running 802.1X with SCIM, the log is automatic. Purple records every SCIM deprovisioning event with a UTC timestamp, the identity provider source, the user's unique identifier, and the resulting action. That is a clean, auditable record. Section five: implementation pitfalls and how to avoid them. The most common mistake is assuming that disabling an account in the identity provider is sufficient. It is not, unless your WiFi platform is connected to that identity provider via SCIM or a similar real-time integration. Without that connection, the WiFi system has no way of knowing the account was disabled. The second pitfall is certificate caching. Even with OCSP, RADIUS servers cache good responses for a configurable period, typically 15 to 60 minutes. If you revoke a certificate and the RADIUS server has a cached good response, the device may continue to authenticate until the cache expires. Set your OCSP cache TTL to 15 minutes or less for high-security environments. The third pitfall is forgetting active sessions. Revoking credentials prevents new authentications but does not terminate an existing WiFi session. Always send a RADIUS CoA after revoking credentials to disconnect the device immediately. The fourth pitfall is IoT and shared devices. A device registered to a leaver's identity may be a shared workstation or a piece of operational hardware. Before revoking, confirm the device is personal, not shared. If it is shared, re-register it under a service account before revoking the leaver's credentials. Section six: rapid-fire questions. Question: how fast can certificate-based WiFi access be revoked? With OCSP and RADIUS CoA, under 60 seconds from the moment you revoke the certificate at the CA. The OCSP check happens at the next authentication attempt. The CoA terminates the active session immediately. Question: does SCIM work with all WiFi hardware? SCIM operates at the identity management layer, not the hardware layer. Purple is hardware-agnostic and works with Cisco Meraki, HPE Aruba, Ruckus, Juniper Mist, Ubiquiti UniFi, Cambium, Extreme, and Fortinet. The SCIM integration is with Purple, not with the access points directly. Question: what if we have no MDM and cannot deploy certificates? iPSK is your answer. It gives you per-user revocation without requiring certificate infrastructure. Purple can manage iPSK keys and connect to your identity provider to automate the lifecycle. Summary and next steps. The core message is this: if you cannot revoke WiFi access for one person without affecting everyone else, you have a shared-credential problem. The fix is per-user credentials, either certificates via 802.1X EAP-TLS or unique keys via iPSK, combined with SCIM-driven deprovisioning to automate the revocation the moment HR acts. Purple connects to Microsoft Entra ID, Okta, and Google Workspace via SCIM, runs across 80,000 live venues, and logs every deprovisioning event for audit. If you are preparing for ISO 27001 or SOC 2, or simply want to close the leaver gap before it becomes an incident, that is where to start. For the full technical breakdown of certificate revocation and OCSP, see our guide on OCSP and certificate revocation for WiFi authentication. For the broader joiner-mover-leaver automation picture, see our enterprise WiFi security guide. Thank you for listening to the Purple Technical Briefing.

header_image.png

Resumo Executivo

Quando um colaborador sai de uma organização, revogar o seu acesso físico é simples. Revogar o seu acesso WiFi, muitas vezes, não o é. Se a sua rede depende de uma palavra-passe WPA2 partilhada, um colaborador cessante sai pela porta ainda a saber as credenciais. A única forma de remover o seu acesso é alterar a palavra-passe de toda a rede, interrompendo as operações e forçando uma atualização manual em todos os dispositivos. Esta é uma vulnerabilidade crítica e uma falha de conformidade sob normas como PCI DSS e ISO 27001.

Este guia explica como abandonar as palavras-passe partilhadas e implementar a revogação de WiFi por utilizador. Analisamos os três modelos credíveis: 802.1X EAP-TLS com revogação de certificados, Identity Pre-Shared Key (iPSK) com eliminação de chave por identidade e desaprovisionamento baseado em SCIM. Ao associar o acesso à rede diretamente ao seu fornecedor de identidade — como o Microsoft Entra ID, Okta ou Google Workspace — pode automatizar a revogação no momento em que uma conta é desativada, gerando o registo de auditoria exato que um auditor espera.

Ouça o nosso podcast de briefing técnico sobre este tema:

Análise Técnica Detalhada

O Problema das Palavras-passe Partilhadas

Uma palavra-passe WPA2-Personal partilhada carece de contexto de identidade. A rede não consegue distinguir entre um colaborador atual e um antigo. Consequentemente, a revogação do acesso exige uma rotação de palavras-passe a nível de toda a empresa. Isto cria uma janela de vulnerabilidade entre a saída do colaborador e a conclusão da rotação.

Modelo 1: Revogação de Certificados 802.1X EAP-TLS

O padrão empresarial para segurança WiFi é o 802.1X utilizando EAP-TLS. Neste modelo, cada dispositivo recebe um certificado digital exclusivo de uma Autoridade de Certificação (CA). Quando um dispositivo se liga, o servidor RADIUS valida o certificado criptograficamente.

Para revogar o acesso, revoga o certificado na CA. O servidor RADIUS verifica o estado de revogação em tempo real utilizando o Online Certificate Status Protocol (OCSP). Se o respondedor OCSP devolver um estado 'Revoked' (Revogado), o servidor RADIUS envia uma mensagem de Access-Reject. Para sessões ativas, o servidor emite uma Change of Authorisation (CoA) para terminar a ligação imediatamente. Este processo isola a revogação a um único utilizador com zero impacto no resto da rede.

Modelo 2: Eliminação de Chave por Identidade iPSK

Para ambientes com tipos de dispositivos mistos, incluindo hardware sem ecrã (headless) que não suporta certificados 802.1X, a Identity Pre-Shared Key (iPSK) é a solução ideal. A iPSK atribui uma palavra-passe exclusiva a cada utilizador ou dispositivo individual num único SSID.

O servidor RADIUS mapeia cada chave exclusiva para uma identidade específica. Quando um colaborador sai, a equipa de TI simplesmente elimina a sua chave específica da base de dados RADIUS. O raio de impacto é totalmente contido a esse único utilizador. Esta abordagem proporciona a segurança individual de uma rede empresarial com a simplicidade de uma palavra-passe padrão.

revocation_models_comparison.png

Modelo 3: Desaprovisionamento Automático SCIM

O System for Cross-domain Identity Management (SCIM) é um padrão aberto que automatiza a partilha de informações de identidade de utilizadores. O SCIM atua como o elo de ligação entre o seu fornecedor de identidade e os sistemas a jusante, como a sua plataforma de gestão de WiFi.

Quando os Recursos Humanos desativam um colaborador cessante no Microsoft Entra ID, Okta ou Google Workspace, o SCIM envia um evento de desaprovisionamento para a Purple. A Purple revoga instantaneamente as credenciais WiFi do utilizador — seja certificado ou iPSK — na autenticação seguinte. Isto cria um sistema de ciclo fechado onde as alterações no ciclo de vida da identidade aplicam automaticamente as políticas de acesso à rede.

Guia de Implementação

A implementação da revogação por utilizador requer coordenação entre o seu fornecedor de identidade, o servidor RADIUS e o hardware WiFi. Purple integra-se com hardware da Cisco Meraki, HPE Aruba, Ruckus, Juniper Mist, Ubiquiti UniFi, Cambium, Extreme e Fortinet.

Passo 1: Estabelecer a Identidade como a Fonte de Verdade

Garanta que o seu fornecedor de identidade é a fonte única de verdade para o estado do utilizador. Todos os processos de integração (onboarding) e cessação (offboarding) devem começar e terminar no Microsoft Entra ID, Okta ou Google Workspace.

Passo 2: Escolher o Protocolo de Autenticação Adequado

Selecione o 802.1X EAP-TLS se tiver uma implementação madura de Gestão de Dispositivos Móveis (MDM) capaz de enviar certificados para todos os dispositivos corporativos. Selecione a iPSK se precisar de suportar uma vasta gama de dispositivos não geridos, terminais de ponto de venda ou hardware IoT.

Passo 3: Configurar a Integração SCIM

Configure uma ligação SCIM entre o seu fornecedor de identidade e Purple. Mapeie o atributo de estado do utilizador para que um estado 'desativado' no diretório acione um evento de revogação na Purple.

Passo 4: Ajustar os Temporizadores RADIUS

Se utilizar EAP-TLS, configure adequadamente o Time-To-Live (TTL) da cache OCSP do seu servidor RADIUS. Um TTL mais curto (por exemplo, 15 minutos) aumenta a segurança ao reduzir a janela em que um certificado revogado permanece válido, mas aumenta a carga na CA.

offboarding_checklist.png

Boas Práticas

De acordo com os padrões do setor, as organizações devem controlar rigorosamente o acesso à rede. Implemente estas práticas para manter uma postura segura:

  1. Automatizar com SCIM: A revogação manual é propensa a erros humanos. Automatize o processo ligando a sua plataforma WiFi diretamente ao seu fornecedor de identidade.
  2. Impor RADIUS CoA: A revogação de credenciais impede novas ligaçõns mas não desliga as sessões ativas. Certifique-se de que o seu sistema envia um comando de Alteração de Autorização para desligar o dispositivo imediatamente.
  3. Separar o Tráfego de Convidados e de Colaboradores: Nunca coloque dispositivos de colaboradores na rede Guest WiFi . Utilize VLANs e SSIDs separados para manter o isolamento.
  4. Registos de Auditoria: Mantenha registos imutáveis de todos os eventos de desaprovisionamento. Os avaliadores da ISO 27001 exigem provas de que o acesso foi removido imediatamente após a cessação de funções.

Resolução de Problemas e Mitigação de Riscos

O modo de falha mais comum na revogação de WiFi é um processo desarticulado. Se o departamento de TI desativar a conta no diretório mas não atualizar a base de dados RADIUS autónoma, o colaborador que sai mantém o acesso. A integração SCIM mitiga totalmente este risco.

Outro risco é a colocação de certificados em cache. Se um servidor RADIUS guardar em cache uma resposta OCSP 'Boa' durante 24 horas, um dispositivo revogado pode continuar a autenticar-se até que a cache expire. Ajuste as definições de cache OCSP para equilibrar o desempenho com os requisitos de segurança.

Para dispositivos partilhados, como um tablet de retalho utilizado por vários trabalhadores por turnos, não associe a autenticação do dispositivo à identidade de um colaborador individual. Utilize contas de serviço ou certificados específicos do dispositivo para evitar que a saída de um indivíduo coloque offline um equipamento crítico.

ROI e Impacto no Negócio

A transição para a revogação de WiFi por utilizador proporciona um valor comercial mensurável. Elimina as horas de suporte de TI gastas a coordenar rotações de palavras-passe em toda a empresa. Reduz o risco de uma violação de dados com origem num ex-colaborador, protegendo a organização de coimas regulamentares e danos na reputação.

Além disso, fornece o registo de auditoria claro necessário para superar com facilidade as avaliações ISO 27001 e SOC 2. Ao automatizar o processo de admissão, mobilidade e saída (joiner-mover-leaver), as equipas de TI podem concentrar-se em iniciativas estratégicas em vez da gestão manual de credenciais. Para mais detalhes sobre como proteger a sua rede, leia o nosso Enterprise WiFi Security: Um Guia Completo para 2026 .

Definições Principais

802.1X

An IEEE standard for port-based network access control that provides an authentication mechanism to devices wishing to attach to a LAN or WLAN.

The foundation of enterprise WiFi security, requiring devices to authenticate against a RADIUS server before gaining network access.

EAP-TLS

Extensible Authentication Protocol - Transport Layer Security. A highly secure authentication method that uses digital certificates on both the client and server.

Considered the gold standard for WiFi authentication because it eliminates passwords entirely, relying instead on cryptographic certificates.

iPSK

Identity Pre-Shared Key. A security method that assigns a unique WiFi password to every individual user or device on a single network name.

The ideal solution for environments that need per-user revocation but have devices (like IoT or gaming consoles) that cannot support 802.1X certificates.

SCIM

System for Cross-domain Identity Management. An open standard for automating the exchange of user identity information between identity domains.

Used to automatically push a 'user disabled' event from an identity provider to the WiFi system, triggering immediate access revocation.

RADIUS

Remote Authentication Dial-In User Service. A networking protocol that provides centralized Authentication, Authorization, and Accounting management.

The server that validates the WiFi credentials and checks the revocation status before allowing a device onto the network.

OCSP

Online Certificate Status Protocol. An internet protocol used for obtaining the revocation status of an X.509 digital certificate.

The real-time check the RADIUS server performs to ensure a connecting device's certificate has not been revoked since it was issued.

CoA

Change of Authorisation. A RADIUS feature that allows the server to dynamically change the authorization attributes of an active session.

Used to instantly disconnect a device from the WiFi network the moment its credentials are revoked, rather than waiting for the session to naturally expire.

WPA2-Personal

WiFi Protected Access 2. A security certification program that uses a single, shared password for all users on the network.

The standard to move away from in enterprise environments, as it requires changing the password for everyone just to revoke access for one leaver.

Exemplos Práticos

A 200-room hotel needs to revoke WiFi access for a departing shift manager. The hotel uses a mix of corporate laptops and headless point-of-sale terminals, all currently sharing a single WPA2 password. How should they secure the offboarding process?

The hotel should migrate from the shared WPA2 password to iPSK. By integrating Purple with their identity provider via SCIM, they can assign a unique iPSK to every staff member and device. When the shift manager leaves, HR disables their account in Microsoft Entra ID. SCIM pushes this event to Purple, which instantly deletes the manager's specific iPSK. The point-of-sale terminals and other staff devices remain connected without interruption.

Comentário do Examinador: This approach perfectly balances security with operational reality in hospitality. Implementing full 802.1X EAP-TLS would be too complex for the headless POS terminals. iPSK provides the necessary per-user revocation capability without requiring certificate management, while SCIM automates the audit trail.

A public-sector organisation running 802.1X EAP-TLS revokes a contractor's certificate at 9:00 AM, but the contractor's laptop remains connected to the WiFi until 10:00 AM. Why did this happen and how can it be fixed?

The delay occurred because the RADIUS server had a cached 'Good' OCSP response for the contractor's certificate, and the system did not send a RADIUS Change of Authorisation (CoA) command. To fix this, the organisation must reduce the OCSP cache TTL on the RADIUS server to 15 minutes and configure the system to automatically send a CoA disconnect message to the access point the moment a certificate is revoked.

Comentário do Examinador: This highlights a critical distinction: revoking a credential prevents future authentications, but CoA is required to terminate an active session. The solution addresses both the cache timing and the active session termination.

Perguntas de Prática

Q1. You are auditing a retail chain's offboarding process. They use a single shared WPA2 password for their staff WiFi. They state that they rotate the password 'quarterly'. Does this meet ISO 27001 requirements for access revocation?

Dica: Consider the time gap between an employee leaving and the next quarterly rotation.

Ver resposta modelo

No, this does not meet ISO 27001 requirements. ISO 27001 Annex A control A.9.2.6 requires prompt removal of access rights upon termination. A quarterly rotation leaves a vulnerability window of up to three months where a former employee retains valid credentials. The chain must move to per-user credentials (iPSK or 802.1X) to enable immediate revocation.

Q2. A hospital needs to secure its medical IoT devices on the WiFi network. These devices cannot support 802.1X certificates. How can they achieve per-device revocation?

Dica: What protocol provides unique passwords on a single SSID?

Ver resposta modelo

The hospital should deploy Identity Pre-Shared Key (iPSK). This allows each medical IoT device to have its own unique WPA2 password. If a device is decommissioned or compromised, IT can delete that specific key from the RADIUS server, revoking its access without affecting any other devices on the network.

Q3. Your organisation uses SCIM to connect Google Workspace to Purple. An employee is terminated and their Google account is suspended. Do you need to manually delete their WiFi certificate?

Dica: Consider the role of SCIM in the identity lifecycle.

Ver resposta modelo

No manual action is required. Suspending the account in Google Workspace triggers a SCIM deprovisioning event. Purple receives this event and automatically revokes the user's WiFi credentials and logs the action, providing a complete audit trail.