• Stars
    star
    476
  • Rank 92,280 (Top 2 %)
  • Language
    Java
  • License
    GNU General Publi...
  • Created almost 7 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A simple to use USB HID Rubber Ducky Launch Pad for Android.

Rucky

GitHub Crowdin Android Architecture Kernel <=3.18 Kernel >=3.19


Status

Build

Debug Build Github Nightly Build Github Release Build Nethunter Build

Code Analysis

CodeQL mobsfscan sarif


Download App

GitHub

GitHub release (latest by date) Github nightly

Nethunter App Store

Nethuter Release


Download Magisk Module

GitHub

Github nightly


Readme

An android app to perform USB HID Attacks (Rubber Duck) in multiple ways:

  • Wired Mode: Needs a custom kernel with usb hid feature or a kernel with configfs to be enabled for this mode to be used.
  • Wireless [Deprecated]: Provides a socket server to extend this USB HID with external tools/hardwares like raspberry pi, socket services, nc, and much more.

Ducky Script

Ducky Script syntax is simple. Each command resides on a new line and may have options follow. Commands are written in ALL CAPS, because ducks are loud and like to quack with pride. Most commands invoke keystrokes, key-combos or strings of text, while some offer delays or pauses. Below is a list of commands and their function, followed by some example usage. Some syntax extended from the original Hak5 Ducky Script Syntax. Mouse ducky scripts are different from those seen online and have been defined to keep the similarity with the keyboard ducky scripts.

Note: In parameters [num] represents a number, [char] represents characters A-Z, a-z. Customizable HID support too has been added.

HID2 Features

All HID2/Legacy HID commands are supported

HID3 Features

Feature Sub Feature Supported Description
Keystroke Injection Character Keys: Alphanumeric βœ… Hak5 Docs
Keystroke Injection Character Keys: Punctuation βœ… Hak5 Docs
Keystroke Injection STRING βœ… Hak5 Docs
Keystroke Injection STRINGLN βœ… Hak5 Docs
Keystroke Injection Cursor Keys βœ… Hak5 Docs
Keystroke Injection System Keys βœ… Hak5 Docs
Keystroke Injection Basic Modifier Keys βœ… Hak5 Docs
Keystroke Injection Basic Modifier Keys βœ… Hak5 Docs
Keystroke Injection Basic Modifier Keys βœ… Hak5 Docs
Keystroke Injection Basic Modifier Keys βœ… Hak5 Docs
Comments REM βœ… Hak5 Docs
Delays DELAY βœ… Hak5 Docs
The Button WAIT_FOR_BUTTON_PRESS ❌ Hak5 Docs Checking for feasibility
The Button BUTTON_DEF ❌ Hak5 Docs Checking for feasibility
The Button DISABLE_BUTTON ❌ Hak5 Docs Checking for feasibility
The Button ENABLE_BUTTON ❌ Hak5 Docs Checking for feasibility
The Button Internal Variables ❌ Hak5 Docs Checking for feasibility
The LED Default Behaviors ❌ Hak5 Docs Checking for feasibility
The LED LED_OFF ❌ Hak5 Docs Checking for feasibility
The LED LED_R ❌ Hak5 Docs Checking for feasibility
The LED LED_G ❌ Hak5 Docs Checking for feasibility
The LED Internal Variables ❌ Hak5 Docs Checking for feasibility
Attack Modes ATTACKMODE 🚧 Hak5 Docs STORAGE MODE not supported as newer Android versions do not support mass storage mode
Attack Modes VID and PID βœ… Hak5 Docs
Attack Modes MAN, PROD and SERIAL 🚧 Hak5 Docs SERIAL_RANDOM is currently not supported
Attack Modes SAVE and RESTORE ❌ Hak5 Docs
Attack Modes Internal Variables ❌ Hak5 Docs
Constants DEFINE βœ… Hak5 Docs
Variables VAR βœ… Hak5 Docs
Operators Math Operators βœ… Hak5 Docs
Operators Comparison Operators βœ… Hak5 Docs
Operators Order of Operations βœ… Hak5 Docs
Operators Logical Operators βœ… Hak5 Docs
Operators Augmented Assignment Operators βœ… Hak5 Docs
Operators Bitwise Operators βœ… Hak5 Docs
Conditional Statements IF βœ… Hak5 Docs
Conditional Statements ELSE βœ… Hak5 Docs
Conditional Statements Nested IF Statements βœ… Hak5 Docs
Conditional Statements IF Statements with logical operators βœ… Hak5 Docs
Conditional Statements IF Statement Optimization βœ… Hak5 Docs
Loops WHILE βœ… Hak5 Docs
Loops Infinite Loop βœ… Hak5 Docs
Functions FUNCTION βœ… Hak5 Docs
Functions Passing Arguments and Return Values βœ… Hak5 Docs
Randomization ❌ Hak5 Docs
Holding Keys HOLD and RELEASE βœ… Hak5 Docs
Holding Keys Holding Modifier Keys βœ… Hak5 Docs
Holding Keys Holding Multiple Keys βœ… Hak5 Docs
Payload Control ❌ Hak5 Docs
Jitter ❌ Hak5 Docs
Payload Hiding ❌ Hak5 Docs
Storage Activity ❌ Hak5 Docs
Lock Keys ❌ Hak5 Docs
Exfiltration ❌ Hak5 Docs
Extensions ❌ Hak5 Docs

Mouse/Pointer

MOUSE or POINTER

All mouse/pointer commands will start with this command. REPEAT command and DELAY commands effect can also be applied to mouse commands.

Note:

  1. In parameter field [button], which emulates a mouse button action and can have the following value:
    • LEFT
    • RIGHT
    • MIDDLE
  2. In parameter field [x] and [y], which emulates mouse movement action and can have the value range from -127 to 127. This represents pixels and is relative to where the mouse currently is. If you are at the point (150,150) then you can move the mouse to (127,127) pixels of this point followed by (23,23). Therefore, if the mouse is at (0,0) [top left corner] and you want to move to (1920, 1080) [bottom right corner, assuming a 1080p display], then you would need to move the mouse a few times 127 pixels at a time (or less) in either direction.
  3. In parameter field [scroll], which emulates mouse scroll whell action and can have the following value:
    • UP
    • DOWN
  4. In parameters [num] represents a number. This is used to repeat the action. Alternatively, REPEAT command can be used.

Syntax:

Command Command Type Parameter 1 Parameter 2 Parameter 3 Parameter 4 Description
MOUSE or POINTER CLICK or TOUCH or PRESS [button] [num] Mouse button click. Mouse does not move along [x] and [y] directions.
MOUSE or POINTER HOLD or DRAG [button] [x] [y] [num] Mouse button click and hold. Mouse can be moved along [x] and [y] directions.
MOUSE or POINTER MOVE or TRANSLATE [x] [y] [num] Mouse button does not click. Mouse can be moved along [x] and [y] directions.
MOUSE or POINTER KNOB or WHEEL or SCROLL [scroll] [num] Mouse button does not click. Mouse can be scrolled up or down.

Example:

REM double left click
MOUSE CLICK LEFT 2
REM drag a folder
MOUSE HOLD LEFT 127 45
REM move pointer
MOUSE MOVE 0 0 5
REM scroll a document
MOUSE SCROLL DOWN 10
REM using repeat
MOUSE CLICK LEFT
REPEAT 1

Localization

Status Code Language Translated
❌ b+ach Acholi 0%
❌ aa Afar 0%
βœ… af Afrikaans 100%
βœ… ak Akan 100%
βœ… sq Albanian 100%
βœ… am Amharic 100%
βœ… ar Arabic 100%
❌ an Aragonese 0%
βœ… hy Armenian 100%
❌ as Assamese 0%
❌ b+ast Asturian 0%
❌ av Avaric 0%
❌ ae Avestan 0%
❌ ay Aymara 0%
βœ… az Azerbaijani 100%
❌ b+ban Balinese 0%
❌ b+bal Balochi 0%
❌ bm Bambara 0%
❌ ba Bashkir 0%
βœ… eu Basque 100%
βœ… be Belarusian 100%
βœ… bn Bengali 100%
🚧 b+ber Berber 41%
❌ bh Bihari 0%
❌ bi Bislama 0%
βœ… bs Bosnian 100%
βœ… br Breton 100%
βœ… bg Bulgarian 100%
❌ my Burmese 0%
βœ… ca Catalan 100%
❌ b+ceb Cebuano 0%
❌ ch Chamorro 0%
❌ ce Chechen 0%
❌ b+chr Cherokee 0%
βœ… ny Chewa 100%
βœ… zh-rCN Chinese Simplified 100%
βœ… zh-rTW Chinese Traditional 100%
❌ cv Chuvash 0%
❌ kw Cornish 0%
βœ… co Corsican 100%
❌ cr Cree 0%
βœ… hr Croatian 100%
βœ… cs Czech 100%
βœ… da Danish 100%
❌ dv Dhivehi 0%
βœ… nl Dutch 100%
❌ dz Dzongkha 0%
βœ… en-rGB English (UK) 100%
βœ… en-rUS English (US) 100%
βœ… eo Esperanto 100%
βœ… et Estonian 100%
βœ… ee Ewe 100%
❌ fo Faroese 0%
❌ fj Fijian 0%
βœ… b+fil Filipino 100%
βœ… fi Finnish 100%
βœ… fr French 100%
βœ… fy Frisian 100%
❌ b+fur Friulian 0%
❌ ff Fula 0%
❌ b+gaa Ga 0%
βœ… gl Galician 100%
βœ… ka Georgian 100%
βœ… de German 100%
❌ b+got Gothic 0%
βœ… el Greek 100%
❌ kl Greenlandic 0%
βœ… gn Guarani 100%
βœ… gu Gujarati 100%
βœ… ht Haitian Creole 100%
βœ… ha Hausa 100%
βœ… b+haw Hawaiian 100%
βœ… iw Hebrew 100%
❌ hz Herero 0%
❌ b+hil Hiligaynon 0%
βœ… hi Hindi 100%
❌ ho Hiri Motu 0%
❌ b+hmn Hmong 0%
βœ… hu Hungarian 100%
βœ… is Icelandic 100%
❌ io Ido 0%
βœ… ig Igbo 100%
❌ b+ilo Ilokano 0%
βœ… in Indonesian 100%
❌ iu Inuktitut 0%
βœ… ga Irish 100%
βœ… it Italian 100%
βœ… ja Japanese 100%
βœ… jv Javanese 100%
❌ b+kab Kabyle 0%
βœ… kn Kannada 100%
βœ… b+pam Kapampangan 100%
❌ ks Kashmiri 0%
❌ b+csb Kashubian 0%
βœ… kk Kazakh 100%
❌ km Khmer 0%
βœ… rw Kinyarwanda 100%
❌ b+tlh Klingon 0%
❌ kv Komi 0%
❌ kg Kongo 0%
❌ b+kok Konkani 0%
βœ… ko Korean 100%
βœ… ku Kurdish 100%
❌ kj Kwanyama 0%
βœ… ky Kyrgyz 100%
βœ… lo Lao 100%
βœ… la Latin 100%
βœ… lv Latvian 100%
❌ li Limburgish 0%
βœ… ln Lingala 100%
βœ… lt Lithuanian 100%
❌ b+jbo Lojban 0%
❌ b+nds Low German 0%
❌ b+dsb Lower Sorbian 0%
βœ… lg Luganda 100%
❌ b+luy Luhya 0%
❌ lb Luxembourgish 0%
βœ… mk Macedonian 100%
❌ b+mai Maithili 0%
βœ… mg Malagasy 100%
βœ… ms Malay 100%
βœ… ml Malayalam 100%
βœ… mt Maltese 100%
❌ gv Manx 0%
βœ… mi Maori 100%
❌ b+arn Mapudungun 0%
βœ… mr Marathi 100%
❌ mh Marshallese 0%
❌ b+moh Mohawk 0%
βœ… mn Mongolian 100%
❌ b+mos Mossi 0%
❌ na Nauru 0%
❌ ng Ndonga 0%
βœ… ne Nepali 100%
❌ se Northern Sami 0%
βœ… b+nso Northern Sotho 100%
βœ… no Norwegian 100%
βœ… nb Norwegian Bokmal 100%
βœ… nn Norwegian Nynorsk 100%
❌ oc Occitan 0%
🚧 or Odia 26%
❌ oj Ojibwe 0%
βœ… om Oromo 100%
❌ os Ossetian 0%
❌ pi Pali 0%
❌ b+pap Papiamento 0%
βœ… ps Pashto 100%
βœ… fa Persian 100%
βœ… pl Polish 100%
βœ… pt Portuguese (PT) 100%
βœ… pt-rBR Portuguese (BR) 100%
βœ… pa Punjabi 100%
βœ… qu Quechua 100%
βœ… ro Romanian 100%
❌ rm Romansh 0%
❌ rn Rundi 0%
βœ… ru Russian 100%
❌ sg Sango 0%
❌ sa Sanskrit 0%
🚧 b+sat Santali 80%
❌ sc Sardinian 0%
❌ b+sco Scots 0%
βœ… gd Scottish Gaelic 100%
βœ… sr Serbian (Cyrillic) 100%
❌ b+sr+Latn Serbian (Latin) 0%
βœ… sn Shona 100%
❌ ii Sichuan Yi 0%
βœ… sd Sindhi 100%
βœ… si Sinhala 100%
βœ… sk Slovak 100%
βœ… sl Slovenian 100%
βœ… so Somali 100%
❌ b+son Songhay 0%
❌ nr Southern Ndebele 0%
❌ b+sma Southern Sami 0%
❌ st Southern Sotho 0%
βœ… es Spanish (ES) 100%
βœ… b+es+419 Spanish (Latin America) 100%
βœ… su Sundanese 100%
βœ… sw Swahili 100%
❌ ss Swati 0%
βœ… sv Swedish 100%
❌ b+syc Syriac 0%
❌ tl Tagalog 0%
❌ ty Tahitian 0%
βœ… tg Tajik 100%
βœ… ta Tamil 100%
βœ… tt Tatar 100%
βœ… te Telugu 100%
βœ… th Thai 100%
❌ bo Tibetan 0%
βœ… ti Tigrinya 100%
❌ ts Tsonga 0%
❌ tn Tswana 0%
βœ… tr Turkish 100%
βœ… tk Turkmen 100%
βœ… uk Ukrainian 100%
❌ b+hsb Upper Sorbian 0%

Featuring Rucky


Legacy Work

RPi HID Android Android

More Repositories

1

Rucky-Legacy-HID

Legacy Rucky Binaries
C
10
star
2

HackingTools

Scripts to perform basic ethical hacking
AutoIt
8
star
3

Rucky-Ext-RPi

Raspberry Pi Extension for Rucky
Shell
8
star
4

Rucky-KeyMap

Python
6
star
5

EVILTWIN

WPA Evil Twin
Shell
5
star
6

HackingSteps

A list of common ethical hacking tools
5
star
7

MTech-Project-Phase1-Android-Malware-Detection

MTech Project Phase 1 Snapshot
Jupyter Notebook
4
star
8

Hacker101-CTF

4
star
9

aosp_framework_perm_list

Generates JSON/HTML pages of permission groups and permissions mentioned in AOSP Framework Base.
Python
4
star
10

MTech-Project-Phase2-Android-Malware-Analysis

MTech Project Phase 2 Snapshot
Jupyter Notebook
4
star
11

RubberDuckyScripts

List of rubber ducky scripts
3
star
12

mayankmetha.github.io

JavaScript
3
star
13

dynamic_process_name

POC of changing android process name using glibc's __progname.
Java
3
star
14

aws-basic-web-server

TypeScript
3
star
15

aosp_permission_api_mapping

Generate Android AOSP API mapping to its permission.
Python
3
star
16

pdf-csv

Python
3
star
17

Nethunter-Hammerhead-Kernel

C
2
star
18

microservices-demo-with-docker

Basic understanding on concept of micro service architecture
JavaScript
2
star
19

selfie-share

TypeScript
2
star
20

VoterChain

blockchain based evoting system
JavaScript
2
star
21

libusbrubberducky

C++
2
star
22

RabinKarpRsaAlgo

Python
1
star
23

smartPresenceLightIoT

Python
1
star
24

jaccard-similarity

spark/pyspark implementation of jaccard's similarity
Python
1
star
25

VTUFEST2K17

Java
1
star
26

sqli

Python
1
star
27

mayankmetha

1
star
28

LRU

Java
1
star
29

basic-zk

Java
1
star
30

avlAndMinHeap

Java
1
star
31

digit-classification

Python
1
star
32

giraph-hits

Java
1
star
33

VoterChainVerifier

JavaScript
1
star
34

Notilizer2

Analyses your Notifications that Android Generates
Java
1
star
35

SkipList

Java
1
star
36

diseaseAlert

Java
1
star
37

Population-Database

HTML
1
star
38

learning_java

Java
1
star
39

wearcamera

Proof of Concept of remote camera access in android using android wear
Java
1
star
40

SocialFinder

Java
1
star
41

Y86-Simulator

Python
1
star
42

currencyConversion

JavaScript
1
star
43

ipl-2k19-prediction

Jupyter Notebook
1
star
44

VoterChain2

JavaScript
1
star
45

dark-rEFInd

rEFInd theme
1
star
46

sockets

C
1
star
47

tf-idf-mapreduce

Java
1
star
48

android_kernel_oneplus_msm8994

C
1
star
49

BalancingEquations

Contains Open Source Code for the App, Play Store Android App Project, Privacy Policy.
Kotlin
1
star
50

IrrigationSystem

C++
1
star
51

Wikipedia-URL-Miner

Mining wikipedia page for links to other wikipedia pages and stores the links into a file.
Python
1
star
52

simpleSmartLight

Python
1
star