3.5 (15,16,17,18,20,21,22)
WEP uses the RC4 stream cipher for encryption. The RC4 algorithm generates a pseudorandom keystream based on a secret key and combines it with plaintext data using bitwise XOR (exclusive OR) operation to produce ciphertext. WEP supports two key lengths: 64-bit (40 bits key plus 24 bits initialization vector) and 128-bit (104 bits key plus 24 bits initialization vector).
WEP employs a shared key authentication mechanism, where all devices on the wireless network use the same encryption key. The key is manually configured on both the access point (AP) and client devices. The shared key is used for both authentication and encryption purposes.
WEP uses a 24-bit IV to ensure that each packet is encrypted with a unique key. However, the IV length is relatively short, leading to a limited number of possible IV combinations (2^24), which makes WEP vulnerable to certain attacks.
Vulnerabilities:
- Weaknesses in Key Scheduling: WEP's key scheduling algorithm has vulnerabilities that can be exploited to recover the encryption key. The way the IVs are combined with the secret key results in predictable patterns that facilitate key recovery.
- IV Reuse: Due to the limited IV space, WEP often recycles IVs, leading to repeated use of encryption keys. Attackers can exploit this by capturing enough encrypted packets and performing statistical analysis to recover the key.
- Chop-Chop Attack: In a chop-chop attack, an attacker can manipulate the encrypted data in a captured packet and send it back to the AP to observe its response. By analyzing the AP's responses, the attacker can deduce information about the plaintext and potentially recover the key.
- Injection Attacks: WEP does not provide integrity protection, allowing attackers to modify or inject arbitrary packets into the network without detection. This opens the door to various attacks, including packet injection, ARP spoofing, and session hijacking.
A Rogue Access Point (AP) refers to an unauthorized wireless access point that has been deployed within a network infrastructure without the explicit approval or knowledge of the network administrator. These rogue APs pose significant security risks as they can provide unauthorized access to the network and compromise its integrity.
Here's how a Rogue Access Point typically works:
Deployment: A rogue AP is physically installed within the vicinity of the targeted network. This could be done intentionally by malicious individuals, employees seeking convenient network access, or even unwittingly by visitors who connect unauthorized devices to the network.
Configuration: Once deployed, the rogue AP is configured to broadcast a wireless network signal, also known as a Service Set Identifier (SSID). In many cases, the SSID of the rogue AP is designed to mimic or closely resemble the legitimate SSIDs used by authorized access points within the organization.
Interception: Wireless devices, such as laptops, smartphones, or tablets, within the range of the rogue AP may automatically detect and attempt to connect to it, especially if its signal strength is stronger than that of authorized access points. Users may inadvertently connect to the rogue AP, believing it to be a legitimate network access point.
Man-in-the-Middle (MitM) Attacks: Once connected, the rogue AP acts as a conduit for network traffic between the connected devices and the internet or internal network. This enables the attacker to intercept, eavesdrop on, or manipulate the data transmitted between the devices and the network. MitM attacks may involve capturing sensitive information, injecting malicious content into the traffic, or modifying data packets.
Unauthorized Access: The presence of a rogue AP provides unauthorized users with an entry point into the network, bypassing the organization's security controls and policies. Attackers may exploit this access to gain further entry into the network, steal confidential information, launch cyber attacks, or conduct reconnaissance for future attacks.
Detection Challenges: Rogue APs can be difficult to detect using traditional network security measures, as they may not be visible to network administrators or security tools. Additionally, rogue APs may employ techniques to evade detection, such as changing their SSIDs or MAC addresses, or operating intermittently to avoid suspicion.
To mitigate the risks associated with rogue access points, organizations should implement robust security measures, including:
- Regular network monitoring and scanning for unauthorized wireless devices and access points.
- Implementation of wireless intrusion detection systems (WIDS) to detect and respond to rogue APs.
- Enforcement of strict access control policies, including the use of strong encryption and authentication protocols for wireless networks.
- Employee awareness training to educate users about the risks of connecting to unauthorized wireless networks and the importance of reporting suspicious activity.
Four-Way Handshake: When a client device attempts to connect to a WPA-PSK-secured network, it initiates a four-way handshake with the AP to establish a secure connection. The four-way handshake consists of the following steps:
- Request: The client sends a connection request to the AP.
- Challenge: The AP responds with a challenge message containing a random value (nonce).
- Response: The client generates its own random value (nonce) and uses the Pre-Shared Key to compute a pairwise master key (PMK). It then sends the PMK along with its nonce to the AP.
- Confirmation: The AP verifies the client's credentials and computes the PMK using the Pre-Shared Key. If the credentials are valid, the AP sends a confirmation message to the client.
Key Derivation: Once the four-way handshake is complete and the client's credentials are verified, both the client and the AP derive encryption keys from the PMK. These keys are used to encrypt and decrypt data transmitted between the client and the AP, ensuring confidentiality and integrity of the communication.
Temporal Key Integrity Protocol (TKIP): In addition to the four-way handshake, WPA-PSK also incorporates TKIP, which dynamically generates and periodically updates encryption keys to enhance security. TKIP addresses some of the weaknesses of WEP encryption by introducing key mixing, re-keying, and message integrity checks.
Message Integrity Code (MIC): WPA-PSK uses a Message Integrity Code (MIC) to detect and prevent tampering with transmitted data. The MIC is computed using a cryptographic algorithm and appended to each data frame to ensure its integrity.
the penetration testing report is a crucial document that provides valuable insights into the security posture of an organization. Here's a breakdown of the key components typically included in such a report:
List of Findings: This section outlines the vulnerabilities and weaknesses discovered during the penetration test. Findings are usually categorized by severity, with critical issues listed first.
Analysis of Findings: Each finding is analyzed in detail, explaining the potential impact on the organization's security and operations. This analysis helps stakeholders understand the significance of each vulnerability.
Conclusion/Explanation: This section provides a summary of the findings, highlighting the overall state of the organization's security posture based on the results of the penetration test.
Remediation Measures: Recommendations and remediation steps are proposed for addressing the identified vulnerabilities. These measures should be actionable and prioritize based on risk.
Supporting Evidence: Log files and other evidence from the tools used during the penetration test are included to provide supporting documentation for the findings. This helps validate the accuracy of the assessment.
Executive Summary: A high-level summary of the organization's security posture is provided for executive stakeholders. This summary highlights key findings, risks, and recommendations in a concise format.
Tester Information: The name of the tester or testing team responsible for conducting the penetration test, along with the date of testing, is included for accountability and reference.
Positive Findings: Any positive findings, such as well-implemented security controls or effective security practices observed during the test, are mentioned to provide a balanced perspective.
Types of Security Assessments: There are two main types of security assessments: external and internal. External assessments test the network from outside the organization's perimeter, typically via the internet, while internal assessments are conducted within the organization's network.
Outsourcing Assessments: Organizations may choose to outsource their security assessments if they lack qualified testers or need to meet specific audit requirements, such as HIPAA compliance.
Scope Definition: It's essential to define the scope of the assessment, including what will be tested and what won't be tested. This helps ensure that the assessment focuses on the most critical areas of the network.
Manual vs. Automated Testing: Security assessments can be performed manually using various tools or automated tools. While automated tools can be faster, manual testing offers the benefit of expertise and thorough analysis.
- Pre-attack Phase:
- Involves reconnaissance and data gathering to map the target network.
- Gathering data from Whois, DNS, and network scanning.
- Locating the IP block and identifying personnel contact information.
- Testing network filtering devices, stress-testing proxy servers, and checking for default firewall configurations.
- Attack Phase:
- Penetrating the network perimeter by evaluating protocol filtering rules and testing for vulnerabilities such as buffer overflows, SQL injections, and DoS attacks.
- Testing internal web applications and wireless configurations.
- Acquiring the target system by exploiting vulnerabilities or using social engineering techniques.
- Testing the enforcement of security policies and attempting to escalate privileges.
- Post-attack Phase:
- Restoring the system to its pre-test configuration by removing files, cleaning registry entries, and removing shares and connections.
- Analyzing the results and presenting them in a comprehensive report.
- Including objectives, observations, activities undertaken, and recommendations for fixing vulnerabilities in the report.
Comments
Post a Comment