LevelBlue Completes Acquisition of Cybereason. Learn more

LevelBlue Completes Acquisition of Cybereason. Learn more

Services
Cyber Advisory
Managed Cloud Security
Data Security
Manage Detection & Response
Email Security
Managed Network Infrastructure Security
Exposure Management
Security Operations Platforms
Incident Readiness & Response
SpiderLabs Threat Intelligence
Solutions
BY TOPIC
Offensive Security
Solutions to maximize your security ROI
Operational Technology
End-to-end OT security
Microsoft Security
Unlock the full power of Microsoft Security
Securing the IoT Landscape
Test, monitor and secure network objects
Why LevelBlue
About Us
Awards and Accolades
LevelBlue SpiderLabs
LevelBlue Security Operations Platforms
Security Colony
Partners
Microsoft
Unlock the full power of Microsoft Security
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings

Adventures in Social Engineering: The Evil Reference

I recently completed a social engineering gig targeting four bank locations. After a phone call and a few e-mails, I was able to grab some victims' NTLMv2 domain hashed credentials.

The Approach

I developed a fictitious persona to help me in my endeavor. I posed as an IT guy moving to the area and looking for work at a nearby community college or casino. I called on the banks requesting information on safety deposit boxes and, in some cases, where to send my "wife's" resume – she was also looking for work. I asked that they send me information via e-mail and include it in a PDF or Word document because those formats are easier to read on tablets and/or phones.

The Build-Up

In general, people prefer to help their fellow human being.

Here you see a reply to one of my requests via email:

9650_65106c47-6d92-4743-808d-4c21424e934c

1 A response to my e-mail including the original PDF I requested

Once a target sent an email including a document, I would reply with a modified document that included an "evil reference." As part of the ploy, I would ask the target to check the document because the attachment wouldn't open on my side.

Here's an example of one of these ruses including the embedded .docx including the evil reference:

10931_a0440b01-0fea-4ecd-8e92-1d3db00f4cf5

2 My response to the victim. Note the .docx file I included (spoiler, the target downloaded it)

The Pay-Off

The target opened the .docx I sent and with that, inadvertently sent me her hashed NTLMv2 domain credentials.

And again, because most humans default to helpful, she replied again with another PDF:

12246_e186db3f-2228-42d9-b69a-81a744cdb955

Don't Try This at Home

Here's how I created my .docx with an evil reference:

  1. Using Microsoft Office 2003 or newer, create a .dotx template file, and save the template file to an UNC location
  2. Create a new Word document based on you just-created .dotx, and now save this document as docx.
  3. Opening the document will result in the submission of the user's netNTLM hashes to the referenced UNC location.

To change the referenced template IP, edit word/_rels/settings.xml.rels using WinRAR to open the docx compressed file or just grep for it.

 

ABOUT LEVELBLUE

LevelBlue is a globally recognized cybersecurity leader that reduces cyber risk and fortifies organizations against disruptive and damaging cyber threats. Our comprehensive offensive and defensive cybersecurity portfolio detects what others cannot, responds with greater speed and effectiveness, optimizes client investment, and improves security resilience. Learn more about us.

Latest Intelligence

Discover how our specialists can tailor a security program to fit the needs of
your organization.

Request a Demo