Skip to content

SMBetray Backdooring and Breaking Signatures

William Martin

William Martin presents smbetray backdooring and breaking signatures: When it comes to taking advantage of SMB connections, most tools available to penetration testers aim for system enumeration or for performing re...

Summary

### The Anatomy of SMB Protocol Attacks At 00:00, William Martin introduces SMBetray, a Python-based offensive proxy framework designed to intercept, modify, and backdoor Server Message Block (SMB) network traffic.

### SMB Negotiation Flags and Cryptographic Signing At 07:03, Martin deconstructs the initial SMB negotiation handshake. He examines the Negotiate Key Exchange flags that negotiate protocol versions (SMBv1 through SMBv3) and security settings, detailing how SMB signing relies on session keys to guarantee packet integrity.

### Performance Trade-Offs and Signing Inconsistencies At 14:01, the speaker analyzes why SMB signing remains poorly implemented in corporate networks. Concerns over network latency and processor overhead frequently lead system administrators to leave SMB signing disabled or optional, allowing man-in-the-middle proxies to intercept communications.

### Real-Time Proxy Architecture and Performance Bottlenecks At 21:00, Martin discusses the engineering challenges of building SMBetray in Python. Intercepting multi-gigabyte file transfers requires asynchronous packet queuing and stream manipulation to avoid introducing latency that triggers connection resets.

### In-Flight Payload Injection and Defensive Hardening Concluding between 28:01 and 35:00, Martin showcases attack demonstrations. By tampering with file transfers on the wire, SMBetray injects malicious macros into office documents, swaps legitimate binaries with backdoors, and harvests Kerberos tickets. Martin concludes by urging defenders to mandate SMB signing and disable legacy SMBv1 globally.

(AI summary — Gemini Flash)

Related talks

Main Stage·42 min

  • DEF CON
  • Hardware
  • Date: Aug 2018
  • Location: Las Vegas

Josep Pi Rodriguez

Josep Pi Rodriguez presents wingos: how to own millions of devices .: Extreme network's embedded WingOS (Originally created by Motorola) is an operating system used in several wireless devices such as access points...

x86cpu-securityhardware-backdoors+1