Haxf4rall
  • Home
  • Become a Hacker
    • Get Started
    • Hacker Mindset
    • Roadmap
    • Simple Setup – Hacker 101
    • Types of Hackers
    • Recommended Courses
  • Boot People Offline
  • Courses
    • All Hacking Courses
    • Cyber Security School
  • CTF
    • Beginners to Advanced Guide
    • Create your own CTF box
    • Field and Resources Guide
    • Platforms & Wargames
    • Tools Used for Solving CTF
    • Writeups
  • Dark Web
    • Beginners Guide
    • Darknet Markets
    • Darkweb 101 (Anonymity Guide)
    • Dark Web OSINT Tools
    • Hacking Forums
    • Latest News
    • Onion Links
  • Hacker Gadgets
  • Hacking Books
  • Tools Directory
  • Home
  • 2017
  • July
  • 14
  • How to Decrypt SSL traffic using Wireshark

How to Decrypt SSL traffic using Wireshark

July 14, 2017July 27, 2019 Comments Off on How to Decrypt SSL traffic using Wireshark
decrypt ssl traffic hack ssl traffic using wireshark to decrypt ssl

SSL is one the best ways to encrypt network traffic and avoiding man in the middle attacks and other session hijacking attacks. But there are still multiple ways by which hackers can decrypt SSL traffic and one of them is with the help of Wireshark. Wireshark has an awesome inbuilt feature which can decrypt any traffic over a selected network card.

Requirements for Decrypting  SSL Traffic :

  • Wireshark
  • SSL Private Key
  • Basic knowledge in the following areas:
    • Network traces
    • Networking, TCP/IP and SSL/TLS protocols
    • Certificates and the use of Public and Private Keys
    • The Wireshark network protocol analyzer

Note: We will be using Kali Linux for decryption of network traffic but similar can be done on windows operating system too with help of minor tweaks.

How to Decrypt SSL Traffic using Wireshark :

Step1 : Start monitor mode

Select your network card for monitoring network traffic by giving following command at terminal:

$ airmon-ng start wlan0

You can find complete list of network cards using a simple command ifconfig on terminal i.e. Kali Linux (or ipconfig/all on Windows).

You will need airmon in windows if you wish to use the same on windows OS.

 

Step 2 : Obtain SSL Private Key using OpenSSL

In order to obtain the SSL private key, you have to execute the below command at Kali Linux terminal:

openssl req -x509 -nodes -newkey rsa:1024 -keyout testkey.pem -out testcert.pem

The above command will create two files in your home directory:

a. testkey.pem (which is a private test key)

b. testcert.prem (which is a self signed certificate)

Note: You have to use the same keys on your server.

 

Step 3 : Setup Wireshark to decrypt network card traffic

You can start Wireshark by giving following command on terminal :

   $ wireshark

Now go in preferences in edit menu then go to protocol on left side and then SSL protocol.

And fill the following details as mentioned below :

IP : IP Address of Server

Port : 443

Protocol : HTTP

Key File : Select the key file generated in above step

Password : Its up to you, you wanna provide or not.

That’s it. Now you will get decrypted result for for any SSL or TLS protocols.

Note : You can also use a filter for SSL as mentioned below :

 tcp.port==443 –

This will filter all SSL traffic.
If you have any doubts regarding How to Decrypt SSL Traffic, feel free to askAnd fill the following details as mentioned below :IP : IP Address of Server

Port : 443

Protocol : HTTP

Key File : Select the key file generated in above step

Password : Its up to you, you wanna provide or not.

That’s it. Now you will get decrypted result for for any SSL or TLS protocols.

Note : You can also use a filter for SSL as mentioned below :

tcp.port==443 –

 This will filter all SSL traffic.

Post navigation

Microsoft Is Giving Away Millions Of E-Books For Free, Download Them Right Now
Best Kali Linux Compatible Wireless Adapters

Related Articles

Dolos Cloak – Automated 802.1X Bypass

- MITM
September 19, 2019

InveighZero – Windows C# LLMNR/mDNS/NBNS/DNS Spoofer/MITM Tool

- MITM
August 1, 2019August 1, 2019

Tabi – BGP Hijack Detection Tool

- MITM
July 11, 2019July 11, 2019
hacker gadgets
hacker phone covers

Recent Posts

PlutoCrypt Ransomware Decryptor

PlutoCrypt Ransomware Decryptor

May 27, 2023
Galaxy Fold 4

Samsung to improve the durability of the waterdrop hinges in the foldable smartphones

May 26, 2023
CISA Adds CVE-2023-2868 Vulnerability to KEV Catalog

CISA Adds CVE-2023-2868 Vulnerability to KEV Catalog

May 26, 2023
Google releases Chrome version 111 to fix 40 security vulnerabilities

Google releases Chrome version 111 to fix 40 security vulnerabilities

May 26, 2023
PoC Exploit Released for GitLab CVE-2023-2825 Vulnerability

PoC Exploit Released for GitLab CVE-2023-2825 Vulnerability

May 26, 2023
CVE View

Mondoo v7.17.1 releases: Cloud-Native Security & Vulnerability Risk Management

February 16, 2023

Social Media Hacking

SocialPath – Track users across Social Media Platforms

SocialPath – Track users across Social Media Platforms

- Social Media Hacking
October 16, 2019October 16, 2019

SocialPath is a django application for gathering social media intelligence on specific username. It checks for Twitter, Instagram, Facebook, Reddit...

SocialScan – Check Email Address and Username Availability on Online Platforms

SocialScan – Check Email Address and Username Availability on Online Platforms

June 17, 2019
Shellphish – Phishing Tool For 18 Social Media Apps

Shellphish – Phishing Tool For 18 Social Media Apps

June 10, 2019July 27, 2019
WhatsApp Hacking using QRLJacking

WhatsApp Hacking using QRLJacking

May 2, 2019May 19, 2019
How to Hack any Facebook Account with Z-Shadow

How to Hack any Facebook Account with Z-Shadow

April 26, 2019June 29, 2020
hacker buffs

About Us

Haxf4rall is a collective, a good starting point and provides a variety of quality material for cyber security professionals.

Active Members

Submit a Tool

Hackers Handbook 2018


Grab your copy here

About Us

Haxf4rall is a collective, a good starting point and provides a variety of quality material for cyber security professionals.

Categories

  • Secure Coding
  • Documentary
  • Courses & Ebooks
  • Hack Tools
  • Hacking Tutorials
  • Mobile Hacking
  • News
  • Operating Systems
  • TOR
  • Tricks & How To’s

Active Members

Useful Links

Contact Us

Disclaimer

Privacy Policy

Submit a Tool

Copyright 2019. All rights reserved | Theme: OMag by LilyTurf Themes