Pcredz, a tool that can quickly scan network traffic for such data.

Unencrypted ProtocolEncrypted CounterpartDescription
HTTPHTTPSUsed for transferring web pages and resources over the internet.
FTPFTPS/SFTPUsed for transferring files between a client and a server.
SNMPSNMPv3 (with encryption)Used for monitoring and managing network devices like routers and switches.
POP3POP3SRetrieves emails from a mail server to a local client.
IMAPIMAPSAccesses and manages email messages directly on the mail server.
SMTPSMTPSSends email messages from client to server or between mail servers.
LDAPLDAPSQueries and modifies directory services like user credentials and roles.
RDPRDP (with TLS)Provides remote desktop access to Windows systems.
DNS (Traditional)DNS over HTTPS (DoH)Resolves domain names into IP addresses.
SMBSMB over TLS (SMB 3.0)Shares files, printers, and other resources over a network.
VNCVNC with TLS/SSLAllows graphical remote control of another computer.

Wireshark

Wireshark filterDescription
ip.addr == 56.48.210.13Filters packets with a specific IP address
tcp.port == 80Filters packets by port (HTTP in this case).
httpFilters for HTTP traffic.
dnsFilters DNS traffic, which is useful to monitor domain name resolution.
tcp.flags.syn == 1 && tcp.flags.ack == 0Filters SYN packets (used in TCP handshakes), useful for detecting scanning or connection attempts.
icmpFilters ICMP packets (used for Ping), which can be useful for reconnaissance or network issues.
http.request.method == "POST"Filters for HTTP POST requests. In the case that POST requests are sent over unencrypted HTTP, it may be the case that passwords or other sensitive information is contained within.
tcp.stream eq 53Filters for a specific TCP stream. Helps track a conversation between two hosts.
eth.addr == 00:11:22:33:44:55Filters packets from/to a specific MAC address.
ip.src == 192.168.24.3 && ip.dst == 56.48.210.3Filters traffic between two specific IP addresses. Helps track communication between specific hosts.

Pcredz

Pcredz is a tool that can be used to extract credentials from live traffic or network packet captures. Specifically, it supports extracting the following information:

  • Credit card numbers
  • POP credentials
  • SMTP credentials
  • IMAP credentials
  • SNMP community strings
  • FTP credentials
  • Credentials from HTTP NTLM/Basic headers, as well as HTTP Forms
  • NTLMv1/v2 hashes from various traffic including DCE-RPC, SMBv1/2, LDAP, MSSQL, and HTTP
  • Kerberos (AS-REQ Pre-Auth etype 23) hashes In order to run Pcredz, one may either clone the repository and install all dependencies, or use the provided Docker container detailed in the Install portion of the README file.
./Pcredz -f demo.pcapng -t -v