Posts

Showing posts from December, 2024

WHAT IS DNSWALK?

DNSWALK IN KALI LINUX WHAT IS DNSWALK?  dnswalk is a command-line tool used to debug and analyze DNS (Domain Name System) zones. It is also known as DNS database debugger. THE KEY FUNCTIONS OF DNSWALK ARE: 1. Zone Transfers: Dnswalk can perform zone transfers of specified domains. This means it requests a copy of the entire DNS zone from a nameserver, allowing you to examine all records within that zone. 2. Database Checks: It thoroughly checks the DNS database for internal consistency and adherence to DNS best practices. This includes verifying the correctness of resource records (RRs) like A, AAAA, MX, NS, etc. 3. Debugging: Dnswalk helps identify potential issues within a DNS zone, such as: *Missing or incorrect records. *Conflicting records. *Invalid data. *Errors in zone file syntax. TO INSTALL DNSWALK IN KALI THIS COMMAND WILL HELP YOU: apt-get install dnswalk on Debian/Ubuntu. AFTER INSTALLATION DNSWALK WILL PROVIDE VARIOUS OPTIONS LIKE: -r: Perform a reverse zone transfe...

WHAT IS DNS2TCPD?

Image
  DNS2TCPD IN KALI LINUX WHAT IS DNS2TCPD? dns2tcpd is a tool that allows you to tunnel TCP connections over DNS. This can be useful for bypassing firewalls or other network restrictions that block TCP traffic but allow DNS traffic.    WHY IT IS USED? * Bypassing Firewalls: Some firewalls are configured to only allow DNS traffic (port 53). dns2tcp can be used to bypass these firewalls by tunneling other traffic over DNS.    *Circumventing Network Restrictions: Similar to firewalls, some networks might restrict access to certain ports or protocols. dns2tcp can help get around these restrictions. *Circumventing Captive Portals: Captive portals (like those in hotels or airports) often only allow DNS traffic initially. dns2tcp can be used to establish a connection through the portal before further authentication. *Security: dns2tcp itself does not provide encryption. Therefore, the encapsulated traffic is not secure unless the underlying TCP protocol (like SSH wit...

WHAT IS DNS2TCPC?

Image
DNS2TCPC IN KALI LINUX WHAT IS DNS2TCPC? DNS2TCP is a tool that encapsulates TCP sessions within the DNS protocol. On the server side, we configure the tool to listen on UDP port 53, as per the DNS standard, we also specify our domain, "example.com", and the resources. DNS2TCP is a network tool that relays TCP connections through DNS traffic. It's made up of two parts: a client tool and a server tool.  dns2tcpc is available on kali Linux. the installation command is:  sudo apt install dns2tcp [4] DNS2TCP HAS THE FOLLOWING FEATURES: Encapsulation : Encapsulates TCP sessions within the DNS protocol. This generates smaller packets than IP-over-DNS, improving throughput.  No root privileges : The client does not need root privileges.  Simple identification mechanism : DNS2TCP has a simple identification mechanism but no encryption.  How it works : DNS2TCP relays TCP connections over DNS. The client acts as a relay for a specific resource, forwarding traffic from the...

WHAT IS DNSRECON IN KALI LINUX: FULL GUIDE

Image
 DNSRECON: DNS ENUMERATION/ RECONNAISSANCE TOOL WHAT IS DNSRECON? DNSRecon is a command-line tool used for DNS reconnaissance, enumeration, and information gathering. It is designed to be used by security professionals and ethical hackers to assess the security of a network and identify potential vulnerabilities.  DNSRecon is a Python tool that helps users perform DNS enumeration and reconnaissance:  DNS enumeration : Enumerate DNS records for a given domain, including MX, SOA, NS, A, AAAA, SPF, and TXT  DNS reconnaissance : Discover subdomains, DNS servers, and other important information about a domain  Security assessments : Perform security assessments  Network troubleshooting : Perform basic network troubleshooting. WHAT CAN DNSRECON DO? DNSRecon can perform a variety of functions, including:  1. Checking DNS server cache records. 2. Checking for wildcard resolution. 3. Performing SRV record enumeration. 4. Performing subdomain and host enumeratio...

DNSENUM: A COMMAND LINE IN KALI LINUX

Image
 DNSENUM: A INFORMATION GATHERING TOOL WHAT IS DNSENUM? The purpose of Dnsenum is to gather as much information as possible about a domain. The program currently performs the following operations:  1) Get the host's addresse (A record).  2) Get the namservers (threaded).  3) Get the MX record (threaded)   Perform axfr queries on nameservers and get BIND versions(threaded). Get extra names and subdomains via google scraping. Brute force subdomains from file, can also perform recursion on subdomain that have NS records (all threaded). Calculate C class domain network ranges and perform whois queries on them (threaded). Perform reverse lookups on netranges (C class or/and whois netranges) (threaded). Write to domain_ips.txt file ip-blocks. This program is useful for pentesters, ethical hackers and forensics experts. It also can be used for security tests. DNSENUM: A tool that can be used for DNS enumeration. It can query DNS records, attempt a zone transfer at...

DNSmaps: A GUIDANCE TO KALI LINUX

Image
DNSMAPS: KALI LINUX TOOLS   SUMMARY: DNSmap [Domain Name System] is a kali Linux tool. it maps domain names like example.com to IP addresses like 93.184.216.34. This allows computers and network devices to communicate with each other using IP addresses, which are unique numbers that are hard for humans to remember. DNSMAP, as the name suggests, is DNS Network Mapper, which is used for multiple purposes. WHAT IS DNSMAPS? DNSMAP is an passive Network Mapper, often called a sub domain brute force tool. This tool is mainly used by penetration testers and hackers for DNS and sub domain information gathering. This is the process of assigning IP addresses to domains, which allows users to access websites and other services using human-readable domain names. HOW IT WORKS: A DNS resolver finds the correct IP address for a hostname. When a user requests a DNS record, their web browser checks its cache first. If the record is not in the cache, the browser sends a query to a DNS resolver, whic...

DNS Rebinding: a beginner guidance

Image
DNS REBIND: A KALI LINUX TOOL what is DNS rebind? DNS rebinding is a cyberattack that uses the Domain Name System (DNS) to trick a victim's browser into running a malicious script that attacks devices on the victim's private network. In a DNS rebinding attack, hackers trick the victim’s browser into running a client-side script that attacks machines on the victim’s private network that are not exposed to the public internet. These attacks also establish communication between the attacker’s server and a web application on the victim’s network, typically for running malware or facilitating other malicious acts. how does it work:  1. A malicious website pretends that IP addresses reserved for local networks are part of their domain.  2. The victim's browser runs a client-side script that attacks machines on the victim's private network.  3. The attacker's server establishes communication with a web application on the victim's network.  4. The attacker can then run ...

DNSChef in kali linux: a beginner friendly guide

Image
                       DNSCHEF IN KALI LINUX  WHAT IS DNSCHEF IN KALI LINUX? DNSChef is a DNS proxy tool in Kali Linux that can be used for network security testing. It's also known as "Fake DNS". DNSChef is a versatile DNS proxy designed for penetration testers and malware analysts. It is used to intercept and process DNS traffic. It allows various network security operations, such as redirecting traffic to a specific IP address or capturing DNS queries for analysis. WHAT DOES DNSCHEF DO? DNS Chef is a tool that helps manage DNS configurations. DNS stands for Domain Name System, which translates domain names into IP addresses HOW DOES DNSCHEF WORK? dnschef can help spoof domain and url for example; dnschef spoofing attack where DNS servers cache to redirect traffic to malicious server.   a simple DNS spoofing attack using the following command:  for example                ...

Install and Use ADB Tool in Kali Linux

Image
 Install and Use ADB Tool in Kali Linux What is ADB? ADB is part of the Android SDK Platform Tools and acts as a bridge between your computer and an Android device. It allows you to: Install and debug applications. Access the Android file system. Execute shell commands on the device. Perform port forwarding for network-related tasks. For ethical hackers and pentesters, ADB is particularly useful for application testing and network traffic analysis. Step 1: Installation  a. Type the command to ensure your system is upto date- sudo apt update && sudo apt upgrade -y b. Install ADB using your package manager: sudo apt-get install adb   or  apt-get install adb (inroot access)   c. Verify the Installation After installation, check the ADB version to confirm it’s installed correctly: adb version  Step 2: Install Genymotion If you haven’t installed Genymotion yet, follow these s...

Live Drag-and-Drop APK Testing

 Simplified with MobSF, JADX GUI, APKTool GUI, OnlineAPK Decompiler, and AndroChef In today’s fast-paced mobile app development environment, security testing is a crucial step that developers must prioritize. One of the most efficient ways to conduct security testing on Android apps is through APK pentesting . Traditionally, this process required extensive technical knowledge and command-line tools. However, with the emergence of drag-and-drop tools, this process has become much more accessible, allowing even non-technical users to perform thorough testing of APK files. In this blog post, we'll explore how you can use MobSF , JADX GUI , APKTool GUI , OnlineAPK Decompiler , and AndroChef for live drag-and-drop APK testing. 1. MobSF: Automated Security Testing with a GUI   Installation : Download MobSF from its official GitHub repository . Set it up by following the detailed instructions on the GitHub page. Testing with Drag-and-Drop :  You will find a link for liv...

How to Decompile and Recompile APKs for Penetration Testing

Image
 How to Decompile and Recompile APKs for Penetration Testing When conducting penetration testing on Android applications, understanding the internals of an APK file is essential. This blog covers the process of decompiling and recompiling APK files using APKTool , a powerful tool for reverse engineering Android apps. By the end, you'll be equipped to modify APKs, analyze vulnerabilities, and recompile apps for testing. What is APKTool? APKTool is an open-source tool designed for decoding and rebuilding Android APK files. It enables testers to- Access app resources like XML files, images, and strings Modify the app logic in smali code Rebuild APKs after making changes Perform deeper analysis of app behaviors    Prerequisites 1. Java Development Kit (JDK) installed on your system.   java -version    2. An APK file you want to analyze.  3. Update the files in Linux by the command: sudo apt update Step 1: Decompiling an APK Decompiling allows you to...