





























John Malone is a penetration tester for Black Hills Information Security. He regularly performs external, internal, and social engineering-based assessments. His favorite tools are confidence and charisma.

When most people think of a hacker, they probably imagine someone in a hoodie on a computer, basking in the light of a green-on-black terminal. While (somewhat) true, many people don’t directly associate phone-based attacks as something that hackers typically do. But say that a hacker picks up their phone, calls a victim, and convinces them to run a malicious binary or click a link. What is this called? I’ll tell you. It’s known as social engineering, and it is a very reliable way of compromising systems when used by a competent attacker.
Social engineering is the manipulation of individuals into divulging confidential information, granting unauthorized access, or performing actions that benefit the attacker, all without the victim realizing they are being tricked. Unlike traditional hacking, which focuses on exploiting technical vulnerabilities, social engineering targets the human element. And believe me: there is no blanket patch for the human populace.
In this blog, we’ll explore the different phases of a social engineering penetration test. We will examine how to craft and deliver a successful social engineering attack. Involved in this effort will be a focus on how to perform reconnaissance, design an effective ruse, and then deliver it to your target. Whether you’re a penetration tester or someone seeking to understand how attackers think, mastering social engineering can provide you with a valuable means of attack and defense.
One other bit here that I’d like to share… I am not joking when I say CONFIDENCE IS KING. With a strong enough delivery, appeal to certain emotions, and solid foundational knowledge about your target, you will be able to convince people of just about anything. Having confidence during the entirety of the social engineering process is what will help channel a great test.
Without further ado, let’s dive into my personal social engineering playbook.
Before you even think about picking up the phone to call targets, you’ll hold a Rules of Engagement call with your client to make sure that you’re covered and given adequate permission. A successful social engineering campaign starts with clear boundaries and solid intel. As an ethical hacker, you will need to thoroughly understand and respect those boundaries while performing your assessment. However, I also believe that it is worth challenging your clients when they present a scope that is overly restrictive.
For example, if I am ever told to only call the help desk, I will generally pivot into a discussion about the other employees and how calling them should be considered to make the test as real as possible.
With that said, I’ve included a brief description of how this part of the engagement tends to unfold below.
You’ve captured a new client, perhaps through networking, a cold call, or even a warm lead that arrived in your inbox. Congrats. This is a good time to discuss pricing and arrange to have relevant engagement paperwork signed. Now that you’ve got someone interested in your services, you need to set up some time for the ROE call.
Kick things off with a call to your client. Define the scope, targets, and what’s off-limits. This isn’t just a formality—it’s your legal and ethical guardrail.
Pro tip: Consider taking notes during this call and passing them out after the call to avoid any “he said, she said” later.
Here is a simple outline for how a call can potentially go:
By following these steps, you can help ensure your client receives a fantastic experience.
Summarize the call in writing and get sign-off. Clarity here prevents headaches down the line when someone inevitably asks, “Wait, were you allowed to do that?”
Everybody’s busy. Some more so than others. With that said, your client may need a gentle nudge if any details are still foggy. Provide great service and give them a reminder about anything you might need, such as an employee directory. The more you know about your targets (names, titles, numbers), the more convincing your ruses will be. No directory? No problem. We’ll get creative as we do some recon.
Spoofing your caller ID is usually non-negotiable. Below I’ve included some apps that I tend to use on engagements that make this process easy:
Spoof Card: Simple, effective, and lets you mask your number to one of your choosing if you have an older account. Newer accounts are now required to pick from a pool of “allowed” numbers.
Other Spoofing Tools (Trace Bust/BluffMyCall/etc): Other phone spoofing solutions exist on the internet and can be used to select numbers that Spoof Card can’t or dial numbers that Spoof Card refuses to call. Sometimes you’ll need to switch services mid engagement if one service encounters issues.
Burner App: Available for iOS and Android, this app allows you to register one or more phone numbers and use them as burners, or temporary phone numbers that can be canceled at a later time and are not associated with your regular phone line. This is great for attacks that may require someone to call you back. You can also utilize this if you are using one of the other above spoofing services and want your target to call you back. You can do this by simply telling them that you’ll be out of office and that they can call you back on your cell phone—just make sure you give them the burner number and not your real one 😊.
I highly recommend calling yourself with whatever service you decide to use first. That way you can get accustomed to the tools and operate smoothly during your test.
As with any test involving recon efforts, you’re going to see me refer to two types of reconnaissance from here on out—those being passive and active reconnaissance.
Passive reconnaissance refers to interacting with a target without directly touching it. In this case, you’re going to call employees. However, we don’t want our phone reaching out to anyone just yet.
Active reconnaissance refers to sourcing information in a way that involves interacting with our target. In the case of a social engineering engagement, this often takes the form of making calls into the organization, often through a number posted on the internet.
The information you gather during both types of reconnaissance can provide information that will help you make believable ruses.
Let’s first dig in with passive recon.
The first measure I’ll invoke during a test is almost always Google Dorking. For those who may be unaware, Google Dorking refers to a technique that involves entering unique search parameters into Google in order to provide highly fine-tuned results. These results may be employee usernames and email addresses or sensitive documents. It all depends on the type of search used. Below, I’ve listed some sample Google Dorks that you can use that tend to turn up some pretty interesting results.
intext:”@example.com” email` (leaked employee emails)
This Dork will regularly pull email addresses of all kinds. You’ll usually see things like [email protected]. However, you may also see indicators such as:
By paying attention to how our discovered usernames are structured, we can safely make the assumption that all other employees likely have similar username naming conventions.
With this observation in mind, you can use other tools such as Gather Contacts (https://github.com/clr2of8/GatherContacts) to rapidly gather names of employees that belong to the organization. These names can then be morphed to resemble typical username format and later tested against services like Microsoft 365 or other systems to see if they might be valid.
Trust me, you’re going to want usernames if you plan on going after external assets, VPNs, or cloud environments like Microsoft 365. Make sure to do your due diligence during testing and thoroughly explore this step.
intext:”@example.com” password (careless leaks)
This Dork might bag you a few interesting things. It could retrieve files where the word “password” is used. This can pull employee handbooks from HR, which tend to be a treasure trove of information and can be used as ruses on their own. The Dork can also pull login portals that use the word “password”. This can help you rapidly discover external assets that you may be able to access after compromising a user.
intext:”@example.com” “employee handbook”
As previously mentioned, but this search is a bit more narrow. You can also just try “handbook”.
intext:”@example.com” IT
Sometimes people are happy to post information about their help desk on the public-facing internet. Queries like “IT,” “service desk,” “helpdesk,” or “help desk” can quickly pull out valuable data.
Search for the company’s building or employee badges on both Image and Maps. Sometimes you’ll find pictures that contain valuable information such as how office space is shaped—which can influence how quickly detections spread from social engineering efforts that are detected.
You may also observe employee badges and other valuable information that can be used to add authenticity to your story (Example: You call and, as part of a ruse, say something like, “Sorry I’m calling mid-day. Wanted to do it earlier but the parking garage was full.” This creates the image of a caller who is located in the same building as the recipient and may help elicit further trust.)
A vast number of data broker websites exist that can offer up contact information from employees. When conducting a blind social engineering test, the client may not give you access to phone numbers and websites.
Social media is great, and sometimes people just love to overshare. I’ve included some notes about trends I’ve spotted out in the wild that tend to enhance ruses.
LinkedIn: Useful for finding employees. Even more useful is finding employees who are new. People who are new can be called and reasonably fed a ruse that something was missed during their onboarding process. This may help the new employee trust you during your ruse delivery.
X (previously known as Twitter): Check the company’s account, followers, and posts. Upcoming events (e.g., a charity run) can inspire timely ruses involving community events. Also, if you’re able to establish proof that a follower may also be a customer, you may be able to safely impersonate a known third party. A word of advice though, I generally won’t go down a rabbit hole like this as the time is usually not worth the payoff unless you are truly out of options.
Visit https://aka.ms/sspr and plug in a target’s username. If the organization allows for users to reset their own password, you’ll get the option to reset credentials yourself. These options can usually leak really interesting information that only an insider or trusted party would have access to. Some examples are shown below along with ruses that tend to work well to gain trust:
It is important to note that the above ruses are exceptionally powerful when posing as a member of management or as an IT Help Desk employee. When combined with call spoofing, it is easy to see how information obtained passively can further empower social engineering efforts.
Now it’s time to make some calls. These calls are designed to elicit additional information and can also serve as a nice “warm-up” for the calls made with the intent to compromise someone.
Generally when I start these, I’ll begin by calling into a phone number found through passive recon. I’ll then try to find phone numbers for the following departments:
Below are some examples of active recon ruses that can be used to try and source this information.
The employees will likely try to help assist you and direct you to the right place. You will always want to ask for the direct number if they transfer you.
This step can help you build your own list of numbers as well as find some that may not be public knowledge.
After gathering information, you’ll need to put it together to develop a ruse that meets the following criteria (in my humble opinion):
After you’ve gathered some ruses for yourself, run them past your point of contact for your engagement so that you can get permission to use them. An engagement where everyone is on the same page is always better than dealing with chaos later.
As part of this section, I’ve detailed some ruses that I find to be particularly effective within corporate environments. Unlike the ruses briefly shown in the Active Recon section above, these are designed to attack and compromise users.
A well-constructed ruse can help you gather what you need quickly, but how do you stay off the radar?
If you’re not careful, you can potentially raise suspicion during your calls. If this happens, you increase the likelihood of employees talking amongst themselves or trying to call the IT Help Desk to report the calls.
I’ve included some tips below that I use during my tests to help keep suspicion to a minimum.
So you’ve successfully convinced somebody that you’re Chuck from IT and have not only reset their password but convinced them that they’ll need to take a lunch break while you work on “updating their computer.”
You’ve done it! But now you need to capitalize on your advantage. In this section, we’ll go over a few “must-do” items that will take your test in an even stronger direction.
I’ve worked in a number of positions where I’ve been on the phone talking with people who are experiencing all sorts of emotions. During my time as an HR professional, a researcher, and salesman, I’ve heard just about all of it by now. Here is some advice for how to best get comfortable when making social engineering calls.
With social engineering being a primary form of access for modern security breaches, it only makes sense that mastering this skill should be at the forefront of our abilities as penetration testers.
To those who may be reading who are involved in managerial training, articles like this one should hopefully underpin why social engineering training is important. Remember, the battle does not stop at phishing. Your team should be hardened against attacks carried out over the phone, in person, or even through physical mail.
With that said—best of luck to my fellow testers. Now go make some calls…
…and don’t get caught.
Want to learn more about this topic from John? Register now for next week’s webcast taking place Thursday, June 26, at 1:00 pm EDT:
How to Design and Execute Social Engineering Calls

此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。