Monday, November 4, 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

Malware protection

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

Evasive Panda Attacking Cloud Services To Steal Data Using New Toolkit

The Evasive Panda group deployed a new C# framework named CloudScout to target a...

Massive Midnight Blizzard Phishing Attack Using Weaponized RDP Files

Researchers warn of ongoing spear-phishing attacks by Russian threat actor Midnight Blizzard targeting individuals...

Sophisticated Phishing Attack Targeting Ukraine Military Sectors

The Ukrainian Cyber Emergency Response Team discovered a targeted phishing campaign launched by UAC-0215...

Chinese Hackers Attacking Microsoft Customers With Sophisticated Password Spray Attacks

Researchers have identified a network of compromised devices, CovertNetwork-1658, used by Chinese threat actors...

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

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

Driftnet – Tool used to Capture Images that Your Friend looking at Online

How we can launch a MITM attack with Websploit and the Driftnet - Tool used...