Cis Azure Foundations 7.9
DevOps & Securitycis-azure-foundations-7.9Cis Azure Foundations 7.9 is an Agent Skill for devops & security published in the CyberStrikeus/CyberStrike repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Ensure 'Authentication type' is set to 'Azure Active Directory' only for Azure VPN Gateway point-to-site
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/CyberStrikeus/CyberStrike/blob/HEAD/.cyberstrike/skill/CIS_benchmarks/Cloud_Providers/Microsoft_Azure/CIS_Microsoft_Azure_Foundations_Benchmark_v5.0.0/cis-azure-foundations-7.9/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cis-azure-foundations-7-9, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Ensure 'Authentication type' is set to 'Azure Active Directory' only for Azure VPN Gateway point-to-site configuration
Description
Enable only 'Azure Active Directory' (Microsoft Entra ID) authentication for Azure VPN Gateway point-to-site connections.
Rationale
Microsoft Entra ID authentication provides strong security and centralized identity management, and reduces risks associated with static credentials and certificate management.
Impact
Azure VPN Gateways incur hourly charges, with additional costs for point-to-site connections and data transfer. Pricing varies by SKU and usage. Refer to https://azure.microsoft.com/en-us/pricing/details/vpn-gateway/ for details.
Audit Procedure
Using Azure Portal
- Go to
Virtual network gateways. - Under
VPN gateway, clickVPN gateways. - Click the name of a VPN gateway.
- Under
Settings, clickPoint-to-site configuration. - Ensure
Authentication typeis set toAzure Active Directoryonly. - Repeat steps 1-5 for each VPN gateway.
Using Azure Policy
- Policy ID: 21a6bc25-125e-4d13-b82d-2e19b7208ab7 - Name: 'VPN gateways should use only Azure Active Directory (Azure AD) authentication for point-to-site users'
Expected Result
All Azure VPN Gateway point-to-site configurations should have Authentication type set to Azure Active Directory only, with no other authentication methods (Azure certificate, RADIUS) enabled.
Remediation
Remediate from Azure Portal
- Go to
Virtual network gateways. - Under
VPN gateway, clickVPN gateways. - Click the name of a VPN gateway.
- Under
Settings, clickPoint-to-site configuration. - Ensure
Authentication typeclick to expand the drop-down menu. - Check the box next to
Azure Active Directory, and uncheck the boxes next toAzure certificateandRADIUS authentication. - Provide a
Tenant,Audience, andIssuerfor theAzure Active Directoryconfiguration. - Click
Save. - Repeat steps 1-8 for each VPN gateway requiring remediation.
Default Value
'Authentication type' is selected during creation of point-to-site configuration.
References
- https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-vpngateways
- https://learn.microsoft.com/en-us/azure/vpn-gateway/point-to-site-entra-gateway
- https://learn.microsoft.com/en-us/azure/vpn-gateway/openvpn-azure-ad-tenant
CIS Controls
| Controls Version | Control | IG 1 | IG 2 | IG 3 |
|---|---|---|---|---|
| v8 | 5.6 Centralize Account Management | x | x | |
| v7 | 16.2 Configure Centralized Point of Authentication | x | x |
Profile
Level 2 | Manual