Safecracking for Computer Scientists

Loading

Contents

This article is a general overview of safe and vault security from a computer science perspective, with
an emphasis on the metrics used to evaluate these systems and the weaknesses that cause them to fail. We examine security against forced, hidden and covert opening of safes, focusing on the mechanical combination locks most commonly used on commercial safes in the USA. Our analysis contrasts the philosophies and tools of physical security with those of information security, especially where techniques in these disciplines.

Animal repellents Non-destructive
deterrence of
rodents,
wildlife
and snakes.

1. Safe and Vault Security: A Computer Science Perspective

There is an undeniable mystique surrounding safes and vaults. Containers for protecting valuables and secrets
from theft and prying eyes have existed almost as long as the concepts of valuables and secrets themselves,
and yet, despite the “internet age,” the details of safes and the methods used to defeat them remain shrouded in obscurity and even a degree of secrecy. Safe security is a delicate, almost dangerous subject, protected by a close reverence that extends, at least in our imagination, across both sides of the law. Safecrackers are perhaps the most romanticized and “professional” of thieves, conjuring images of meticulously planned and executed deeds straight out of Hollywood scripts. And among the law-abiding, safe and vault technicians (safe men, in traditional parlance) are seen as the elite, an upper stratum of the locksmith community, whose formidable trade is surely passed on only to the most trustworthy and dedicated.

Reverence for safe work can even be found in its own internal literature, where there is almost
a subtle boast accompanying mastery of a safe-opening technique. The title of a venerable locksmithing treatise on the subject—The Art of Manipulation[LK55]—signals a discipline requiring art rather than mere craft. Its text begins with a warning to guard the material on its pages faithfully, as well as a suggestion that the book be destroyed entirely after its techniques have been learned. (Fortunately, some readers ignored this advice, and a few copies remain available through interlibrary loan.) The ambiguous term manipulation itself seems strangely appropriate here, perhaps evoking a “lock whisperer,” with the safe somehow persuaded to open against its better judgment, only to regret it later.

“Security through obscurity,” regarded rather dismissively by information-security professionals, remains a central principle of the safe and vault trade. It is not easy to learn how safes work or what makes them better, and while the basic techniques and designs are available to those who search persistently enough, few professionals (on either side of the law) openly discuss the details of safe opening with the uninitiated. Consequently, a prospective user may find it difficult to assess independently whether a given container is secure enough for its intended application; this task is left primarily to the safe industry itself (although standards bodies and the insurance industry also have some influence here).

Despite all the reticence surrounding the subject, however, safes and safe locks (and how they are defeated)
are worthy subjects of study for students not only of locksmithing, but also of information security. An unfortunate side effect of the obscurity of safe and vault technology is the obscurity of tools and techniques that deserve to be better known and more widely applied in other disciplines. The attack models against which safes are evaluated, for example, are much more sophisticated than their counterparts in computer science. Many
attacks will also remind us of similar vulnerabilities in computer systems, despite having been
discovered (and countermeasures developed against them) decades earlier.

The mechanical combination locks used to control access to safes and vaults are among the most interesting and elegant examples of security engineering and design available today. The basic internal structure of (and user interface to) the modern safe lock long predates computers and networks, yet careful study of these devices reveals a rich history of threats and countermeasures that mimic the familiar cycles of attacks and patches that frustrate computer- and network-security professionals.

One of the most striking differences between the worlds of physical and information security is the relative sophistication of the threat models against which mechanical security systems are measured. Perhaps because of its long history and relatively stable technological base, the physical-security community—and the safe and vault community in particular—generally seeks remarkable precision in defining an adversary’s expected capabilities and the resources required for a successful attack. Much more than in computers or networks, security here is regarded as a trade-off, and a quantifiable one. The essence of that trade-off is time.

Are you interested in buying a LA GARD 3330 Mechanical Safe Lock, Mechanical Combination Security Lock—or others as well?

1.1 Safe and Vault Construction

For the purposes of this discussion, a safe or vault is a container designed to resist (or leave evidence of)
unauthorized entry by force. (That is, we are discussing burglary-resistant safes. Many consumer products sold as “safes” do not actually meet this definition, as they are intended to resist only very casual theft or protect their contents from fire damage; we do not consider such safes here.) The difference between a safe and a vault is one of scale: safes are small containers intended to store objects, while vaults are essentially room-sized safes with features (such as lighting and ventilation) that support human activity.

Many different safe and vault designs are in use, including freestanding “box” containers, floor safes, wall safes, prefabricated vaults and custom-built containers; even a cursory survey would be beyond the scope of this paper. However, they all share certain common features.

Advertisements

Normal access to a safe or vault is through a door, usually hinged to the container walls. The
door is locked by one or more door bolts (comprising the boltwork), which are generally extended or retracted by an external opening lever that can be operated only if the locking mechanism’s lock bolt has been retracted (for example, after the correct combination has been dialed). Most modern burglary-resistant safes accept a standard lock package (with an externally mounted dial), consisting of an internally mounted lock module with a small retractable lock bolt designed to interface with the door bolts and handle. See Figure 1. (We will discuss these locks in more detail later.) Some older safes (as well as some current low-security

Figure 1: A standard lock package (in this case a Sargent & Greenleaf model R6730), shown mounted on a display stand. The dial (left image) is accessible from outside the container. The internal lock module (right image), in a standard design, contains the locking mechanism and retractable lock bolt (the brass tab at the far right). Note the change-key hole on the back of the lock case, into which the user can insert a tool to change the combination when the container is open. The dial is connected to the lock module by a spindle passing through a small hole in the container wall.

safes incorporate a customized lock as an integral part of the boltwork and use the lock bolt directly
as the door bolt.

The primary function of a safe or vault container is to resist forced opening and protect the lock
package from tampering. Container walls and doors typically consist of several layers of material. The outer layer is usually ordinary mild steel, intended to resist blunt force and prying. Resistance to more specialized attacks is provided by barrier layers made from materials that resist penetration by different types of tools. Barrier materials designed to thwart drilling, called hardplate, protect parts of the safe (such as the lock package) that could profitably be drilled to create an opening.

Barrier materials may protect all six sides of the container or, more commonly, only one (usually the door itself). Wall and floor safes are often protected only at the door, on the assumption that the surrounding environment prevents access from other directions. To prevent the container itself from being stolen whole, freestanding safes (especially lighter models) are often designed to be bolted to the floor or wall.

Many safes and vaults (including most burglary-resistant safes, but, interestingly, not GSA containers intended to store classified material) incorporate one or more internal relockers (also known as relock devices), which trigger when certain conditions consistent with an attack are detected. Once triggered, relockers prevent the door bolts from moving even after the lock bolt has been retracted. Several types of relockers are in common use. The most common detect punch attacks in which the back of the door is damaged (for example, the internal lock package by force applied to the external dial). Thermal links, used in some safes, melt and trigger a relock at the high temperatures that cutting torches may produce. Some of the highest-grade safes include tempered-glass plates that trigger a relock device when penetrated by a drill. Lock packages themselves often have internal relock triggers that prevent the lock bolt from retracting if the lock case is forced open.

Any attack aimed at opening the container door must therefore avoid triggering the relock devices. The main value of many relockers appears to be thwarting novice burglars who are unaware of their existence. Particularly on mass-produced safes (most of the market), the types and locations of relockers can be predicted, allowing their triggering to be avoided. On higher-end safes and vaults, especially those incorporating

tempered-glass plates, relockers may be positioned randomly as a unique parameter of each individual container. Here, the relockers force the attacker to use a more conservative opening technique (for example,
one involving drilling through more hardplate), making penetration time slower in the best case (and more
predictable), even against an expert.

1.2 Container Security Metrics

Even the best safes and vaults are, of course, not absolutely impenetrable; their strength is limited by both physics and economics. Safes differ from one another not in whether they can be penetrated, but in how long this should take, the resources required and the evidence it will produce.

Basic security metrics for safes attempt to measure resistance to the types of tools that attackers of varying degrees of sophistication may be expected to use. At the bottom of the attack-tool hierarchy are
ordinary hand tools, against which even a low-end safe can be expected to offer at least some resistance; then portable motorized power tools, then cutting torches and, finally (presumably for those international jewel thieves from Hollywood films), explosives.

Advertisements

We can also measure attacks by the obviousness of the evidence left behind. Here, the terminology is at its most cloak-and-dagger: an attack is said to be surreptitious if it leaves no evidence at all, covert if it leaves evidence that would not be noticed in ordinary use (although it might be detected by expert inspection), and forced if the evidence is obvious (of course, force may also be involved in surreptitious or covert entry, so the term is something of a misnomer). These distinctions are mainly of interest for safes used to store confidential (or classified) information, where promptly detecting successful
attacks may be almost as important as preventing them in the first place.

Safe and vault rating categories aim to provide a multidimensional picture that lets a prospective user assess protection against the perceived threat: a given safe may be rated for a very long time against surreptitious entry using the simple tools of the most casual thief, but for shorter periods

as the tools used become more sophisticated, heavier, more conspicuous and more expensive, or as the evidence of an attack
becomes more conspicuous. (Several organizations publish ratings under different criteria, for example,
in the USA, Underwriters Laboratories (UL) for commercial safes and the General Services Administration
(GSA) for federal government safes.)

Because the materials and mechanical designs from which safes and vaults are made have
fairly well-understood physical properties, relatively simple procedures are used to estimate time bounds on resistance to attack. The usual approach is to make quite generous assumptions about the attacker’s skill and tools and the conditions under which unauthorized opening might occur. For example, a sample safe may be drilled (under laboratory conditions and with the best commercially available equipment and techniques), with the penetration time taken as the minimum required for a burglar to open it by drilling.

These tests produce safe ratings that may at first seem alarmingly weak. The highest UL rating categories are only 15, 30 and 60 minutes, and GSA ratings against forced attack are either zero(!) or 10 minutes. Even a GSA container rated for zero minutes may take an hour or longer to open under field conditions (and attract considerable attention in the process).

Note that safe testing as described here does not establish an upper or lower security bound in the
sense normally used in information security. These are clearly not lower bounds, since better tools or techniques unknown when the safe was tested may substantially reduce the required penetration time. The results are not especially meaningful as upper bounds either, because conditions are sufficiently generous to the attacker that they are very unlikely to be achievable in the field. Instead, they are less formal “guidelines,” intended mainly for comparison and useful only as approximate lower estimates under the (perhaps weak) assumption that improved tools and techniques will not become available in the future.

Are you interested in buying a LA GARD 3330 Mechanical Safe Lock, Mechanical Combination Security Lock—or others as well?

1.3 Lock Security Metrics

Time is also the fundamental metric by which locks used on safes and vaults are measured. Here, however,
we are less concerned with force attacks, since the vulnerable components of the lock are protected by
the container itself. Instead, the primary attacks involve exploiting poorly chosen combinations (birthdays are said to be popular), finding a working combination through exhaustive search, or interpreting incidental feedback from the lock’s user interface to draw conclusions about its internal state. The last approach is usually called manipulation in the safe and vault trade, although, as we will see later, the techniques involve careful observation more than direct manipulation.

Mechanical dial combination locks are the most common access-control devices used on burglary-resistant safes and vaults in the United States, and these locks will be our focus here. Such locks are opened by demonstrating knowledge of the combination by turning the dial and reversing direction at particular places on it; we discuss the user interface and dialing procedure in detail in Section 2. Electronic combination locks (using a keypad or rotary encoder dial) are becoming increasingly popular at the low and high ends of the safe market, but we will not consider them here; analyzing such locks is essentially a software- and embedded-system-security problem beyond this paper’s scope. Key-operated safe locks (usually lever-tumbler designs) are more common in Europe and elsewhere, but again fall outside our scope here.

Nondestructive attacks against the combination itself are usually regarded as belonging to the “surreptitious” category; they leave little or no forensic evidence. (Electronic and electromechanical locks may include logs and audit trails, but here we consider purely mechanical locks.) Many attacks on locks, including
manipulation, can be carried out over several (interrupted) sessions, making them a particularly serious
threat in some environments.

1.3.1 Combination Keyspace

The most obvious security factor in a lock is the number of different combinations; this bounds the time
required for exhaustive search. Most safe and vault dials are divided into 100 graduations (see Figure 2), with three (or possibly four) numbers dialed in the combination. This means 1003 (1,000,000) possible combinations for a three-number lock and 1004 (100,000,000) possible combinations for a four-number lock.

However, the number of effectively distinct combinations is usually substantially lower. Most locks have a wider dialing tolerance than the dial graduations suggest, allowing an error of anywhere between ±.75 and ±1.25 in each dialed number, depending on the lock model. Thus, although there may be 100 marked positions on the dial, there may be as few as 40 mechanically distinct positions. A three-number

Figure 2: The external dial (user interface) of a common Group 2 lock (again a Sargent & Greenleaf model R6730). The actual dial, with 100 graduations, rotates; the surrounding dial ring is fixed to the container.

The main index mark at 12 o’clock (shown here at position 2) is used to dial the combination to
open the lock; the smaller index mark at 11 o’clock (at 94) is used only when setting a new combination. The lock would therefore have between 403 (64,000) and 673 (300,763) effective combinations. Other restrictions
reduce the keyspace somewhat further: the choice of the last number is usually restricted to about 80% of the dial, depending on the lock’s design. With 20% of the last-number space lost, the effective number of different combinations on three-wheel locks ranges in practice from 51,200 (with a tolerance of ±1.25) to 242,406 (with a tolerance of ±.75).1

Clearly, even 51,200 combinations would make manual exhaustive search by an unaided attacker impractical. However, commercially available robotic dialers (a servo motor attached to the dial and controlled by a simple microcontroller) can search the effective keyspace of most three-number locks, as well as some four-number locks, overnight or over a weekend (generally, however, this is still longer than the expected time required to penetrate the container itself; repeated high-speed dialing also causes significant wear on the lock).

The size of the combination keyspace is one of the most important metrics used by the various standards bodies to certify safe locks. In the United States, UL rating standards for Group 2 safe locks, the most common commercial locks, specify that there must be at least 1 000 000 distinct combinations and that the dialing tolerance must be no greater than ±1.25. The standard does not explicitly address the number of usable combinations that the user can actually set, however, so three-number locks can be certified
even when the final number is restricted. Comparable standards in other countries specify particular minimum sizes for the combination keyspace more precisely. CEN, the European standards body, requires at
least 80 000 distinct usable combinations for “Class A” locks, roughly equivalent to UL Group 2. VdS, a similar German standard, has the same requirement for a “Class 1” rating, again roughly equivalent to UL Group 2.

Unfortunately, and ironically, another substantial reduction in the combination keyspace comes from overly broad “guidelines” for selecting “good” combinations. Ostensibly to compensate for users’ notoriously poor ability to select sufficiently “random” combinations, many lock manufacturers recommend avoiding combinations that do not “look random.” A typical example is Sargent and
Greenleaf[Cos01], which recommends for its three-number locks that the combination as a whole should not consist of a monotonically increasing or decreasing sequence, that adjacent numbers should differ by at least ten graduations2, and that 25% of the dial should be avoided for the final number, although the mechanism itself on S&G locks requires avoiding only 6% of the dial. Acceptable combinations under these recommendations comprise less than 50% of the usable combination keyspace. For example, while an S&G R6730 lock has 282 807 distinct usable combinations according to its mechanical specifications, only 111 139 of them are considered “good” under the manufacturer’s recommendations. For locks with the full ±1.25 dialing tolerance allowed under UL Group 2, these recommendations seem particularly misguided, leaving only 22 330 distinct “good” combinations. Note that this is less than 2.5% of the apparent keyspace of 1 000 000.

Similar reductions in the effective keyspace will be familiar to observers of many computer password authentication systems.

1.3.2 Manipulation Resistance

Some combination-lock designs, including those used on burglary-resistant safes, are subject to imperfections that leak information about their internal state through the external dialing interface. An attacker may be able to exploit this information to discover a working combination through manipulation, systematically entering trial combinations and interpreting the state information.

An obvious security metric for a combination lock is therefore whether the design and its manufacturing processes resist manipulation attacks. Because elaborate equipment is generally not required to carry out these attacks, the most significant variable in the threat model is whether the attacker knows and has practiced the technique. Ratings for these locks distinguish between “expert” and “non-expert” attacks.

In the United States, there are two classes of commercial, UL-rated safe locks. “Group 1” locks are intended to resist expert manipulation for at least twenty hours; in practice, this means that the best attack against such locks should be exhaustive search. The “Group 1R” subcategory also requires resistance to radiological analysis, perhaps the only lock attack assumed to involve specialized tools. “Group 2” locks provide only “moderate” resistance to manipulation but are considered secure against non-experts. Locks in the recently introduced “Group 2M” subcategory are said to resist expert manipulation for up to two hours.

The vast majority of commercial safes use Group 2 locks, and sometimes even unrated ones. Even formidable containers that may require considerable effort to penetrate by force are often fitted with locks that someone familiar with the procedure can manipulate and open without leaving evidence. Group 1 locks are usually found only on high-end safes and vaults specifically intended to store high-value items or classified materials.

The relative rarity of mechanical locks designed to resist expert manipulation seems somewhat surprising, particularly given that the containers on which they are used are often quite secure against expert penetration. Group 1 locks are not substantially more expensive than their Group 2 counterparts and certainly would not represent a significant increase in the container’s overall cost. A likely explanation is that mechanical Group 1 locks usually have a more complex user interface, typically requiring an additional step before unlocking, and are less forgiving of dialing errors. As in computing systems, many users are willing to trade even a considerable degree of security for better usability and convenience.

2. Group 2 Mechanical Combination Locks

The modern combination-lock mechanism is relatively simple, and its basic design has remained substantially unchanged for at least a century. There are relatively few variations on the standard design, although some models include additional security features, for example to meet Group 1 standards.

Group 2 locks are the most common, and among them most current products use a “spring-loaded
lever-fence, key-changeable” design. The “standard” lock of this kind is the Sargent & Greenleaf model R6730. Other current locks using a design virtually identical to the R6730 include the Kaba-Ilco model 673 and the LaGard model 3330. Because the design is so common, and also because it illustrates the basic
operating principles and security pitfalls of mechanical combination locks well, it will be the focus of our attention here. We will discuss variations on the design later.

The standard external user interface is a rotating dial approximately 3 inches in diameter, mounted on the container’s door and graduated into 100 positions. A dial ring attached to the door wall has a primary index mark, usually at the 12 o’clock position, for dialing combination numbers, plus a second index mark, usually at the 11 o’clock position, used only when changing the combination. See Figure 2.

The dial is connected to the internal lock module by a spindle that passes through the container wall, serves as the dial’s axis and rotates with it. The main internal components of Group 2 lock modules are shown in Figure 3.

Figure 3: The main components of a Group 2 lever-fence lock, viewed from the rear, Kaba-Ilco model 673

Although many of the lock’s components serve more than one purpose, with complex interactions that depend on the lock’s state, the design is simpler than it may at first appear. Recall that the purpose of the lock is to retract the lock bolt, thereby releasing the door bolts, only after the correct combination has been entered. It is easier to understand the design as a whole by studying its two basic functions separately: retracting the lock bolt and enforcing the combination.

2.1 Retracting the Lock Bolt: The Drive Cam and Lever

The two main internal components involved in retracting the lock bolt are the drive cam and the lever.

Within the lock module, the spindle terminates in the drive cam, also known as the cam wheel or simply the cam. The cam moves with the external dial, and all rotational motion of the dial is transferred directly to it. On most locks, including the lock shown in Figure 3, the cam is the rearmost element, although this is not important to the design. Note that the cam is circular, with a wedge-shaped notch in its circumference; this notch is called the cam gate.

The lock bolt slides partly into or out of the lock through a channel in the side of the module housing, that is, left or right in the figures. Inside the lock module, the bolt is attached to the lever. The lever is attached to the bolt by the lever screw, which serves as the lever’s pivot and allows it to move up and down through a range of a few degrees. The lever is pressed downward by the lever spring, which usually wraps around the lever screw.

The lever extends through the module from the lock bolt to near the spindle axis. At the far end of the lever, the lever nose rests along the edge of the cam, held down by pressure from the lever spring. Observe that the lever nose has the same wedge shape as the cam gate. The bolt is moved by allowing the lever nose to engage the cam gate.

Figure 4: Opening the lock.

In this cutaway view from the rear of the lock, the dial is turned clockwise to retract the lock bolt. In (a) through (c), the cam turns toward the lever, allowing the lever to drop as the nose engages the cam gate. In (d), further rotation of the cam has pulled the lever to the left, retracting the bolt.

In Figure 4, the dial, and therefore the cam, rotates clockwise3, and the cam gate approaches the lever nose. As the cam gate moves beneath the lever nose, the nose is pressed down into the gate. Continued clockwise rotation, with the lever nose fully engaged in the cam gate, pulls the lever, which in turn retracts the bolt. Once the bolt is fully retracted, the dial cannot be turned any farther clockwise; counterclockwise dial rotation extends the bolt back to the locked position.

2.2 Enforcing the Combination: The Fence and Wheel Pack

As described so far, our lock can retract and extend its bolt but provides no security: it opens simply by turning the dial clockwise. Two additional components, the wheel pack and the fence, work together with the lever and cam so that the bolt can retract only after the correct combination has been dialed.

The wheel pack is the lock’s set of “security tumblers.” It is mounted behind the cam around the spindle but has no direct contact with the spindle itself. The wheel pack consists of a collection of disks, called wheels, larger in diameter than the cam and able to rotate independently of the cam and of each other. A combination gate, or simply gate, is notched into the edge of each wheel. See Figure 5.

Figure 5: Wheels, front and rear.

Left: front; note the drive pin protruding near the axis. Right: rear; note the fly near the axis, which engages the drive pin of the adjacent wheel. This wheel, for a Kaba-Ilco 673 lock, has a movable fly designed to rotate through a fixed range before moving the wheel. This allows the same combination number to be dialed clockwise or counterclockwise. (On most locks, the wheels are actually a three-layer “sandwich”; see Figure 6.)

The combination gates are tested by the lever. There is more to the lever than Figure 3 suggests: as we can see in Figure 7, above and behind the lever nose is a horizontally projecting fence positioned directly above and across the top of the wheel pack. When the cam gate is beneath the nose, the lever drops, allowing the fence to contact the wheel pack. If all the combination gates in the wheel pack are aligned beneath the fence, the lever nose drops farther and can engage the cam gate. See Figure 8. But if even one combination gate is not beneath the fence, the lever is prevented from dropping far enough for the nose to engage the cam gate. See Figure 9.

2.3 Dialing the Combination

The ability to retract the bolt depends on positioning all the wheels’ combination gates in the wheel pack beneath the fence. Each wheel configures one number of the combination; a three-number lock has three wheels in its wheel pack. An ingenious coupling arrangement between the cam and the wheels allows the external dial to position each wheel separately.

A small tab called the cam drive pin is attached to and projects from the cam. It rotates with the cam around the spindle and travels in a slotted ring in the wheel immediately behind the cam. Attached to the wheel within this slot is another tab called the fly. As the dial, and therefore the cam, turns, the cam drive pin moves through the slot of the wheel behind it and, at some point in the rotation, encounters the wheel’s fly. Thus, after one complete turn of the dial, not only does the cam rotate with the dial, but the wheel behind the cam does too.

Another drive pin is attached to and projects behind this wheel, traveling in a slot in the
wheel behind it, which has its own fly. Thus, while after one turn of the dial only the first wheel

Figure 6: Edge view of a typical wheel. Note the three-layer “sandwich” construction, which facilitates changing the combination.

Figure 7: The lever. Note the fence projecting above and behind the nose.

Figure 8: Interaction of the lever and fence with the cam and gates, correct combination

Figure 9: Interaction of the lever and fence with the cam and gates, combination not set

is rotating, after two turns the second wheel rotates as well. Any number of wheels can be “stacked” in this
way, although most locks have three wheels, some have four, and a few specialized high-security locks have more than that. When a wheel’s drive pin contacts another wheel’s fly and can turn it, we say that the new wheel has been “picked up.”

Note that regardless of how many wheels have been picked up, reversing the direction of rotation, for example from clockwise to counterclockwise, breaks the cycle, and additional full turns in the new direction are required before wheels begin to be picked up again. The wheel farthest from the drive cam must therefore be positioned first, followed by the next, with the wheel adjacent to the drive cam positioned last.

Using the index mark and dial graduations, the drive-pin-and-fly arrangement allows the rotating
dial to set the wheels to any specific desired configuration. Entering a combination requires the user to keep track of the numbers being entered and manage multiple turns of the dial; entering all three numbers may require turning the dial through as many as ten complete revolutions. The usual procedure is roughly as follows:

  1. Turn the dial counterclockwise (left), stopping when the first combination number aligns with the upper index mark for the fourth time.
  2. Turn the dial clockwise (right), stopping when the second combination number aligns with the upper index mark for the third time.
  3. Turn the dial counterclockwise (left), stopping when the third combination number aligns with the upper index mark for the second time.
  4. Slowly turn the dial clockwise (right) until the locking bolt retracts and the dial will turn no farther. (If the dial does not stop after two complete revolutions, the combination was dialed incorrectly and must be entered again from the beginning.)

On an N-wheel lock, the wheel directly behind the cam is usually considered wheel N because, although this wheel is picked up first, it corresponds to the last combination number dialed. Thus, on a three-number lock, the wheel behind the cam is wheel three, the wheel behind that is wheel two, and the last wheel is wheel one.

A wheel’s combination is determined by the relative positions of its fly and its gate. Changing the lock combination is a matter of changing this relationship. On some (mostly older) locks, the wheels must be removed and replaced to change the combination. The wheels used in many locks (including those
shown here) allow the user to change the combination without disassembly. A small tool inserted into the back of the lock case “unlocks” the inner portions of the wheels (with the fly and drive pin) from the outer portions (with the combination gate), allowing a new combination to be entered. The procedure is somewhat cumbersome (usually requiring dialing to a different index mark), but is considered an end-user operation.

2.4 Other Considerations and Design Variants

The lever-fence design is subject to somewhat anomalous behavior if the last wheel’s combination is set too close to the point at which the nose enters the drive cam gate. Usually, the lever nose gets caught in the cam gate, preventing the bolt from being relocked. More rarely, the lock fails to open at all.

This is why the range of numbers allowed for the last combination number is restricted to avoid those
that would place the last wheel too close to the cam gate. This region of the dial is usually called the
forbidden zone and applies only to the last number of the combination.

Figure 3 (and most of the other figures here) shows the lock (from the back) with the lock bolt
to the right, which is the mounting position used in many safes and vaults. However, depending on the

lock, it can also be mounted with the bolt pointing down, up or left. Most locks allow the dial to be attached at any of the four 90◦ rotations so that the opening position remains near zero (with a 12 o’clock index), even when the lock is mounted in one of these ways. (A removable spline key attaches the spindle to the cam inside the lock case; it is installed in one of four slots marked RH, VU, LH or VD to determine the orientation of the dial relative to the cam.)

Different vendors of these locks manufacture some parts to slightly different specifications from those shown here and may position the components somewhat differently. For example, Sargent and Greenleaf and Kaba-Ilco locks use three-layer “sandwich” wheels with the gate cut into the larger-diameter outer layers (i.e., as shown here), while LaGard locks place the gate in the larger-diameter inner layer. Sargent and Greenleaf,

Kaba-Ilco and LaGard locks have the drive cam as the rearmost component behind the wheel pack (i.e., away from the dial), while Mosler locks make it the frontmost component (between the dial and the wheel pack). A number of different lever designs are used, and on some locks the dialing tolerance can be adjusted by replacing the lever with one with a wider fence (for a tighter tolerance) or a narrower one (for a looser tolerance).

An older design variant, the direct-entry fence, does not use a spring-loaded lever fence or the lever/cam arrangement described here. Instead, the door bolt handle itself moves the fence into the wheel pack to fall into the gates. Direct-entry locks are generally considered lower-security locks than the Group 2 design shown here and are found primarily in older containers as well as in many lower-priced fire safes currently in production.

Locks intended for use on thick-walled vault doors often do not use the direct spindle-to-cam connection shown here, instead using an indirect geared drive arrangement. Locks with “high-security” features may have additional components. Most Group 1 locks have some mechanism to further restrict interaction between the lever nose and the cam gate. Some Group 2M locks add an irregularly shaped ball or wheel to the lever nose. The security implications of these features will be
discussed in Section 3.3.6.

Most Group 1 and Group 2 locks use wheels stamped from brass or other easily machined metals. Group 1R locks, on the other hand, use wheels made of low-density materials (that is, plastics such as Delrin) to resist X-ray analysis.

GSA containers and vaults used to protect DoD-classified materials historically used Group 1R locks, but current GSA containers no longer use mechanical locks at all. The only locks now approved for this application are electromechanical, with the lock mechanism operated by an embedded microconnector trolleybus. (Only one vendor, Kaba-Mas, has products certified for this application at the time of writing.)

2.5 Observations

With minor variations, the design described here is almost ubiquitous among current safes that use Group 2 locks. The basic components are also similar to those used in other kinds of high- and low-security combination locks; a working knowledge of this mechanism can serve as a foundation for a more general study of lock security.

Every safe or lock has two basic operating requirements: it must not open unless the correct
combination has been entered, and if it has, it must open reliably. We have focused primarily on how this design meets the first requirement, but the second is equally critical, since a lock that cannot release in response to its combination is effectively trapped inside a sealed container. In practice, locks of this design are remarkably reliable, although because of the somewhat baroque user interface (especially with regard to changing the combination), failures caused by user error are not uncommon. Possible failure modes, and procedures for diagnosing and remedying them, are outside the scope of this paper but are treated comprehensively in [Tob00], [Oeh97] and [Cos01].

From an engineering perspective, there is much to admire in these locks. Many of the components serve more than one security purpose. The lever has at least two distinct functions: testing the wheel pack for correct gate alignment and retracting the bolt. The cam has at least three: transferring dial rotation to the wheel pack, controlling contact between the fence and the wheel pack, and engaging the lever to retract the bolt.

Some information about the internal state of this mechanism can be detected through the external dialing interface, but much of it is of little use to an attacker. Even a relatively inexperienced user can easily feel the wheels being picked up one by one, as well as the lever dropping and rising as the cam gate moves beneath, and then away from, the lever nose. This feedback reveals the position of the cam gate as well as the position at which each wheel is picked up.

It is therefore easy to use the dial to distinguish among three different states of the drive cam and wheel pack:

  1. Nose not over the drive cam.
  2. Nose over the drive cam; fewer than N wheel gates beneath the fence.
  3. Nose over the drive cam; all N wheel gates beneath the fence (bolt retracts).

At least superficially, the security of the basic Group 2 lock design appears quite good. Although some state information leaks through the user interface, the design conceals the most important information sought by an attacker: the positions of the gates. The lever nose and drive cam lift the fence above the wheel rim and do not allow the gates to be felt as they pass beneath the fence.

Despite these security features, however, this lock design is not perfect. In particular, small (and largely unavoidable) manufacturing imperfections can introduce significant vulnerabilities by leaking more state information about the wheel pack than our analysis so far might otherwise suggest. We will discuss these imperfections, and how they can be exploited, in Section 3.3.

3. Attacks against Containers

3.1 Forced Entry: Brute Force

Forced entry is the most obvious attack against a safe or vault, and countermeasures against it are relatively straightforward. In a force attack, the goal is to open the container as quickly as possible, regardless of the evidence left behind or the container’s future repairability. The primary defense against brute force is brute force: heavy and/or hardened materials that resist prying, cutting and bending.

Most, though certainly not all, successful forced attacks aim not to open the door but to breach an unprotected side of the container. Although forced attack is most often associated with amateur, opportunistic burglary, a notable professional application of forced entry against an unprotected side is penetration of a bank vault. Bank vault doors are very expensive and notoriously difficult to breach. When they
fail (which is unusual), it is sometimes cheaper to drill a large hole through the side of the building than to drill-attack the door itself. (This is itself a nontrivial operation, since vault walls are usually constructed
from thick steel-reinforced concrete).

Analysis of, and countermeasures against, forced attack are primarily matters of metallurgy, mechanical
engineering and materials science, and are outside our scope here.

3.2 Surreptitious Entry: Drilling

A more refined use of force through drilling aims not to breach a large hole in the container but instead to release its bolt and open the door as though the correct combination had been entered. Carefully planned drilling attacks that open the door are not only often faster than those against the container; they can also be sufficiently
nondestructive to allow the container to be repaired and returned to service. Such attacks are therefore said to be surreptitious, because although there may be evidence of opening, it can escape casual notice after repair.

Because the goal is normally to open the door by releasing the bolt, drilling usually attacks the lock package. A drilled container is opened in one of three ways, depending on the location of the hole or holes. The lock state can be observed and the combination decoded so that it can then be dialed normally. The lock can be probed to reset it manually to a known combination or to an unlocked state. Finally, parts of the lock or boltwork can be destroyed entirely to allow the bolt to retract as though the lock were open, bypassing the lock completely.

3.2.1 Principles of Destructive Decoding and Bypass

A small hole that permits visual access (or access for a small tool) to the lock module can be especially powerful against containers that are operating normally (i.e., containers without triggered relockers, etc.).

On containers with properly functioning locks, the combination can be decoded easily by observing the edge of the wheel pack while turning the dial. A single small inspection hole drilled through the container wall and lock case is usually sufficient for this purpose. Any hole that permits a view of the gates will suffice for this purpose.

If the inspection hole provides a view of the fence as well as the wheel rim, decoding is a simple matter of lining up the gates beneath the fence by turning the dial (or spindle) in the usual way. As long as the inspection hole permits a view of the gates as the wheels turn, the combination can be decoded even if the fence position is unknown, although this requires two steps instead of one. First we find a combination that aligns all the gates at the same position. Each number in this combination will be out of phase with the true opening combination by a fixed offset. The true opening combination can be found by a simple exhaustive search of the possible offsets. (If the location of the fence relative to the
inspection hole is known, no exhaustive search is necessary: the combination can be calculated
simply by adding the distance between the inspection hole and the fence location).

Figure 10: A 10-inch x 0.200-inch 90◦ optical borescope with a portable 30-watt halogen light source.

An angled borescope provides a good view of the gates and/or fence through a small hole.

The inspection hole is usually drilled into the lock case through the front of the container door, but it need not be. Recall that the back of most locks has a change-key hole for inserting the tool that changes the combination. A hole providing a view of the change-key hole may provide a sufficient view of the wheel pack to permit decoding, especially with an angled borescope such as the one shown in Figure 10.

A small hole exposing the wheel pack is also useful when the lock is malfunctioning and turning the spindle does not properly engage the wheel pack. A sharp probe (such as an ice pick) can often be inserted through the inspection hole to move the wheels into position beneath the fence and retract the lever.

Careful and selective destruction of various lock components can eliminate the need to decode the
combination at all. The simplest such attack is drilling into the lock module through the front of the container to destroy the fence. This allows the lever to engage the cam without first lining up the gates. (Performing this kind of attack requires knowledge of the exact layout of the lock module on the container door and precise measurement of the drilling location.) Another possible attack drills out the lock bolt, although this area is
often difficult to reach or protected by relockers.

3.2.2 Determining Drill Points

Nowhere is the sense of mystery surrounding safe and vault security greater than in the selection and placement of effective drill points on different safes. Where to drill is perceived as one of the darkest and most closely guarded secrets of the safe trade, something that can be learned only through careful analysis
and cataloging of hundreds of different containers.

Determining where to drill is actually quite straightforward. Although dimensions and internal construction
information about a container are indeed useful when drilling (and commercially available databases of safe schematics and drill points are sold to the trade), effective drill points for most safes can be determined without any special knowledge of the container. Only very high-security safes, those with glass-plate relockers, require special care in calculating the drilling location. For other safes, the optimum drill point is determined entirely by the lock itself.

In fact, the same drill point is effective against virtually all modern commercial safes that use direct-drive (non-geared) mechanical Group 1 and Group 2 locks of the kind discussed here (except for the rare high-security containers with glass plates). Any security purportedly resulting from the obscurity of feasible drill points for such containers is illusory at best; their locations are a fixed and almost universal constant.

Recall that the goal of a drilling-based decoding attack is to gain visual access to the edge of the wheel pack. The wheels in most locks have a standardized diameter of about 1 3/4 inches. Therefore, because the
wheels are mounted around the spindle, the edge of the wheel pack on virtually all modern locks can be found 7/8 inch, in any direction, from the center of the spindle.

Most locks are mounted RH (with the bolt to the right when viewed from the back). The lever on RH-
mounted S&G R6730 locks and many similar locks is at approximately position 97 (with the dial at position 0). This means that drilling a hole centered 7/8 inch from the center of the spindle at a compass point of approximately 350◦ will provide a good view of the wheel rim and the fence. If the lock is not mounted RH, or if the fence on a particular lock model happens to be in a different position, the lock can still be decoded with an offset as described in Section 3.2.1. A hole from 1/4 to 3/8 inch in diameter is sufficient for this purpose. (Some safe technicians prefer to drill a little farther from the spindle, say 1.0
inches, allowing the top of the wheel to be viewed with a 90◦ borescope).

Drilling is more complex if the lock is not mechanical or has an unusual design, if relockers have been triggered (as in a failed burglary attempt), or if relockers protect the lock case. In such cases, consulting commercial databases of relocker and bolt locations and container schematics greatly facilitates effective opening. But for most safes, a hole 7/8 inch from the center of the spindle is entirely sufficient.

More detailed information about the particular safe model is also valuable when drilling the side, back or top of the container (for example, to gain access to the change-key hole). Side drilling is usually performed to avoid hardplate or glass relockers in the door on safes that have barrier layers only in the door. Effective side drilling requires knowing the lock’s mounting orientation and the exact thickness of the door. It also requires using a borescope long enough to reach the change-key hole (or another opening in the lock case).

Note that the standard drill point 7/8 inch from the spindle center places the hole in the dial. The outer portion of the dial must therefore be removed (for example, with a 1 5/8-inch hole saw) to gain access to this drill point. Commercially available dial pullers can also remove the dial from the spindle, but they do not work effectively on every kind of safe dial. Once the dial has been removed, the wheels can be turned using a small emergency dial or by turning the spindle directly.

Other lock designs require slightly different drill points, but the basic principles are the same. Geared-drive locks require knowledge of the wheel pack’s location, which is offset from the center of the dial spindle. Direct-entry fence locks of the type used on inexpensive safes often do not enclose the wheel pack in a separate lock case and are therefore very forgiving of small errors in drilling location. They can usually be drilled almost anywhere near the wheel pack that permits a view of the gates.

3.2.3 Hardplate Drilling Techniques

The most important tools for safe drilling are specialized drill bits designed to cut hardplate.
The standard mild steel on the outside of most safes can be penetrated easily with a conventional cobalt drill bit designed for metal; these are widely available in consumer and contractor markets. A medium-speed drill operating at about 2000 RPM is sufficient for this material, and no special tools are needed.

Figure 11: Drill bits optimized for penetrating safe hardplate.

a) is a low-speed diamond-tipped bit designed for use at 200-500 RPM. Note the hollow core, which dispenses blue lubricant under the heat of drilling.
b) and c) have a hardened tungsten-carbide tip shaped for cutting steel (most carbide drill bits are designed for masonry). These can be used at approximately 400-3000 RPM, depending on the particular hardplate material and the user’s preference.

All but the lowest-security safes, however, have some kind of barrier material, hardplate, protecting the lock, especially in the door. Various hardplates are used, generally a proprietary alloy or composite formulation specific to the particular safe manufacturer. All such materials are very difficult to penetrate with conventional drill bits, which are not hard enough to cut through hardplate effectively.

Most hardplate can be penetrated relatively easily with special drill bits designed for this purpose. High- and low-speed lubricated diamond-tipped bits are occasionally used, but most hardplate can be drilled effectively with tungsten-carbide bits shaped for use on metal. (These are not the same as the inexpensive carbide bits used in the general contractor market, which are optimized for cutting masonry rather than metal.) See Figure 11 for examples of 1/4-inch bits designed specifically for safe and vault hardplate.

Most hardplate drilling is performed under relatively high pressure at low or medium speed. (High-speed drilling and drilling with diamond tips are performed under moderate or low pressure.) Maintaining control over pressure and depth is easiest with a portable drilling rig attached to the container that holds the drill in the proper position. A magnetic drilling rig designed specifically for opening safes is shown in Figure 12.

There are many different hardplate materials, and some require special techniques for effective drilling.
Some require high speed and moderate pressure, while others require lower speed and higher pressure. A full
survey is beyond our scope here; some techniques require experience and practice to use successfully.
For example, some hardplate barrier materials, especially those made of composite carbide alloys, are best penetrated with a combination of drilling and punching. Before drilling and at regular intervals, a small hardened punch is struck against the work surface to break up and dislodge hardened pieces of material and smooth the surface to be drilled. A hardened pin (or an old drill bit) is then used to smooth it further and make a small dimple in the surface before drilling resumes. Materials requiring punching are identified by their

Figure 12: A portable drilling rig designed for safes and vaults.

As shown, the base is attached to the side of the container using strong permanent magnets; it can also be attached with screws or nylon straps. Power is supplied by an ordinary low- or medium-speed handheld electric drill (not shown). Rough and irregular surface.

Although hardplate materials resist drilling, they are not impervious to it, and the equipment required is surprisingly ordinary. With the proper bits, conventional handheld drills (of the kind used by contractors and
sold in home improvement stores) provide more than enough power to penetrate hardplate, especially when used with a drilling rig. Yet although hardplate need not be impenetrable, it succeeds in its intended function: increasing the minimum time required for drilling attacks, even by experts.

3.3 Surreptitious Entry: Lock Manipulation

The precision with which combination locks can be manufactured is subject to inherent physical (and economic)
limits. Inevitably, all components made by a normal industrial process will have
small, variable imperfections. Wheels intended to be round will actually have a slightly irregular shape; pivot points and axes of rotation will be slightly off-center; angles will be slightly incorrect; component sizes will vary; and parts intended to fit tightly will allow some play. Although the standard Group 2 combination-lock design tolerates many of these imperfections quite well, others allow detailed inferences to be made about the state of the wheel pack at various points in the dial’s rotation. By carefully analyzing this state information, it is often possible to discover the lock’s combination efficiently. The use of these analytical techniques is usually called manipulation.

Manipulation attacks are especially powerful because they are inherently covert: they interact with the container through its normal user interface and leave essentially no forensic evidence. Unlike drilling attacks, they require no complex tools (other than a pencil and paper).

Figure 13: Imperfections in the wheel pack and fence.

Only the largest wheel actually determines the depth to which the fence lowers. Sometimes the wheels have slightly different diameters (as shown here), and sometimes the fence is not exactly parallel to the wheel. In this S&G 6730 counter cutaway, the middle wheel is slightly larger.

3.3.1 Principles of Manipulation

Two properties of the Group 2 lock design make it vulnerable to manipulation attacks.

The first property is imperfect wheel/fence alignment. Recall that the combination is tested by lowering the fence along the edge of the wheel pack at a fixed position, allowing the nose to engage the cam only if the fence can enter the gates. If at least one wheel in the wheel pack has its gate elsewhere, the fence cannot drop below the wheel rim. If the lock were perfectly made, when no gate was beneath the fence, the fence would rest on all three wheels simultaneously. But because the lock cannot be manufactured perfectly, the wheels will actually have slightly different diameters and the fence will not be perfectly parallel to the axis along which the wheels run. In practice, this means that the fence is blocked from lowering not by all the wheels but only by the effectively largest wheel. When that wheel is turned so that its gate is beneath the fence, the fence can lower a little farther, but is then prevented from lowering further by the next largest wheel. This means that although lowering the fence completely requires positioning the gates of all the wheels, the precise depth to which the fence can lower at any time is actually determined by only one wheel. See Figure 13 for an example of this phenomenon in a typical commercial lock.

The second property is amplification of fence depth through the nose and cam gate. Recall that the lever nose and cam are roughly wedge-shaped. When the nose is fully engaged in the cam gate, it is a snug fit with very little lateral play. But when the nose is only partially lowered into the cam gate, there is considerable side-to-side play. In fact, the total amount of play is inversely proportional to the depth of the nose in the cam gate (and therefore to the depth at which the fence touches the largest wheel in the wheel pack).

The play of the nose in the cam gate is easily observable through the external dial (as discussed in Section 2.5, even casual lock users often notice a change in resistance as the nose enters and
leaves the cam-gate region). More precisely, if the dial is turned to the left with the nose over the cam gate, we can feel the left contact point as the edge of the cam begins to lift the lever. If the dial is turned to the right, we can similarly feel the right contact point. (We usually call the portion of the dial between the left and
right contact points the contact region.) See Figure 14 for a somewhat exaggerated comparison of the play between the left and right contact points with a wheel pack having no gates aligned and with the gate of the largest wheel aligned.

The precise range of dial movement between the left and right contact points allows us to measure, from outside the lock, the relative height of the largest wheel in the pack with respect to the lever. (Note that this capability does not depend on any manufacturing inaccuracy; it is a natural consequence of the nose-and-cam design.)
Precisely measuring changes in the amount of dial movement between the left and right contact points often allows us to determine the location of the gate on the largest wheel. When that wheel’s gate is positioned beneath the fence, the nose moves lower into the cam gate and the amount of dial movement in the contact region is reduced. This means that at low points in the wheel pack, the range between the left and right contact points narrows. Manipulation is simply a systematic, adaptive examination and analysis of the distance between the left and right contact points that infers some or all of the lock’s combination.

In effect, we can use the lock’s own user interface to perform a kind of differential analysis against the wheel pack, observing how changes in the configuration of the wheel pack correspond to changes in the distance between the left and right contact points. Careful observation and analysis of these
differences allow us to infer more about the internal state of the lock than just the three states in Section 2.5. On a three-wheel lock, we can often distinguish five states:

  1. Nose not over the drive cam.
  2. Nose over the drive cam; no wheel gates beneath the fence.
  3. Nose over the drive cam; one wheel gate beneath the fence.
  4. Nose over the drive cam; two wheel gates beneath the fence.
  5. Nose over the drive cam; all three wheel gates beneath the fence (bolt retracts).

3.3.2 Measuring Relative Fence Depth

Manipulation is primarily an analytical activity; despite its name, success does not depend on unusual manual dexterity or great sensitivity (popular myths about stethoscopes and sandpaper notwith-
standing). In fact, many people find the basic mechanical skills of manipulation easier to master than, for example, picking a pin-tumbler lock.

Manipulation does, however, require some unintuitive mechanical and observational technique that must
be learned and practiced.

Manipulation exploits small but observable changes in the size of the contact region, so the most important manipulation skill is reading the left and right contact points to measure relative fence depth.
This skill has three elements. The first (and easiest) is finding the approximate location of the contact region. The second is consistently recognizing exactly where the left and right contacts occur. The third is reading the precise dial position (to about 1/4 or preferably 1/8 of a dial graduation) of the contact points.

Figure 14: Play of the lever nose in the cam gate, high wheel pack versus low wheel pack. The contact region (the range between the left and right contact points) is narrower when the lever can drop lower.

The first and easiest psychomotor skill required is locating the contact region. Different locks place the contact region at slightly different locations. For example, current-production S&G R6730 locks typically have a contact region between about 4 and about 13, while Kaba-Ilco locks typically use between about 99 and 7. Regardless of where the contact region is, it is not difficult to find. The contact points can be distinguished from the other main source of dial feedback, wheel pickup, because they remain at approximately the same dial location regardless of the state of the wheel pack.

The next psychomotor skill, consistently recognizing exactly when contact has occurred, requires prac-
tice. A contact point is determined by dialing outward from the contact region (for example, if the contact region is from 5 to 10, we would check the left contact point by dialing counterclockwise toward 10 and the
right contact point by dialing clockwise toward 5). Note that the precise location of a contact point is somewhat ambiguous; different people will consider it to occur at slightly different locations. Since manipulation requires recording only changes in the contact points, rather than measuring against an absolute value, this is not a problem. What matters here is consistency: given the same lock and wheel-pack state, a person must be able to recognize the contact point as occurring at the same point every time.

A smooth dialing action and slow, steady dial movement are critical here. The dial must move freely and easily; on some locks it occasionally slips and sticks, but this can be corrected by recentering the ring. Note that the dial sometimes has inward/outward play, which can produce inconsistent results. This can be corrected by gently pulling outward on the dial before each measurement.

The final psychomotor skill is reading the precise contact point from the dial. Again, consistency is the most important issue, rather than accuracy against an absolute standard. Precision of 1/4 of a graduation or better is needed to distinguish wheel low points on most locks. It is often useful to use the index marks themselves as a guide. On many locks, the marks are about 1/4 of a graduation thick.

A minor complication in reading relative fence depth occurs when the last wheel is set to a number in the
contact region. Since moving the dial through the contact region would disturb the last wheel’s position, a reading must be taken on one side and the dial turned around to take the reading on the other. Alternatively, since having the last wheel set to such a number would put it in the forbidden zone and such combinations would be invalid, the last wheel could simply be moved out of the way to a fixed position before taking readings.

Most Group 2 locks use a cam gate and lever nose that are more gently sloped on one side than on the other. As a result, a given change in relative fence depth often produces a larger change in the contact point on the more gently sloped side (usually the left) than on the other. Some locks will show no changes at all in the right contact point during manipulation, with meaningful readings appearing only on the left.

Mechanical aids are generally unnecessary for manipulation, although a few simple devices can make it easier to read precise dial positions. The simplest is a sticker that fits around the dial ring with 1/4 graduations, as shown in Figure 15.

An even better device, unfortunately no longer commercially available but relatively easy to make, is a Vernier scale that fits over the dial and ring, making it easy to read the dial to within 1/8 of a graduation.

Audio aids are generally not considered particularly useful, although amplifiers with magnetically attached transducers are sold for this purpose by safe and vault supply houses. In general, however, contact points are identified most reliably by feel rather than sound.

Figure 15: A simple manipulation aid: a sticker marked with a 1/4 scale.

3.3.3 Wheel-Pack Analysis: The Simple Case

The goal of the manipulation process is to find progressively lower configurations of the wheel pack as the fence drops into each gate. The best procedures for decoding a given lock’s combination through manipulation depend not only on the lock’s design but also on the specific imperfections present in it. Different procedures that account for how different classes of imperfections affect the state of the wheel pack can make manipulation more efficient. Although many different imperfections will be present simultaneously, it is easiest to consider the aggregate error behavior of a given lock as though it were caused by a single dominant imperfection.

We first examine approaches suitable for locks with the most common dominant imperfection. A modified version of the procedure that is effective against locks with most other dominant imperfections will be discussed in Section 3.3.4.

The most common dominant imperfection is a single wheel that is the largest relative to the fence, regardless of its rotational position or the positions of the other wheels in the wheel pack, and where this size differ-
ence is sufficient to identify the gate position unambiguously. This can be caused by a fence that is not exactly parallel to the wheel axis or by wheels that actually have different diameters. Fortunately, besides being the most common case, this is also the simplest situation analytically. Regardless of the positions of the other wheels, relative fence depth is always determined by the same wheel.

This means that we can find the largest wheel’s gate by testing relative fence depth around the circumferences of all the wheels simultaneously. This tells us the position of the low point (gate) of the largest wheel, of course, but does not tell us which wheel it is on. Further tests quickly identify the wheel, however. We can then proceed to find the gate on the next largest wheel, and so on.

Step 1: First, we catalog relative fence depth at enough wheel positions to construct a map of the largest wheel that identifies its approximate gate position (by the size of the contact region). Even on locks with relatively tight dialing tolerances, it is usually sufficient to test the wheel pack at

Figure 16: A traditional graph of the left and right contact points

(sampled every 2.5 dial graduations, with contact points recorded to the nearest 1/4 graduation) for a typical lock whose dominant imperfection is a single largest wheel. Note the pronounced narrow region between the plots, corresponding to low relative fence depth, at 37.5. 40 positions at intervals of 2.5 dial graduations (for example, at 0, 2.5, 5, 7.5, 10, 12.5, etc.)8.

Each test is performed (on a three-wheel lock) by turning all the wheels to the left four times, stopping at the number being tested and measuring relative fence depth by returning to the contact region using the techniques described in Section 3.3.2. On locks with properly functioning movable flies, the wheels are positioned at the same place whether turned left or right, so this procedure is sufficient to map wheels with combinations dialed in either direction9. (As noted in the previous section, testing wheel positions within the contact region requires entering the contact region twice, once from the left and once from the right.)

Traditionally, the map is made on graph paper, plotting the left and right contact points (to a precision between 1/4 and 1/8 of a graduation) at each number tested. Adjacent plots of the left and right contact points make the lowest point easy to identify, as shown in Figure 16.

Step 2: At this stage, we know the approximate position of the low point (and therefore the gate) of the largest wheel. The next step is to narrow down the precise location of the low point to find the center of the gate. A simple and effective way to do this is to repeat the mapping procedure from the previous step at the eleven dial positions ±5 from the identified low point.

Step 3: Finally, we identify the wheel on which the low point was found. For a three-wheel lock, we can measure relative fence depth using three test combinations, one for each wheel. In each test combination, we dial the low point on two wheels but some number other than the low point on the wheel being tested. We should measure a higher relative fence depth with the test combination that moves the largest wheel away from the discovered low point.

Once we know one number of the combination, we can discover the low point (and gate location) of the next largest wheel. We repeat steps 1–3 as before, except that rather than setting all the wheels to the same number when mapping the wheel pack, we must park the known wheel at its low point. For example, if we had discovered a gate at 38 on the second wheel as the largest wheel, we would repeat the mapping process of step 1 as before, except this time testing 0–38–0, 2.5–38–2.5, 5–38–5, etc. We similarly park the previously mapped wheel at its known gate position when narrowing down the next wheel’s precise low point and when identifying which wheel it is.

The final wheel’s combination is most efficiently discovered by a straightforward exhaustive search; there is no need to map its low points explicitly, since dialing a trial combination with the correct
number at this stage will retract the bolt.

Note that the complexity of decoding the combination under this dominant imperfection is bounded
by MN + N(N − 1) − 1 trials, where M is the number of distinct wheel positions and N is the number of wheels. On a three-wheel lock with 66 distinct positions, this requires at most 203 trial combinations, as opposed to MN (287 496) for a naive exhaustive search. Furthermore, these trial combinations can be made (and the contact points recorded) over several interrupted sessions during an arbitrarily long period of time, provided the combination remains unchanged.

Finally, note that although mapping the left and right contact points on a graph gives an easily interpreted visual representation of the wheel pack’s high and low points, making actual graphs is not always necessary. It may be faster simply to record the maximum right contact points and the minimum left contact points (noting when a new maximum or minimum appears as the dial is turned).

3.3.4 Wheel-Pack Analysis: Complex Cases

If the dominant imperfection allows the wheels to be mapped independently of one another, the procedures in Section 3.3.3 will reveal the combination efficiently in one pass for each wheel. Other dominant imperfections, however, do not allow the wheels to be mapped independently. If the axis is off-center, for example, the wheels will rotate eccentrically, with different wheels being largest relative to the fence at different rotational positions. If the wheels are not perfectly round, there may be one or more pronounced low and high points that are not associated with any actual gates. (Some lock vendors use wheels with false gates that are deep enough to permit a lower fence depth but not deep enough to allow the nose to engage the cam gate; such wheels will map with multiple low points.) As we will see, however, locks with such imperfections can usually be decoded efficiently. In fact, a slight refinement of the procedure in Section 3.3.3 will decode most locks regardless of the precise nature of their dominant imperfections.

The solution for locks with these kinds of dominant imperfections is simply to repeat the mapping
process with wheels parked at their low points, aiming to find progressively lower relative fence depths. For example, if the initial mapping of all the wheels indicates a low point on the third wheel at position 53, we park the third wheel at position 53 and find the low point on another wheel. Suppose the next low point is at position 25 on wheel two. We could now remap wheel three with wheel two parked at 25, hoping to find a lower point than 53.

It may be necessary to park several different combinations of wheels when remapping them. However, systematically mapping progressively lower points will usually yield the locations of all three actual gates with surprising efficiency.

Figure 17: Studying mounted cutaway locks can improve proficiency in wheel operations, but such locks have only limited use in practicing manipulation itself.

3.3.5 Learning Manipulation

Manipulation is a practical threat only to the extent that an attacker can become proficient in its skills and techniques. The threat would be minimal if the technique required years of practice or if only a few individuals were gifted with the necessary sensitivity. In fact, compared with many other covert attacks against locks (such as lock picking), manipulation is not particularly difficult to master.

It is usually easiest to learn manipulation by focusing on its three elements separately: setting the lock state, the analysis process, and consistently reading the contact points.

The most basic and probably most important element of lock manipulation is sufficient familiarity with the lock mechanism to visualize the current state of the wheel pack confidently while entering trial combinations. This is more important than it might appear, since a single incorrectly entered trial combination can easily destroy the entire analysis of the lock state. Mounted cutaway locks, such as the one shown in Figure 17, are useful for this purpose.

Next, it is usually easiest to learn and practice the analytical process of manipulation in a way that does not depend on a high degree of psychomotor skill in reading contact points. Mounted (but not cutaway) practice locks with exaggerated dominant imperfections can be very useful here. The simplest way to make such locks is to bend the fence slightly upward.

Finally, reading relative fence depth should be practiced with different lock samples. Individual locks, and locks from different manufacturers and production runs, will have different characteristics and dominant imperfections. These variations become readily apparent with experience and practice.

Successfully decoding Group 2 locks requires no extraordinary talent, but it does require a systematic approach and a moderate degree of practiced skill. The procedure usually takes about 30 to 60 minutes (in one or more sessions). Interestingly, a novice manipulator may not require substantially more time to decode a given lock than an expert, but will be less successful against locks with subtler imperfections. The number of test combinations that must be dialed depends on the lock rather than the manipulator. Thus, although the precision and consistency of contact readings (and therefore the ability to open more difficult locks) depend heavily on skill, the time required to decode a given lock largely does not.

3.3.6 Design Variants and Manipulation Countermeasures

Of course, not every Group 2 lock can be manipulated. Some individual samples will be manufactured with sufficient precision that significant differences in relative fence depth cannot be detected.

Other lock designs besides those shown here can be manipulated but may require different techniques. For example, direct-entry fence locks have no contact region from which relative fence depth can be inferred. Instead, relative fence depth on such locks is proportional to the amount of handle movement. The usual manipulation technique involves attaching a long needle to the handle and a scale to the container’s handle, and reading relative fence depth by noting the exact range of handle movement.

Some wheel packs (especially those used in direct-entry fence locks) include shallow false gates. Once recognized, these present little difficulty in manipulation, since false gates serve as low points against which the gates of the other wheels can be detected.

Group 1 locks incorporate additional features that make manipulation difficult even when significant imperfections are present. The design of these locks is outside our scope here, but the general approach involves preventing precise contact-point readings. Many Group 1 locks use a secondary mechanism to hold the fence above the wheel pack until the nose is already in the contact region, and prevent the dial from moving again until the fence has retracted into place. These appear to make manipulation by conventional manual techniques impossible. See Figure 18 for examples of manipulation-resistant locks.

4. Conclusions

Are safes and vaults secure by computer-science standards? It is certain that most containers can be attacked, and indeed some vulnerabilities are subtle and surprising. Yet compared with their counterparts in information security, mechanisms for protecting safes are remarkably successful. Few weaknesses in physical security permit the kinds of catastrophic failures common in computers and networks, where a low-risk, low-cost attack can yield a high-value and easily replicated benefit. Even the most sophisticated attacks on safes, whether using force or manipulating a lock, almost always involve at least some risk of exposure. Relatively precise estimates of the time and other resources required for different kinds of attack allow effective physical-security systems to be rigorously optimized and security mechanisms coordinated with one another.

Physical security has, of course, been studied much longer than information security, and the tradeoffs
between resistance to attack and the cost of protection are relatively well understood. The situation in computer security is entirely different, with new mechanisms, attacks, countermeasures and threat models invented and made obsolete in a dizzyingly rapid cycle that lacks the luxury of generations of hindsight.

There is much that information security can learn from physical security, and careful study of the two disciplines should strengthen both. One of the most interesting aspects of physical-security
methodology is its ability to measure very closely both an attacker’s capabilities and the resistance of different mechanisms to particular threats, and to combine these metrics in useful ways (for example, to determine the required response time of an alarm system). Nothing approaching these kinds of metrics exists in information security.

Figure 18: Manipulation-resistant locks.

Upper left: a Kaba-Ilco 683 Group 2M lock with a mechanism that adds irregularities to the contact points. Upper right: a Kaba-Ilco 693 Group 1 lock with a secondary mechanism that holds the fence above the wheel pack until the nose is already in the contact region. Lower left and right: a Sargent & Greenleaf 8400 Group 1 lock with a butterfly in the dial. A secondary mechanism holds the fence away from the wheel until the butterfly lever on the dial is turned, locking the dial in position. This lock is shown in a bracket for use on a US DoD SCIF safe. The Group 1R version of this lock has plastic Delrin wheels.

The two disciplines are already converging. Many modern safes and vaults at both the high- and low-
security ends of the market now use electronically controlled locks. This need not represent unqualified progress in security. These locks depend not only on sound physical design and manufacturing processes but also on correct software architecture and implementation. It is not at all clear how even to measure the security of such devices, let alone make them as trustworthy as the mechanical systems they are intended to replace.

Mechanical safe-lock design is an especially important aspect of physical-security study for the
computer scientist. The devices are, after all, analog authentication systems that effectively accept or reject passwords. But there is a deeper reason to study them than this superficial analogy. The mechanisms are remarkable not because their components are particularly well made, but because their design assumes that they are not. Safe locks are designed not to eliminate imperfections but to tolerate them, recognizing that the manufacturing processes that produce them cannot be perfect. (They can still fail when, as with the Group 2 locks discussed here, the design turns out not to tolerate imperfections as well as expected.) Compare this with current research in software security, which takes the Herculean approach of aiming to eliminate completely any bugs that might have security consequences. Perhaps we would do better instead to learn to design systems that recognize the inevitability of software bugs and tolerate them as safe locks tolerate inevitable mechanical imperfections.

Are you interested in buying a LA GARD 3330 Mechanical Safe Lock, Mechanical Combination Security Lock—or others as well?

Advertisements
AliExpress

Leave a Reply

Your email address will not be published. Required fields are marked *