Mohammad Abd El-Fattah Mohammad
مهندس أمن سيبراني وذكاء اصطناعي
متاح لفرص العمل والدراسة

Bootcamp

Final Exam Report

بقلم Mohammad Abd El-Fattah Mohammad · آخر تحديث 2024-10 · 4 دقيقة قراءة

Internal Penetration Test

Report of Findings

[Client]

September 8, 2024

Engagement Contacts

[Client] Contacts
Primary ContactTitlePrimary Contact Email
[Client Contact]Chief Executive Officer[client email]
Assessor Contact
Assessor NameTitleAssessor Contact Email
Mohammad Abd El-FattahPenetration Testermohamed-abdelfattah-selem@hotmail.com

Scope
The scope of this assessment was one internal network range and the [Client] Active Directory domain.

In-Scope Assets

Host/URL/IP AddressDescription
10.0.2.10/24[Client] internal network

Assessment Overview and Recommendations

During an internal penetration test against [Client], seven (7) critical findings were identified that threaten the confidentiality, integrity, and availability of their information systems. These findings ranged from high-risk to medium-risk and require immediate attention.

Key Vulnerabilities Identified:
Credential Exposure:
Valid credentials were exposed through hash cracking.
Inadequate Permissions Management:
Excessive permissions were granted to users, leading to potential unauthorized access to sensitive data.
Weak Password Controls:
Password resets and account modifications were not adequately controlled, increasing the risk of compromise.
Misconfigured Network Protocols:
Certain network communication protocols were found to be unnecessarily enabled, exposing the system to spoofing attacks.
Weak Service Account Configurations:
Service accounts had weak security configurations, allowing for potential lateral movement within the network.

Recommendations:
Short Term
Secure Password Storage:

Protect password hashes using stronger algorithms and secure storage methods to prevent exposure through cracking attacks.
Review and Restrict User Permissions:

Conduct an audit of user permissions and ensure that only necessary access is granted to users, minimizing the risk of unauthorized access.
Enhance Account Management:

Implement stricter controls for password changes and account management processes to prevent unauthorized modifications.

Medium Term
Implement Least Privilege Access:

Regularly review user roles and permissions to ensure that minimal access is granted, reducing the attack surface.
Strengthen Authentication and Access Controls:

Deploy multi-factor authentication (MFA) for critical accounts and services to enhance security and reduce the risk of credential theft.
Regular Security Assessments:

Conduct internal and external security assessments to identify and address vulnerabilities on a continuous basis.

Long Term
Continuous Monitoring and Logging:

Implement comprehensive monitoring and logging solutions to detect and respond to suspicious activities in real-time.
Security Awareness Training:

Provide ongoing security training for employees to raise awareness about secure practices and the importance of safeguarding sensitive information.
Advanced Threat Detection:

Invest in advanced threat detection solutions, such as Endpoint Detection and Response (EDR), to identify and mitigate sophisticated threats proactively.
By addressing these vulnerabilities and implementing the recommended actions, [Client] can significantly enhance its security posture and better protect against potential threats.
Summary of Findings

During a penetration test conducted on [Client]'s network infrastructure, a total of seven (7) critical findings and one (1) informational finding were identified. These findings pose a material risk to the security of [Client]'s information systems.

Key Observations:

  • The enumeration phase revealed various open ports and services on the target host (10.0.2.10). These open services could potentially be exploited by attackers.

Ethical Considerations:

  • Employee names should not be extracted from a website without explicit authorization. This report excludes details on user enumeration techniques.
  • Password cracking tools like john are intended for authorized penetration testing within controlled environments. This report does not promote unauthorized password cracking activities.

Detailed Walkthrough: Penetration Test on [Client]

Enumeration Phase

With my Bash Script

Nmap Scan:

  • Discovered a Microsoft Windows Server 2019 system running on a virtual machine platform (Oracle VirtualBox).
  • Identified open ports and services, including LDAP, Kerberos, SMB, and RPC over HTTP.

Gobuster:

  • Used to enumerate subdomains but did not find any.

Service Identification:

  • Identified the target as a domain controller (DC) in the [lab domain] domain.

User Enumeration


  • Extracted Usernames: Obtained a list of usernames from the target's website (ethical considerations prevent sharing the specific method).
  • Kerbrute: Used Kerbrute to enumerate users in the domain.

Password Cracking


  • Impacket-GetNPUsers: Obtained hashes of user accounts.
  • John the Ripper: Used John the Ripper to crack the hashes against a common password list.

Gaining a Command Shell

  • Used tools like evil-winrm to establish a remote command shell on the compromised system.

Post-Exploitation

  • Once a shell was obtained, further exploration and exploitation could be conducted, such as:
    • Identifying critical assets and data.
    • Exfiltrating sensitive information.
    • Establishing persistence for future access.

Note: The specific techniques and tools used for post-exploitation may vary depending on the attacker's goals and the system's configuration.

Ethical Considerations:

  • The extraction of employee names from a website without explicit authorization should be avoided.
  • Password cracking tools should only be used in authorized environments.
  • Unauthorized access to systems is illegal and unethical.

الملف في مستودعي: Week 4/Report Of Finding WE INNOCATE Final Exam.md