Trustwave's 2024 Retail Report Series Highlights Alarming E-Commerce Threats and Growing Fraud Against Retailers. Learn More

Trustwave's 2024 Retail Report Series Highlights Alarming E-Commerce Threats and Growing Fraud Against Retailers. Learn More

Services
Managed Detection & Response

Eliminate active threats with 24/7 threat detection, investigation, and response.

Co-Managed SOC (SIEM)

Maximize your SIEM investment, stop alert fatigue, and enhance your team with hybrid security operations support.

Advisory & Diagnostics

Advance your cybersecurity program and get expert guidance where you need it most.

Penetration Testing

Test your physical locations and IT infrastructure to shore up weaknesses before exploitation.

Database Security

Prevent unauthorized access and exceed compliance requirements.

Email Security

Stop email threats others miss and secure your organization against the #1 ransomware attack vector.

Digital Forensics & Incident Response

Prepare for the inevitable with 24/7 global breach response in-region and available on-site.

Firewall & Technology Management

Mitigate risk of a cyberattack with 24/7 incident and health monitoring and the latest threat intelligence.

Solutions
BY TOPIC
Microsoft Security
Unlock the full power of Microsoft Security
Offensive Security
Solutions to maximize your security ROI
Rapidly Secure New Environments
Security for rapid response situations
Securing the Cloud
Safely navigate and stay protected
Securing the IoT Landscape
Test, monitor and secure network objects
Why Trustwave
About Us
Awards and Accolades
Trustwave SpiderLabs Team
Trustwave Fusion Security Operations Platform
Trustwave Security Colony
Partners
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Trustwave PartnerOne Program
Join forces with Trustwave to protect against the most advance cybersecurity threats

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.

<?xml version="1.0" encoding="UTF-8" standalone="true"?>

 

ABOUT TRUSTWAVE

Trustwave 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