Skip to main content

O Papel do SCEP e NAC na Infraestrutura MDM Moderna

Este guia fornece uma análise técnica abrangente de como o SCEP e o NAC se integram com plataformas MDM para fornecer acesso seguro à rede, sem intervenção, em escala empresarial. Abrange a arquitetura completa, desde a emissão de certificados até a aplicação 802.1X, com cenários de implementação reais em hotelaria e retalho. Projetado para líderes de TI em grandes espaços que precisam eliminar vulnerabilidades de palavra-passe, automatizar o provisionamento de dispositivos e satisfazer os requisitos de conformidade neste trimestre.

📖 7 min read📝 1,710 words🔧 2 worked examples3 practice questions📚 9 key definitions

Listen to this guide

View podcast transcript
Welcome to the Purple Technical Briefing. I'm your host, and today we're diving into a critical architecture topic for enterprise networks: The role of SCEP and NAC in modern MDM infrastructure. If you're an IT director, a network architect, or managing operations at a large venue — whether that's a stadium, a hospital, or a retail chain — you know the headache of onboarding devices securely. The days of pre-shared keys are over. Today, we're talking about certificate-based authentication. We'll explore how Simple Certificate Enrollment Protocol, or SCEP, pairs with Network Access Control, or NAC, to automate device provisioning and enforce zero-trust access. Let's get straight into it. Let's break down the architecture. At the core, we have three layers: the device layer, the policy engine, and the network access layer. When a new corporate device or a BYOD endpoint needs access, it first enrolls with your Mobile Device Management platform. But MDM alone doesn't grant network access. That's where SCEP comes in. SCEP acts as the automated courier between your MDM and your Certificate Authority. Instead of an IT admin manually generating and installing an X.509 certificate on every device, the MDM pushes a payload to the device. The device generates a Certificate Signing Request, or CSR, and sends it to the SCEP server. The CA issues the certificate, and the device now has a cryptographically secure identity. No passwords to phish, no shared keys to leak. But a certificate is just an ID card. You still need a bouncer at the door. That's your NAC. When the device tries to connect to the WiFi — typically using 802.1X EAP-TLS — the wireless access point passes the request to the RADIUS server, which is governed by the NAC policy engine. The NAC checks the certificate: Is it valid? Has it been revoked? But modern NAC goes further. It checks the MDM for posture: Is the OS updated? Is the firewall on? If yes, the NAC tells the switch or access point to drop the device into the correct VLAN. If no, it drops them into a remediation network. This integration is critical for environments like large retail chains or healthcare facilities where you have a mix of corporate laptops, IoT devices, and guest networks. Speaking of guest networks, this is where platforms like Purple's Guest WiFi and WiFi Analytics seamlessly integrate alongside your secure corporate SSIDs, ensuring public access is isolated from your secure, certificate-backed infrastructure. So, how do you deploy this without breaking your network? First recommendation: Always use EAP-TLS. It requires certificates on both the server and the client, providing mutual authentication. Second, mind your Certificate Revocation Lists, or CRLs, and OCSP. If a device is compromised or an employee leaves, revoking the certificate in the CA is useless if the NAC isn't checking the revocation status in real-time. A common pitfall we see in hospitality and large venues is failing to account for IoT devices. Not all IoT sensors or smart TVs support 802.1X or SCEP. For these, you'll need a fallback strategy like MAC Authentication Bypass, or MAB, tightly controlled by your NAC to specific switch ports or isolated VLANs. Another pitfall is certificate validity periods. Don't set them for 10 years, but don't set them for 30 days either unless your automated renewal via SCEP is bulletproof. A one-year validity with auto-renewal at the 30-day mark is a solid industry standard. Let's hit a couple of rapid-fire questions we often get from CTOs. Question one: Can we use our existing Active Directory Certificate Services for SCEP? Yes, Microsoft AD CS includes a Network Device Enrollment Service, or NDES, role that acts as a SCEP server. Just ensure it's properly secured and exposed to your MDM. Question two: Does this replace our firewall? Absolutely not. SCEP and NAC handle authentication and access control at the edge — Layer 2. Your firewall handles traffic inspection and threat prevention at Layers 3 through 7. They work together. To wrap up, combining SCEP, NAC, and MDM gives you a zero-touch, highly secure network edge. It eliminates password-related helpdesk tickets and ensures that only compliant devices access your critical infrastructure. For venue operators, this means your back-of-house operations run securely, allowing you to focus on the front-of-house experience — which you can supercharge with Purple's analytics and engagement tools. Start by auditing your current MDM capabilities and ensuring your RADIUS infrastructure supports EAP-TLS. Map out your device types, and run a pilot with your IT team's devices first. Thanks for tuning in to this technical briefing. Stay secure, and we'll see you on the next one.

header_image.png

Resumo Executivo

Para espaços empresariais — desde estádios com 80.000 lugares a cadeias de retalho com múltiplos locais — a segurança da extremidade da rede moveu-se decisivamente para além das chaves pré-partilhadas e da gestão manual de credenciais. A proliferação de endpoints corporativos, dispositivos BYOD e infraestrutura IoT exige uma arquitetura de confiança zero que escala sem sobrecarregar o suporte de TI.

Este guia detalha a arquitetura técnica de integração do Simple Certificate Enrollment Protocol (SCEP) e do Network Access Control (NAC) com a infraestrutura de Mobile Device Management (MDM). Ao alavancar o SCEP para automatizar a distribuição de certificados X.509 e o NAC para impor a autenticação IEEE 802.1X EAP-TLS, as organizações podem alcançar o provisionamento sem intervenção, eliminar vetores de roubo de credenciais e impor acesso dinâmico à rede baseado na postura. Enquanto o acesso público é gerido através de soluções dedicadas de Guest WiFi , esta arquitetura protege as operações críticas de back-of-house que mantêm o espaço em funcionamento. O resultado é uma redução mensurável nos custos de TI, uma postura de conformidade mais forte sob PCI DSS e GDPR, e uma extremidade de rede que impõe ativamente os princípios de confiança zero.


Análise Técnica Detalhada

A Arquitetura de Três Camadas

A segurança de rede moderna baseia-se na identidade criptográfica em vez do conhecimento do utilizador. A pilha SCEP-NAC-MDM opera em três camadas principais:

Layer Component Function
Gestão de Dispositivos MDM / UEM Autoridade central para configuração, conformidade e ciclo de vida de dispositivos
Identidade e Emissão PKI / SCEP / CA Gera, emite e gere certificados digitais
Aplicação de Acesso NAC / RADIUS Avalia certificados e postura do dispositivo antes de conceder acesso à rede

Estas camadas não são sequenciais — operam num ciclo de feedback contínuo. O MDM informa o NAC sobre o estado de conformidade em tempo real, e o NAC pode acionar fluxos de trabalho de remediação do MDM quando um dispositivo falha nas verificações de postura.

architecture_overview.png

Como o SCEP Automatiza a PKI em Escala

Implementar certificados manualmente é operacionalmente impossível em escala. Um parque de 500 dispositivos exigiria que um administrador de TI gerasse, assinasse e instalasse certificados X.509 individuais em cada dispositivo — um processo que leva minutos por dispositivo e introduz um risco significativo de erro humano. O SCEP elimina isso completamente.

Quando um dispositivo se regista no MDM, o MDM envia um perfil de configuração contendo uma carga SCEP. Esta carga instrui o dispositivo a gerar um par de chaves localmente — crucialmente, a chave privada nunca sai do dispositivo — e a submeter um Certificate Signing Request (CSR) ao servidor SCEP. O servidor SCEP, tipicamente o Network Device Enrollment Service (NDES) da Microsoft ou um equivalente baseado na nuvem, valida o pedido contra o MDM para confirmar que o dispositivo está autorizado. Em seguida, encaminha o CSR para a Certificate Authority (CA), que emite o certificado X.509 assinado. O certificado é devolvido ao dispositivo e instalado no seu enclave seguro ou keystore do sistema.

Todo este processo ocorre silenciosamente, over-the-air, sem interação do utilizador. Para uma implementação de 1.000 dispositivos, todo o parque de certificados pode ser provisionado em poucas horas após a conclusão do registo MDM.

NAC e 802.1X EAP-TLS: A Camada de Aplicação

Uma vez que o dispositivo possui um certificado válido, tenta conectar-se ao SSID corporativo ou à porta com fios usando IEEE 802.1X. O ponto de acesso ou switch atua como autenticador, encaminhando o pedido para o servidor RADIUS governado pelo motor de políticas NAC. O método EAP mais seguro é o EAP-TLS, que exige autenticação mútua — tanto o cliente quanto o servidor RADIUS devem apresentar certificados válidos, prevenindo ataques man-in-the-middle através de pontos de acesso não autorizados.

O NAC realiza várias verificações críticas em sequência:

  1. Validação Criptográfica: O certificado é matematicamente válido e assinado por uma CA raiz fidedigna?
  2. Verificação de Revogação: O certificado está listado numa Certificate Revocation List (CRL) ou sinalizado via Online Certificate Status Protocol (OCSP)?
  3. Avaliação de Postura: Ao consultar o MDM via API, o NAC pergunta: O dispositivo está em conformidade? O SO está no nível de patch exigido? A encriptação de disco está ativada?

Se todas as verificações forem aprovadas, o NAC envia uma mensagem RADIUS Access-Accept, tipicamente acompanhada por Atributos Específicos do Fornecedor (VSAs) que atribuem dinamicamente o dispositivo a uma VLAN específica ou aplicam uma Access Control List (ACL). Um dispositivo não conforme é colocado numa VLAN de remediação com acesso limitado — tipicamente apenas o suficiente para acionar um fluxo de trabalho de remediação impulsionado pelo MDM.

scep_nac_workflow.png

Segmentação da Rede de Convidados

Em qualquer ambiente de espaço, a infraestrutura corporativa deve ser estritamente isolada das redes públicas. As plataformas Guest WiFi operam em SSIDs e VLANs totalmente separados, sem caminho de encaminhamento para recursos corporativos. A arquitetura SCEP-NAC governa a camada corporativa; a camada de convidados é governada pela autenticação de captive portal e fluxos de trabalho de captura de dados. Para espaços que implementam WiFi Analytics , esta segmentação é um pré-requisito — os dados de análise fluem através da rede de convidados, enquanto os dados operacionais flui através da rede corporativa autenticada por certificado. Para mais contexto sobre a arquitetura de radiofrequência subjacente que suporta ambas as redes, consulte Wi-Fi Frequencies: A Guide to Wi-Fi Frequencies in 2026 .


Guia de Implementação

A implementação desta arquitetura requer um sequenciamento cuidadoso para evitar o bloqueio de utilizadores legítimos durante a transição.

Passo 1: Preparação de PKI e SCEP

Estabeleça uma PKI interna robusta ou utilize um serviço de PKI Gerida (mPKI) baseado na cloud. Implemente e reforce o servidor SCEP — se estiver a usar Microsoft NDES, garanta que está a funcionar num servidor dedicado, não co-alojado com a CA. Configure o servidor SCEP para usar palavras-passe de desafio dinâmicas, geradas por dispositivo pelo MDM, em vez de um segredo partilhado estático. Isto evita pedidos de certificado não autorizados se o URL do SCEP for descoberto.

Passo 2: Configuração do MDM

Crie o payload SCEP na sua plataforma MDM. Defina cuidadosamente os campos Subject Alternative Name (SAN) — o SAN deve conter identificadores únicos (como o número de série do dispositivo ou UPN do utilizador) que o NAC usará para decisões de política. Envie o perfil para um grupo de teste de dispositivos da equipa de TI primeiro e valide o fluxo de registo completo antes de uma implementação mais ampla.

Passo 3: Configuração de NAC e RADIUS

Configure o seu NAC para confiar na CA Raiz que emitiu os certificados de cliente. Instale um certificado de servidor no servidor RADIUS para autenticação mútua EAP-TLS. Defina políticas de acesso baseadas em atributos de certificado e estado de conformidade do MDM. Implemente regras de atribuição dinâmica de VLAN: dispositivos corporativos conformes para a VLAN corporativa, dispositivos não conformes para a VLAN de remediação e dispositivos IoT para uma VLAN dedicada e com acesso restrito à internet.

Passo 4: Integração da Infraestrutura de Rede

Configure switches e pontos de acesso sem fios para 802.1X. Para ambientes de Retalho com hardware de ponto de venda legado ou locais de Hotelaria com controladores de quarto inteligentes, implemente o MAC Authentication Bypass (MAB) como um fallback para dispositivos que não podem participar no EAP-TLS. Restrinja o MAB a portas de switch específicas e garanta que a base de dados de endereços MAC é rigorosamente controlada. Para ambientes de Saúde e Transporte , as regras de avaliação de postura devem ser configuradas para cumprir os requisitos de conformidade específicos do setor.

Passo 5: Implementação Paralela e Transição

Nunca faça a transição imediatamente. Transmita o novo SSID 802.1X em paralelo com a rede existente. Envie o novo perfil WiFi via MDM. Monitorize a adoção e resolva falhas de registo. Assim que 95%+ dos dispositivos estiverem autenticados com sucesso no novo SSID, desative a rede legada.


Boas Práticas

Exija EAP-TLS. Nunca aceite EAP-PEAP ou EAP-TTLS como método de autenticação primário para dispositivos corporativos. Estes métodos dependem de credenciais de nome de utilizador/palavra-passe dentro de um túnel TLS, que permanecem vulneráveis à recolha de credenciais. O EAP-TLS elimina completamente esta superfície de ataque.

Implemente a revogação em tempo real. Os downloads programados de CRL criam uma janela de exposição. Configure o NAC para realizar verificações OCSP em tempo real. Quando um dispositivo é reportado como perdido ou roubado, revogue o certificado na CA e o dispositivo perde o acesso à rede na próxima tentativa de autenticação — ou imediatamente se a Alteração de Autorização (CoA) for implementada.

Defina períodos de validade de certificado sensatos. Um período de validade de um ano com renovação SCEP automatizada acionada aos 30 dias é o padrão da indústria. Períodos mais longos aumentam a janela de exposição se um certificado for comprometido; períodos mais curtos aumentam o risco de falhas de renovação que causam interrupções.

Segmente IoT agressivamente. Os dispositivos IoT nunca devem partilhar uma VLAN com endpoints corporativos. Use o NAC para impor ACLs rigorosas na VLAN IoT, permitindo apenas os protocolos e destinos específicos que cada tipo de dispositivo requer. Para locais que implementam serviços de localização, reveja Indoor WiFi Positioning Systems: How They Work and How to Deploy Them para entender como a infraestrutura de posicionamento se integra com a arquitetura de rede mais ampla.

Alinhe com WPA3. Onde o hardware o suportar, configure o SSID corporativo para usar WPA3-Enterprise, que exige Protected Management Frames (PMF) e fornece proteções criptográficas mais fortes do que WPA2. Consulte SD-WAN vs MPLS: The 2026 Enterprise Network Guide para ver como isto se enquadra no panorama mais amplo da conectividade empresarial.


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

Modo de Falha Causa Raiz Mitigação
Dispositivos falham EAP-TLS após renovação de certificado Renovação SCEP falhou silenciosamente Monitorize os registos do servidor SCEP; defina alertas para submissões CSR falhadas
Desvio de relógio causa falha na validação de certificado Má configuração de NTP Imponha a sincronização NTP em todos os endpoints e infraestrutura
Dispositivos IoT não conseguem autenticar Sem suplicante 802.1X Implemente MAB com controlo rigoroso de endereço MAC e VLAN isolada
Bloqueio massivo de dispositivos após migração de CA CA raiz antiga não confiada pelo NAC Fases de migração de CA; adicione nova CA raiz ao armazenamento de confiança do NAC antes de revogar a antiga
Dispositivo revogado mantém acesso à rede Revogação apenas por CRL com longo intervalo de download Implemente OCSP e CoA para revogação em tempo real

Para dispositivos IoT baseados em BLE especificamente, a arquitetura de autenticação difere dos endpoints conectados por WiFi. Reveja BLE Low Energy Explained for Enterprise para as considerações de segurança específicas aplicáveis à infraestrutura Bluetooth Low Energy.


ROI e Impacto no Negócio

O caso de negócio para a integração SCEP-NAC-MDM é direto quando medido em relação ao custo das alternativas.

Métrica Pré-Implementação Pós-Implementação
Tickets de helpdesk de TI (acesso à rede) Alto — redefinições de palavra-passe, rotações de chave Quase zero — ciclo de vida de certificado automatizado
Tempo médio para revoke dispositivo comprometido Horas (processo manual) Segundos (OCSP + CoA)
Conformidade com controlo de acesso PCI DSS Manual, intensivo em auditorias Automatizado, continuamente aplicado
Tempo de integração BYOD 15–30 minutos por dispositivo Menos de 5 minutos, sem envolvimento de TI

Para um parque de 500 dispositivos, a eliminação da gestão manual de certificados e dos pedidos de suporte relacionados com palavras-passe geralmente resulta numa redução de 25–35% nos custos gerais de suporte de TI relacionados com a rede. O valor da mitigação de risco — evitando uma única violação baseada em credenciais — geralmente excede o custo total de implementação. Para organizações do setor público e de saúde abrangidas pelo GDPR, a capacidade de demonstrar controlo de acesso automatizado e auditável é um ativo de conformidade significativo.

Key Definitions

SCEP (Simple Certificate Enrollment Protocol)

A protocol that automates the issuance and revocation of digital certificates to devices without user intervention, acting as the communication layer between the MDM platform and the Certificate Authority.

Used by MDM platforms to seamlessly deploy X.509 certificates to thousands of endpoints at scale. IT teams encounter SCEP when configuring MDM profiles for 802.1X WiFi authentication.

NAC (Network Access Control)

A security solution that enforces policy on devices seeking to access network infrastructure, evaluating authentication credentials, certificate validity, and device compliance posture before granting access.

Acts as the gatekeeper at the network edge. IT teams configure NAC policies to define which devices get access to which VLANs based on their certificate attributes and MDM compliance status.

MDM (Mobile Device Management)

Software used by IT departments to monitor, manage, and secure employees' endpoints across multiple operating systems, serving as the central source of truth for device identity and compliance.

The initiator of the SCEP enrollment process and the source of posture data queried by the NAC. Without MDM integration, the NAC cannot perform posture-based access control.

IEEE 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, requiring successful authentication before the port is opened.

The underlying protocol that forces devices to authenticate before the switch or access point allows any traffic to pass. Configured on both the network infrastructure and the device's 802.1X supplicant.

EAP-TLS (Extensible Authentication Protocol - Transport Layer Security)

The most secure EAP standard, requiring mutual authentication where both the client device and the RADIUS server must present valid digital certificates, eliminating password-based credential attacks.

The gold standard for enterprise wireless security. IT architects should mandate EAP-TLS over PEAP or TTLS wherever device certificate infrastructure is in place.

CSR (Certificate Signing Request)

A block of encoded text generated by a device containing its public key and identity details, submitted to the Certificate Authority to request a signed X.509 certificate.

Generated automatically by the device during the SCEP enrollment process. The private key corresponding to the CSR never leaves the device, ensuring the certificate cannot be duplicated.

MAB (MAC Authentication Bypass)

A fallback authentication method where the network uses the device's hardware MAC address as its credential, used for devices that lack 802.1X supplicant capability.

Used for legacy IoT devices such as printers, sensors, and smart room controllers that cannot participate in EAP-TLS. Should always result in assignment to a highly restricted VLAN.

OCSP (Online Certificate Status Protocol)

An internet protocol used for obtaining the revocation status of an X.509 digital certificate in real-time, providing an alternative to downloading and parsing Certificate Revocation Lists.

Critical for NAC systems that need to immediately block network access when a device is compromised or reported stolen. OCSP provides real-time status; CRL downloads create a revocation window.

CoA (Change of Authorization)

A RADIUS extension (RFC 5176) that allows the NAC to dynamically modify or terminate an active network session without waiting for the session to expire or the device to re-authenticate.

Used to immediately disconnect a device when its certificate is revoked or its MDM compliance status changes. Essential for real-time zero-trust enforcement.

Worked Examples

A 500-room luxury resort needs to secure its back-of-house operations network. Staff use shared tablets for housekeeping management, and management use corporate laptops. The current WPA2-PSK network has had the pre-shared key leaked multiple times, resulting in two security incidents in the past year. How should the IT team transition to certificate-based authentication without disrupting operations?

Phase 1 — Preparation (Weeks 1–2): Deploy a cloud-based RADIUS/NAC solution and integrate it with the existing MDM. Configure a SCEP profile in the MDM to push device-based certificates to all tablets and laptops. Use device-based certificates (tied to the device serial number) rather than user-based certificates, so shared tablets authenticate automatically regardless of which staff member is using them. Phase 2 — Parallel Deployment (Weeks 3–4): Broadcast a new, hidden SSID configured for 802.1X EAP-TLS. Push the new WiFi profile via MDM to all enrolled devices. Monitor the NAC dashboard for successful authentications. Phase 3 — Cutover (Week 5): Once 95%+ of devices are connected to the new SSID, decommission the legacy WPA2-PSK network. Revoke the old PSK from all documentation and access points.

Examiner's Commentary: The device-based certificate approach is the correct choice for shared-device environments. User-based certificates would require each staff member to have their own certificate, creating a management overhead that negates the automation benefit. The parallel deployment strategy is critical — cutting over immediately would lock out any device that failed SCEP enrollment, causing operational disruption. The hidden SSID for the new network prevents guests from attempting to connect to the corporate network during the transition period.

A national retail chain is deploying 3,000 new Point of Sale terminals across 150 stores. The security team mandates strict PCI DSS network segmentation and zero-trust access. The deployment timeline is 8 weeks. How does SCEP and NAC facilitate this at scale without requiring IT staff at each store?

Pre-Deployment: The POS vendor pre-enrolls all 3,000 devices in the retailer's MDM using the vendor's zero-touch enrollment programme. The MDM is configured with a SCEP profile that will fire automatically upon first boot. Deployment: When a POS terminal is powered on at the store, it connects to a temporary onboarding SSID (internet-only, no corporate access). The MDM profile is pushed, the SCEP payload fires, and the device requests and receives its X.509 certificate from the CA. The MDM then pushes the corporate WiFi profile. Network Access: When the POS connects to the store's switch port, the switch initiates 802.1X. The NAC validates the certificate, queries the MDM to confirm the POS is compliant (encryption enabled, MDM agent active, no jailbreak detected), and dynamically assigns the switch port to the PCI-DSS VLAN. The POS is now operational. Zero IT staff were required at the store.

Examiner's Commentary: This scenario demonstrates the power of combining zero-touch MDM enrollment with SCEP automation. The temporary onboarding SSID is a critical design element — it provides internet access for the MDM enrollment process without exposing the corporate network. The dynamic VLAN assignment ensures that even if a rogue device somehow obtained a valid MAC address, it would still fail the EAP-TLS certificate check and be denied access to the PCI VLAN. This architecture satisfies PCI DSS Requirement 1 (network segmentation) and Requirement 8 (unique device identification) simultaneously.

Practice Questions

Q1. Your organisation is migrating from WPA2-Enterprise using PEAP-MSCHAPv2 to EAP-TLS. During the pilot, Windows laptops and iPhones connect successfully, but 200 warehouse barcode scanners fail to authenticate. The scanners support 802.1X but cannot process the SCEP payload from the MDM — they run a proprietary embedded OS with no MDM agent support. What is the most secure architectural solution that maintains network segmentation without requiring replacement of the scanners?

Hint: Consider alternative certificate delivery mechanisms that do not require an MDM agent, and what network segmentation controls should apply to devices that cannot participate in full posture assessment.

View model answer

Since the scanners support 802.1X but not SCEP or MDM enrollment, the most secure approach is to manually provision device certificates using a dedicated certificate template with a restricted key usage profile. The certificates are installed once during a maintenance window. The NAC is configured to accept these certificates but assign the scanners to a dedicated warehouse operations VLAN with strict ACLs — not the full corporate VLAN — because posture assessment is not possible. Alternatively, if manual certificate provisioning is operationally unscalable, configure MAB as a fallback specifically for the MAC OUIs of the scanner hardware, with the NAC assigning them to the same restricted VLAN. Document this as a known exception in your risk register and schedule scanner replacement in the next hardware refresh cycle.

Q2. A network security manager notices that when an employee reports a laptop stolen, the MDM sends a remote wipe command, but the device remains connected to the corporate WiFi for up to 12 hours — the current RADIUS session timeout. During this window, the device could be used to exfiltrate data. How should the architecture be modified to terminate network access immediately upon a device being reported stolen?

Hint: The NAC needs to be informed of the status change instantly rather than waiting for the next authentication cycle. Consider both the session termination mechanism and the re-authentication prevention mechanism.

View model answer

Implement two complementary controls. First, configure the MDM to send a webhook to the NAC immediately upon a device being marked as lost or stolen. The NAC then sends a RADIUS Change of Authorization (CoA) Disconnect-Request message to the specific access point or switch port, terminating the active session immediately. Second, revoke the device's certificate in the CA and ensure the NAC is configured for real-time OCSP checking rather than CRL-based revocation. This means that even if the device reconnects before the CoA is processed, the EAP-TLS authentication will fail at the OCSP check. Both controls together reduce the exposure window from 12 hours to under 60 seconds.

Q3. During a security audit of a large conference centre's network, it is discovered that the SCEP server is exposed to the public internet using a static challenge password to allow remote device enrollment. The auditor flags this as a critical vulnerability. How should the SCEP enrollment process be re-architected to maintain remote enrollment capability while eliminating the static password risk?

Hint: The SCEP server needs a way to verify that the device requesting a certificate is actually authorised by the MDM, without relying on a shared secret that could be extracted from a device or intercepted.

View model answer

Replace the static challenge password with dynamic, per-device one-time challenge passwords generated by the MDM. The workflow becomes: (1) The MDM generates a unique, time-limited challenge password for each device during enrollment. (2) The MDM includes this challenge in the SCEP payload pushed to the device. (3) The device includes the challenge in its CSR. (4) The SCEP server validates the challenge against the MDM via API before forwarding the CSR to the CA. (5) The challenge is invalidated immediately after use. This ensures that only MDM-managed devices can successfully obtain a certificate, and that even if the SCEP URL is discovered, an attacker cannot generate valid certificates without a valid one-time challenge. Additionally, restrict the SCEP server to HTTPS only and implement IP allowlisting for the MDM's egress IPs where possible.