COMP-222 · Lesson 10 of 12 · 21 min

Physical security assessment

▶ Video coming soon A video version of this lesson is on the way.

On the evening of November 2, 2026, Dario packed the physical testing kit for the next morning: a high-visibility vest, a clipboard, a camera, a badge reader for testing, a set of benign USB devices prepared with Prairiefold's agreement, and, in a waterproof sleeve in his inside pocket, the signed authorization letter with three phone numbers on it. Tobias, who would shadow him at the head office on November 3 and Branch 07 the following day, asked which item mattered most. Dario tapped the sleeve. Everything else, he said, was optional.

Objective 3.3 asks you to explain physical security concepts: tailgating, site surveys, USB drops, badge cloning and lock picking. This lesson covers each one conceptually: what the tester is trying to learn, what evidence to collect, and how the client detects and prevents it. It also covers the authorization and safety practices that make physical testing lawful and safe, which matter more here than anywhere else in a penetration test, because the tester is physically present and can be mistaken for a criminal.

Why physical testing belongs in a penetration test

Digital controls assume physical ones. A well-segmented network does not help if someone can walk into a branch, plug a device into a wall port behind a counter and leave. Strong passwords do not help if a workstation is left unlocked in an unattended office. Physical testing asks whether the barriers between the public and the organization's sensitive spaces, systems and information actually work under realistic conditions: an ordinary weekday, busy staff, polite visitors.

Physical security is usually described in layers, from the perimeter inward. A test examines each layer and the transitions between them, because the weak point is often a transition: the door from the public banking hall to the staff area, the loading door left open for a delivery, the elevator that serves both a public floor and a secure one.

Concentric rectangles showing physical security layers at a Prairiefold branch. Outermost: perimeter and parking with lighting and cameras. Next: building exterior with public entrance, staff entrance and delivery door. Next: public banking hall with reception and teller counter. Next: staff-only areas behind badge-controlled doors. Innermost: secure rooms including the vault, the network closet and the records room. Test points are marked at each door between layers: site survey at the perimeter, tailgating at the staff entrance, badge cloning at the badge reader, lock assessment at the network closet, and USB drops in the staff parking lot and kitchen.
Physical security layers at a branch, with the objective 3.3 techniques shown at the points where they test the layers.

Authorization comes first

Physical testers have been arrested while doing authorized work. The best-known case involved two employees of the security firm Coalfire, who were arrested on September 11, 2019 during an early-morning test of the Dallas County courthouse in Iowa. Iowa's state court administration had hired the firm to test judicial buildings, but the county sheriff disputed that the state had authority over the county-owned courthouse, and some contacts on the authorization letter could not be reached or disputed the test. The testers spent nearly a day in jail and were charged with burglary, later reduced to trespass; prosecutors dropped the charges on January 30, 2020. The case changed how the industry handles physical authorization.

The lessons from that case shaped Prairiefold's paperwork. The authorization letter was signed by someone with clear authority over every building in scope; Ruth Mbatha, Prairiefold's legal counsel, confirmed which spaces the credit union controlled; because the head office shared a lobby and stairwells with other tenants of a leased building, the landlord's written consent was obtained for those areas. The letter named the testers, the buildings, the dates and the permitted activities. It listed three contacts available at any hour: Gwendolyn Tran, Felix Aberdeen and Marguerite Okonkwo-Lind. Before testing began, Dario called each number to confirm someone answered. The rules of engagement also covered what testers must not do.

Rules for the Prairiefold physical test.
RulePrairiefold physical testing practice
Carry authorizationSigned letter and photo identification on each tester at all times
Verify contactsEvery emergency number called and answered before the first attempt
No force or damageNo forced entry, no damage to locks, doors or fittings, no climbing
Avoid restricted areasNo entry to the vault or cash handling areas even if reachable
Comply when challengedIf challenged by staff, security or police, stop, identify, present the letter and call a contact
Stop conditionsAny confrontation, any safety concern, or any police involvement ends the test for the day
Evidence limitsPhotographs of doors, readers and screens; no photographs of members or member documents

Site surveys

A site survey is the reconnaissance of physical testing: a systematic look at a location to understand its layout, controls and routines before any attempt to get in. Much of it happens from public spaces. Testers note entrances and exits, which doors are used by staff and when, camera placement and coverage, lighting, fencing, badge readers and their models, signs, guard patrols, smoking areas where staff gather, delivery schedules and where waste is put out. Public sources add more: street-level imagery, real estate listings with floor plans, building permits, company photos on social media that show badges or door hardware, and job postings that name security vendors.

Tobias's follow-up survey of Branch 07, done from the sidewalk and a coffee shop across the road on October 28 and building on the reconnaissance visit of October 22, produced two pages of notes and a sketch. Staff arrived between 08:15 and 08:40 through a side door with a badge reader. Two staff members propped the side door open with a recycling bin while carrying in supplies. The rear parking lot had one camera, pointed at the night deposit box rather than the staff door. The badge reader was a model that, according to its product documentation, read low-frequency proximity cards. A wireless survey from the sidewalk, reusing the techniques from lesson 2, showed the staff network reachable at the coffee shop tables.

A survey is often valuable on its own. Several of Tobias's observations became findings without any entry attempt: the propped door, the camera angle, the reader technology and the wireless leakage. Each could be fixed cheaply, and each would help any attacker who watched the building for a morning.

Tailgating

Tailgating means following an authorized person through a controlled door without presenting credentials. It works because of courtesy: people hold doors for those behind them, especially someone carrying boxes, wearing a vest or looking as if they belong. The related term piggybacking is sometimes used for the same act when the authorized person knowingly lets the follower in; usage varies, and the exam may use either word for following someone through a door.

The tester's goal is to learn whether staff challenge people they do not recognize, whether doors close and latch properly, and whether controls such as turnstiles, mantraps or guards stop it. At Prairiefold's head office, Dario waited near the staff entrance at 08:30 on November 3 carrying a box of printer paper. The second employee to arrive held the door for him. Inside, he walked to a meeting room, photographed the badge-only sign on the door he had just come through, and then went to reception, identified himself and asked the receptionist to call Felix Aberdeen, who came down to confirm. The whole attempt took four minutes. At the branch, the attempt failed: a teller asked who he was and whom he was visiting, and when he could not give a name she called her manager. Dario stopped, presented his letter, and the manager called Gwendolyn Tran. The report credited the teller by role, not name.

Defences against tailgating combine design and culture. Design measures include turnstiles, mantraps or vestibules that admit one person at a time, door-held-open alarms, and cameras covering staff entrances. Culture measures include visible badges for everyone, a norm that challenging a stranger is polite and expected, and a simple way for staff to report a concern. Detection can come from alarms on doors held open too long and from comparing badge reads with people counted entering.

Badge cloning

Many access control badges are radio-frequency identification cards. The reader energizes the card and reads an identifier or credential, then the access control system decides whether to open the door. Badge cloning means copying the credential from a legitimate badge onto another card or device so that it opens the same doors.

Whether cloning is possible depends on the card technology. Older low-frequency proximity cards, operating at 125 kHz, transmit a fixed identifier with no cryptographic protection. A reader held close enough to the card can capture that identifier, and the identifier can be written to a blank card. Many high-frequency cards operating at 13.56 MHz use cryptographic authentication, so that the card proves it knows a secret rather than simply announcing a number; current generations of these cards are far harder to clone. Some early high-frequency card families had cryptographic weaknesses and are also considered unsafe. Research tools such as the Proxmark are used by testers and researchers to identify card types and test whether a credential can be copied.

In an assessment, the tester first identifies the card and reader technology, often from the survey and product documentation. With the client's agreement, the tester may then attempt to read a badge, usually a test badge issued by the client for the purpose, and write it to a blank card to show whether the reader accepts the copy. Prairiefold issued Ironwhistle a test badge with access to one meeting room at the branch. Dario read it with his test reader, wrote the identifier to a blank card, and showed that the branch reader accepted the copy. That was the finding: the branch used cloneable proximity cards, so any badge seen briefly in a coffee line could be copied by someone with inexpensive equipment.

Remediation means moving to cards and readers that use strong cryptographic authentication, configuring readers to reject legacy formats once migration is complete, and adding a second factor, such as a PIN, for sensitive doors. Detection is harder; access control logs may show one badge used at two places at once, or used at times its owner was not present, and correlating badge logs with other data can reveal clones.

Lock picking

Lock picking means opening a lock without its key by manipulating its internal mechanism. The common pin tumbler lock contains pins that must be aligned at a shear line before the cylinder turns; picking exploits the tiny manufacturing tolerances that let pins be set one at a time. Many locks can also be bypassed without picking at all: a latch that can be slipped with a thin tool because it lacks a latch guard, a request-to-exit sensor that opens the door when it detects motion from inside and can be triggered from outside, a gap under a door, or hinges on the outside with removable pins.

Testers assess locks for what they reveal about the protection of sensitive spaces. The question is rarely whether a skilled person can eventually open a lock; with enough time, most can be. It is whether the lock and door provide protection proportionate to what is behind them, and whether an attempt would be noticed. Prairiefold's rules of engagement permitted Dario to examine, but not to pick, the lock on the branch network closet. He found that the door used a basic residential-grade lockset with no latch guard, the closet was in a corridor accessible from the staff kitchen, and there was no door contact to raise an alarm when it opened. That was enough evidence for a finding without any attempt to open it.

Defences include high-security locks with pick- and bump-resistant designs and controlled key blanks, latch guards and proper strike plates, door contacts tied to the alarm system, cameras on sensitive doors, and key control so that the client knows who holds which keys.

USB drops

A USB drop tests whether people will plug unknown devices into organizational computers. The tester leaves USB storage devices in places staff will find them, such as a parking lot, a lobby or a break room, and measures how many are plugged in. The danger it simulates is real: a malicious device could carry malware or impersonate a keyboard and type commands.

A responsible USB drop does not use malicious devices. Prairiefold's test used ten devices prepared by Ironwhistle and approved in writing. Each held a single harmless document that, when opened, notified Ironwhistle's test server that a device had been opened and recorded only the device's identifier and the time, with no other information about the computer or user. Ana tracked every device by serial number and recovered or accounted for all ten at the end of the test. The rules required the drop to stay away from public areas used by members, so the devices were left in the staff parking lot and the staff kitchen.

Two of the ten devices were opened, both on the day they were found. The finding recommended technical controls that block or restrict removable storage on staff computers, a clear process for handing in found devices to IT, and awareness messages explaining why found devices should never be plugged in. It also credited the eight devices that were handed in or ignored. Detection is possible: endpoint management tools can log and alert on new removable devices, and Prairiefold's tools logged both insertions, although nobody reviewed the alerts until Ironwhistle asked.

Evidence and reporting

Physical findings need careful evidence. Photographs of doors, readers, propped entrances and camera angles; timestamps of entry and exit; notes of who challenged whom, recorded by role rather than name; badge reader and card models; and the outcome of each attempt. Evidence must not include member information or images of members, and photographs of screens or documents seen inside should be avoided unless the rules allow and the content is sensitive enough to prove a point. Ana's evidence log recorded each photograph's hash and time so that it could be shown unaltered in the report.

Physical reports should also avoid blaming individuals. The employee who held the door at head office did what most polite people do; the finding is about the lack of design controls and the absence of a challenge culture, not about one person. Prairiefold's report described behaviours and controls, never names.

Worked problem

Matching technique to objective

Prairiefold wants to know: (a) whether staff challenge strangers at the staff door; (b) whether the branch badge system can be defeated by copying a badge; (c) where cameras, readers and doors are and how staff use them; (d) whether staff connect found storage devices; (e) whether the network closet door is adequate. Which objective 3.3 technique addresses each?

Show solution
  1. (a) Tailgating.
  2. (b) Badge cloning, using a client-issued test badge.
  3. (c) Site survey.
  4. (d) USB drop with benign, tracked devices.
  5. (e) Lock assessment, including picking or bypass if permitted, or inspection if not.

Answer: Tailgating, badge cloning, site survey, USB drop and lock assessment.

Common mistakes

  • MistakeStarting a physical test without confirming the emergency contacts answer.

    InsteadCall every contact before the first attempt and carry the signed letter.

  • MistakeAssuming the client can authorize testing of a building it does not own.

    InsteadConfirm ownership and get the landlord's or owner's written consent.

  • MistakeContinuing after a challenge to prove the point.

    InsteadStop, identify yourself, present the letter and call a contact.

  • MistakeUsing real malware or keystroke-injection devices in a USB drop.

    InsteadUse benign, tracked devices that record only that they were opened.

  • MistakeNaming the employee who held the door.

    InsteadReport behaviours and controls by role, never by name.

Summary and key terms

  • Physical testing checks the layers between public spaces and sensitive areas, especially the transitions between them.
  • Authorization must come from someone with authority over every building, with contacts verified and the letter carried.
  • A site survey studies entrances, cameras, readers, routines and public information before any entry attempt.
  • Tailgating tests whether people and controls stop someone following an authorized person through a door.
  • Low-frequency proximity badges transmit fixed identifiers and can be cloned; cryptographic smart cards resist cloning.
  • Lock assessment considers picking and bypass and asks whether protection matches what is behind the door.
  • USB drops use benign tracked devices to measure whether staff connect found media.
Site survey
Systematic physical reconnaissance of a location's layout, controls and routines.
Tailgating
Following an authorized person through a controlled door without presenting credentials.
Piggybacking
Following an authorized person through a door, often with their knowledge; usage varies.
Badge cloning
Copying an access badge's credential onto another card or device.
Proximity card
A low-frequency access card that transmits a fixed identifier without cryptographic protection.
Lock bypass
Opening a lock or door without picking, such as by slipping a latch or triggering an exit sensor.
USB drop
Leaving storage devices for staff to find to test whether they connect them.
Mantrap
An entry vestibule that admits one person at a time between two doors.

Practice problems

Work each problem on paper first, then reveal the answer to check.

  1. What made the 2019 Iowa courthouse case a lesson about authorization?

    Show answer

    The party that hired the testers did not clearly have authority over the county-owned building, and listed contacts could not confirm the test.

  2. Why can 125 kHz proximity cards be cloned easily?

    Show answer

    They transmit a fixed identifier without cryptographic authentication, so it can be read and copied.

  3. Give one design control and one cultural control against tailgating.

    Show answer

    Design: turnstile, mantrap or door-held alarm. Culture: visible badges and an expectation that staff challenge strangers.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz