Inlighn Tech Notes
Inlighn Tech Notes
'john the ripper' is primarily designed for offline password cracking, capable of analyzing shadow, NTLM, and several other hash types. It validates password strength and audits for weak passwords by attempting to crack encrypted hashes. 'Hydra', in contrast, is a network logon cracker that performs brute-force attacks on protocols such as SSH, FTP, and HTTP-auth among others. It is adept in testing multiple protocols and supports parallel attempts, focusing on credential stuffing and login audits over networks. Thus, while 'john the ripper' excels in hash-based cracking offline, 'Hydra' is suited for live network authentication attempts .
The 'tor' service is used to anonymize internet traffic by routing user data through a worldwide network of volunteer nodes, ensuring privacy and resistance against network surveillance. When combined with 'proxychain', which tunnels connections through proxy servers, the user can further obscure their origin by chaining multiple proxy relays. This combination significantly enhances anonymity by masking the user's IP address and physical location, making it difficult for surveillance systems to track network activity .
Footprinting is the first phase in both ethical hacking and cyber attacks, involving the gathering of information about a target system. For ethical hacking, footprinting is used to discover vulnerabilities or misconfigurations to strengthen defenses. However, malicious actors utilize the same techniques to identify weak points for exploitation. Mitigating risks involves implementing strict network monitoring, regular vulnerability assessments, and ensuring minimal exposure of sensitive information online. Legal frameworks and clear ethical guidelines also play roles in permissible footprinting activities, reducing the potential misuse by outlining lawful boundaries .
'sqlmap' automates the process of detecting and exploiting SQL injection vulnerabilities in database-driven applications. It is capable of finding database structures, enumerating tables and columns, and potentially extracting data. By providing insights into SQL vulnerabilities, 'sqlmap' helps security professionals understand the attack surface of their databases and rectify exploits before attackers can leverage them. The tool's comprehensive scanning capabilities ensure thorough assessments and highlight critical security flaws in database security policies .
'searchsploit' leverages a database of known exploits to find vulnerabilities in various systems including OSs, software applications, and websites. It is particularly effective for finding specific exploit code that can be used directly for penetration testing. 'nikto', on the other hand, performs web server vulnerability scans, identifying issues like outdated software, misconfigurations, and security flaws in applications. While 'searchsploit' is extremely useful for leveraging existing exploits, 'nikto' offers a proactive approach by detecting vulnerabilities that might need immediate attention, thus complementing each other in a security audit toolkit .
Changing a MAC address can improve privacy and security by preventing tracking based solely on network hardware identifiers. Using 'ifconfig', a network interface is first brought down (eth0 down), the MAC is changed using 'hw ether', and then brought back up (eth0 up). 'macchanger' automates this process, allowing users to set a specific MAC address or a random one, with options to revert to the original address. This approach is beneficial when accessing public networks, as it obscures the user's physical hardware, reducing the risk of targeted attacks or tracking .
The command 'chmod 764' sets specific file permissions for the admin, group, and other users. Admin (owner) is granted read, write, and execute permissions (rwx), which corresponds to permission value 7. The group is given read and write permissions (rw-), corresponding to permission value 6, while others have only read permission (r--) with permission value 4. This setup allows the owner comprehensive control, the group can view and modify but not execute, and others can only view the file .
'Red Hawk' serves as an all-in-one reconnaissance and vulnerability scanner for web applications. It includes features like Whois and Geo-IP lookups, DNS and subdomain scanning, banner grabbing, port scanning, and CMS detection. Additionally, its SQLi scanner checks for SQL injection vulnerabilities, and it provides specific scans for Wordpress sites. These functionalities allow it to form a comprehensive view of a web application's security posture, identifying potential issues and weaknesses that could be exploited by attackers .
'Lynis' conducts in-depth security audits on systems running Unix-like OS, including Linux and MacOS. It targets vulnerabilities such as configuration issues, outdated software, and general security defenses. The tool provides system information to highlight misconfigurations and recommends security improvements. By focusing on potential system weaknesses, 'Lynis' helps administrators preemptively secure their systems against threats. It enhances security by encouraging regular audits and adjustments to defensive measures, thereby reducing the attack surface of the system .
'dnsenum' is a tool useful for comprehensive domain enumeration in network footprinting, providing details such as host addresses, name servers, and mail servers. It also performs brute-force subdomain enumeration and reverse lookups. 'dnsmap', on the other hand, focuses primarily on discovering subdomains through brute-force techniques. While both are used to uncover hidden aspects of a network's domain infrastructure, 'dnsenum' provides a broader range of information, making it more versatile for thorough reconnaissance, whereas 'dnsmap' is specialized for finding subdomains .