Skip to content
Maximiliano Caceres: Syscall Proxying - Simulating Remote Execution episode artwork

Oct 31, 2006 1 hr 6 min

Maximiliano Caceres: Syscall Proxying - Simulating Remote Execution

from Black Hat Briefings, Las Vegas 2002 [Audio] Presentations from the security conference Hosted by Black Hat RSS Feed

"A critical stage in a typical penetration test is what we call the "Privilege Escalation" phase. An auditor typically encounters this stage when access to an intermediate host or application in the target system is gained, by means of a successful attack. Access to this intermediate target allows for staging of more effective attacks against the system. Webs of trust and a more privileged position in the target system's network topology allow for an "attacker profile" switch. This 'profile switch' is referred to as 'pivoting' along this document. Pivoting over a compromised host can often be an onerous task, sometimes involving porting tools and/or exploits to a different platform, deploying these tools, and even installing C compilers on the target system! Syscall Proxying is a technique aimed at simplyfing this stage. By providing an interface into the target's operating system it provides both a framework for developing new penetration-testing tools and isolates remote attacks from local configuration issues (for example, lowered privileges and chroot jails). Syscall Proxying transparently "proxies" operating system syscalls to a remote server, effectively simulating remote execution. The presentation is structured into the following sections: 1. Syscall Proxying. General concepts 1.1.- UNIX syscalls 1.2.- Windows "syscalls" 2. A first into an implementation 2.1.- An RPC client-server model 3. Optimizing for size. Redefining the word "shellcode". 3.1.- No more exec '/bin/sh' 3.2.- Why? No more shellcode cutomization 3.3.- A sample implementation for Linux 4. The real world: applications 4.1.- Exploiting buffer overflows / format strings 4.2.- An example, breaking out of a chroot jail after attacking wu-ftpd This is a fairly technical presentation, aimed at exploit and general pen-testing tool writers. It has a some assembly code and Python samples. The complete materials for the presentation will be a paper (in PDF), a powerpoint presentation (exclusively for this Black Hat conference) and couple of code samples, both for a syscall client and a syscall server, which will allow the audience to actually try the technology for themselves in their own systems. Maximiliano Caceres is the head engineer for a CORE IMPACT, a revolutionary risk assessment product developed to professionalize the Penetration Testing practice. He's been part of the IS consulting services team at CORE-ST as a senior consultant, responsable for coordinating and executing penetration test, security architecture design and product security evaluation engagements. Maximiliano has also been involved in the research, discovery and reporting of computer security vulnerabilities during the last 8 years."

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

Maximiliano Caceres: Syscall Proxying - Simulating Remote Execution

0:00 1:06:50

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of Black Hat Briefings, Las Vegas 2002 [Audio] Presentations from the security conference?

This episode is 1 hour and 6 minutes long.

When was this Black Hat Briefings, Las Vegas 2002 [Audio] Presentations from the security conference episode published?

This episode was published on October 31, 2006.

Can I download this Black Hat Briefings, Las Vegas 2002 [Audio] Presentations from the security conference episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.