Table of Contents

Efficient plaintext guessing HOWTO

This page describes a more efficient approach to guess known plaintext for known plaintext attacks in GSM networks.

Some of it is implemented in tkgenstat.pl/tkconvert/tknapalmex of gsmtk

Naive approach

This does not work in networks with randomized paddings at all.

A more efficient one

Stage 1: we started sniffing on a new network, we have no data so far.

Plaintext: 0xABCDEF Confidence: 0.172
Plaintext: 0x123456 Confidence: 0.139
etc.

Stage 2: we have some cracked communication from a given BTS.

Stage 3: we have some cracked communication from this network, but we have moved to a different BTS.

Optimization: System information messages

Optimization: Time advance and signal strength.

Optimization: targeting listening