¡Únase a nosotros en SASE Summit de Netskope, llegando a una ciudad cerca de usted! Regístrese ahora

  • Servicio de seguridad Productos Edge

    Protéjase contra las amenazas avanzadas y en la nube y salvaguarde los datos en todos los vectores.

  • Borderless SD-WAN

    Proporcione con confianza un acceso seguro y de alto rendimiento a cada usuario remoto, dispositivo, sitio y nube.

  • Plataforma

    Visibilidad inigualable y protección contra amenazas y datos en tiempo real en la nube privada de seguridad más grande del mundo.

La plataforma del futuro es Netskope

Intelligent Security Service Edge (SSE), Cloud Access Security Broker (CASB), Cloud Firewall, Next Generation Secure Web Gateway (SWG) y Private Access for ZTNA integrados de forma nativa en una única solución para ayudar a todas las empresas en su camino hacia el Servicio de acceso seguro Arquitectura perimetral (SASE).

Todos los productos
Vídeo de Netskope
Borderless SD-WAN: el comienzo de la nueva era de la empresa sin fronteras

Netskope Borderless SD-WAN offers an architecture that converges zero trust principles and assured application performance to provide unprecedented secure, high-performance connectivity for every site, cloud, remote user, and IoT device.

Read the article
Borderless SD-WAN
Netskope ofrece una estrategia de seguridad cloud moderna, con capacidades unificadas para los datos y protección frente a amenazas, además de un acceso privado seguro.

Explora nuestra plataforma
Vista aérea de una ciudad metropolitana
Cambie a los servicios de seguridad en la nube líderes del mercado con una latencia mínima y una alta fiabilidad.

Más información sobre NewEdge
Lighted highway through mountainside switchbacks
Habilite de forma segura el uso de aplicaciones de IA generativa con control de acceso a aplicaciones, capacitación de usuarios en tiempo real y la mejor protección de datos de su clase.

Descubra cómo aseguramos el uso generativo de IA
Safely Enable ChatGPT and Generative AI
Soluciones de confianza cero para implementaciones de SSE y SASE

Learn about Zero Trust
Boat driving through open sea
Netskope hace posible un proceso seguro, rápido y con inteligencia cloud para la adopción de los servicios en la nube, las aplicaciones y la infraestructura de nube pública.

Learn about Industry Solutions
Wind turbines along cliffside
  • Nuestros clientes

    Netskope da servicio a más de 2.000 clientes en todo el mundo, entre los que se encuentran más de 25 de las 100 empresas de Fortune

  • Soluciones para clientes

    Le apoyamos en cada paso del camino, garantizando su éxito con Netskope.

  • Formación y certificación

    La formación de Netskope le ayudará a convertirse en un experto en seguridad en la nube.

Ayudamos a nuestros clientes a estar preparados para cualquier situación

Ver nuestros clientes
Woman smiling with glasses looking out window
El talentoso y experimentado equipo de servicios profesionales de Netskope proporciona un enfoque prescriptivo para su exitosa implementación.

Learn about Professional Services
Servicios profesionales de Netskope
Asegure su viaje de transformación digital y aproveche al máximo sus aplicaciones en la nube, web y privadas con la capacitación de Netskope.

Learn about Training and Certifications
Group of young professionals working
  • Recursos

    Obtenga más información sobre cómo Netskope puede ayudarle a proteger su viaje hacia la nube.

  • Blog

    Descubra cómo Netskope permite la transformación de la seguridad y las redes a través del servicio de seguridad (SSE).

  • Eventos & Workshops

    Manténgase a la vanguardia de las últimas tendencias de seguridad y conéctese con sus pares.

  • Seguridad definida

    Todo lo que necesitas saber en nuestra enciclopedia de ciberseguridad.

Podcast Security Visionaries

Episodio de bonificación 2: El cuadrante mágico para SSE y obtener SASE correctamente
Mike y Steve analizan el Gartner® Magic Quadrant™ para Security Service Edge (SSE), el posicionamiento de Netskope y cómo el clima económico actual afectará el viaje de SASE.

Reproducir el pódcast
Episodio de bonificación 2: El cuadrante mágico para SSE y obtener SASE correctamente
Últimos blogs

Cómo Netskope puede habilitar el viaje de Zero Trust y SASE a través de las capacidades del borde del servicio de seguridad (SSE).

Lea el blog
Sunrise and cloudy sky
Gira mundial del día de inmersión en AWS de Netskope 2023

Netskope ha desarrollado una variedad de laboratorios prácticos, talleres, seminarios web detallados y demostraciones para educar y ayudar a los clientes de AWS en el uso y la implementación de los productos de Netskope.

Learn about AWS Immersion Day
Socio de AWS
¿Qué es Security Service Edge (SSE)?

Explore el lado de la seguridad de SASE, el futuro de la red y la protección en la nube.

Learn about Security Service Edge
Four-way roundabout
  • Empresa

    Le ayudamos a mantenerse a la vanguardia de los desafíos de seguridad de la nube, los datos y la red.

  • Por qué Netskope

    La transformación de la nube y el trabajo desde cualquier lugar han cambiado la forma en que debe funcionar la seguridad.

  • Liderazgo

    Nuestro equipo de liderazgo está firmemente comprometido a hacer todo lo necesario para que nuestros clientes tengan éxito.

  • Partners

    Nos asociamos con líderes en seguridad para ayudarlo a asegurar su viaje a la nube.

Apoyar la sostenibilidad a través de la seguridad de los datos

Netskope se enorgullece de participar en Vision 2045: una iniciativa destinada a crear conciencia sobre el papel de la industria privada en la sostenibilidad.

Descubra más
Supporting Sustainability Through Data Security
La más Alta en Ejecución. Más Avanzada en Visión.

Netskope ha sido reconocido como Líder en el Gartner® Magic Quadrant™ de 2023 en SSE.

Obtenga el informe
Netskope ha sido reconocido como Líder en el Gartner® Magic Quadrant™ de 2023 en SSE.
Pensadores, constructores, soñadores, innovadores. Juntos, ofrecemos soluciones de seguridad en la nube de vanguardia para ayudar a nuestros clientes a proteger sus datos y usuarios.

Conozca a nuestro equipo
Group of hikers scaling a snowy mountain
La estrategia de venta centrada en el partner de Netskope permite a nuestros canales maximizar su expansión y rentabilidad y, al mismo tiempo, transformar la seguridad de su empresa.

Learn about Netskope Partners
Group of diverse young professionals smiling

A Real-World Look at AWS Best Practices: Networking

Sep 07 2021

Introduction

Best practices for securing an AWS environment have been well-documented and generally accepted, such as in AWS’s guidance. However, organizations may still find it challenging on how to begin applying this guidance to their specific environments.

  • Which controls should be applied out-of-the-box vs. customized?
  • What pitfalls exist in implementing the various controls or checks?
  • How do you prioritize remediation of the “sea of red” violations?

In this blog series, we’ll analyze anonymized data from Netskope customers that include security settings of 650,000 entities from 1,143 AWS accounts across several hundred organizations. We’ll look at the configuration from the perspective of the best practices, see what’s commonly occurring in the real world and:

  • Discuss specific risk areas that should be prioritized
  • Identify underlying root causes and potential pitfalls
  • Focus on practical guidance for applying the Benchmark to your specific environment

This blog post focuses on IAM security controls related to networking. Based on the analysis, we will highlight two opportunities to improve security by making these networking changes:

  1. Use More Secure Remote Access: Replace security groups that allow inbound Internet access to remote admin ports with more secure methods to remotely administer EC2 instances. 4% of the security groups in use allow inbound Internet access for SSH or RDP. 
  2. Do Not Use Default Security Groups: Ensure that default security groups do not allow any traffic and are not used. 609 default security groups (1% of all security groups) are being used and allow traffic of some kind.

Networking

These three technical controls relating to network security were analyzed against 16,059 network ACLs and 59,361 security groups in 1,143 accounts:

#Best Practice# Violations%
1No NACLs allow ingress from 0.0.0.0/0 to remote admin ports15,77898.3
2No SGs allow ingress from 0.0.0.0/0 to remote admin ports2,3804.0
3Default SGs should restrict all traffic6091.0

1. NACLs

Background: NACLs apply to a particular subnet of a VPC and can be used in combination with security groups to control access to resources within the VPC. They allow all traffic in and out of the VPC by default, are stateless, and specify both allow and deny rules. One can implement defense-in-depth by using both NACLs and security groups.

Data: 15,778 (98%) out of the 16,059 NACLs across 92% of the accounts in this dataset allow Internet access from the Internet to either SSH or RDP.

Analysis: In this dataset, NACLs are not commonly used for filtering inbound internet traffic since almost all NACLs (15,778 or 98%) are configured to allow inbound traffic to SSH or RDP, while a much smaller number of security groups actually allow that same traffic through (2,380 or 4%). If organizations in this dataset are using NACLs for layered defense, then almost all of the NACLs NACLs should implement deny ACLs for inbound Internet traffic to ports 22 and 3389. On the other hand, if NACLs are not being used, then the next two controls regarding Security Groups should be the focus.

Controls:

    • Detection/Audit

      If NACLs are used, then regular and automated checks on NACL rules should be done in order to prevent misconfigured NACLs that allow too much traffic in or out of VPCs.NACLs can be inspected manually in the AWS Console or via the CLI:
      • aws ec2 describe-network-acls
    • Prevention/Mitigation
      Network ACLs can be set in the Console via CLI:
      • aws ec2 create-network-acl
      • aws ec2 create-network-acl-entry

2. Security Groups

Background: Security groups are used to control granular access to instances within a VPC. Best practices are to not allow inbound access to remote administration ports like SSH or RDP.

Data: 2,380 security groups in use allow inbound traffic to port 22 (SSH) or 3389 (RDP).Analysis: When looking at all security groups, 6,527 (11%) allow inbound Internet traffic to SSH or RDP ports. This occurs in about half (48%) of the accounts. The breakdown of the 6,527 security groups into attached vs. unattached is:

Analysis: When looking at all security groups, 6,527 (11%) allow inbound Internet traffic to SSH or RDP ports. This occurs in about half (48%) of the accounts. The breakdown of the 6,527 security groups into attached vs. unattached is:

DescriptionNotes# SGs%
Security Groups allowing ingress from 0.0.0.0/0 to remote admin portsports 22 or 33896,527100
Attachedin use2,38036
Not attachednot in use4,14764

From a remediation perspective, unattached security groups may not be as critical as attached ones as they are unused. However, unused objects of any kind should be reviewed and removed, as they can accidentally be used in the future or may waste time with maintenance and upkeep.

Allowing direct SSH or RDP access to a VPC via a security group is not the most secure way to do remote administration. The drawbacks of this approach include protocol attacks such as SSH multiplexing attacks, exposure of additional ports to the internet, lack of centralized logging, and lack of IAM authentication/access control. This is discussed in detail in: Leaving Bastion Hosts Behind Part 2: AWS.

Controls: 

  • Detection/Audit
    • Regular, automated checks should be implemented to ensure security groups do not allow inbound Internet traffic to remote administration ports.
    • The security groups for an EC2 instance can be checked in the Console or with the CLI:
      • aws ec2 describe-security-groups
    • AWS Config has two rules to detect security groups that allow either SSH or common ports such as RDP.
  • Prevention/Mitigation
    • Instead of exposing ports to inbound Internet traffic, use better solutions for private access to EC2 instances for remote administration. Alternatives include AWS Session Manager or products such as Netskope Private Access.

3. Default Security Groups

Background: There are two best practices related to default security groups.

  1. Default security groups should not allow any traffic inbound or outbound
    By default, all traffic to/from EC2 instances should be prevented, which forces conscious decisions to be made for which traffic is allowed. Since default security groups don’t allow any traffic, the corollary to this is: do not modify default security groups. It can only lead to confusion and errors.
  2. Don’t use default security groups
    Instead of using and modifying default security groups, create new, customized ones for your EC2 instances, which practices a principle of conscious, explicit policies rather than implicit, default policies.

Data: In this dataset, 609 default security groups in use allow traffic, which is 1% of all security groups.

Analysis: We will break down the default 10,307 default security groups to identify which are attached to a network interface (and being used) or not, since both sets are worth looking at for security reasons.

DescriptionNotes# SGs%
Default security groups allowing traffic inbound or outboundHave at least 1 inbound or 1 outbound rule10,307100
Attachedin use6096
Not attachednot in use9,69895

Attached default security groups should be remediated immediately by replacing them with customized security groups. 

Unattached or unused security groups of any kind should also be reviewed. Best practices guidance is to remove all rules from default security groups and ensure they are not attached to any resources.

Controls:

  • Detection/Audit
    • Regular and automated checks should be implemented to detect default security group usage, and these should be replaced with custom security groups instead.
    • The AWS Console and CLI can be used to audit security groups:
      • aws ec2 describe-security-groups
    • Default security groups are named “default” and all attached default security groups should be reviewed.
    • AWS Config also has a rule to detect if the default security group allows traffic.
  • Prevention/Mitigation
    • Ensure that the EC2 provisioning process uses or creates custom security groups and attaches that to a new EC2 instance.

Conclusiones

The CIS Foundation Benchmark for AWS provides specific guidance on auditing and remediating your configurations in these areas. There are some basic measures that can be done to address some of the common risk areas due to storage or network configuration in your AWS environment:

  1. Secure Remote Admin: Instead of remotely administering and accessing compute instances by opening up security groups, use more secure methods to remotely administer EC2 instances such as AWS Session Manager or Netskope Private Access.
  2. Do Not Use Default Security Groups: Do not use default security groups.

Dataset and Methodology

Time Period: Data was sampled/analyzed from January 24, 2021. 

Source: The analysis presented in this blog post is based on anonymized usage data collected by the Netskope Security Cloud platform relating to a subset of Netskope customers with prior authorization.

Data Scope: The data included 1,143 AWS accounts and several hundred organizations. 

The data was composed of configuration settings across tens of thousands of AWS entities including IAM users, IAM policies, password policy, buckets, databases, CloudTrail logs, compute instances, and security groups.

Logic: The analysis followed the logic of core root account security checks found in best practices regarding AWS configuration settings.

author image
Jenko Hwong
Jenko has 15+ years of experience in research, product management, and engineering in cloud security, AV/AS, routers/appliances, threat intel, Windows security, vulnerability scanning and compliance. At Netskope, he researches new cloud attacks.