











Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity
Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium
Esta página no es visible en la vista previa
¡No te pierdas las partes importantes!












Robyn Hicock, [email protected] Microsoft Identity Protection Team
This paper provides Microsoft’s recommendations for password management based on current research and lessons from our own experience as one of the largest Identity Providers (IdPs) in the world. It covers recommendations for end users and identity administrators. Microsoft sees over 10 million username/password pair attacks every day. This gives us a unique vantage point to understand the role of passwords in account takeover. The guidance in this paper is scoped to users of Microsoft’s identity platforms (Azure Active Directory, Active Directory, and Microsoft account) though it generalizes to other platforms.
Azure Active Directory and Active Directory allow you to support the recommendations in this paper:
The security of your Microsoft account is important for several reasons. Personal, sensitive information may be associated to your account such as your emails, contacts, and photos. In addition, other services may rely on your email address to verify your identity. If someone gains access to your email, they may be able to take over your other accounts too (like banking and online shopping) by resetting your passwords by email. Tips for creating a strong and unique password:
Acknowledgements Special thanks to all of the people below for their input and help on this paper. Alex Weinert, Group Program Manager, Identity Protection Alex Simons, Partner Director Program Management, Identity David Treadwell, Corporate Vice President, Identity Stuart Schechter, Researcher, Microsoft Research Cormac Herley, Researcher, Microsoft Research Brian Puhl, Program Manager, Identity and Security Operations Sparky Toews, Program Manager, Identity Services Daniel Kondratyuk, Program Manager, Identity Protection Michael McLaughlin, Program Manager, Identity Protection Daniel Edwards, Security Software Engineer, C+E Security Engineering
Understanding the Recommendations Good password practices fall into two broad categories: resisting common attacks, and containing successful attacks. For administrators of identity systems, a third broad category exists: understanding human nature. Many theoretically valid practices fail in the face of natural human behaviors. Resisting password attacks falls into two categories: choice of where to enter a password (known and trusted devices with good malware detection, validated sites, etc.) and the choice of what password to choose (length and uniqueness). Containing successful attacks is about limiting damage to a specific service, or preventing that damage altogether. For example, ensuring that a breach of your social networking credentials does not make your bank account vulnerable, or not letting a poorly guarded account accept reset links for an important account. For administrators, understanding human nature is critical because research shows that almost every rule you impose on the end user will result in a degradation of password quality: length requirements, special character requirements, and password change requirements all result in predictable normalization of passwords, which makes it easier for attackers to guess or crack passwords. Within this framework, here are rationales for the above recommendations. Guidelines for Administrators The primary goal of a sound password formulation policy is password diversity – You want your identity system to contain lots of different, hard to guess passwords. (To gain an understanding of the way hackers approach cracking passwords and how password diversity makes this harder, you might want to read this blog from “Schneier on Security.”) There are many ways to do this, but unfortunately, most of the common approaches people use today - length requirements, complexity requirements, and change frequencies - don’t actually help achieve this goal. In the real world, and with real users, they do just the opposite. Why is this the case? Because people react in predictable ways when confronted with similar sets of restraints. We now know this based on a substantial body of new research which reveals just how predictable these behaviors are. Check out the below Microsoft Research papers to learn more: Do Strong Web Passwords Accomplish Anything? Password Portfolios and the Finite-Effort User Telepathwords: Preventing Weak Passwords by Reading Users’ Minds
Let’s start by examining some guidance patterns to break – the anti-patterns. These are some of the most commonly used password management practices, but research warns us about the unintended negative impacts of each of them:
Excessive length requirements (greater than about 10 characters) can result in user behavior that is predictable and undesirable. For example, users who are required to have a 16-character password may choose repeating patterns like fourfourfourfour or passwordpassword that meet the character length requirement but are clearly not hard to guess. These passwords were chosen by participants in a pilot study in which one treatment group was asked to create a password under the constraint that the password must be 16 characters long. The full Microsoft research study is here. Long password requirements also effectively guarantee all passwords will be within a few characters of length around the minimum, which makes it easier for attackers to successfully formulate their attacks. Additionally, length requirements significantly increase the probability that users will adopt other insecure practices such as writing their passwords down, re-using them, or storing them unencrypted in documents on their PC or in the cloud. Moreover, the popular XKCD comic advice of joining multiple random words together is not bulletproof. Today password crackers combine different words from their dictionaries to guess long passwords. The XKCD comic also claims this approach is more memorable, whereas analysis has failed to show that it is. For more information, see the “Correct horse battery staple” paper here. Longer passwords do increase the time it takes for a hashed password to be cracked should a hacker get ahold of your store of hashed passwords. However, by the time you force users to get to passwords that are truly resistant to brute force attacks (18-20 characters long), the resulting passwords are so long that they inevitably lead to poor behaviors as users struggle to find ways to remember the passwords they’ve selected. To encourage users to think about a unique password, we recommend keeping a reasonable 8-character minimum length requirement, but this is subservient to our guidance to ban common passwords.
Password complexity requirements reduce key space and cause users to act in predictable ways, doing more harm than good. This is shown in the Microsoft Research paper “Do Strong Web Passwords Accomplish Anything?” by Cormac Herley and Dinei Florencio. Most systems enforce some level of password complexity requirements. Example: Passwords need characters from all three of the following categories: o Uppercase characters o Lowercase characters o Non-alphanumeric characters Most people use similar patterns (i.e. capital letter in the first position, a symbol in the last, and a number in the last 2). Cyber criminals know this, so they run their dictionary attacks using the common substitutions, such as "$" for "s", "@" for "a," "1" for "l" and so on. More info from the “Schneier on Security” blog is here. There’s also a Wall Street Journal article here that explains common behaviors when users pick passwords. Thus advocating a combination of upper, lower, digits, special characters has a negative effect.
Below is a screenshot of what happens if a customer tries to use a banned password.
While effective education efforts are difficult, one of the most important messages to get across to your users is not to reuse their corporate creds anywhere else. Users have a tendency to reuse the same passwords across multiple sites. One study comparing stolen login credentials for two different sites discovered password reuse rate was 49%. The problem with this is that a successful attack can expose a user in many sites. This is not just theoretical: for Microsoft account, we see hackers testing leaked credentials against our systems at an average of 12M credential pairs every day. It is common practice for cyber criminals to try compromised credentials across many sites. The use of corporate credentials in external sites greatly increases the likelihood that criminals will compromise those credentials and play them back against your organization. Check out this blog post on how we protect Azure Active Directory and Microsoft accounts from lists of leaked usernames and passwords. Make sure you have clear policies and education to prevent your users from reusing their organizational credentials.
Ensure your users maintain current security information (like an alternate email address, phone number, or device registered for push notifications) so they can respond to security challenges and be notified of security events. Current security information helps users verify their identity if they ever forget their password or if someone else tries to take over their account. It also provides an out of band notification channel in the case of security events such as login attempts or changed passwords.
In Microsoft account we require every customer to have one piece of verified (meaning they have proven ownership by round tripping a code) security info. We also ask users to review their info periodically to keep it up to date. We have done extensive data analysis on the benefits of verified security info using Microsoft account data. When Microsoft account customers have security info on their account:
Risk based multi-factor authentication ensures that when our system detects suspicious activity, it can challenge the user to ensure that they are the legitimate account owner. Using an evolved risk based multi-factor authentication (MFA) system allows you to maintain a great security posture while maintaining a low friction sign in environment for legitimate users. Guidance for Users The guidance in this section is scoped to users of Microsoft account.
It is critical to use unique passwords at each site of substantial value, such as financial sites, data storage sites, or email accounts, because criminals will try the username/password pairs extracted from other sites to try to break your Microsoft account. If you have reused your Microsoft account password, it can make you vulnerable. You should also pay special care to accounts that are used for recovery at other sites. We regularly see compromise of third party mail accounts and even phone provider accounts used to attempt password resets against our consumer accounts. A well-known example of a linked accounts hack is described here. Pros: Prevents breach of other sites from putting your Microsoft account at risk. Cons: Requires remembering more passwords, which is difficult in practice.
Pros: Ensures that your password does not access your account even if breached – your phone, device, or email will also have to be in the attacker’s hands, which is far less likely. Cons: Requires initial set up, extra steps in the sign-in process, and using app passwords for apps that do not support two-step verification. For any phone-based two-factor authentication technology, you may lose access to a service if you forget your mobile phone.
Do not use common passwords, words, or phrases because these facilitate password brute forcing and breaking encrypted passwords from breaches. Based on our data science on detected attacks, we know that most password compromises are the result of breach (about 90%). And when a hash of your password is breached, common passwords or common words make cracking your password from that hash much easier – every good hacking tool uses rainbow and dictionary attacks to attack these words first. Your goal in these cases is to get yourself out of the first batches of passwords that the cyber-criminals publish. For this reason, it is important that your password be unique. The litmus test here is “can I search for this word on the web, and get hits?” Don’t try to fool the search engine with $ubst!tui0n$. It will not fool the fraudsters, since modern password crackers try the most commonly used symbols. Phrases comprised of unusual words or long anagrams are a reasonable way to go to choose a password, but make it a phrase unique to your life both for memorability and for uniqueness. BlueDiceInMy78RockWagon might be ok, as might be BDiM78Rw ; ILoveMicrosoft is not, nor are your initials plus your birthday. Your identity system should prevent you from using easily attacked passwords. Microsoft account and AAD do this today. Absent such a system, check your password idea against the latest common password lists. You can find these on the web; one article is here. Pros: Improved resistance to dictionary, rainbow, and brute force attacks. Cons: Can be harder to remember.
Regularly update your OS, browser, and other software to increase your resistance to common malware, phishing, and other common attacks. Also, do regular backups of your important data, such as pictures and documents.
Most service and app providers release security updates that can help protect devices. These updates help to prevent viruses and other malware attacks by closing security holes. Customers should turn on Windows Update if they are using Windows in order to receive these updates automatically. There’s a FAQ page about Windows Update here. Similar functionality exists for the Mac OS. Pros: Closes security holes. Cons: Some people can be tricked into installing fake updates when websites tell them to do so.
Be careful of suspicious emails and websites that may be ruses to install malware or capture your credentials. You should not open email messages from unfamiliar senders or email attachments that you do not recognize. Viruses can be attached to email messages and can spread as soon as you open the attachment. You should also be careful when downloading apps or other files from the Internet, and make sure you recognize the source. Microsoft has a help article for “Downloading files from the web” here. Pros: Protects you from viruses and malware. Cons: None.
Install an antivirus program on your computer to improve your resistance to malware that can steal your passwords. Hackers can steal passwords using malware that they have installed on a computer. You need to ensure that your computer is free of viruses and malware before you change your password or the attacker will steal your new password as soon as you set it. Windows Defender is free anti-malware software built-in to Windows 8 and Windows 10. Microsoft has a help article for “How do I find and remove a virus” here. Pros: Protects you from viruses and malware. Cons: None.
Types of Password Acquisition Attacks Now let’s take a look at a selection of commonly used password attacks and analyze which of the patterns and anti-patterns we’ve identified above helps with each:
A data breach is a security incident where sensitive information is stolen by an individual or group unauthorized to do so. According to the Verizon 2015 Data Breach Investigations Report, cyberattacks are becoming increasingly sophisticated and data breaches are on the rise. Many web sites do not use strong hashing algorithms, or, worse, they store the passwords in plain text. To attack hashed passwords there are different strategies: Dictionary Attacks (using word lists of most common passwords, words, names, years, etc.) Brute Force Attacks (trying all possible combinations of characters to see which generates the hash) Rainbow Tables (generating everything upfront in a database and looking up each hash) https://haveibeenpwned.com/ is a great web site to check if you have an account that was compromised in a data breach. Troy Hunt created the tool, and he is a Microsoft Most Valuable Professional awardee for Developer Security. Breach Takeaway: If the site does not have good data-at-rest policy then your password does not matter. If the site has a good data-at-rest policy, your password will be revealed, but common passwords are revealed faster.
Phishing is the acquisition of sensitive information such as usernames and passwords often for malicious reasons, by masquerading as a trustworthy entity. Phishing websites are designed to lead you to divulge financial data, such as account usernames, credit card numbers, passwords, and social security numbers. Some phishing attacks also gather more than just credentials, they also grab the user agent and location to better impersonate you. According to this report on phishing by the InfoSec Institute, the financial sector is the most impacted by phishing activities, followed by online auction.
A spear-phishing attack consists of a message (in an email, SMS or in some instant messaging application) that is carefully crafted in order to lure a person into downloading a malicious attachment, or clicking on a malicious link. It differs from traditional phishing attacks in that spear-phishing attacks require research before they are executed. It has been estimated in 2015 that on average it only takes 1 minute and 20 seconds for the first employee in a company to open a phishing email. Taking the bait that quickly leads to lack of time to
detect and defend against phishing. According to a Verizon report, 23% of recipients open phishing emails and 11% of the recipients open the attachments or follow the links provided in the email. Phishing Takeaway: It does not matter what your password is because if you are phished then the bad actor knows it. As a containment strategy, do not reuse passwords across multiple sites.
Malware steals information or spies on you for an extended period without your knowledge. Keystroke logging programs capture passwords. Malware Takeaway: It does not matter what your password is, because if you have malware then the bad actor knows it. Be sure to update your OS, browser, and other software. Also, install an antivirus program.
Social engineering refers to psychological manipulation of people into performing actions or divulging confidential information. Social engineering takeaway It does not matter what your password is if the hacker can socially engineer a support agent. As a containment strategy, use unique passwords for each of your important accounts.
Password hammering is the process of hackers take a common list of passwords and try them against a list of user accounts. This method is not very effective against Microsoft accounts due to our banned password and smart lockout mechanisms. Hammering Takeaway: Admins should ban common passwords and block IP addresses that engage in guessing attacks.
If your alternate email or phone is hacked then the bad actor can reset your password and take control of your account. Under some circumstances, the bad actor also proceeds to alter the other proofs/aliases of the account, and/or enable two-step verification in order to restrict the ability of the account owner to regain access to the account.