CompTIA Security+ Exam Notes

CompTIA Security+ Exam Notes
Let Us Help You Pass

Sunday, July 25, 2021

Password Policy

PASSWORD POLICY

The recommended minimum password length is 14 characters. With the advancement of CPU processing power and RAM, 8-character passwords are no longer recommended. 

Avoid using words found in the dictionary or part of the username to make a password strong. Use at least 3 of the following four:
Uppercase letters (26 A through Z)
Lowercase letters (26 a through z)
Numbers (10 numbers 0-9)
Special characters (32 characters, like !, @, #, %, &, and *)

An 8-character password with only lowercase letters is calculated as 26^8, or 208827064576 (208 billion) possibilities. Making the password 10 lowercase letters changes it to 141 trillion possibilities. 

With a desktop computer and a high-end graphics card, password-cracking tools are capable of testing 20 billion passwords per second. An attacker could break the 10-character password in two hours.

The combination possibilities of utilizing all four character types will equal 94 characters. Change your password to 14 characters and use a combination of all four character types  (94^14), and the possibilities are mind-blowing, a little over 4 septillions. 

Password length: To make brute force attacks more difficult, enforce minimum length. 

Password history: A password history setting in Group Policy can be enabled for 24 passwords. Once 24 passwords have been used, users can only use their favorite password. This needs to be enabled along with Password Minimum Age. Password History is not enabled if the user uses the same password after the Maximum Password Age (Password expiration).

Password Minimum Age: The default setting in Group Policy is 0, meaning users could change their passwords multiple times on the same day to return to their favorite password. The administrator would receive multiple password reset alerts. 

Saturday, July 24, 2021

Passwordless Authentication: The Future of Secure and Seamless Logins

 Passwordless Authentication

Passwordless authentication replaces traditional passwords with alternative methods for verifying a user's identity, offering enhanced security and a more user-friendly experience. Instead of relying on something the user knows (a password), it utilizes factors like biometrics, possession of a device, or unique digital keys. This approach minimizes the risk of password-related vulnerabilities, such as phishing and theft, while also simplifying the login process.
 
How Passwordless Authentication Works:
Passwordless authentication leverages different methods to verify a user's identity without relying on passwords. Here's a breakdown of common approaches:
1. Biometrics:
  • This method uses unique biological traits like fingerprints, facial recognition, or iris scans to verify identity.
  • Users unlock their devices or access applications by simply scanning their fingerprint or using facial recognition, eliminating the need for passwords.
  • Examples include fingerprint sensors on smartphones or facial recognition features in laptops. 
2. Possession Factors:
  • This approach relies on something the user possesses, like a device or a security key. 
  • One-Time Passwords (OTPs): Users receive a unique, time-sensitive code via SMS or an authentication app, which they enter to log in. 
  • Magic Links: Users receive a link via email or other messaging app. Clicking the link grants access to the user, eliminating the need for a password. 
  • Hardware Security Keys: Users plug in a physical device (like a USB key) to authenticate. 
3. FIDO2/WebAuthn:
  • This standard utilizes public-key cryptography to generate a unique key pair for each website or application.
  • The private key remains securely stored on the user's device (e.g., smartphone, computer), while the public key is registered with the service.
  • When logging in, the service sends a challenge, which the user's device signs using the private key. The service then verifies the signature using the public key. 
Benefits of Passwordless Authentication:

Enhanced Security: Reduces the risk of phishing attacks, password theft, and other vulnerabilities associated with passwords.

Improved User Experience: Eliminates the hassle of remembering and typing complex passwords, making login faster and easier.

Reduced Support Costs: Password-related helpdesk calls decrease as users don't need to reset passwords as frequently.

Increased User Satisfaction: Removing password frustrations leads to a more positive user experience. 

Examples:
Windows Hello: Microsoft's solution for passwordless authentication using facial recognition, fingerprint scanning, or a PIN. 
Google Chrome's Passwordless Login: Chrome allows users to log in to websites using security keys or QR codes linked to their devices. 
Authenticator Apps: Apps like Google Authenticator or Microsoft Authenticator generate time-based one-time passwords (TOTPs) for various services. 

Passwordless authentication represents a significant shift in how we approach digital security, offering a more secure and user-friendly way to access online services.