Categories: Sniffing & Spoofing

Password Pentesting with Net-Creds to Sniff out Username and Password of Users in your Network

In this Kali Linux Tutorial, we show you how to use Net Creds to launch a MITM attack.Net creds is a python based script to sniff login credentials of victim visited the website. Download the Net Creds Tool Here.

Run the script in windows or Linux machine, its recommended to have python compiler to run the script on the windows machine.

Here I have used Kali Linux to sniff out victims network.It’s not necessary to install python in Kali Linux.Kali Linux has inbuild python compiler.

Also Read Xerosploit – Toolkit to Perform MITM, Spoofing, DOS, Images Sniffing/Replacement, WD Attacks

Attackers machine(Kali Linux)

  • Execute the script with a command: python net-creds.py -i eth0
  • Choose your appropriate interface, here I have used -i eth0 as my interface.

Sniff Out for Username & Password

  • Net-creds is sniffing out URLs visited to capture clear text network protocols.
  • Above illustrated image shows sniffed data has interesting juicy pieces of stuff in GET & POST request of the HTTP protocol.
  • Here found banking login credentials in POST Request for demo.testfire.net website.

Check Victims Credentials

  • Let us check out sniffed credentials is successfully for login.
  • Bingo !!! Log in successful for username & password.

Protocols Net-creds capable to Sniff

  • POST loads sent,HTTP form logins/passwords,HTTP basic auth logins/passwords,HTTP searches,FTP logins/passwords,IRC logins/passwords,POP logins/passwords.
  • IMAP logins/passwords,Telnet logins/passwords,SMTP,logins/passwords,SNMP community string,NTLMv1/v2 all supported protocols: HTTP, SMB, LDAP and Kerberos.

Protocols Vulnerable for MITM attack

  • HTTP: Sends passwords in clear text
  • TELNET: Transfer commands in plain text
  • SNMP: Sends passwords in clear text
  • POP: Sends passwords in clear text
  • FTP: Sends passwords in clear text
  • NNTP: Sends passwords in clear text
  • IMAP: Sends passwords in clear text

Mitigation for MITM attack

  • The first defense against packet sniffers is to use strong authentication, such as one-time passwords.
  • Antisniffer tools to detect the use of sniffers on a network.
  • Implement cryptographic protocols for network management include Secure Shell Protocol (SSH) and Secure Sockets Layer (SSL).

You can follow us on LinkedinTwitterFacebook for daily Cybersecurity updates also you can take the Best Cybersecurity courses online to keep your self-updated.

BALAGANESH

Recent Posts

Threat Actors Exploit Google Docs And Weebly Services For Malware Attacks

Phishing attackers used Google Docs to deliver malicious links, bypassing security measures and redirecting victims…

11 hours ago

Python NodeStealer: Targeting Facebook Business Accounts to Harvest Login Credentials

The Python-based NodeStealer, a sophisticated info-stealer, has evolved to target new information and employ advanced…

12 hours ago

XSS Vulnerability in Bing.com Let Attackers Send Crafted Malicious Requests

A significant XSS vulnerability was recently uncovered in Microsoft’s Bing.com, potentially allowing attackers to execute…

14 hours ago

Meta Removed 2 Million Account Linked to Malicious Activities

 Meta has announced the removal of over 2 million accounts connected to malicious activities, including…

18 hours ago

Veritas Enterprise Vault Vulnerabilities Lets Attackers Execute Arbitrary Code Remotely

Critical security vulnerability has been identified in Veritas Enterprise Vault, a widely-used archiving and content…

19 hours ago

7-Zip RCE Vulnerability Let Attackers Execute Remote Code

A critical security vulnerability has been disclosed in the popular file archiving tool 7-Zip, allowing…

19 hours ago