Trustwave SpiderLabs Uncovers Ov3r_Stealer Malware Spread via Phishing and Facebook Advertising. Learn More

Trustwave SpiderLabs Uncovers Ov3r_Stealer Malware Spread via Phishing and Facebook Advertising. Learn More

Services
Capture
Managed Detection & Response

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

twi-managed-portal-color
Co-Managed SOC (SIEM)

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

twi-briefcase-color-svg
Advisory & Diagnostics

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

tw-laptop-data
Penetration Testing

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

twi-database-color-svg
Database Security

Prevent unauthorized access and exceed compliance requirements.

twi-email-color-svg
Email Security

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

tw-officer
Digital Forensics & Incident Response

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

tw-network
Firewall & Technology Management

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

Solutions
BY TOPIC
Microsoft Exchange Server Attacks
Stay protected against emerging threats
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
SpiderLabs Blog

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"?>

 

Latest SpiderLabs Blogs

Ukrainian Intelligence Claims Successful Compromise of the Russian Ministry of Defense

On March 4, 2024, the Telegram channel of the Main Directorate of Intelligence of the Ministry of Defense of Ukraine (GUR) was updated with assertions that they executed a successful cyberattack...

Read More

Cost Management Tips for Cyber Admins

As anyone who has filled out an expense report can tell you, cost management is everyone's responsibility. Organizations must apply a careful balance of budget planning and expenditures that are in...

Read More

Resurgence of BlackCat Ransomware

Updated March 8: Based on our experience, we believe that BlackCat's claim of shutting down due to law enforcement pressure is a hoax. We anticipate their return under a new guise or brand after...

Read More