Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neoneggplant/EggShell
iOS/macOS/Linux Remote Administration Tool
https://github.com/neoneggplant/EggShell
exploitation information-security ios jailbreak macos metasploit meterpreter pentest-scripts pentest-tool remote-admin-tool reverse-shell
Last synced: 3 months ago
JSON representation
iOS/macOS/Linux Remote Administration Tool
- Host: GitHub
- URL: https://github.com/neoneggplant/EggShell
- Owner: lucasjacks0n
- License: gpl-2.0
- Created: 2015-07-02T16:58:30.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-03-25T22:04:52.000Z (over 3 years ago)
- Last Synced: 2024-04-24T08:54:11.494Z (7 months ago)
- Topics: exploitation, information-security, ios, jailbreak, macos, metasploit, meterpreter, pentest-scripts, pentest-tool, remote-admin-tool, reverse-shell
- Language: Objective-C
- Homepage:
- Size: 8.55 MB
- Stars: 1,612
- Watchers: 113
- Forks: 383
- Open Issues: 55
-
Metadata Files:
- Readme: README.md
- License: license.md
Awesome Lists containing this project
- awesome-termux-hacking - EggShell - iOS/macOS/Linux Remote Administration Tool.[![->](https://img.shields.io/github/stars/neoneggplant/EggShell.svg?style=social&label=Star&maxAge=2592000)](https://github.com/neoneggplant/EggShell/stargazers/) (Uncategorized / Uncategorized)
- awesome-command-control - EggShell
README
# [EggShell](http://lucasjackson.io/eggshell)
## About
EggShell is a post exploitation surveillance tool written in Python. It gives you a command line session with extra functionality between you and a target machine. EggShell gives you the power and convenience of uploading/downloading files, tab completion, taking pictures, location tracking, shell command execution, persistence, escalating privileges, password retrieval, and much more. This is project is a proof of concept, intended for use on machines you own.
For detailed information and how-to visit http://lucasjackson.io/eggshell
Follow me on twitter: @neoneggplant
## New In Version 3.0.0
- More secure socket connection using SSL
- Linux support
- Tab completion
- Improved over all structure and efficiency of session handling
- Native iOS python support for 64 bit devices
## Getting Started
- Requires python 2.7### macOS/Linux Installation
```sh
git clone https://github.com/neoneggplant/eggshell
cd eggshell
python eggshell.py
```### iOS (Jailbroken)
Add Cydia source: http://lucasjackson.io/repo
Install EggShell 3
Use any mobile terminal application and run the command eggshell
## Creating Payloads
Eggshell payloads are executed on the target machine. The payload first sends over instructions for getting and sending back device details to our server and then chooses the appropriate executable to establish a secure remote control session.### bash
Selecting bash from the payload menu will give us a 1 liner that establishes an eggshell session upon execution on the target machine### teensy macOS (USB injection)
Teensy is a USB development board that can be programmed with the Arduino ide. It emulates usb keyboard strokes extremely fast and can inject the EggShell payload just in a few seconds.Selecting teensy will give us an arduino based payload for the teensy board.
After uploading to the teensy, we can use the device to plug into a macOS usb port. Once connected to a computer, it will automatically emulate the keystrokes needed to execute a payload.
## Interacting with a session
After a session is established, we can execute commands on that device through the EggShell command line interface.
We can show all the available commands by typing "help"## Taking Pictures
Both iOS and macOS payloads have picture taking capability. The picture command lets you take a picture from the iSight on macOS as well as the front or back camera on iOS.
### Tab Completion
Similar to most command line interfaces, EggShell supports tab completion. When you start typing the path to a directory or filename, we can complete the rest of the path using the tab key.
## Multihandler
The Multihandler option lets us handle multiple sessions. We can choose to interact with different devices while listening for new connections in the background.Similar to the session interface, we can type "help" to show Multihandler commands
## Featured
Featured in EverythingApplePro's video demonstrating an iOS 9.3.3 Webkit vulnerability used to run EggShell[![EverythingApplePro](http://lucasjackson.io/images/eggshell/featureeep.png)](https://www.youtube.com/embed/iko0bCVW-zk?start=209)
## Special Thanks
- Linus Yang / Ryley Angus for the iOS Python package
- AlessandroZ for LaZagne## DISCLAMER
By using EggShell, you agree to the GNU General Public License v2.0 included in the repository. For more details at http://www.gnu.org/licenses/gpl-2.0.html. Using EggShell for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program.
## Commands
#### macOS
* **brightness** : adjust screen brightness
* **cd** : change directory
* **download** : download file
* **getfacebook** : retrieve facebook session cookies
* **getpaste** : get pasteboard contents
* **getvol** : get speaker output volume
* **idletime** : get the amount of time since the keyboard/cursor were touched
* **imessage** : send message through the messages app
* **itunes** : iTunes Controller
* **keyboard** : your keyboard -> is target's keyboard
* **lazagne** : firefox password retrieval | (https://github.com/AlessandroZ/LaZagne/wiki)
* **ls** : list contents of a directory
* **mic** : record mic
* **persistence** : attempts to re establish connection after close
* **picture** : take picture through iSight
* **pid** : get process id
* **prompt** : prompt user to type password
* **screenshot** : take screenshot
* **setvol** : set output volume
* **sleep** : put device into sleep mode
* **su** : su login
* **suspend** : suspend current session (goes back to login screen)
* **upload** : upload file#### iOS
* **alert** : make alert show up on device
* **battery** : get battery level
* **bundleids** : list bundle identifiers
* **cd** : change directory
* **dhome** : simulate a double home button press
* **dial** : dial a phone number
* **download** : download file
* **getcontacts** : download addressbook
* **getnotes** : download notes
* **getpasscode** : retreive the device passcode
* **getsms** : download SMS
* **getvol** : get volume level
* **home** : simulate a home button press
* **installpro** : install substrate commands
* **ipod** : control music player
* **islocked** : check if the device is locked
* **lastapp** : get last opened application
* **locate** : get device location coordinates
* **locationservice**: toggle location services
* **lock** : simulate a lock button press
* **ls** : list contents of a directory
* **mic** : record mic
* **mute** : update and view mute status
* **open** : open apps
* **openurl** : open url on device
* **persistence** : attempts to re establish connection after close
* **picture** : take picture through the front or back camera
* **pid** : get process id
* **respring** : restart springboard
* **safemode** : put device into safe mode
* **say** : text to speach
* **setvol** : set device volume
* **sysinfo** : view system information
* **upload** : upload file
* **vibrate** : vibrate device#### Linux
* **cd** : change directory
* **download** : download file
* **ls** : list contents of a directory
* **pid** : get process id
* **pwd** : show current directory
* **upload** : upload file