0% found this document useful (0 votes)
10 views5 pages

Inlighn Tech Notes

The document provides a comprehensive overview of various security and networking tools and commands, including file permissions using chmod, network configuration with ifconfig, and tools for footprinting and vulnerability analysis like Dmitry, Dnsenum, and Nikto. It also covers password cracking techniques using tools such as John the Ripper, Hydra, and Medusa, as well as packet analysis with Wireshark. Additionally, it discusses methods for changing MAC addresses and performing database assessments with sqlmap.

Uploaded by

yiciped470
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views5 pages

Inlighn Tech Notes

The document provides a comprehensive overview of various security and networking tools and commands, including file permissions using chmod, network configuration with ifconfig, and tools for footprinting and vulnerability analysis like Dmitry, Dnsenum, and Nikto. It also covers password cracking techniques using tools such as John the Ripper, Hydra, and Medusa, as well as packet analysis with Wireshark. Additionally, it discusses methods for changing MAC addresses and performing database assessments with sqlmap.

Uploaded by

yiciped470
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Inlighn tech notes :

Chmod 3 part :
1. admin = rwx =7
2. group = r-x =5
3. other = r - - =4

 r=read = 4
 w=write = 2
 x=execute = 1

 chmod 764  admin r w x, group r w -, other r - -


 chmod -R 777 dir_name  they get permission of entire directory and inside
the all files to r w x
TOR:
 Service tor start|stop|restart etc..
 Proxychain  to change ip address
Via ifconfig can change mac address:
 Sudo Ifconfig eth0 down
 Sudo ifconfig eth0 hw ether aa:vv:bb:dd:dd:aa
 Sudo ifconfig eth0 up
Macchanger through :
 Version
 Change macaddress
 Random mac address
 Reverse to permanent mac address
Footprinting:
Dmitry to get all of detail :
 subdomain
 email
 port of tcp
 whois

Dnsenum:
 Host address
 Name server
 Mail server
 Brute forcing with /usr/share/dnsenum/[Link]
 Performing reverse lookup on 256 ip addresses
Dnsmap:
 Ip address with subdomain
 Bruteforce the subdomain
Dnstracer:
 Trace the route of domain name
Searchsploit:
It exploit :
 Database
 Android
 Linux
 Window
 Mac
 Browser
 Websites
 Cctv
Website footprinting :
 Whatweb
 Whois
 Dirb

Vulnerability Analysis – Nikto :
 Vulnerability Scanner – finds web server issues.
 Misconfiguration Finder – detects bad setups/defaults.
 Outdated Software Check – identifies old/insecure versions.
 Security Audit Tool – reports risks for fixing.
Red Hawk:
 Whois Lookup
 Geo-IP Lookup
 Grab Banners
 DNS Lookup
 Subnet Calculator
 NMAP Port Scan
 Subdomain Scanner
 Reverse IP Lookup & CMS Detection
 SQLi Scanner (Finds Links With Parameter And Scans For Error Based SQLi)
 Bloggers View (Information That Bloggers Might Be Interested In)
 WordPress Scan (Only If The Target Site Runs On WP)
 Crawler
 MX Lookup
Unix and Linux Security Audit:
 Lynis security auditing systems based on Unix. Linux, MacOS, BSD, etc
 Performs in-depth security scan on system itself
 Primary goal is to test security defenses and tips to improve security
 It will also scan for general system info, configuration issues and vulnerable
software
 Command : lynis audit system
Database Assessment – sqlmap :
 sqlmap -u target_with_parameters dbs : find database
 sqlmap -u target_with_parameters -D database_name -T table_
name -C columns_name find table and columns
 sqlmap -u target_with_parameters -D database_name -T table_
name -C columns_name –dump  inside details
Password Attack:
HASH :
 one way encryption to hashing.
Encryption= A  B  C
Ex:
 HELLO+1= IFMMP
 IFMMP-I=HELLO
 HASH= HELLO+1= IFP+1 =JGQ
 JGQ-1=IFP
Custom Wordlist – cewl :
 Custom wordlists
 Website spider
 Depth control
 Min-length
 Output file
 Email harvest
 User-agent
 Respect robots
 Include numbers
 Lowercase words
 Verbose mode
 Use with John
 Rate limiting
 HTTP auth
Password cracking - john the ripper :
 Crack offline passwords
 Crack shadow hashes
 Crack NTLM hashes
 Crack MD5 hashes
 Crack bcrypt hashes
 Crack zip archives
 Crack PDF passwords
 Crack SSH keys
 Crack MySQL hashes
 Crack LDAP hashes
 Recover forgotten passwords
 Audit weak passwords
 Test password policies
 Validate wordlists
 Forensic hash recovery
Password cracking - Hydra :
 Brute-force SSH
 Brute-force FTP
 Brute-force HTTP-auth
 Brute-force SMB
 Brute-force RDP
 Brute-force SMTP
 Brute-force POP3
 Brute-force Telnet
 Credential stuffing
 Test default creds
 Audit weak logins
 Multi-protocol tests
 Parallel attempts
 Recover lost access

Password cracking - Medusa:


 Parallel logins
 SSH testing
 FTP testing
 HTTP form testing
 SMB testing
 POP3/IMAP testing
 SMTP testing
 RDP testing
 Credential stuffing
 Account lockout checks
 Multi-host scans
Sniffing :
 Packet capture
 Promiscuous mode
 Passive monitoring
 Protocol analysis
 Traffic filtering
 Session reassembly

Wireshark:
Main 4 Part into divided section :
 Filter bar – apply filters
 Packet list – captured packets
 Packet details – protocol info
 Packet bytes – raw data
Purpose:
 Packet capture
 Traffic analysis
 Filter packets
 View protocols
 Inspect data

Common questions

Powered by AI

'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 .

You might also like