Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Network Forensics

You're reading from   Hands-On Network Forensics Investigate network attacks and find evidence using common network forensic tools

Arrow left icon
Product type Paperback
Published in Mar 2019
Publisher
ISBN-13 9781789344523
Length 358 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Author (1):
Arrow left icon
Nipun Jaswal Nipun Jaswal
Author Profile Icon Nipun Jaswal
Nipun Jaswal
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. Section 1: Obtaining the Evidence
2. Introducing Network Forensics FREE CHAPTER 3. Technical Concepts and Acquiring Evidence 4. Section 2: The Key Concepts
5. Deep Packet Inspection 6. Statistical Flow Analysis 7. Combatting Tunneling and Encryption 8. Section 3: Conducting Network Forensics
9. Investigating Good, Known, and Ugly Malware 10. Investigating C2 Servers 11. Investigating and Analyzing Logs 12. WLAN Forensics 13. Automated Evidence Aggregation and Analysis 14. Other Books You May Enjoy 15. Assessments

Decoding the Metasploit shell

Let's start investigating the file in Wireshark to try to deduce what happened. We will focus on gathering the following details:

  • C2 server IP
  • C2 server port
  • Infected system IP
  • Infected system's port
  • Actions performed by the attacker
  • Time of the attack
  • Duration of the attack

Let's fire up Wireshark and choose Statistics | Conversations | TCP tab:

We can see that we have two conversations primarily between 192.168.46.128 and 192.168.46.129 on port 80 and 4433. Let's filter the conversation using TCP as the filter and analyze the output:

We can see that the first TCP packets (23-25) are nothing but the three-way handshake. However, next, we have a separate conversation starting from packet 71. Another strange thing is that the communication port being used is port 80. However, for some reason, the data being displayed is...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime