Pages

Total Pageviews

Friday, December 13, 2019

Introduction to Network - Course 16

11.2.2.6 Lab - Researching Network Security Threats


Lab – Researching Network Security Threats
Objectives
Part 1: Explore the SANS Website
Part 2: Identify Recent Network Security Threats
Part 3: Detail a Specific Network Security Threat
Background / Scenario
To defend a network against attacks, an administrator must identify external threats that pose a danger to the network. Security websites can be used to identify emerging threats and provide mitigation options for defending a network.
One of the most popular and trusted sites for defending against computer and network security threats is SysAdmin, Audit, Network, Security (SANS). The SANS site provides multiple resources, including a list of the top 20 Critical Security Controls for Effective Cyber Defense and the weekly @Risk: The Consensus Security Alert newsletter. This newsletter details new network attacks and vulnerabilities.
In this lab, you will navigate to and explore the SANS site, use the SANS site to identify recent network security threats, research other websites that identify threats, and research and present the details about a specific network attack.
Required Resources
·         Device with Internet access
·         Presentation computer with PowerPoint or other presentation software installed
Part 1:     Exploring the SANS Website
In Part 1, navigate to the SANS website and explore the available resources.
Step 1:     Locate SANS resources.
Navigate to www.SANS.org. From the home page, highlight the Resources menu.
List three available resources.
______Reading Room, Webcasts, Newsletters, Blogs, Top 25 Programming Errors, Top 20 Critical Controls, Security Policy Project_ ________________________________________________________________________________
_______________________________________________________________________________________
Step 2:     Locate the Critical Security Controls.
The Critical Security Controls listed on the SANS website are the culmination of a public-private partnership involving the Department of Defense (DoD), National Security Association, Center for Internet Security (CIS), and the SANS Institute. The list was developed to prioritize the cyber security controls and spending for DoD. It has become the centerpiece for effective security programs for the United States government. From the Resources menu, select Critical Security Controls, or similar.
Select one of the Controls and list three of the implementation suggestions for this control.
_______Answers will vary. Critical Control 5: Malware Defenses. Employ automated tools to continuously monitor workstations, servers, and mobile devices. Employ anti-malware software and signature auto-update features. Configure network computers to not auto-run content from removable media  ________________________________________________________________________________
_______________________________________________________________________________________
_______________________________________________________________________________________
_______________________________________________________________________________________
Step 3:     Locate the Newsletters menu.
Highlight the Resources menu, select Newsletters. Briefly describe each of the three newsletters available.
______ A high level summary of the most important news articles that deal with computer security. The newsletter is published twice a week and includes links for more information.

A weekly summary of new network attacks and vulnerabilities. The newsletters is also provides insights on how recent attacks worked._________________________________________________________________________________
______A security awareness document that provides end users with information about how they can help ensure the safety of their network._________________________________________________________________________________
_______________________________________________________________________________________
_______________________________________________________________________________________
_______________________________________________________________________________________
_______________________________________________________________________________________
Part 2:     Identify Recent Network Security Threats
In Part 2, you will research recent network security threats using the SANS site and identify other sites containing security threat information.
Step 1:     Locate the @Risk: Consensus Security Alert Newsletter Archive.
From the Newsletters page, select Archive for the @RISK: The Consensus Security Alert. Scroll down to Archives Volumes and select a recent weekly newsletter. Review the Notable Recent Security Issues and Most Popular Malware Files sections.
List some recent attacks. Browse multiple recent newsletters, if necessary.
________Win.Trojan.Quarian, Win.Trojan.Changeup, Andr.Trojan.SMSsend-1, Java.Exploit.Agent-14, Trojan.ADH. _______________________________________________________________________________
_______________________________________________________________________________________
_______________________________________________________________________________________
Step 2:     Identify sites providing recent security threat information.
Besides the SANS site, identify some other websites that provide recent security threat information.
____________could include www.mcafee.com/us/mcafee-labs.aspx, www.symantec.com, news.cnet.com/security/, www.sophos.com/en-us/threat-center/, us.norton.com/security_response/.___________________________________________________________________________
_______________________________________________________________________________________
_______________________________________________________________________________________
List some of the recent security threats detailed on these websites.
_______________________________________________________________________________________
_________Trojan.Ransomlock, Inostealer.Vskim, Trojan,Fareit, Backdoor.Sorosk, Android.Boxer, W32.Changeup!gen35______________________________________________________________________________
_______________________________________________________________________________________
Part 3:     Detail a Specific Network Security Attack
In Part 3, you will research a specific network attack that has occurred and create a presentation based on your findings. Complete the form below based on your findings.


Step 1:     Complete the following form for the selected network attack.
Name of attack:
Code Red
Type of attack:
Worm
Dates of attacks:
July 2001
Computers / Organizations affected:
      Infected an estimated 359,000 computers in one day.
How it works and what it did:

Most of the following is from Wikipedia.
Code Red exploited buffer-overflow vulnerabilities in unpatched Microsoft Internet Information Servers. It launched Trojan code in a denial-of-service attack against fixed IP addresses. The worm spread itself using a common type of vulnerability known as a buffer overflow. It used a long string repeating the character ‘N’ to overflow a buffer, which then allowed the worm to execute arbitrary code and infect the machine.
The payload of the worm included the following:
  • Defacing the affected website with the message: HELLO! Welcome to http://www.worm.com! Hacked By Chinese!
  • It tried to spread itself by looking for more IIS servers on the Internet.
  • It waited 20–27 days after it was installed to launch DoS attacks on several fixed IP addresses. The IP address of the White House web server was among them.
  • When scanning for vulnerable machines, the worm did not check whether the server running on a remote machine was running a vulnerable version of IIS or whether it was running IIS at all.









Mitigation options: To prevent the exploitation of the IIS vulnerability, organizations needed to apply the IIS patch from Microsoft.


References and info links: CERT Advisory CA-2001-19
eEye Code Red advisory

Code Red II analysis



Step 2:     Follow the instructor’s guidelines to complete the presentation.
Reflection
1.     What steps can you take to protect your own computer?
_____Answers will vary but could include keeping the operating system and applications up to date with patches and service packs, using a personal firewall, configuring passwords to access the system and bios, configuring screensavers to timeout and requiring a password, protecting important files by making them read-only, encrypting confidential files and backup files for safe keeping.__________________________________________________________________________________
_______________________________________________________________________________________
_______________________________________________________________________________________
2.     What are some important steps that organizations can take to protect their resources?
_________Answers will vary but could include the use of firewalls, intrusion detection and prevention, hardening of network devices, endpoint protection, network vulnerability tools, user education, and security policy development.______________________________________________________________________________
_______________________________________________________________________________________
_________________________________________________________________________________

Thursday, December 12, 2019

GENERAL ANTHROPOLOGY - "Born to Run" by Ingfei Chen

Topic:What aspects of the human body make it possible for us to run so well? What evidence supports the contention that humans are such great runners? Make sure to include as much detail as you can.



ANT 101 - 001
11/20/2019
Born to Run
The article "Born to Run" written by Ingfei Chen. Chen mentions that people are actually very durable runners. It is mentioned that the body structures of people have properties that are designed as a totally awesome runner. Chen also mentions that people have the ability to escape even the big endurance runners, dogs, wolves, hyenas and antelopes.
From achilles tendons in people's bodies, from knee joints to muscular glutei maximi, Chen says, everything is designed to be a perfect runner. Chen talks about the perfect balance of the body's sweat glands as long as people can regulate breathing while running. Because it argues that it is important to adjust the perfect balance of the body's mechanism. Chen tells us that all the muscle tissues and tendons that an excellent runner should have are in our legs. Chen says that our ancient ancestors had these runner features in the past and that these perfect runner body features have survived from generation to generation with the evolution of humanity.
Chen reports, but in the evolutionary process of mankind, science helps us to explore the great talents of humanity and to further understand the capabilities of our past ancestors. Chen says that he believes that the most important indicator of the existence and survival of mankind from millions of years to the present is the runners with perfect body structure.

                                                 Written by Erdogan Akbiyik

http://erdoganakbiyik.blogspot.com/

https://www.youtube.com/channel/UCDsUnmBfVdEPkcC8FlzPKcg

Introduction to Network - Course 15

10.1.2.5 Lab - Researching Peer-to-Peer File Sharing


Lab - Researching Peer-to-Peer File Sharing
Objectives
Part 1: Identify P2P Networks, File Sharing Protocols, and Applications
Part 2: Research P2P File Sharing Issues
Part 3: Research P2P Copyright Litigations
Background / Scenario
Peer-to-peer (P2P) computing is a powerful technology that has many uses. P2P networks can be used to share and exchange files, and other electronic materials.
The use of P2P networks to upload, download, or share copyrighted material, such as movies, music, and software, can violate the rights of copyright owners. In the P2P file-sharing context, infringement may occur when one person purchases an authorized copy and then uploads it to a P2P network to share with others. Both the individual who makes the file available and those making copies may be found to have infringed the rights of the copyright owners and may be violating copyright law.
Another problem with P2P file sharing is that very little protection is in place to ensure that the files exchanged in these networks are not malicious. P2P networks are an ideal medium for spreading malware, such as computer viruses, worms, Trojan horses, spyware, adware, and other malicious programs.
In this lab, you will research available P2P file sharing software and identify issues that can arise from the use of this technology.
Required Resources
Device with Internet access
Part 1:     Identify P2P Networks, File Sharing Protocols, and Applications
In Part 1, you will research P2P networks and identify popular P2P protocols and applications.
Step 1:     Define P2P networking.
a.     What is a P2P network?
____two or more computers connect over a network and share resources without having a dedicated server________________________________________________________________________________
____________________________________________________________________________________
b.     Identify at least two advantages that P2P provides over client-server architecture.
____ In P2P networks, clients provide resources, which may include bandwidth, storage space, and computing power. This property is one of the primary advantages of using P2P. As nodes arrive and demand on the system increases, the total capacity of the system increases and the likelihood of failure decreases. If one peer on the network fails to function properly, the whole network is not compromised or damaged. In contrast, with a typical client–server architecture, clients share their demands with the system but not their resources. In this case, as more clients join the system, fewer resources are available to serve each client. If the central server fails, the entire network is taken down. The decentralized nature of P2P networks removes the single point of failure that can be inherent in a client server  based system. _____________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
c.     Identify at least two disadvantages of P2P networks.
______ A P2P network is decentralized, which makes it difficult to administer. ______________________________________________________________________________
____________________________________________________________________________________
Step 2:     Identify P2P file sharing protocols and applications.
a.     Identify at least two P2P file sharing protocols used today.
_ Ares, BitTorrent, Direct Connect, FastTrack, eDonkey, Gnutella, MANOLITO/MP2PN
____________________________________________________________________________________
____________________________________________________________________________________
b.     Identify at least two popular P2P file sharing applications available today.
Many Gnutella client applications are available, including gtk-gnutella, WireShare, Shareaza, and Bearshare._____________________________________________________________________
____________________________________________________________________________________
c.     What P2P file sharing protocol is attributed to producing the most P2P traffic on the Internet today?
_____ most of the P2P traffic is likely from BitTorrent._ Today BitTorrent was utilized by 150 million active users______________________________________________________________________________
Part 2:     Research P2P File Sharing Issues
In Part 2, you will research P2P copyright infringement and identify other issues that can occur with P2P file sharing.
Step 1:     Research P2P copyright infringement.
a.     What does the acronym DMCA stand for and what is it?
_________ The Digital Millennium Copyright Act (DMCA) is a United States copyright law that implements two 1996 treaties of the World Intellectual Property Organization (WIPO). It criminalizes production and dissemination of technology, devices, or services intended to circumvent measures (commonly known as digital rights management or DRM) that control access to copyrighted works.___________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
b.     Name two associations that actively pursue P2P copyright infringement?
____________________ The Recording Industry Association of America (RIAA) and the Motion Picture Association of America (MPAA) have instituted legal actions against a number of P2P file sharing sites and individuals.________________________________________________________________
____________________________________________________________________________________
c.     What are the penalties for copyright infringement?
____________ Penalties, both civil and criminal, can be severe. Civil penalties may include actual damages and profits, or statutory damages (maximum amount of $30,000 per work that is infringed). The court can also award reasonable attorney’s fees and costs and increase the damages in the case of willful infringement (maximum amount of $150,000 per work that is infringed). Criminal penalties can include fines and imprisonment.________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
d.     What are the file sharing copyright laws in your area? Are they more strict or less strict than those in other areas of the world? How aggressively do enforcement agencies in your area pursue those who share copyrighted material?
__________Vary Depends on local settings.________________________________________________________________________
____________________________________________________________________________________



Step 2:     Research other P2P issues.
a.     What types of malware can be transported through P2P file sharing?
_______ adware, computer viruses, spyware, Trojan horses, and worms._____________________________________________________________________________
____________________________________________________________________________________
b.     What is Torrent poisoning?
___ Torrent poisoning is the act of using the BitTorrent protocol to intentionally share corrupt data or data with misleading file names. _________________________________________________________________________________
____________________________________________________________________________________
c.     How could identity theft occur through the use of P2P file sharing?
________ If the P2P client software is incorrectly configured, it may provide access to the personal information and files stored on your computer.____________________________________________________________________________
____________________________________________________________________________________
Part 3:     Research P2P Copyright Litigations
In Part 3, you will research and identify historical legal actions that have occurred as a result of P2P copyright infringement.
a.     What was the first well-known P2P application that specialized in MP3 file sharing and was closed by court order?
____________ Napster was originally released in 1999 and then closed by court order in July 2001. It was co-founded by Shawn Fanning, John Fanning, and Sean Parker. At its peak, there were 25 million users, 80 million songs, and the system never crashed.________________________________________________________________________
b.     What was one of the largest P2P file sharing lawsuits ever?
___________________ In May of 2011, the law firm Dunlap, Grubb, and Weaver (U.S. Copyright Group) sued 24,583 BitTorrent users for sharing the film titled “Hurt Locker.” The case was the largest BitTorrent lawsuit._________________________________________________________________
____________________________________________________________________________________
Reflection
How can you be sure that the files you are downloading from P2P networks are not copyrighted and are safe from malware?

___________ There is no firm assurance that P2P files do not contain malware and are not copyrighted. Use P2P file sharing applications at your own risk.____________________________________________________________________________



http://erdoganakbiyik.blogspot.com/
https://www.youtube.com/channel/UCDsUnmBfVdEPkcC8FlzPKcg

Wednesday, December 11, 2019

Introduction to Network - Course 14

9.2.4.3 Lab - Using Wireshark to Examine TCP and UDP Captures


Lab - Using Wireshark to Examine TCP and UDP Captures
Topology – Part 1 (FTP)
Part 1 will highlight a TCP capture of an FTP session. This topology consists of a PC with Internet access.
Topology – Part 2 (TFTP)
Part 2 will highlight a UDP capture of a TFTP session. The PC must have both an Ethernet connection and a console connection to Switch S1.
Addressing Table (Part 2)
Device
Interface
IP Address
Subnet Mask
Default Gateway
S1
VLAN 1
192.168.1.1
255.255.255.0
N/A
PC-A
NIC
192.168.1.3
255.255.255.0
192.168.1.1
Objectives
Part 1: Identify TCP Header Fields and Operation Using a Wireshark FTP Session Capture
Part 2: Identify UDP Header Fields and Operation Using a Wireshark TFTP Session Capture
Background / Scenario
Two protocols in the TCP/IP transport layer are TCP (defined in RFC 761) and UDP (defined in RFC 768). Both protocols support upper-layer protocol communication. For example, TCP is used to provide transport layer support for the HyperText Transfer Protocol (HTTP) and FTP protocols, among others. UDP provides transport layer support for the Domain Name System (DNS) and TFTP, among others.
Note: Understanding the parts of the TCP and UDP headers and operation are a critical skill for network engineers.


In Part 1 of this lab, you will use the Wireshark open source tool to capture and analyze TCP protocol header fields for FTP file transfers between the host computer and an anonymous FTP server. The Windows command line utility is used to connect to an anonymous FTP server and download a file. In Part 2 of this lab, you will use Wireshark to capture and analyze UDP header fields for TFTP file transfers between the host computer and S1.
Note: The switch used is a Cisco Catalyst 2960s with Cisco IOS Release 15.0(2) (lanbasek9 image). Other switches and Cisco IOS versions can be used. Depending on the model and Cisco IOS version, the available commands and the output produced might vary from what displays in the labs.
Note: Make sure that the switch has been erased and has no startup configurations. If you are unsure, contact your instructor.
Note: Part 1 assumes the PC has Internet access and cannot be performed using Netlab. Part 2 is Netlab compatible.
Required Resources – Part 1 (FTP)
1 PC (Windows 7 or 8 with command prompt access, Internet access, and Wireshark installed)
Required Resources – Part 2 (TFTP)
·         1 Switch (Cisco 2960 with Cisco IOS Release 15.0(2) lanbasek9 image or comparable)
·         1 PC (Windows 7 or 8 with Wireshark and a TFTP server, such as tftpd32 installed)
·         Console cable to configure the Cisco IOS devices via the console port
·         Ethernet cable as shown in the topology
Part 1:     Identify TCP Header Fields and Operation Using a Wireshark FTP Session Capture
In Part 1, you use Wireshark to capture an FTP session and inspect TCP header fields.
Step 1:     Start a Wireshark capture.
a.     Close all unnecessary network traffic, such as the web browser, to limit the amount traffic during the Wireshark capture.
b.     Start the Wireshark capture.
Step 2:     Download the Readme file.
a.     From the command prompt, enter ftp ftp.cdc.gov.
b.     Log into the FTP site for Centers for Disease Control and Prevention (CDC) with user anonymous and no password.


c.     Locate and download the Readme file by entering the ls command to list the files.
d.     Enter the command get Readme to download the file. When the download is complete, enter the command quit to exit.
Step 3:     Stop the Wireshark capture.
Step 4:     View the Wireshark main window.
Wireshark captured many packets during the FTP session to ftp.cdc.gov. To limit the amount of data for analysis, type tcp and ip.addr == 198.246.117.106 in the Filter: entry area and click Apply. The IP address, 198.246.117.106, is the address for ftp.cdc.gov at this time.


Step 5:     Analyze the TCP fields.
After the TCP filter has been applied, the first three frames in the packet list pane (top section) display the transport layer protocol TCP creating a reliable session. The sequence of [SYN], [SYN, ACK], and [ACK] illustrates the three-way handshake.
TCP is routinely used during a session to control datagram delivery, verify datagram arrival, and manage window size. For each data exchange between the FTP client and FTP server, a new TCP session is started. At the conclusion of the data transfer, the TCP session is closed. When the FTP session is finished, TCP performs an orderly shutdown and termination.
In Wireshark, detailed TCP information is available in the packet details pane (middle section). Highlight the first TCP datagram from the host computer, and expand the TCP datagram. The expanded TCP datagram appears similar to the packet detail pane shown below.
TCP segment
The image above is a TCP datagram diagram. An explanation of each field is provided for reference:
·         The TCP source port number belongs to the TCP session host that opened a connection. The value is normally a random value above 1,023.
·         The TCP destination port number is used to identify the upper layer protocol or application on the remote site. The values in the range 0–1,023 represent the “well-known ports” and are associated with popular services and applications (as described in RFC 1700), such as Telnet, FTP, and HTTP. The combination of the source IP address, source port, destination IP address, and destination port uniquely identifies the session to the sender and receiver.
Note: In the Wireshark capture below, the destination port is 21, which is FTP. FTP servers listen on port 21 for FTP client connections.
·         The Sequence number specifies the number of the last octet in a segment.
·         The Acknowledgment number specifies the next octet expected by the receiver.
·         The Code bits have a special meaning in session management and in the treatment of segments. Among interesting values are:
-       ACK — Acknowledgement of a segment receipt.
-       SYN — Synchronize, only set when a new TCP session is negotiated during the TCP three-way handshake.
-       FIN — Finish, the request to close the TCP session.
·         The Window size is the value of the sliding window. It determines how many octets can be sent before waiting for an acknowledgement.
·         The Urgent pointer is only used with an Urgent (URG) flag when the sender needs to send urgent data to the receiver.
·         The Options has only one option currently, and it is defined as the maximum TCP segment size (optional value).
Using the Wireshark capture of the first TCP session startup (SYN bit set to 1), fill in information about the TCP header.
From the PC to CDC server (only the SYN bit is set to 1):
Source IP address
198.246.117.106
Destination IP address
10.23.128.96
Source port number
21
Destination port number
51399
Sequence number
0
Acknowledgement number
1
Header length
0
Window size
8192



In the second Wireshark filtered capture, the CDC FTP server acknowledges the request from the PC. Note the values of the SYN and ACK bits.
Fill in the following information regarding the SYN-ACK message.
Source IP address
198.246.117.106
Destination IP address
10.23.128.96
Source port number
21
Destination port number
51399
Sequence number
0
Acknowledgement number
1
Header length
0
Window size
8192



In the final stage of the negotiation to establish communications, the PC sends an acknowledgement message to the server. Notice only the ACK bit is set to 1, and the Sequence number has been incremented to 1.
Fill in the following information regarding the ACK message.
Source IP address
198.246.117.106
Destination IP address
10.23.128.96
Source port number
21
Destination port number
51399
Sequence number
0
Acknowledgement number
1
Header length
0
Window size
8192
How many other TCP datagrams contained a SYN bit?
______TCP manages communication much differently than UDP because reliability and guaranteed delivery requires additional control over the communication channel.   _________________________________________________________________________________


After a TCP session is established, FTP traffic can occur between the PC and FTP server. The FTP client and server communicate with each other, unaware that TCP has control and management over the session. When the FTP server sends a Response: 220 to the FTP client, the TCP session on the FTP client sends an acknowledgment to the TCP session on the server. This sequence is visible in the Wireshark capture below.
When the FTP session has finished, the FTP client sends a command to “quit”. The FTP server acknowledges the FTP termination with a Response: 221 Goodbye. At this time, the FTP server TCP session sends a TCP datagram to the FTP client, announcing the termination of the TCP session. The FTP client TCP session acknowledges receipt of the termination datagram, then sends its own TCP session termination. When the originator of the TCP termination (the FTP server) receives a duplicate termination, an ACK datagram is sent to acknowledge the termination and the TCP session is closed. This sequence is visible in the diagram and capture below.


By applying an ftp filter, the entire sequence of the FTP traffic can be examined in Wireshark. Notice the sequence of the events during this FTP session. The username anonymous was used to retrieve the Readme file. After the file transfer completed, the user ended the FTP session.
Apply the TCP filter again in Wireshark to examine the termination of the TCP session. Four packets are transmitted for the termination of the TCP session. Because TCP connection is full-duplex, each direction must terminate independently. Examine the source and destination addresses.
In this example, the FTP server has no more data to send in the stream. It sends a segment with the FIN flag set in frame 149. The PC sends an ACK to acknowledge the receipt of the FIN to terminate the session from the server to the client in frame 150.
In frame 151, the PC sends a FIN to the FTP server to terminate the TCP session. The FTP server responds with an ACK to acknowledge the FIN from the PC in frame 152. Now the TCP session terminated between the FTP server and PC.
Part 2:     Identify UDP Header Fields and Operation Using a Wireshark TFTP Session Capture
In Part 2, you use Wireshark to capture a TFTP session and inspect the UDP header fields.
Step 1:     Set up this physical topology and prepare for TFTP capture.
a.     Establish a console and Ethernet connection between PC-A and S1.
b.     Manually configure the IP address on the PC to 192.168.1.3. It is not required to set the default gateway.
c.     Configure the switch. Assign an IP address of 192.168.1.1 to VLAN 1. Verify connectivity with the PC by pinging 192.168.1.3. Troubleshoot as necessary.
Switch> enable
Switch# conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)# host S1
S1(config)# interface vlan 1
S1(config-if)# ip address 192.168.1.1 255.255.255.0
S1(config-if)# no shut
*Mar  1 00:37:50.166: %LINK-3-UPDOWN: Interface Vlan1, changed state to up
*Mar  1 00:37:50.175: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
S1(config-if)# end
S1# ping 192.168.1.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/203/1007 ms
d.   Save the running configuration to NVRAM.
S1# copy run start
Step 2:     Prepare the TFTP server on the PC.
a.     If it does not already exist, create a folder on the PC desktop called TFTP. The files from the switch will be copied to this location.
b.     Start tftpd32 on the PC.
c.     Click Browse and change the current directory to C:\Users\user1\Desktop\TFTP by replacing user1 with your username.


The TFTP server should look like this:
5C-tftp_server
Notice that in Current Directory, it lists the user and the Server (PC-A) interface with the IP address of 192.168.1.3.
d.     Test the ability to copy a file using TFTP from the switch to the PC. Troubleshoot as necessary.
S1# copy start tftp
Address or name of remote host []? 192.168.1.3
Destination filename [s1-confg]?
!!
1638 bytes copied in 0.026 secs (63000 bytes/sec)
If you see that the file has been copied  then you are ready to go on to the next step. If the file has not been copied, troubleshoot as needed. If you get the %Error opening tftp (Permission denied) error, determine whether your firewall is blocking TFTP and whether you are copying the file to a location where your username has adequate permission, such as the desktop.
Step 3:     Capture a TFTP session in Wireshark
a.     Open Wireshark. From the Edit menu, choose Preferences and click the (+) sign to expand Protocols. Scroll down and select UDP. Click the Validate the UDP checksum if possible check box and click Apply. Then click OK.
validate UDP checksums if possible
b.     Start a Wireshark capture.
c.     Run the copy start tftp command on the switch.
d.     Stop the Wireshark capture.
e.     Set the filter to tftp. Your output should look similar to the output shown above. This TFTP transfer is used to analyze transport layer UDP operations.
Detailed UDP information is available in the Wireshark packet details pane. Highlight the first UDP datagram from the host computer and move the mouse pointer to the packet details pane. It may be necessary to adjust the packet details pane and expand the UDP record by clicking the protocol expand box. The expanded UDP datagram should look similar to the diagram below.
UDP first packet edited
The figure below is a UDP datagram diagram. Header information is sparse, compared to the TCP datagram. Similar to TCP, each UDP datagram is identified by the UDP source port and UDP destination port.
UDP Segment
Using the Wireshark capture of the first UDP datagram, fill in information about the UDP header. The checksum value is a hexadecimal (base 16) value, denoted by the preceding 0x code:
Source IP address
10.91.2.198
Destination IP address
239.255.255.250
Source port number
55249
Destination port number
1900
UDP message length
425
UDP checksum
0xb95b

How does UDP verify datagram integrity?
__________ TCP manages communication much differently than UDP because reliability and guaranteed delivery requires additional control over the communication channel.   ___________________________________________________________________________________________________________________________________________________________
____________________________________________________________________________________
Examine the first frame returned from the tftpd server. Fill in the information about the UDP header:
Source IP address
10.91.2.198
Destination IP address
239.255.255.250
Source port number
55249
Destination port number
1900
UDP message length
425
UDP checksum
0xb95b
UDP Second Packet
Notice that the return UDP datagram has a different UDP source port, but this source port is used for the remainder of the TFTP transfer. Because there is no reliable connection, only the original source port used to begin the TFTP session is used to maintain the TFTP transfer.
Also, notice that the UDP Checksum is incorrect. This is most likely caused by UDP checksum offload. You can learn more about why this happens by searching for “UDP checksum offload”.
Reflection
This lab provided the opportunity to analyze TCP and UDP protocol operations from captured FTP and TFTP sessions. How does TCP manage communication differently than UDP?
_______UDP has less overhead and control, and the upper-layer protocol must provide some type of acknowledgement control both protocols, however transport data between clients and server using application layer  protocols. _______________________________________________________________________________
_______________________________________________________________________________________
Challenge
Because neither FTP or TFTP are secure protocols, all transferred data is sent in clear text. This includes any user IDs, passwords, or clear-text file contents. Analyzing the upper-layer FTP session will quickly identify the user ID, password, and configuration file passwords. Upper-layer TFTP data examination is more complicated, but the data field can be examined, and the configuration’s user ID and password information extracted.
Cleanup
Unless directed otherwise by your instructor:
1)    Remove the files that were copied to your PC.
2)    Erase the configurations on S1.
3)    Remove the manual IP address from the PC and restore Internet connectivity.



http://erdoganakbiyik.blogspot.com/
https://www.youtube.com/channel/UCDsUnmBfVdEPkcC8FlzPKcg