Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Security Algorithms   (RSS)

Advances in Certificate Spoofing

An interesting developing news story in this otherwise slow week has been about a security research effort to spoof SSL certificates . The group has found a way to generate hash collisions between a pair of certificates when the certificate authority

Controlling for Clock Skew

Message replay is an attack where a message is presented to a processor more than once in the hopes of fooling the processor into taking some action. One protection against message replay and other timing-based attacks is to have the sender timestamp

Math Behind the RSA Algorithm

This post is to tie up some loose ends in regards to actually performing the RSA computations. I've avoided including too much math in the earlier posts to make them easier to read. Here are some references that help explain the individual steps. The

A More Recent RSA Attack

One of the interesting things about writing articles ahead of time is that the plan sometimes changes when it's time to publish the articles. It turns out that in the last few weeks someone has found an interesting forgery attack on RSA signatures . This

Attacks on RSA

RSA has several weaknesses called protocol failures. Protocol failures are not actually an exploit in the RSA algorithm. Instead, a protocol failure occurs when you perform inadvisable actions that give the attacker more information than they would otherwise

Using RSA for Signing Messages

A nice property of RSA is that if we swap the role of the encryption and decryption keys, it's still possible to transmit messages . That's because the computation (M e ) d mod n is the same as (M d ) e mod n. Typically, messages are encrypted with your

Splitting Messages for RSA

For your particular pair of RSA primes, there is a fixed size to the messages that can be encrypted with the product, n, of those primes. During decryption, you will always end up with the smallest positive integer message that satisfies the algorithm.

Using RSA for Sending Messages

One of the key points made about the Diffie-Hellman algorithm is that it doesn't actually allow you to send a message from one party to another. DH is useful for constructing a new shared secret value but can't directly be used to exchange an existing

Attacks on Diffie-Hellman

We're going to continue looking at the Diffie-Hellman algorithm today by examining how to configure the algorithm to be more resistant to attacks. DH is small enough that I'm not going to summarize the algorithm here. You can go back to the description

Diffie-Hellman Key Exchange

If you've been reading the previous posts on network security , then you've seen several instances where two parties need a shared secret. We've just been assuming that a shared secret is magically known. How can two parties share a secret without having

Advanced Encryption Standard

The last cipher I'm going to talk about is the Advanced Encryption Standard (AES). With this, we'll have covered about half of the important algorithms needed for a transport security implementation, such as SSL. AES started out as a contest to replace

More Symmetric Cipher Suites

Block ciphers are more popular than stream ciphers , with several either in active use or recent enough to require supporting for legacy interoperability. I'll talk about the RC2 and DES algorithms today and cover the newer AES algorithm tomorrow. DES

Symmetric Cipher Suites

The list of commonly used stream ciphers is very short because there's really only one. RC4, developed by Ron Rivest, is essentially the only stream cipher that has been widely deployed. RC4 is very fast and found in wireless networking devices, as part

Symmetric Encryption Algorithm Design Issues

When using symmetric encryption, repetition is the enemy of security. For the basic stream cipher and block cipher algorithms, an attacker can exploit repetition in either the input or key to gain information about the protected message. Stream ciphers

How Stream Ciphers Work

Yesterday I kicked off the topic of symmetric encryption by talking about block ciphers . Stream ciphers are another common pattern for symmetric encryption algorithm. Unlike block ciphers that operate on chunks of input text, a stream cipher operates
More Posts Next page »
 
Page view tracker