Showing posts with label Network Forensic Exercise. Show all posts
Showing posts with label Network Forensic Exercise. Show all posts

Monday, January 27, 2025

Network Forensic Exercise: telnet

Network Forensic Exercise: telnet

Practical Exercise: Analyzing a Telnet Attack 

แบบฝึกหัด: การวิเคราะห์การโจมตีผ่าน Telnet จากไฟล์ Packet Capture

Objective:

  1. To practice using an online tool (apackets.com) to analyze network traffic.

  2. To understand the vulnerabilities of the Telnet protocol, which transmits data in plaintext.

  3. To practice extracting crucial information from a Packet Capture file.

File Used: Demo3.1 telnet.pcap (This file can be downloaded from common cybersecurity training resources)

Tool: Website: https://apackets.com/



Instructions:

  1. Go to the website https://apackets.com/

  2. Upload the file Demo3.1 telnet.pcap to the tool.

  3. Use the various features of the website to answer the following questions.

Analysis Questions:

Part 1: Initial Analysis

  1. What main types of packets (Protocols) are exchanged during this Telnet connection, and what is the destination port?(ระหว่างการเชื่อมต่อ Telnet มีการส่ง packet ประเภทใดบ้าง (Protocol) เป็นหลัก และใช้พอร์ตอะไรเป็นพอร์ตปลายทาง?)

Part 2: Extracting Login Credentials
2. The Telnet protocol transmits data in Clear Text. By examining the packet contents, what Username and Password were used for the login?(จากเนื้อหาของ Packet ที่ส่งผ่านโปรโตคอล Telnet ซึ่งส่งข้อมูลเป็นแบบ Clear Text จงหาและเขียน Username และ Password ที่ใช้ในการล็อกอินได้)

Part 3: Analyzing Post-Login Commands

3.First Command: คำสั่งแรกที่ผู้โจมตีรันหลังจากล็อกอินสำเร็จคืออะไร? และวัตถุประสงค์ของคำสั่งนี้คืออะไร?

4.Next Commands: What subsequent command did the attacker attempt to run? What is the purpose of this command?(คำสั่งต่อมาที่ผู้โจมตีพยายามรันคืออะไร? และคำสั่งนี้มีวัตถุประสงค์เพื่ออะไร?)

Part 4: Assessing Risk and Impact

5.Impact: If this attack was successful, what are two actions the attacker could potentially perform on the target system?(หากการโจมตีนี้สำเร็จ ผู้โจมตีสามารถทำอะไรได้บ้างบนระบบเป้าหมาย? จงอธิบายอย่างน้อย 2 ข้อ)

6.Prevention: What are at measures that could prevent this type of attack?(มาตรการใดที่สามารถป้องกันการโจมตีลักษณะนี้ได้? )

Important Notes:ข้อควรระวัง:

  • The Telnet protocol in this file transmits data in clear text, making it easy to read.(โปรโตคอล Telnet ในไฟล์นี้แสดงข้อมูลที่เป็นข้อความล้วน (Clear Text) ทำให้สามารถอ่านได้ง่าย)

  • This data is an example of a real-world cyber threat, as login credentials are sent over the network without encryption.(ข้อมูลที่ได้นี้คือตัวอย่างของภัยคุกคามทางไซเบอร์ที่เกิดขึ้นได้จริง เนื่องจากข้อมูลรับรองการล็อกอิน (Credentials) ถูกส่งไปในเครือข่ายโดยไม่มี encryption)

Tip: For your analysis, use the "Follow TCP Stream" feature or view the packet payload on the apackets.com website to see the entire conversation sequence and all commands clearly.(คำแนะนำ: ในการวิเคราะห์ ให้ใช้ฟีเจอร์ "Follow TCP Stream" หรือการดูเนื้อหา (Payload) ของ packet ในเว็บไซต์)

This exercise is designed to help you practice data extraction and understand the risks associated with using outdated and insecure protocols.

อ่านเพิ่มเติม:


หมายเหตุ:เนื้อหาในเว็บไซต์นี้มีขึ้นเพื่อวัตถุประสงค์ในการให้ข้อมูล  เผยแพร่ความรู้และให้โอกาสในการค้นคว้าหาข้อมูลเพื่อการศึกษา   บุคคลที่สนใจโดยทั่วไป รวมถึงนักเรียน นิสิต นักศึกษา  ในการเรีบนรู้เท่านั้น

* หากมีข้อมูลข้อผิดพลาดประการใด ขออภัยมา ณ ที่นี้ด้วย  รบกวนแจ้ง Admin เพื่อแก้ไขต่อไป
ขอบคุณครับ

#WINDOWSFORENSIC #COMPUTERFORENSICS #DFIR #FORENSICS #DIGITALFORENSICS #COMPUTERFORENSIC #INVESTIGATION #CYBERCRIME #FRAUD

Saturday, January 4, 2025

Network Forensic Exercise:Wireshark telnet

Network Forensic Exercise:Wireshark telnet

Wireshark step by step: Finding Passwords & Credentials in Plain Text


Prerequisites:

  • Knowledge of a network capture analyzing tool.
  • Knowledge of the most common network protocols.

Network Forensic Exercise:Wireshark telnet

What is Port 23?

Port 23 is the default Telnet port, and it is used for remote terminal emulation of both computers and devices.

Photo credit:https:cbtnuggets.com

What is the Telnet Protocol?

The Telnet protocol lets a client device connect to a Telnet server over port 23. After authenticating on the server device, the client can then run commands on it.


Port 23 is highly vulnerable because it transmits data in the clear and has little to no authentication.

1.You can start Wireshark by typing the following command:


2.We can get a Demo3.1 telnet.pcap  from this challenge. Use wireshark to open the file and click on “Follow on TCP stream”.

3.  

Open Capture Files

 Open Demo3.1 telnet.pcap file.

4.Statistics> Capture File Properties :

General information about the current capture file.

5. Analyze Menu > click on “Follow on TCP stream”. Or tcp.stream eq 0

6.After that, we can see the whole message of TELNET TCP stream from the displayed window and get the username and the password as well.

Network Forensic Exercise:Wireshark telnet



Question Reconstruct the telnet session.
Who logged into 192.168.0.1
Username ........?
Password  ......?

หมายเหตุ:เนื้อหาในเว็บไซต์นี้มีขึ้นเพื่อวัตถุประสงค์ในการให้ข้อมูล  เผยแพร่ความรู้และให้โอกาสในการค้นคว้าหาข้อมูลเพื่อการศึกษา   บุคคลที่สนใจโดยทั่วไป รวมถึงนักเรียน นิสิต นักศึกษา  ในการเรีบนรู้เท่านั้น

* หากมีข้อมูลข้อผิดพลาดประการใด ขออภัยมา ณ ที่นี้ด้วย  รบกวนแจ้ง Admin เพื่อแก้ไขต่อไป
ขอบคุณครับ

#WINDOWSFORENSIC #COMPUTERFORENSICS #DFIR #FORENSICS #DIGITALFORENSICS #COMPUTERFORENSIC #INVESTIGATION #CYBERCRIME #FRAUD

Thursday, October 10, 2024

Digital Forensics:Log file Sample

Digital Forensics:Log file Sample

ตัวอย่าง Aข้อมูลจราจร (Log file) การเข้าถึงเว็บไซต์

2024-07-17 10:15:30 INFO User connected: IP=192.168.1.10, MAC=00:1A:2B:3C:4D:5E [1, 2]
2024-07-17 10:16:45 INFO Website accessed: URL=https://www.example.com, UserAgent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36 [1, 2]
2024-07-17 10:20:00 WARNING Firewall blocked: Source IP=10.0.0.1, Destination IP=203.0.113.10, Port=80, Protocol=TCP [3]
2024-07-17 10:25:00 INFO Router rebooted [9] 

Digital Forensics:Log file Sample


1. ผู้ใช้เชื่อมต่อภายในเครือข่าย

IP/MAC:
  • IP 192.168.1.10 (IP ภายใน) + MAC 00:1A:2B:3C:4D:5E


2. การเข้าถึงเว็บไซต์

  • User-Agent:

  • เบราว์เซอร์: Chrome เวอร์ชัน 91.0.4472.124 (เวอร์ชันเก่า )
  • OS: Windows 10 (64-bit)

เว็บเป้าหมาย:

  • https://www.example.com (เว็บทั่วไป ไม่มีเนื้อหาเสี่ยง)

ตัวอย่าง B ข้อมูลจราจร (Log file)  เฟอร์วอลล์บล็อกการเชื่อมต่อ

2024-07-17 10:20:00 WARNING Firewall blocked: Source IP=10.0.0.1, Destination IP=203.0.113.10, Port=80, Protocol=TCP [3]  
Digital Forensics:Log file Sample

  • รายละเอียดเหตุการณ์:

    • Source IP = ต้นทาง: IP 10.0.0.1 (IP ภายใน อาจเป็นเราเตอร์หรือเซิร์ฟเวอร์)

    • Destination IP = ปลายทาง: IP 203.0.113.10 (IP สาธารณะ RFC 5737 ใช้สำหรับตัวอย่าง)

    • พอร์ต/โปรโตคอล: พอร์ต 80 (HTTP) + โปรโตคอล TCP


  • การวิเคราะห์:

สาเหตุการบล็อก:
- นโยบายองค์กรไม่อนุญาตให้ส่งข้อมูล HTTP ผ่านพอร์ต 80  
- อาจเป็นการพยายามส่งข้อมูลละเอียดอ่อน (Log, Credential) ไปภายนอก

      • ความเสี่ยงสูง:

      • Source IP = IP ต้นทาง (10.0.0.1) อาจถูกบุกรุกหรือตั้งค่าผิดพลาด
      • Destination IP =ปลายทาง 203.0.113.10 อาจเป็น C2 Server (Command & Control) ของมัลแวร์


    ตัวอย่าง C  ข้อมูลจราจร (Log file) เราเตอร์บูตใหม่

    2024-07-17 10:25:00 INFO Router rebooted 

      • ความสัมพันธ์กับเหตุการณ์อื่น:

      - เกิด 5 นาที หลังจากเฟอร์วอลล์บล็อกการเชื่อมต่อ 
      •   - ไม่มีแท็ก [1,2,3] → อาจเป็นการบูตโดยผู้ดูแลระบบ หรือเกิดจากเหตุอื่น
      สรุปความสัมพันธ์และความเสี่ยง

      Digital Forensics:Log file Sample

      ตัวอย่าง D  ข้อมูลจราจร (Log file)  การเข้าถึงเว็บไซต์

      2025-07-17 14:33:27 NAT 10.0.0.12:58432 → 203.113.23.45:58432 TCP www.example.com 104.18.21.190 443 00:05:32

      รายละเอียดเหตุการณ์:

      Source IP = ต้นทาง: IP 10.0.0.12 (IP ภายในอาจเป็นเราเตอร์หรือเซิร์ฟเวอร์ อุปกรณ์ในเครือข่าย)
      Destination IP = ปลายทาง: IP 203.113.23.45 (IP Public Gateway) → DNS ปลายทางจริงwww.example.com (IP 104.18.21.190)
      พอร์ต/โปรโตคอล: พอร์ต 443 (HTTPS)  

      ตัวอย่าง E  ข้อมูลจราจร (Log file)  การซิงค์เวลาจากเซิร์ฟเวอร์

      2025-07-17 14:35:10 NAT 10.0.0.13:52678 → 203.113.23.46:52678 UDP ntp.org 129.6.15.28 123 00:00:02

      รายละเอียดเหตุการณ์:

      Source IP = ต้นทาง: IP 10.0.0.13 (IP ภายในอาจเป็นเราเตอร์หรือเซิร์ฟเวอร์ อุปกรณ์ในเครือข่าย)
      Destination IP = ปลายทาง: IP 203.113.23.46 (IP Public Gateway) →   ปลายทางภายนอก ntp.org  (IP 129.6.15.28)
      พอร์ต/โปรโตคอล:  UDP/123 (NTP - Network Time Protocol)

      ตัวอย่าง F  ข้อมูลจราจร (Log file)  การเข้าถึงเว็บไซต์ฟิชชิ่ง

      2025-07-17 14:36:01 HTTP_ACCESS customer@isp.co.th GET http://phishing-site.com/index.html 104.21.24.190

      รายละเอียดเหตุการณ์:

               - ผู้ใช้:customer@isp.co.th (บัญชีผู้ใช้ customer)
               - การร้องขอ: GET http://phishing-site.com/index.html
      - Destination IP = ปลายทาง: IP 104.21.24.190

                - พอร์ต/โปรโตคอล: HTTP (ไม่มีการเข้ารหัส!)

      Lab 1 ข้อมูลจราจร (Log file) (สถิติการใช้งานเครือข่าย)

      2025-07-17 10:30:45 NETFLOW: SrcIP=110.170.25.67, DstIP=104.16.24.35, Proto=TCP, SrcPort=54321, DstPort=443, Bytes=15.7MB, Pkts=11230, Duration=00:05:22

      Source IP: = ?

      Destination IP : =?

      port/protocol = พอร์ต/โปรโตคอล: ?


      Lab 2 ข้อมูลจราจร (Log file) (การเชื่อมต่อเครือข่าย)

      2025-07-17 08:12:34 PPPoE-SESSION START: User=customer123@isp.co.th, NAS=bras-01.bangkok.isp, IP=110.170.25.67, MAC=00:1B:44:11:3A:E7, Duration=00:02:15
      2025-07-17 12:45:21 PPPoE-SESSION STOP: User=customer456@isp.co.th, NAS=bras-02.chiangmai.isp, IP=110.170.33.122, RX=1.45GB, TX=350MB, Duration=04:22:10

      Digital Forensics:Log file Sample


      อ่านเพิ่มเติม:


      หมายเหตุ:เนื้อหาในเว็บไซต์นี้มีขึ้นเพื่อวัตถุประสงค์ในการให้ข้อมูล  เผยแพร่ความรู้และให้โอกาสในการค้นคว้าหาข้อมูลเพื่อการศึกษา   บุคคลที่สนใจโดยทั่วไป รวมถึงนักเรียน นิสิต นักศึกษา  ในการเรียนรู้เท่านั้น

      * หากมีข้อมูลข้อผิดพลาดประการใด ขออภัยมา ณ ที่นี้ด้วย  รบกวนแจ้ง Admin เพื่อแก้ไขต่อไป
      ขอบคุณครับ

      #WINDOWSFORENSIC #COMPUTERFORENSICS #DFIR #FORENSICS #DIGITALFORENSICS #COMPUTERFORENSIC #INVESTIGATION #CYBERCRIME #FRAUD

      Volatility Lab

      Volatility Lab  Image Wanna.vmem P.73 windows.info #python3  vol.py   -f '/home/kali/Desktop/Wanna/Wanna-MEM.vmem' windows.info     ...