---
id: 8295
title: "Attacking Restricted Linux Shells"
source_domain: netspi.com
source_url: "https://www.netspi.com/blog/technical-blog/network-pentesting/attacking-restricted-linux-shells/"
published_at: "2013-03-25T00:00:00Z"
tags: ["linux", "privilege-escalation", "chroot", "pentest", "restricted-shell"]
phying_url: "https://phying.com/item/8295"
lang: en
---

# Attacking Restricted Linux Shells

## Summary

Shows how to escape restricted chroot shells that grant root: find a writable-executable file, then use the classic breakout via echo and a saved directory file descriptor.

## Intelligence Metadata

- **Sources:** netspi.com
- **Published:** 2013-03-25T00:00:00Z
- **Original:** https://www.netspi.com/blog/technical-blog/network-pentesting/attacking-restricted-linux-shells/
- **Phying News:** https://phying.com/item/8295
