Analysis of TCP sequence number vulnerability

This is some very technical stuff. But if you already know what they are talking the whole article is very interesting. They look at a variety of OS’s including the Windows versions, Solaris, Mac, etc. Below is an excerpt of the introduction from the paper:

Upon connection via TCP/IP to a host, the host generates an Initial Sequence Number (ISN). This sequence number is used in the conversation between itself and the host to help keep track of each packet and to ensure that the conversation continues properly. Both the host and the client generate and use these sequence numbers in TCP connections.

As early as 1985 there was speculation that by being able to guess the next ISN, an attacker could forge a one-way connection to a host by spoofing the source IP address of a trusted host, as well as the ISN which would normally be sent back to the trusted host via an acknowledgement packet. It was determined that to help ensure the integrity of TCP/IP connections, every stream should be assigned a unique, random sequence number. The TCP sequence number field is able to hold a 32-bit value, and 31-bit is recommended for use by RFC specifications. An attacker wanting to establish connection originating from a fake address, or to compromise existing TCP connection integrity by inserting malicious data into the stream [1] would have to know the ISN. Because of the open nature of the Internet, and because of large number of protocols that are not using cryptographic mechanisms to protect data integrity, it is important to design TCP/IP implementations in a way that does not allow remote attackers to predict an ISN (this is called a “blind spoofing” attack).

Continue reading →

Nice quote on evolution’s “goals”

It’s a common misunderstanding that evolution has a “goal”. You see this most often when evolution is presented as a progression with human-kind as the end result. Evolution simply selects for organisms that are more well adapted to the current local environment; it does not select organisms that are further along the path to some “goal”. Mario Ageno, a professor of biophysics put it like this:

“The ideal of a bacterium is not to become a man, but to become two bacteria.”

New optical pointing device

Researchers at Philips have created a laser-based optical pointing device that would integrate nicely into small electronic devices. It’s kind of like a touch-pad, but instead of a “large” pad on which you slide your finger around, there’s a small contact point that you slide your finger over. A laser tracks how your finger moves. At first it could replace the “scroll buttons” found on most cell phones, or the “jog dials” found on some (these mechanical bits are always the first to go). You could also add it to PDAs for a more mouse-like interface.

Schematic of optical scrolling
Optical scrolling
Prototype device
Prototype device

A pen that has no ink

http://www.otmtech.com/vpen.asp

Instead, the pen converts motion at the tip into latin (or asian) characters and sends to your PDA, cell phone (think SMS), etc. It can also send the raw movements to allow you to sketch.

I’ve seen the idea floating around for several years, but this looks like it might be the first company to actually implement it (although their site does not mention when it will be available, so maybe not…)

Traffic waves (physics for bored commuters)

http://www.amasci.com/amateur/traffic/traffic1.html

The animated gifs are informative but a bit annoying; don’t let them “drive” you out of the site, it’s interesting stuff.

There is one “big picture” item that is missing: the total capacity of the road. If a road can only carry 100 cars per minute per lane, it doesn’t matter how people drive if 1000 cars per minute want to use that section of road. In that case you’re going to have backups no matter what you do. The only solution in that case is to convince people to wait a while before taking their trip. The techniques outlined here work best when the road is nearing its capacity but is not yet at capacity.

I guess you could argue that delaying your trip is just an extreme form of friendly merging behavior… ;-)

BTW, the idea behind on-ramp traffic lights is to space out the cars that are trying to merge (one half of the problem). The benefit of the lights is not obvious, so lots of people complain about them. Interestingly, Minnesota tried an experiment in 2001 where they turned off all the on-ramp traffic lights for several weeks. At that point it became obvious that the lights had been helping because traffic immediately got worse. So everybody voted to turn them back on and now traffic is back to where it was before.

Why forcing users to change passwords doesn’t solve the problem

I hate policies that say that users have to change passwords periodically because that way the system is “more secure”. Bruce Schneier has discussed this a few times in Crypto-Gram. I also like this recent post on Slashdot by dangermouse:

That is the single most hare-brained bit of common security “wisdom” in the world.

Years ago, I picked a password that’s random as hell and was very difficult to remember. No password cracker– dictionary *or* brute force– has broken it yet. I use this password on about ten systems.

If I changed those passwords on a regular basis, I’d have to come up with something easier to remember to make up for the decreased learning time. That would likely make my password less secure.

I keep running into admins who– by hook or by crook– make their users change passwords periodically. The result? Passwords on Post-It notes; passwords that are the names of pets or wives or firstborn children; sets of passwords that are absurdly simple and that get cycled through.

If they had just let the users keep their original passwords and run a cracker against the shadow file to turn up the overly simple ones, their systems would be a lot more secure. But somebody told them changing passwords frequently was a good idea, and by god their users are going to change passwords frequently.