forked from hak5/bashbunny-payloads
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simple MacOS EICAR PoC Payload (hak5#350)
* Add files via upload * Add files via upload Co-authored-by: Ciph3rtxt <[email protected]>
- Loading branch information
1 parent
3184c22
commit a5d1174
Showing
3 changed files
with
53 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,2 @@ | ||
#!/bin/bash | ||
echo 'X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*'\ >Desktop/Malware.txt |
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,32 @@ | ||
#!/bin/bash | ||
# Title: MacOS_EICAR | ||
# Description: Bad USB PoC for MacOS. | ||
# Author: Ciph3rtxt | ||
# Category: PoC | ||
# Target: MacOS | ||
# Attackmodes: HID STORAGE | ||
|
||
# Setup | ||
LED R | ||
ATTACKMODE HID STORAGE | ||
GET SWITCH_POSITION | ||
path=/Volumes/BashBunny/payloads/$SWITCH_POSITION | ||
|
||
|
||
# Execute Attack | ||
LED R | ||
DELAY 200 | ||
RUN OSX terminal | ||
Q DELAY 2000 | ||
Q STRING cd | ||
Q ENTER | ||
Q DELAY 200 | ||
Q STRING chmod a+x $path/eicar.sh | ||
Q ENTER | ||
Q DELAY 200 | ||
Q STRING $path/eicar.sh | ||
Q ENTER | ||
Q DELAY 200 | ||
|
||
# Complete | ||
LED G |
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,19 @@ | ||
# MacOS EICAR PoC | ||
|
||
Author: Ciph3rtxt | ||
|
||
|
||
## Category: | ||
|
||
PoC | ||
|
||
## Description: | ||
|
||
Generates EICAR file to simulate USB (physical access) malware attack. | ||
|
||
## Status: | ||
|
||
|LED|STATUS| | ||
|-|-| | ||
|Red|Attack| | ||
|Green|Complete| |