Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Risk

9/24/2019
10:00 AM
Daniel Wood
Daniel Wood
Commentary
Connect Directly
Twitter
LinkedIn
RSS
E-Mail vvv
50%
50%

6 Best Practices for Performing Physical Penetration Tests

A cautionary tale from a pen test gone wrong in an Iowa county courthouse.

Physical penetration tests are an excellent and often overlooked way to test an organization's security posture. However, they can come with serious consequences for testers if they aren't properly prepared. Look no further than the recent arrest of two pen testers probing Iowa's Dallas County courthouse security.

According to a September 13 report in the Des Moines Register, the men were employed with Coalfire, a cybersecurity adviser with headquarters in Colorado, and outfitted with "numerous burglary tools." They told authorities they were "hired to test out the courthouse alarm system's viability and to gauge law enforcement's response time, an alleged contract that Dallas County officials said they had no knowledge of...."

The Register reported:

Authorities later found out the state court administration did, in fact, hire the men to attempt "unauthorized access" to court records "through various means" in order to check for potential security vulnerabilities of Iowa's electronic court records, according to Iowa Judicial Branch officials.

But the state court administration "did not intend, or anticipate, those efforts to include the forced entry into a building," a Wednesday news release from the Iowa Judicial Branch read.

Coalfire, in a September 18 press release, said that the company and the Iowa State Court Administration "believed they were in agreement regarding the physical security assessments for the locations included in the scope of work. Yet, recent events have shown that Coalfire and State Court Administration had different interpretations of the scope of the agreement." The statement further noted that both parties plan to conduct independent reviews and release the contractual documents executed between both parties

Obviously, there are many sides to this story, and more will come out. In the meantime, here are six lessons learned from my own experience conducting physical penetration testing:

1. Get It in Writing
Out of the gate, define the rules of the engagement (ROE) in as much detail as possible. You don't want to find yourself in a holding cell wondering why "various means" didn't give you carte blanche to break in. The statement of work (SOW) also needs to specifically define what you're going to be testing, what you are trying to access or accomplish, and how. Remove as much ambiguity from the ROE and SOW as possible; otherwise, the engagement and its results will be left to interpretation rather than hard facts.

Furthermore, there needs to be indemnification language in the SOW that covers when you've been given bad scope information from the client. Assume that if it can go wrong, it will, and then cover it here.

During physical assessments, we suggest having the client first conduct a "dry run" of your approach to see what problems occur. We also have their signatory authority review the operation order (OPORD) and approve it, paying special attention to the avenues of approach or the concept of operations (CONOPS) in how the engagement will be executed. That way, things like whether "forced physical entry has been authorized" will never be an issue, which is in the mutual best interest of all.

2. Take Your Paperwork with You
When doing physical penetration testing, our consultants carry the basic equivalent of a "get out of jail free" card. In most cases, that means a signed letter of permission with legally binding language allowing them to be doing exactly what they are doing. Having copies of the OPORD and ROE aren't bad ideas either.

3. Have a Dedicated Point of Contact During Testing
It's imperative that somebody is available to keep a misunderstanding from escalating into something worse. The key is to have multiple ways to resolve problems if things go bad. If nothing else, your own contacts need to know what's going on.

It's also important to ensure that you have properly planned your engagement. We use the PACE approach — having Primary, Alternate, Contingency, and Emergency plans of action throughout our engagements. Chances are, a properly planned engagement may still have some drift, but knowing whom to contact and when can save you from a lot of grief — getting arrested or worse.

4. Go Further if You Can
If possible, inform local law enforcement, in advance of the testing, about what you will be doing, and provide them with signed permission from your client. If not out of scope, make sure the facilities and/or physical security heads know about your testing plans, too. It matters. 

5. Understand What You're Walking Into
You need to understand your client's escalation and response procedures. There are certain situations during physical pen testing against critical infrastructure or other secure facilities when someone breaking in, even if conducted during an authorized test, will trigger response actions and will still be considered a compliance violation such as, for example, critical infrastructure protection standards from the North American Electric Reliability Corporation, a nonprofit international regulatory authority over Canada, United States, and Mexico. Due to these special considerations, we make arrangements to be greeted on the other side by an observer who is "escorting" us from a distance, so we aren't in violation of any federal laws or regulatory requirements.

Each situation is unique, and all factors need to be considered. For instance, commercial facilities that frequently receive threats of violence, and/or have increased risk of terrorist attacks may have their physical security personnel armed. Understand the dangers before you go in, what regulations you might violate, and get in sync with your client on handling complexities when they arise. 

6. Know Your Exposure
Ultimately, it's not on the client to protect you. It's on you to protect both yourself and the client. From a legal perspective, you want to know whether your errors and omissions/professional liability insurance has coverage for these kinds of situations. You want to make sure both liability and indemnification calls out how general situations of scope breach are handled and define some baseline rules. And you want to understand the difference between negligence and gross negligence.

It's important to go to great lengths to define your engagements with clients to include scope and authorized versus unauthorized actions. All engagements are partnerships, and by providing clear and proactive communication, you can ensure the best outcome for all parties involved.

 

Related Content:

Check out The Edge, Dark Reading's new section for features, threat data, and in-depth perspectives. Today's story: "'Playing Around' with Code Keeps Security, DevOps Skills Sharp."

Daniel Wood (CISSP, GPEN) is the Associate Vice President of Consulting at Bishop Fox, where he leads all service lines and develops strategic initiatives. He has over 15 years of experience in cybersecurity and is a subject matter expert in red teaming, insider threat, and ... View Full Bio
Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
Exploits Released for As-Yet Unpatched Critical Citrix Flaw
Jai Vijayan, Contributing Writer,  1/13/2020
Microsoft to Officially End Support for Windows 7, Server 2008
Kelly Sheridan, Staff Editor, Dark Reading,  1/13/2020
Active Directory Needs an Update: Here's Why
Raz Rafaeli, CEO and Co-Founder at Secret Double Octopus,  1/16/2020
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Write a Caption, Win a Starbucks Card! Click Here
Latest Comment: This comment is waiting for review by our moderators.
Current Issue
The Year in Security: 2019
This Tech Digest provides a wrap up and overview of the year's top cybersecurity news stories. It was a year of new twists on old threats, with fears of another WannaCry-type worm and of a possible botnet army of Wi-Fi routers. But 2019 also underscored the risk of firmware and trusted security tools harboring dangerous holes that cybercriminals and nation-state hackers could readily abuse. Read more.
Flash Poll
[Just Released] How Enterprises are Attacking the Cybersecurity Problem
[Just Released] How Enterprises are Attacking the Cybersecurity Problem
Organizations have invested in a sweeping array of security technologies to address challenges associated with the growing number of cybersecurity attacks. However, the complexity involved in managing these technologies is emerging as a major problem. Read this report to find out what your peers biggest security challenges are and the technologies they are using to address them.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2019-15625
PUBLISHED: 2020-01-18
A memory usage vulnerability exists in Trend Micro Password Manager 3.8 that could allow an attacker with access and permissions to the victim's memory processes to extract sensitive information.
CVE-2019-19696
PUBLISHED: 2020-01-18
A RootCA vulnerability found in Trend Micro Password Manager for Windows and macOS exists where the localhost.key of RootCA.crt might be improperly accessed by an unauthorized party and could be used to create malicious self-signed SSL certificates, allowing an attacker to misdirect a user to phishi...
CVE-2019-19697
PUBLISHED: 2020-01-18
An arbitrary code execution vulnerability exists in the Trend Micro Security 2019 (v15) consumer family of products which could allow an attacker to gain elevated privileges and tamper with protected services by disabling or otherwise preventing them to start. An attacker must already have administr...
CVE-2019-20357
PUBLISHED: 2020-01-18
A Persistent Arbitrary Code Execution vulnerability exists in the Trend Micro Security 2020 (v160 and 2019 (v15) consumer familiy of products which could potentially allow an attacker the ability to create a malicious program to escalate privileges and attain persistence on a vulnerable system.
CVE-2020-7222
PUBLISHED: 2020-01-18
An issue was discovered in Amcrest Web Server 2.520.AC00.18.R 2017-06-29 WEB 3.2.1.453504. The login page responds with JavaScript when one tries to authenticate. An attacker who changes the result parameter (to true) in this JavaScript code can bypass authentication and achieve limited privileges (...