• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

dnsspoof: command not found

by admin

DNS spoofing is an attack in which the person carrying out the MITM attack uses it to change the name resolution in the DNS server’s response to the victim, sending them to a malicious page instead of to the one they requested while still using the legitimate name.

dnsspoof command is part of the dsniff package. dsniff is a collection of security tools designed to look at different application protocols and extract important information from them when they are in cleartext. This information can then be used for future insight on the attack. Some of the other tools included within dsniff include filesnarf, mailsnarf, urlsnarf and webspy. These tools look for this specific traffic on the correct application port and can provide us details on that application. Here is a quick definition of some of them:

  • Webspy: It shows us what URLs’ people are browsing by opening up a browser window locally.
  • Urlsnarf: It shows us what URLs are being browsed to on the user’s network.
  • mailsnarf: It shows any e-mails from POP and SMTP traffic on our network.
  • dsniff: It shows passwords sent in cleartext across the network.
  • dnsspoof: Various tools to sniff network traffic for cleartext insecurities.
  • filesnarf: captures files from NFS traffic, and saves them in the current directory.

If you get below error:

dnsspoof: command not found

you may try installing the dsniff package as per your choice of operating system.

Distribution Command
Debian apt-get install dsniff
Ubuntu apt-get install dsniff
Arch Linux pacman -S dsniff
Kali Linux apt-get install dsniff
Fedora dnf install dsniff
Raspbian apt-get install dsniff

Conclusion

Dsniff is one of the most comprehensive and powerful freely-available packet-sniffing tool suites for capturing and processing authentication information. Its functionality and numerous utilities have made it a common tool used by attackers to sniff passwords and authentication information off networks.

Filed Under: Linux

Some more articles you might also be interested in …

  1. make: Nothing to be done for `default’
  2. “530 Non-anonymous sessions must use encryption” – while using curl
  3. numlockx Command Examples in Linux
  4. How to Set Resource Limits for a Process with Systemd in CentOS/RHEL 7 and 8
  5. Beginners Guide to Samba (Installation and Configuration)
  6. dnf: command not found
  7. guake: command not found
  8. pmount Command Examples in Linux
  9. uname Command Examples in Linux
  10. gradle: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • aws ec2: CLI for AWS EC2 (Command Examples)
  • aws cur – Create, query, and delete AWS usage report definitions (Command Examples)
  • aws configure – Manage configuration for the AWS CLI (Command Examples)
  • aws cognito-idp: Manage Amazon Cognito user pool and its users and groups using the CLI

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright