From the course: CompTIA Security+ (SY0-701) Cert Prep
Eavesdropping attacks
From the course: CompTIA Security+ (SY0-701) Cert Prep
Eavesdropping attacks
- [Instructor] If an attacker is able to gain physical or logical access to a network, they may be able to eavesdrop on communications between two systems on that network. These attacks can be especially dangerous if the attacker is able to decrypt encrypted communications and view confidential information without the center's knowledge or consent. All eavesdropping attacks requires some compromise of the communication path between a client and a server. This might include tapping into a network device or cable, or conducting a DNS or ARP poisoning attack to trick a system into sending traffic directly to the attacker instead of the intended recipient. In a moment, we'll take a look at a few different types of eavesdropping attacks, but before we do that, here's just a quick reminder of how web communications take place. A user running a web browser initiates a connection to a server located somewhere off in a data center, but the reality is that these communications travel over many different network connections along the way. Any one of the devices in the middle represents a possible point where an eavesdropper might listen in on that communication. Encryption, such as that used with https, prevents any of these intermediate devices from viewing or altering the communication. Since simple eavesdropping is easily defeated by encryption, attackers can use the man-in-the-middle attack to step up their game a bit. In this attack, the attacker tricks the sending system during the initial communication. This might be done by reconfiguring a network device or using DNS or ARP poisoning. Instead of establishing communications with a legitimate server, the user then connects directly to the attacker. The attacker in turn connects to the legitimate server, the user authenticates to the fake server set up by the attacker, and the attacker acts as a relay, the man in the middle, and can view all of the communications that take place between the client and the server. The attacker receives requests from the user, passes them onto the server, and then receives the real responses, reads them, and then replays them to the original user, who has no idea that there is a man in the middle intercepting those communications. A man-in-the-browser attack is a variation on the man-in-the- middle attack where the attacker compromises the user's web browser or a browser plugin to gain access to web communications. Together, man-in-the-middle attacks and man-in-the-browser attacks are described as on-path attacks because the attacker is on the path between the user and the service. If the attackers have the ability to capture network traffic, they may also be able to conduct a replay attack. A replay attack uses previously captured data such as an encrypted authentication token to create a separate connection to the server that's authenticated, but does not involve the real end user. If the attacker can resend the authentication sequence without the remote system noticing that as being replayed, the attacker can then use those credentials for his or her own purposes. In a replay attack, the attacker typically cannot see the actual credentials, but only has the encoded version of them available. Fortunately, replay attacks are defeated by using a simple session token or through the use of timestamps. Each session established with a remote system should use a new token that is chosen randomly and has a limited lifespan suitable to the length of time that the authenticated session should last, then when the attacker tries to replay that token, it's already expired and not valid. Timestamps work in a similar way by relying upon both systems, having their system time set properly to ensure that the packets they were sending were sent during a similar time window. Replay attacks can succeed during that short time window, but attacks at a later time will be rejected. Finally, SSL stripping is a variation on eavesdropping attacks and an SSL stripping attack. An attacker who has the ability to view a user's encrypted web communication exploits a vulnerability to trick the user's browser into reverting to unencrypted communications that can be easily viewed. You can imagine this as stripping the SSL or TLS protection off of the communication, exposing it to prying eyes.
Download courses and learn on the go
Watch courses on your mobile device without an internet connection. Download courses using your iOS or Android LinkedIn Learning app.
Contents
-
-
The goals of information security2m 11s
-
Authentication, authorization, and accounting (AAA)3m 31s
-
Categorizing security controls5m 11s
-
Conducting a gap analysis2m 34s
-
Zero Trust5m 32s
-
Physical access control4m 40s
-
Physical security personnel2m 12s
-
Deception technologies2m 55s
-
Change management6m 2s
-
-
-
Trust models2m 52s
-
PKI and digital certificates4m 5s
-
Hash functions7m 38s
-
Digital signatures3m 50s
-
Digital signature standard1m 27s
-
Create a digital certificate4m 55s
-
Revoke a digital certificate1m 28s
-
Certificate stapling2m 29s
-
Certificate authorities6m 13s
-
Certificate subjects3m 35s
-
Certificate types2m 55s
-
Certificate formats2m 30s
-
-
-
Preventing SQL injection4m 25s
-
Understanding cross-site scripting3m 17s
-
Request forgery4m 8s
-
Overflow attacks3m 21s
-
Explaining cookies and attachments4m 7s
-
Session hijacking4m 8s
-
Code execution attacks2m 43s
-
Privilege escalation1m 56s
-
OWASP Top Ten4m 45s
-
Application security4m 3s
-
Defending against directory traversal3m 4s
-
Race condition vulnerabilities2m 13s
-
-
-
Restricting network access2m 8s
-
Network access control4m 30s
-
Router configuration security4m 5s
-
Switch configuration security3m 42s
-
Maintaining network availability2m 32s
-
Network monitoring3m 41s
-
SNMP2m 54s
-
Isolating sensitive systems2m
-
Zero trust networking4m 9s
-
Secure access service edge (SASE)3m 50s
-
-
-
Operating system security8m 44s
-
Malware prevention7m 25s
-
Application management3m 46s
-
Host-based network security controls7m 44s
-
File integrity monitoring4m 9s
-
Data loss prevention5m 17s
-
Data encryption5m 39s
-
Hardware and firmware security5m 24s
-
Linux file permissions4m 2s
-
Web content filtering1m 47s
-
-
-
What is vulnerability management?5m 2s
-
Identify scan targets4m 24s
-
Scan configuration5m 20s
-
Scan perspective4m 24s
-
Security Content Automation Protocol (SCAP)2m 27s
-
Common Vulnerability Scoring System (CVSS )3m 31s
-
Analyzing scan reports4m 37s
-
Correlating scan results2m 20s
-
Vulnerability response and remediation2m 14s
-
-
-
Authentication factors3m 26s
-
Multifactor authentication2m 17s
-
Something you have4m 24s
-
Password policy4m 19s
-
Password managers2m 3s
-
Passwordless authentication3m 23s
-
Single sign-on and federation3m 9s
-
Kerberos and LDAP5m 18s
-
SAML2m 35s
-
OAUTH and OpenID Connect2m 55s
-
Certificate-based authentication5m 25s
-