Getting the Goods with Smbexec
Eric Milam explores getting the goods with smbexec at DEF CON 21, examining social-engineering and practical defenses.
Summary
Architecture and Background
Getting The Goods With smbexec ERIC MILAM PRINCIPAL CONSULTANT, ACCUVANT LABS Individuals often upload and execute a payload to a remote system during penetration tests for foot printing, gathering information, and to compromise additional hosts. When trying to remain stealthy, uploading a shell to a target may not be wise.
Vulnerability Analysis
smbexec takes advantage of native Windows functionality and SMB authentication to execute commands on remote Windows systems without having to upload a payload, decreasing the likelihood of being stopped by AntiVirus. The original intent of creating smbexec was to upload and execute obfuscated payloads using samba tools.
Exploitation and Demonstrations
Since the first PoC, it has expanded its capability to do more, including dumping local and domain cached password hashes, clear text passwords from memory, and stealing the NTDS.dit file from a Windows Domain controller all without the need for a shell on the victim. We will explore the creation of smbexec, the components behind it, and how to leverage its functionality to get the goods from a system without having to use a payload.
Remediation and Defensive Strategies
Eric Milam (@Brav0Hax) is a principal security assessor on the Accuvant LABS enterprise assessment team with over fifteen (15) years of experience in information technology. Eric has performed innumerable consultative engagements including enterprise security and risk assessments, perimeter penetration testing, vulnerability assessments, social engineering, physical security testing, wireless assessments and extensive experience in PCI compliance controls and assessments. Eric is a project steward for the Ettercap project as well as creator and developer of the easy-creds and smbexec projects. IRC J0hnnyBrav0 Materials:
Related talks
Main Stage·41 min
Bruce Barnett
Bruce Barnett explores deceptive hacking at DEF CON 19, examining social-engineering and practical defenses.
Main Stage·45 min
Jayson E. Street
Jayson E. Street explores steal everything, kill everyone, cause total financial ruin! at DEF CON 19, examining social-engineering and practical defenses.
Main Stage·45 min
James Myrcurial Arlen
James Myrcurial Arlen explores security when nano seconds count at DEF CON 19, examining social-engineering and practical defenses.


