Netskope named a Leader in the 2022 Gartner® Magic Quadrant™ for Security Service Edge. Get the Report.

  • Plataforma

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

  • Productos

    Los productos de Netskope se basan en Netskope Security Cloud.

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
Birds eye view metropolitan city

Netskope ha sido nombrado Líder en el Informe del Cuadrante Mágico de Gartner™ 2022 en SSE

Obtenga el informe Todos los productos
Netskope gartner mq 2022 sse leader

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
Lighted highway through mountainside switchbacks

Prevenga las amenazas que a menudo eluden otras soluciones de seguridad utilizando un marco SSE de un solo paso.

Más información
Lighting storm over metropolitan area

Soluciones de confianza cero para implementaciones de SSE y SASE

Más información
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.

Más información
Wind turbines along cliffside

Confíe en Netskope para que le ayude a hacer frente a las amenazas en evolución, a los nuevos riesgos, a los cambios tecnológicos, a los cambios organizativos y de red, y a los nuevos requisitos normativos.

Más información
Woman smiling with glasses looking out window

Tenemos ingenieros cualificados en todo el mundo, con distintos ámbitos de conocimiento sobre seguridad en la nube, redes, virtualización, entrega de contenidos y desarrollo de software, listos para ofrecerle asistencia técnica de calidad en todo momento.

Más información
Bearded man wearing headset working on computer

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.

Más información
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.

  • Security Defined

    Todo lo que necesitas saber en nuestra enciclopedia de ciberseguridad.

Podcast Security Visionaries

Episodio extra: La importancia de Security Service Edge (SSE)

Reproducir el pódcast
Black man sitting in conference meeting

Lea lo último sobre cómo Netskope puede hacer posible el viaje de confianza cero y SASE a través de las capacidades de SSE.

Lea el blog
Sunrise and cloudy sky

Eventos de oratoria de Netskope CSO

Conozca al equipo CSO de Netskope en uno de nuestros próximos eventos.

Encuentra un evento
Netskope CSO Team

¿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.

Más información
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.

Netskope posibilita el futuro del trabajo.

Descubra más
Curvy road through wooded area

Netskope está redefiniendo la seguridad de la nube, los datos y la red para ayudar a las organizaciones a aplicar los principios de Zero Trust para proteger los datos.

Más información
Switchback road atop a cliffside

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.

Más información
Group of diverse young professionals smiling
Blog Threat Labs A Real-World Look at AWS Best Practices: Password Policies
Jun 03 2021

A Real-World Look at AWS Best Practices: Password Policies

Introduction

Best practices for securing an AWS environment have been well-documented and generally accepted, such as 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 account password policies. Based on the Netskope dataset analyzed, we will highlight two opportunities to improve security by making simple IAM changes:

  1. 73% of accounts have an account password policy with a password length less than 14, which is easier to brute-force and compromise. Half of these accounts are using the default AWS Password Policy.
  1. 80% of IAM User accounts have a password reuse/history setting that is less than 24, leading to password reuse and higher chances of compromise.

Password Policy: legacies and defaults

“Don’t live life by default.”

― Steven Redhead

These two technical best practices involve the IAM User Password Policy strength. In a high majority (70-80%) of the 1,143 accounts, the account Password Policy is weak:

#Best Practice# of Violations%
1Ensure IAM password policy requires a minimum length of 14 or greater83272.8%
2Ensure IAM password policy prevents password reuse91076.9%

1. Password Length

Background: Minimum suggested password lengths should be at least 14 in order to prevent easy brute-force compromise of passwords.

Data: 832 (72.8%) of accounts have an account password policy with a password length less than 14.

Analysis: If we analyze the breakdown of the 832 accounts by the length in the password policy, we find:

Password LengthViolations% (out of 1,143)
00%
6-7544.7%
853947%
9-1323921%

In 2020, AWS changed the default Password Policy, increasing the minimum length from 6 to 8 characters. As we can see, 539 accounts (47%) have a password length of 8. Interestingly, more than 80% of the 539 accounts or 440 are set to 8 because they use the default password policy i.e. a custom password policy is not created. 

Controls: 

  • Detection/Audit
    • Auditing the password length in a custom account password policy can be done via CLI:
      aws iam get-account-password-policy
    • The AWS Config Rule: iam-password-policy will also detect password policies that are too weak.
  • Prevention/Mitigation
    • Best practices call for modifying default settings to harden accounts. It is generally easier for users to increase password entropy by increasing length versus character variation.
    • Create a custom password policy that has a password length of at least 14. Using a password manager with random, long passwords is the best way to achieve this.

2. Password Reuse

Background: A similar story is told with the password reuse (history) setting. Best practices recommend preventing password reuse with a large setting of 24.

Data: 910 (80%) of IAM User accounts have a password reuse/history setting that is less than 24

Analysis: To provide more context, we breakdown the 910 accounts by their actual reuse setting:

Password ReuseViolations% (out of 1,143)
0 (default)44038%
1-4928%
513512%
6-1113612%
12-23272%

In 440 accounts (38%), password reuse is set to 0, inherited from the default Password Policy. When customizing a policy, the Console will supply a suggested value of 5 for the reuse setting. For those that set a custom policy, about 12% choose 5. In summary, default values (0 or 5) have been used for password reuse in 50% of the accounts in this dataset which introduces more risk than recommended.

Controls:

  • Detection/Audit
    • Auditing the password reuse in a custom account password policy can be done via CLI:
      aws iam get-account-password-policy
    • The AWS Config Rule: iam-password-policy will also detect password policies that are too weak.
  • Prevention/Mitigation
    • Setting password reuse is recommended to prevent and mitigate compromised credentials.

Additional Controls

  • Enabling MFA for regular IAM users will also help mitigate compromised credentials.
  • If you are using or can use cross-account access or federated/SSO authentication, it avoids the IAM User password policy issues since cross-account access will utilize temporary credentials. Authentication and password policies including length, reuse, and MFA can be handled centrally by the federated identity system instead of in each account.

Conclusiones

Many best practices have been codified but many AWS environments lag behind in implementing these best practices. Remediating the issues is straightforward for many of the security settings, and there exists specific prescriptive guidance on auditing and remediating your configurations in these areas, which can result in a large reduction in risk.

Here are some basic measures that can be done to address some of the common risk areas due to IAM configuration in your AWS environment:

  1. Customize your AWS Password Policy, do not use the default.
  1. Increase the password length to at least 14, and set the password reuse to 24.
  1. Especially for larger environments, using a federated identity system or by isolating all IAM Users in one account and granting cross-role access, will allow centralized management of user accounts and password policies.

In upcoming blogs, we’ll explore other best practices and how individual organizations can apply these best practices specific to their environment.

Additionally, Netskope’s Public Cloud Security platform also can automate configuration checking of your AWS environment, implementing both compliance standards, as well as custom configuration checks.

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 1143 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 with a few adjustments for the dataset and methodology. Some best practices might define “recent usage” for the root account as a last logged in time occurring within the past 24 hours to determine whether the root account has been used recently. Because this dataset comes from a point-in-time snapshot, this was changed to within the past 7 days prior to the audit date.

author image
Acerca del autor
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.
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.