SE

Search for:


Archive for April, 2010

Social Engineering Toolkit Training Available Now!

Wednesday, April 28th, 2010

The downloads of the latest release of the Social Engineering Toolkit has been truly remarkable.  The new additions to the tool are just amazing in itself.

Yet we get a lot of requests for tutorials and/or training on how to effectively use the tool.  We heard your cries for help and asked Dave to help us out.  Dave put together a series of training videos showing how to complete some of the main attacks with SET.

We then added a whole new section added to the resources page that is just for SET Tutorials.  Check it out and let us know what you think.

Stay tuned for more SE news coming soon.

Thanks for all your support.

The social-engineer.org Team

SET 0.5 – Client Sides, Web Cloning and HakSaws – The Lemon Strikes Back

Friday, April 16th, 2010

The Social-Engineer Toolkit (SET) has progressed over the months thanks to the suggestions and collaboration with the security community. With this version, I am proud to announce the immediate release of the Social-Engineer Toolkit v0.5. 4/16/2010 at 9:00pm EST

Before getting into the new attack vectors, let’s talk about the improvements from 0.4 to 0.5:

* The ability to utilize the -x flag within Metasploit, this is much better for A/V bypass. SET has a built in legitimate executable that it backdoors. Running this through VirusTotal showed only 1 A/V company was picking this up and it was hit and miss.

* Over 35 bug fixes, I spent a large time beta testing and giving it to people that would test it to find issues with it. Thanks to all of the beta testers, your help was awesome.

* Ettercap no longer does the single HREF replacement custom filter method. Instead, it DNS poisons the entire subnet your on and redirects them back to your malicious site. You can utilize either a single site for example blahblah.com or do a “*” which will do every single site.

* Rehauled the custom web server within Python to now handle POST requests, this will come into play later.

* Added the latest Sun Java zero-day vulnerability into the Metasploit attack vector.

* Added better user-agent handling to impersonate Firefox better when ripping a site.

* Expanded the site templates instead of the “Java Required” website, there are now pre-defined templates you can use.

If those changes weren’t enough, lets discuss the new vectors available to you in SET v0.5:

Harvesting Credentials: You can now utilize the credential harvester method in conjunction with the website cloning to harvest usernames and passwords. Essentially, SET will first clone a website. You then coax a victim into coming to the site, and it will rewrite the webpages post parameters to POST to the local server which stores them. After that, the victim is redirected back to the original site you cloned.

Reporting Engine: After your finished owning the target through SET’s attack vectors, an HTML based report as well as an XML export will be generated with all of the parameters it was able to harvest. This attack vector alone is a great addition to the toolkit, and allows the ability to do something other then complete pwnage.

Custom HakSaw – The SET way: The next addition allows you to create a infectious USB/DVD/CD with a simple autorun.inf. This attack is pretty simple but will get more advanced as we go down the road. Essentially, a folder is created which you can burn to a DVD/CD and when it is inserted into a machine with autorun enabled, it will execute a Metasploit payload for you.

SET has taken a life on of its own. Even though there are countless hours into perfecting this tool, I want to thank all the people who have helped with ideas, vectors, code and testing. We are all very excited about this release and the new capabilities it brings to the toolkit. If you have any questions, new feature ideas, or bugs, always feel free to report them to: davek@social-engineer.org.

Again – 9:00pm EST April 16th 2010, is another sign that the end is near!

Maltego 3 Leaked – A Social Engineers Dream

Wednesday, April 14th, 2010

The guys at Paterva are at it again. The tool that we all know and love, Maltego, has taken massive leaps into the future of information harvesting.

The Paterva crew gave about 9 people in the world access to the new and MASSIVELY improved Maltego 3. I quickly installed it and after a few uses I forgot all about Maltego 2….

According to our agreement with Paterva I cannot release too much info, the asked me to limit our screen shots to just a few with not too much detail. Keep your fingers near the mouse as you will want to be first on the list to get Maltego 3 soon as it comes out.

New transforms….new look… new feel… more results – that is Maltego 3

Maltego3 FirstImage Maltego 3 Leaked   A Social Engineers Dream
Maltego3 work area is pretty and very user intuitive

Maltegp3 DynamicView Maltego 3 Leaked   A Social Engineers Dream
After doing some serious research you have a very detailed Dynamic View

Maltego3 EntityList Maltego 3 Leaked   A Social Engineers Dream
A brand new view – entity list – makes the data you pull up VERY easy to use

Maltego3 AllTransforms Maltego 3 Leaked   A Social Engineers Dream
A list of all the transforms available to you – some really really nice new ones

Overall I can’t say too much more yet. But stay tuned – Maltego 3 is going to rock the foundation of social engineering.

Thanks to Paterva for all their hard work.

Stealing Credentials via Social Engineering

Tuesday, April 13th, 2010

Social-Engineer.org receives a lot of submissions from people who have an interest in social engineering, deception, identity theft, information gathering and the rest of what makes up a true social engineer. Recently a social-engineer.org fan, Khash, wrote a very interesting paper/story on credential stealing. We hope you enjoy it as much as we did and please keep sending your submissions in to us.

Background

A number of years ago I was conducting a social engineering exercise for a client in which the goal was to identify possible flaws in the company’s operational procedures that could allow someone to compromise an employee’s Enterprise Web Access (EWA) credentials, a single user id and password, granting access to several internal systems.

The main objective was to compromise someone’s existing password which would provide ongoing opportunities to access all sorts of company systems in a stealth mode.

This exercise demonstrates what can be accomplished by an attacker, potentially an insider threat, in a very short period of time through non-technical means, mainly a telephone.

Ultimate Goal

My ultimate goal was to extract information from the company’s Help Desk staff via basic social engineering tactics to further exploit some of the known issues in the organization’s Enterprise Web Access (EWA) system. In particular I wanted to exploit the following flaws:

• Changing an EWA password did not require the old password to be entered. This means, an authenticated user could change the account’s password to a new one without providing the old one. So potentially, there was an opportunity to manually change someone’s password without knowing the original one.
• Once authenticated, the answers to the existing secret questions were presented in clear text. Once compromised, an account could always get compromised via the original secret questions and answers.
• When the password or secret questions were modified, no email notification was sent to inform the user of such changes, allowing her to revert back and reset her password. This flaw would allow an attacker to fully own a compromised account by changing the secret questions and preventing the user to recover her compromised account.

These vulnerabilities in the EWA application are serious because an unattended browser session can be easily compromised and its password changed. Secret questions are just as important as a password in this context because they allow the users to reset their passwords and act as another form of authentication.

Given some of the above application vulnerabilities, particularly the last two, my goal was to determine if I could leverage Help Desk to aid me with any of the following while only supplying limited personal or other identifying information:

• Help me reset a target’s secret questions & answers
• Help me retrieve the answers to a target’s existing secret questions
• Simply give me the password over the phone

General Information Gathering Phase

Like any social engineering exercise, a good amount of time was spent in reconnaissance and preparation to learn about the company lingo, telephone numbers for various departments, and basic operational procedure. The clear goal during this process was to gather as much relevant information as possible.

The Attack Phase

Step I

A focused information gathering stage to identify a potentially good target: The goal for this phase was to find a legitimate target and some basic identifiable information about him.

Note: A new employee often presents the best opportunity for a social engineer. A new employee is often timid, not familiar with internal processes, and they always want to impress others and never look bad.

Step 1A: Called Lucy the receptionist in the company Training Department:

“Hello Lucy, this is Emile Woodson, Executive Product Manager from IT Web Group. You folks recently facilitated an excellent training for us and I wanted to send an appreciation letter to your ops manager. Whom do I address it to?”

“Oh that’s wonderful. You can send it to Jack Malltaibo.”

“Excellent. I didn’t know Jack still ran that group. I should also give him a call later today after my meeting. Can you please remind me his extension and let me know if he’s going to be around at 5:00 PM or so? ”

“Sure, he’s at extension xxx-8844 and he gets here early and usually leaves around 4:30; so you may want to call him sooner.”

I did not want to end the conversation right after retrieving the data that I wanted. So I followed with some casual and generic conversation about their training services before hanging up.

Note: Lucy provided this information because she did not consider it sensitive, particularly because she was providing it to a fellow co-worker, a grateful executive product manager!

Step 1B: Spoofed my Caller ID to show Jack’s number, xxx-8844, and called the Human Resources Department at 5:00 PM.

“Hi, this is Jack Malltaibo, Sr. Operations Manager with corporate Training Department. I’m calling because we’re putting our annual mandatory compliance training together for all new hires and need to get that list from you. We require a list of all new hires for the past 6 months. Please make sure to include the Date of Hire and their EUIDs (Employee User ID). We have direction from Gina Blackstone, our Chief Compliance Officer to send out the email communication to all the trainees by COB tomorrow. I appreciate it if you could send that information to my lead analyst as soon as possible”

“Sure. I can email the information within the next hour.”

“Actually, it would be great if you could just fax it to her.”

“No problem, what’s her name and fax number?”

Note: Urgency and authority were the key elements here. A standard social engineering tactic was used to generate an organized chaos. Exploit a human emotion that wants to comply with an “authoritative figure”. Again, she was helping someone within the company and she considered the information insignificant.

I found a potentially good target from the list, Jose Vero, a new hire in the Marketing Department.

Step II

Impersonated the target and called Help Desk: This part of the exercise started by using a telephone and a caller ID spoofer to contact the Help Desk to initiate a password reset over the phone. The Help Desk representative answered the phone by asking for my name and my Employee User ID (EUID). Once I provided target’s name and EUID, I told him I needed assistance with the EWA system. I told him I forgot the answers to my secret questions and whether he could provide them to me over the phone. The answer was “No, we don’t have access to that information”. Then I asked if he was able to change my secret questions over the phone so that I could reset my own password later. Again, the answer was “No, we don’t have that capability”.

Then I stated that I didn’t have immediate access to my corporate email to receive my new password reset link, and asked if there was a way to get the new password over the phone. The support representative mentioned that resetting and giving the temp password over the phone is normal practice. I found my way in! Then he told me my First Name, Middle Name, and Last Name and asked if it was correct. I said “yes”. Then he asked if I worked in building A, cubicle 23PWE. And I said “yes”! He then asked for the last four digits of my social security number.

Uh oh! I wasn’t ready for this one, so had to come up with something quick.

“I don’t feel comfortable providing my social security number over the phone.”

“Well, sir, we only need the last 4 digits and that’s the only way to reset your password over the phone.”

“I understand. Let me think about it. Maybe I can just try again with my secret questions. I just don’t feel comfortable proving any sort of sensitive information over the phone. Since I’m new here, I need to run this by my supervisor to make sure it’s okay. I’ll be in touch.”

Step III

Compromise the last four digits of target’s SSN: For this portion of the exercise, I wanted to explore all possible attack vectors that could result in compromising our target’s last four digits of social security number. This information could be obtained either by standard social
engineering tactics, or by brute forcing one of several internal applications that do not provide account lockout.

Step 3A: Technical Approach

Employee ID Lookup, an internal web application, provides all employees a self-service solution to look up their employee IDs. After some examination, it was evident that the application does not implement any sort of lockout for look-ups. So essentially, any of the fields could be subject to a brute-force attack. After applying the first name and last name, I could enumerate valid SSN information. This was a simple brute force attack that would reveal the last four digits of SSN for any employee. More specifically, I used Burp Suite Intruder which is a great tool for automating customized brute force attacks for this kind of situation.

 Stealing Credentials via Social Engineering
Figure 1 – The last four digits of SSN can be retrieved by supplying the person’s first and last name. If the last 4 digits of SSN are correct, an Employee ID will be retrieved; if not, an error message will be displayed

Step 3B: Low-tech approach

Called Jose Vero, the victim, from a prepaid phone and spoofed caller ID.

“Hi Jose. This is David Lee with Corporate Travel Department. I have your airline ticket to New Orleans for the Marketing Conference and I need to know if you’ll be picking it up or should I use the interoffice mail to send it to you?”

“I don’t think I have any travel plans for New Orleans. This must be a mistake.”

“Well, Jose, someone has put in a request for you and we have your ticket now. Let me verify your name. Is your full name Jose Vero?”

“Yes.”

“In the Marketing Department?”

“Yes.”

“Let me do one more lookup to see who placed this request for you. What are the last 4 digits of your social?”

“8895.”

“Thank you Jose.”

Thank you indeed!

Step IV

Reset the password.

With all information in hand, I called the Help Desk again to reset Jose Vero’s Enterprise Web Access password. The representative asked for all required information, including the last four digits of social security number, which I provided and received a temporary password of “temppwd123”.

Using this information, I was able to fully own the account by authenticating and viewing answers to the secret questions.

Elapsed time, 60 minutes. Game over.

As described earlier, due to an application vulnerability, Jose Vero never received an email notification to know his password was changed. He simply thought that he forgot his password, which happens all the time. A few days later, he used the “flawed” password reset scheme and secret questions to regain access and continued using the account without any suspicion. Jose didn’t know that I had been in his account, viewed the answers to his secret questions due to one of the mentioned application vulnerabilities, and that I could always get back in using the same secret questions and answers.

Conclusion

It is human nature to want to trust others, keep others happy and comply with co-workers and other authoritative figures in the organization. The pertinent take-away from this exercise, and others like it, is that everyone is susceptible to social engineering attacks. Whether it’s lack of time or physical fatigue, there are times that we take mental shortcuts and don’t process everything carefully; and that’s when we’re vulnerable.

The best way to contain or prevent social engineering attacks is to train your workforce. Train them to practice a certain degree of caution in their daily interactions. Train them to understand they are not immune to these types of attacks, and show them how to detect and protect themselves from such attacks. Keep reminding your staff that all information, no matter how trivial and insignificant they believe it to be, may assist a social engineer to get what he came for.

(donated to social-engineer.org by Khash Kiani)

For more information on this very topic check out our podcast on Identity Theft

iPads and Social Engineering – Is it “Magical”?

Monday, April 5th, 2010

Today the iPad was delivered to hundreds of thousands of expecting users.  Along with that, the Internet is a buzz with iPad news, iPad Apps, iPad reviews and iPad Social Engineering…

Soon as Apple launched the news that the iPad was going public Apple related spam increased by 30%.  While most of these are spam, many are luring people who desire an iPad to sites that “promise” to put you at the front of the list to receive one of the new magical devices.  Another warning was revolving around the 22% increase in credit card fraud over the last year.  Many spam and phishing offers are tempting people to enter personal information to be “notified” of new iPad shipments.  Many of these sites are designed to gather information then use it to commit identity theft or credit card fraud.

“In addition to being a new, hot-ticket item, the iPad is a U.S. electronic device, and in foreign countries, American electronics—especially those manufactured by Apple—fetch up to $1,200 more than they do domestically, offering thieves the opportunity to pad out, so to speak, their already fat pockets.”, so says one security researcher.

The other concerns that some have about the iPad are due to some of the built in flaws of the iPad.  One of the largest complaints you will hear about the iPad is how it can’t multi-task.  Two processes can’t run at the same time.  Couple that with the ability for the iPad to use iPage, an application that will allow the porting of Word Docs and PDF documents, and some are concerned that vulnerabilities can be used to exploit the iPad.  Without being able to run a background process the iPad cannot use AV software or other software to help protect itself.

I am not too sure about that concern, but I have seen a lot more emails promising help in obtaining a new iPad and I can vouch that it is presenting a large threat base to unsuspecting users.

So is this an “anti-iPad” post?  No, not at all.  It is just another case of where malicious phishers and social engineers are using something that is hot to trap people into giving up way too much information.  If you are seeking where to find an iPad, stick to the Apple Store or their online shop.  Remember if a deal sounds too good to be true it probably is.  While searching for the new Apple “magical” device don’t get caught falling for the magic tricks of malicious social engineers.




SE Polls

SE CTF

Brad Smith