flathagen blogged about his step attenuator build:
A home lab needs a step attenuator. It helps in evaluating RF amplifiers, filters and receivers. Both the legendary EMRFD-book, the ARRL handbook, and a variety of QST-articles provides circuit examples for building a homebrew device. Most of them follow the design principles from the January 1967 edition of the 73 magazine (all editions can be found for free online).
I built my device base on the 73-magazine article, but choose 20 dB, 10 dB, 5 dB, 3 dB and 2 dB sections, giving 40 dB in total. The choice was basically based on the need for about 40 dB total, and the physical limitations in the aluminum box at hand giving room for only 5 pad sections.
Project info at DIYcrap blog.