Monday, November 25, 2024
HomeSniffing & SpoofingPassword Pentesting with Net-Creds to Sniff out Username and Password of Users...

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

Published on

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.

- Advertisement - SIEM as a Service

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.

Latest articles

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

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

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

Meta Removed 2 Million Account Linked to Malicious Activities

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

Free Webinar

Protect Websites & APIs from Malware Attack

Malware targeting customer-facing websites and API applications poses significant risks, including compliance violations, defacements, and even blacklisting.

Join us for an insightful webinar featuring Vivek Gopalan, VP of Products at Indusface, as he shares effective strategies for safeguarding websites and APIs against malware.

Discussion points

Scan DOM, internal links, and JavaScript libraries for hidden malware.
Detect website defacements in real time.
Protect your brand by monitoring for potential blacklisting.
Prevent malware from infiltrating your server and cloud infrastructure.

More like this

Tor Network Suffers IP Spoofing Attack Via Non-Exit Relays

In late October 2024, a coordinated IP spoofing attack targeted the Tor network, prompting...

10 Most Common Types of Cyber Attacks in 2023

Cyber attacks are evolving rapidly with advancements in technology, as threat actors exploit new...

Sniffing as easy as possible with Ettercap Tool

Sniffing includes catching, translating, inspecting, and interpreting the data inside a network packet on...