REPORT – Password Strength Assessment – v1.0.0
Eldon Gabriel
Eldon Gabriel

Categories

  • Infrastructure Security

Tags

  • Access Control
  • Account Security
  • Hardening
  • Linux
  • Security Hardening
  • System Administration

0.0 Executive Summary

This report presents the setup and execution of an authorized password strength assessment on a Linux system. The goal was to identify weak passwords that could allow unauthorized access to the system. The assessment focused on a test account named katy, which was given admin rights for testing purposes.

The assessment tested passwords against a known list to identify weak credentials. Testing confirmed that a weak administrative password could be recovered, thereby demonstrating the risk of weak passwords.


1.0 Password Strength Assessment

1.1 Project Description

The goal of this task was to build Linux administration and security auditing skills using John the Ripper and Linux account management tools.

The setup included:

  • Combining Linux account information for password testing

  • Restricting access to sensitive password files

  • Using a common password list for testing

  • Running a password strength assessment against a test account

  • Securely removing temporary audit files after testing

This process helps administrators to identify weak passwords before attackers can use them.

1.2 Technical Task / Troubleshooting Process

The process focused on reviewing password data and checking the password strength.

Key Actions & Observations

  • Created a temporary test account named katy.

  • Added account to the sudo group.

  • Combined account data from /etc/passwd and /etc/shadow.

  • Isolated target accounts for testing.

  • Restricted access to the audit files.

  • Verified that the extracted account data were correct.

  • A password dictionary was prepared for testing.

  • Ran John the Ripper on the target account.

  • Selected password format manually when automatic detection failed.

  • Verified the assessment results.

  • Temporary audit files were removed using the shred utility.

Root Cause: John the Ripper could not automatically identify the password format. Manually setting the correct format resolved this issue.

1.3 Resolution and Validation

The assessment results were reviewed through testing and tool-output verification.

Parameter Configuration Value
Assessment Tool John the Ripper
Target Account katy
Assessment Type Password Strength Assessment
Word List RockYou
Password Format Manual Configuration
File Protection Secure Data Handling

Validation Steps

  1. Verified that account data were merged correctly from both system files.

  2. File permissions restrict access to authorized users.

  3. We tested automatic password format detection and found that it failed.

  4. The correct password format was applied, and the assessment was confirmed to be completed successfully.

  5. The recovered password was verified to match the test account password.

2.0: CONCLUSION

2.1 Key Takeaways

  • Password assessments may require data from multiple Linux account files.

  • Modern password protection methods help to slow down password-guessing attacks.

  • Manual password format selection may be required if automatic detection fails.

  • Temporary password files should be removed after testing to reduce security risks to the system.

2.2 Security Implications & Recommendations

Risk: Weak Administrative Passwords

Using common passwords for admin accounts increases the risk of unauthorized access.

Mitigation: Use PAM policies to enforce strong password length and complexity requirements.

Risk: Exposed Password Data

Leaving password files on a system after testing creates unnecessary security risks to the system.

Mitigation: Securely remove temporary files when testing is complete.

Best Practices

  • Back up important data before running password assessments

  • Limit testing to approved accounts and systems

  • Use manual password format selection when automatic detection fails

  • Review authentication logs for unusual activity

Framework Alignment

  • Supports NIST SP 800-53 access control and security auditing standards

  • Aligns with CIS Linux Benchmark recommendations for password strength testing

  • Supports ISO 27001 access control and account security requirements