How to setup Android as Rubber Ducky without NetHunter - part 2 | Tutorial | HID | BadUSB | Termux

Sdílet
Vložit
  • čas přidán 18. 04. 2021
  • This is a quick tutorial hot to setup rooted Android device to enable HID endpoints without flashing custom Kernel and ROM.
    Android needs to fulfill two requirements - superuser rights and Kernel (3.19 and above) with ConfigFS support. Once enabled, I will test it by executing rubber ducky script on connected Windows 10 and Android.
    Required binaries and PoC scripts used in the video: github.com/androidmalware/and...
    List of key presses: github.com/anbud/DroidDucky/b...
    (0:00) Intro
    (0:31) Resources
    (1:04) Requirements
    (2:51) USB Gadget
    (4:10) HID gadget
    (5:31) Commands
    (6:21) Test scripts
    (7:16) Prevention tips
    Subscribe: / lukasstefankoinfosec
    Follow me on Twitter: / lukasstefanko
    #RubberDucky #HID #Android
  • Věda a technologie

Komentáře • 254

  • @mobilehacker
    @mobilehacker  Před 3 lety +30

    (0:00) Intro
    (0:31) Resources
    (1:04) Requirements
    (2:51) USB Gadget
    (4:10) HID gadget
    (5:31) Commands
    (6:21) Test scripts
    (7:16) Prevention tips

    • @SalmanKhan-pm5cd
      @SalmanKhan-pm5cd Před 3 lety

      Samsung Galaxy m20 camera problem not open

    • @dimasaru.57
      @dimasaru.57 Před 3 lety +2

      Finally uploaded. Thanks sir

    • @user-sx5fb4sl5i
      @user-sx5fb4sl5i Před 3 lety +1

      Network interface,kernal and HID Not found after installing kali nethunter help pls

    • @sureshp.chaudhary5774
      @sureshp.chaudhary5774 Před 3 lety

      Sir I want to learn .....
      Please reply me.
      I already send message from Instagram (@mr.chaudhary_g_) sir please please please 😔 ...
      I want to learn 😶...
      Please reply me atleast

    • @game.803
      @game.803 Před 3 lety

      Can you explan in hindi

  • @bibhashpodh1074
    @bibhashpodh1074 Před 3 lety +4

    Yooo man you are legend❤️

  • @cyberstudy5804
    @cyberstudy5804 Před 3 lety

    awesome work man loved ❤️❤️

  • @abdulhishaq1
    @abdulhishaq1 Před rokem

    Thank you so much for such a great knowledge

  • @mehdizakaria214
    @mehdizakaria214 Před 3 lety +2

    You're a legend 🔥🔥🔥🔥🔥🔥🔥🔥🔥

  • @TechnicalHeavenSM
    @TechnicalHeavenSM Před 2 lety

    Wow.. Man!!!... You are a legend

  • @shashwatsagar3044
    @shashwatsagar3044 Před 3 lety +1

    I followed this tutorial, actually it works Pretty well in Windows, but for the android you just have to create a ducky script regarding to every phone you want to attack.... When I firstly executed your android ducky script....it was opening my diapad(sometimes message app), then I understand how it actually works and with some practice I'm able to do it the right way....Thank You Very Much Sir, I really appreciate this.😊

    • @nitroravi
      @nitroravi Před 2 lety

      Can we do this process in any phone with any kernal please sir anyone reply me .... Plzzzzz

    • @julianstephen1303
      @julianstephen1303 Před 2 lety

      @@nitroravi yes bro...as long it has root and a kernel requirements are met....

    • @myhoney7045
      @myhoney7045 Před 2 lety

      @@julianstephen1303 can you send me the file? pOC_android .. in github there is no files .. only code .. can you tell me how I save this code and what type of files i make for this?. I mean file extension ?

    • @mehreen4554
      @mehreen4554 Před rokem

      Hello
      can i use this to unlock a phone that has an alphabetic password rather than a pin?

    • @shashwatsagar3044
      @shashwatsagar3044 Před rokem

      @@mehreen4554 you can do whatever you please to...but this is hid....which means it's sending keystrokes of keyboard from your mobile phone to the end device....you can make any complex keystrokes you want...and it will do as to told it to

  • @bibhashpodh1074
    @bibhashpodh1074 Před 3 lety +10

    Hey man how you crack the Android Screen Pin lock by bruteforce.. can you please make a small tutorial about it ??

  • @sheeshhhhh875
    @sheeshhhhh875 Před 3 lety

    Can i ask if there is something like a brute force pin for a forgotten lock screen pattern?

  • @ashwindarade
    @ashwindarade Před 3 lety +1

    Hi bro i am frome insta your great vro

  • @ayaanzahoori4021
    @ayaanzahoori4021 Před rokem

    Hey man can you please explain to me what is poc_android_gadget what is it’s used for and where to create your own script bro I watched some of your shorts in some you have gone to directory in some you have executed with bash I am not understanding bro how to do it which way

  • @AyushTechnoholic
    @AyushTechnoholic Před 3 lety

    Bro to crack the 4 or 10 digits from this HID rubber ducky...can we go from mimikatz payload script..?.???........bro plz guide me.......which script I had to use from github

  • @kothayesobu1832
    @kothayesobu1832 Před 3 lety

    Bro your videos verry verry super

  • @muhammadaamir6842
    @muhammadaamir6842 Před 3 lety +1

    Hello #Android infosec I have been facing a problem for my phone Oppo f7 . I jave forgotten password and dont want to Reset or install firmware in it because I have lots of important data in it. How to get back into it. Please help

  • @mhireteab1900
    @mhireteab1900 Před 3 lety +1

    Bro how did you root your android 10 phone. I tried to root my phone and ended up cracking and coast me a lot of money

  • @rexackermann6357
    @rexackermann6357 Před 5 měsíci

    I works.Thanks.
    Is it possible to just change to hid mode without the app.Dirrectly from termux so that I can just script up the whole thing so that it auto enables hid mode when I run the commnad and then dissables hid just after pushing the payload ?

  • @user-kk3nf5xv7l
    @user-kk3nf5xv7l Před 2 lety

    اكمل شروحاتك انت بطل اشجعك على عملك عمل رائع

    • @mehmudteme1271
      @mehmudteme1271 Před 2 lety

      انغليزي تبعي ضعيف ما عم افهم شي

  • @AniruddhaGA
    @AniruddhaGA Před 3 lety +3

    1:11 mine is 3.18 where can I find patched hid ?

  • @slavekrouta
    @slavekrouta Před 5 měsíci

    Hi. I have a problem. My phones has a 3.18 kernel and i dont know if building a newer one is in my capabilities.

  • @AyushTechnoholic
    @AyushTechnoholic Před 3 lety

    Thanks.....for this knowledgeable video....this is very helpful

  • @IshfaqFreeEarn
    @IshfaqFreeEarn Před 4 měsíci

    Thank you ❤😂🎉

  • @caioalmeida2907
    @caioalmeida2907 Před 2 lety

    my Android has kernel 3.10, is there any way to enable HID USB?

  • @whitehatwhite365
    @whitehatwhite365 Před 3 lety

    Sir which mobile your using
    Like samsung or other

  • @user-gq7zk4pd2n
    @user-gq7zk4pd2n Před 11 měsíci

    sir. are u usised nokia 6.1 plus?
    i have big problem this phone can't open OTG funtion

  • @yomomtoturial5684
    @yomomtoturial5684 Před 3 lety

    Very useful

  • @jefffrear9162
    @jefffrear9162 Před 2 lety

    So I have to set up the script so it's uses numbers for attack?

  • @user-gq1un4rz7m
    @user-gq1un4rz7m Před 2 lety

    I don't have the hid keyboard in the options, is it something with my phone?

  • @johnhammer8668
    @johnhammer8668 Před rokem

    Can the laptop spoof itself as hid? What is the need for the special usb hardware.

  • @zomboyalexander1409
    @zomboyalexander1409 Před 3 lety

    you are great ❤️❤️❤️

  • @DunOpondo
    @DunOpondo Před rokem

    Awesome 👍🏿

  • @dablakmark8
    @dablakmark8 Před 5 měsíci

    i do not have hid enables and my kernal 4.4 has no hid and cobfigfd is not set, its in red words not set.must i flash a custom rom for this, is there no way to enable hid configs hid from adm on a rooted phnoe

  • @chandu.yt.
    @chandu.yt. Před 2 lety +1

    Sir which laptop you are using ??

  • @user-mr8cw4ud8n
    @user-mr8cw4ud8n Před 3 lety +1

    Do we have to root the non traget phone??

  • @Swenser
    @Swenser Před rokem

    I cant see how the hid knows when to type and when to wait. The locked phone doesn't feedback any signal when timeout try so how does the ducky know?

  • @ashutoshkhairkar1183
    @ashutoshkhairkar1183 Před 3 lety +1

    Which laptop you are using ?

  • @tokyo5704
    @tokyo5704 Před 3 lety

    Hi i have a query in my rooted phone its not showing hid.keyboard in the gadget tool app and i have the same kernel as you . Can you tell me how to solve this problem

    • @kokkkoosss7614
      @kokkkoosss7614 Před rokem

      Same bro if you have any solution please write me

  • @xhat5580
    @xhat5580 Před 2 lety +2

    Can you please make a video on a guide in explaining the Droidducky commands and create a simple script?

  • @yogeshtiwari8435
    @yogeshtiwari8435 Před 3 lety

    Heyy there!!
    My mobile's particular area is not responding well so while opening the lock i am unable to enter few keys. I just wanted it to be controlled by another mobile or laptop.
    could you please tell me how can I do that?
    Thanks a lot in advance

    • @mobilehacker
      @mobilehacker  Před 3 lety +1

      Hey there. There are two way how you can do it. 1) using OTG cable connect keyboard or mouse to your device to enter particular keys; 2) if you enable USB debugging on the phone, you can connect it to PC and send ADB commands that would trigger keys you cant tap on. Best!

  • @amalanm1588
    @amalanm1588 Před 2 lety

    Sir I got 1gb per day (mobile data) so tell me can I download 1 by 1 ( I am waiting for your help )

  • @chaos8999
    @chaos8999 Před 3 lety +1

    How about Kernel 3.18.91 sir ???

  • @Seedhi-Baat
    @Seedhi-Baat Před 3 lety

    Hi, I have moto x play which has kernel 3.10 and does not support config fs, how to use it for HID based testing? can you please share some idea?

  • @thinhmai2981
    @thinhmai2981 Před 2 lety +1

    my kernel version is 4.9, are there any instructions for configfs?

    • @BadriJoker
      @BadriJoker Před 2 lety

      Good cause should be from 3 and more

  • @fritzz1593
    @fritzz1593 Před 3 lety +1

    Kali nethunter required?

  • @niwithefox9404
    @niwithefox9404 Před 3 lety

    Soooo.. I had to fix the script (pc one)
    i had to replace hidg1 with hidg3
    remove paragraphs without text
    and the sleep thing breaks it too
    it gives me output error with sleep command, without it it works fine but its to fast, how can i fix it?
    edit: the sleep thing works if used outside of script, but in script it acts like it missing s so it just outputs ´leep: unknow suffix ´

  • @Mmotley93
    @Mmotley93 Před rokem

    so my tablet is rooted. i am stuck on how to get the scripts to my tablet can you help?

  • @pesboygaming9297
    @pesboygaming9297 Před 3 lety

    Can you suggest me a good laptop under 60k?? 🙏🙏

  • @infinitygamingclub8420

    how to fix this error /system/bin/sh: ./poc_pc_gadget: can't execute: Permission denied

  • @amalpurushothaman8331
    @amalpurushothaman8331 Před 3 lety +1

    Can you do a full tutorial of termux android?

  • @arunjohny
    @arunjohny Před 3 lety

    Bro which ThinkPad is this?

  • @jafarsadiq4904
    @jafarsadiq4904 Před 2 lety

    Kaun sa app use karte ho bhaiya hamen bhi batao

  • @Warrior8004
    @Warrior8004 Před 3 lety

    New version phones are hard to root.. Haow do we root them?

  • @termuxhacking_
    @termuxhacking_ Před 5 měsíci

    Amigo el mío es Fs yes pero al agregar se reinicia y no se prende

  • @hellotot2239
    @hellotot2239 Před 3 lety

    How to push that abd file ?? Using cmd iam not able to do ?? How to download that two poc script file it showing only script not file or need to save as some formate using notepad please anybody answer these ??

  • @Oneshot.6715
    @Oneshot.6715 Před rokem

    Can I connect my USB to a android and take data from that android to usb

  • @tkyoutuber4843
    @tkyoutuber4843 Před 3 lety

    Bro can we do pin and wifi attacks by using this meathod

  • @katana-rl7gb
    @katana-rl7gb Před rokem

    Pls make more tutorial ❤❤❤❤❤

  • @jayeshgondhale5272
    @jayeshgondhale5272 Před 3 lety +2

    Bro I can't able to open the app

  • @SecurityTalent
    @SecurityTalent Před 3 lety

    Thanks

  • @virtualandroid2509
    @virtualandroid2509 Před rokem

    i have samsung s9+ phone, but it does not support usb hid function, please help me

  • @salmananmol1809
    @salmananmol1809 Před 3 lety

    From where we find hid script for nethunter

  • @sagarhm2237
    @sagarhm2237 Před 3 lety

    how to by pass the passoward of lock screen of unknown
    ?

  • @haidargzYT
    @haidargzYT Před 3 lety

    netHunter work on Exynos Samsung ?

  • @puneetdp
    @puneetdp Před 2 lety

    BRO TELL ME Y MY PHONE NOT SHOWING HID INTERFACE IN NETHUNTER.....?

  • @linkstoamazingstuffs521

    I turned on the hid.keyboard but still didn't get the buttom part of the window....Ples Help me

  • @i_am_juan
    @i_am_juan Před rokem

    What mobile you using for this please tell the model

  • @El_Nik
    @El_Nik Před 2 lety

    If you plug it out it will stop?

  • @myhoney7045
    @myhoney7045 Před 2 lety

    Please provide part2/poc_android_gadget files ... There are no files in github . please send me this files sir

  • @simarjeetsinghmatharu2751

    Should I really root my mobile?

  • @RTBRuhan
    @RTBRuhan Před 6 měsíci

    for people who are stuck at 5:23 this are the command
    chmod +x hid-gadget-test
    chmod +x poc_pc_gadget
    chmod +x poc_android_gadget

  • @netrixop2655
    @netrixop2655 Před 3 lety

    Can we unlock default screen lock??

  • @somorkemprai1198
    @somorkemprai1198 Před 2 lety

    will it worked on Samsung J7 first model

  • @johnmacab1203
    @johnmacab1203 Před 3 lety

    How to create a normal usb to usb rubber ducky?

  • @Jwalaplayzz
    @Jwalaplayzz Před 3 lety

    Bro how to push it? Reply plz I'm gotta stuck

  • @xxehacker
    @xxehacker Před 3 lety

    Nice ♥️♥️

  • @SmartBoyMuzaffar
    @SmartBoyMuzaffar Před rokem

    hi bro cen you tell me your phone name and model which you used in video
    plz🙏🙏🙏

  • @fritzz1593
    @fritzz1593 Před 3 lety +1

    Do i need root?

  • @Swenser
    @Swenser Před rokem

    Can you do a step by step for 6 pin on android. Actually, ive been asked to help unlock a deceased persons phone without losing important data.

  • @simonromero5530
    @simonromero5530 Před 2 lety

    Can u use a rooted tablet?

  • @RahulRaj
    @RahulRaj Před 3 lety

    Hey bro make a complete video on Android pin bruteforce attack

  • @sharks203
    @sharks203 Před 3 lety

    Is this possible at no root Phone????

  • @aveshkhebhar8124
    @aveshkhebhar8124 Před 2 lety

    poc_android_gadget and poc_pc_gadget how to download pls help

  • @xylonity
    @xylonity Před 2 lety

    sleep is not working (neither usleep). Can you help me please?

  • @dindaam9303
    @dindaam9303 Před 3 lety

    What smartphone do you use to install Nethunter ?

    • @hbm9897
      @hbm9897 Před 3 lety

      samsung s6

    • @dindaam9303
      @dindaam9303 Před 3 lety

      @@hbm9897 no, one more. google pixel 4 ?

  • @CONTERNICO
    @CONTERNICO Před 3 měsíci

    What phone do you have?

  • @myhoney7045
    @myhoney7045 Před rokem

    Please tell me how i download this file form git

  • @mdtazmir7924
    @mdtazmir7924 Před 3 lety

    I have iphone x , Whitout screen click possible screen unlock password i know also and data backup need

  • @simarjeetsinghmatharu2751

    Should I root my mobile that i use daily Or i should have a seperate mobile
    Pls tell

  • @sagartripathi8518
    @sagartripathi8518 Před 3 lety

    How to do pin brute Force using this method

  • @hottingracer8575
    @hottingracer8575 Před 2 lety

    so we don't need a custom kernel to enable HID now?

    • @julianstephen1303
      @julianstephen1303 Před 2 lety +1

      If you have root u can enable it via an apk ...it worked coz I had a custom kernel.... haven't tested this on stock ROM with stock kernel

    • @julianstephen1303
      @julianstephen1303 Před rokem

      @Bruh you need a kernel which supports these features...check if there might be custom kernels available for your device bro...what device btw?

    • @julianstephen1303
      @julianstephen1303 Před rokem

      @Bruh is that stock kernel bro?....there's a chance it might not be able to work...use the app in the video to test and check....if not lookup Eureka kernel and see if your device is supported...its true your version is supported but you need to see if that "feature" is there....

    • @rajkumarnatarajan6399
      @rajkumarnatarajan6399 Před rokem

      @Bruh kernels can be downloaded as zip and u can flash it via custom recovery.

    • @rajkumarnatarajan6399
      @rajkumarnatarajan6399 Před rokem

      @Bruh nope kernels may change according to device and firmwares

  • @trickswithandro749
    @trickswithandro749 Před 3 lety

    Bro, i have kernel version 3.10
    can I use this?

  • @nazranzafran3807
    @nazranzafran3807 Před 2 lety

    So..this also need root device?

  • @vikastandel6638
    @vikastandel6638 Před 2 lety

    Sir how to install nethunter samsung galaxy s7 edge sm-g935f ore

  • @mujhic
    @mujhic Před 14 dny

    Poc not working . Same as it shown here it do abnormal things

  • @zomboyalexander1409
    @zomboyalexander1409 Před 3 lety

    how should i get termux for android

  • @AyushTechnoholic
    @AyushTechnoholic Před 3 lety +2

    Frist comment Finally wait is over.....got heart from android malware

  • @garvitnaliya9177
    @garvitnaliya9177 Před 2 lety

    Does it need a rooted device

  • @atharvapawar6061
    @atharvapawar6061 Před 3 lety

    Bro, I'm unable to download that poc files. Please help!

    • @mobilehacker
      @mobilehacker  Před 3 lety

      Pocs are on github. Either clone or download them in a regular way.

    • @ll-bv3ql
      @ll-bv3ql Před 2 lety

      Bro I'm also facing poc download issue.

  • @ProXrabbit
    @ProXrabbit Před 3 lety

    I have no pc,so can I do this 🤔

  • @keftanew7235
    @keftanew7235 Před rokem +1

    What's laptope u use ??

  • @alek4592
    @alek4592 Před 2 lety

    I need tutorial for rooting phone my phone is Huawei y7 2019