Hacking Articles Tips Tricks Videos Tutorials
468 subscribers
65.8K photos
15 videos
157 files
132K links
Exploit
Pentesting
Hacking
Red Team
Blue Team
Kali Linux
Bug Bounty
Black Hat
Cyber security etc

@Hacking_Video
@Hacking_attack
Download Telegram
Try powering off the phones and even taking out the batteries if that is possible.
Try new cables
Try using new cables/adaptors as you may have a faulty cable/adaptor.
If it doesn't unlock the phone with a correct PIN
You might be sending keys too fast for the phone to process. Increase the DELAY_BETWEEN_KEYS variable in the config file.  If you don't see 4 dots come up on the phone's screen then maybe it is not receiving 4 keys.
 Managing Power Consumption
If your phone runs out of power too soon, follow these steps: Make sure both phones are fully charged to 100% before you begin Reduce the screen brightness on both the victim phone and NetHunter phone if possible Place both phones into Airplane mode, however you may want to enable WiFi to access the NetHunter phone via SSH. The locked phone will power the NetHunter phone, because it appears as a keyboard accessory Use a USB OTG cable with a Y splitter for an external power supply, to allow charging of the NetHunter phone while cracking Take breaks to charge your devices. Pause the script with CTRL-Z and resume with the fg shell command. Avoid the SEND_KEYS_STAY_AWAKE_DURING_COOLDOWN_EVERY_N_SECONDS configuration option. This will cause the locked phone to use more battery to keep the screen powered. Instead use the SEND_KEYS_DISMISS_POPUPS_N_SECONDS_BEFORE_COOLDOWN_END option (Default).
Check the Diagnostics Report
Use the command diag display diagnostic information. bash ./android-pin-bruteforce diag If you receive this message when the USB cable is plugged in then try taking the battery out of the locked Android phone and power cycling it. [FAIL] HID USB device not ready. Return code from /system/xbin/hid-keyboard was 5.
How the usb-devices command works
The diagnostics command uses the usb-devices script but it is only necessary as part of determining whether the USB cables are incorrectly connected. This can be downloaded from https://github.com/gregkh/usbutils/blob/master/usb-devices
Use verbose output
Use the --verbose option to check the configuration is as expected. This is especially useful when you are modifying the configuration.
Use the dry-run
Use the --dry-run option to check how it operates without sending any keys to a device. This is especially useful when you are modifying the configuration or during development. Dry run will: Not send any keys Will continue instead of aborting if the KEYBOARD_DEVICE or HID_KEYBOARD is missing.
HID USB Mode
Try this command in a shell on the NetHunter phone: /system/bin/setprop sys.usb.config hid
 Known Issues
This cannot detect when the correct PIN is guessed and the phone unlocks. Your phones may run out of  battery before the correct PIN is found. Don't trust phone configuration files from unknown sources without reviewing them first. The configuration files are shell scripts and could include malicious commands.
 Roadmap
[DONE] Works [DONE] Detects USB HID failures [DONE] Improve Usage and commandline options/config files [DONE] Add bruteforce for n digit PINs [DONE] Mask for known digits [DONE] Crack PIN list in reverse (to find which recent PIN unlocked the device) [DONE] Implement configurable lockscreen prompt [DONE] Implement cooldown change after 10 attempts [WORKING] Find/test more devices to bruteforce Add progress bar Add ETA ASCII art Nicer GUI for NetHunter Implement for iPhone Detect when a phone is unlocked (Use Nethunter camera as a sensor?) Crack Android Patterns (try common patterns first)
 Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.
 Authors and acknowledgment
Developed by Andrew Horton (@urbanadventurer).  The following people have been very helpful: Vlad Filatov (@v1adf): Testing many phones for the Wiki Phone Database
Motivation
Credit
The optimised PIN list is from Justin Engler (@justinengler) & Paul Vines from Senior Security Engineer, iSEC Partners and was used in their Defcon talk, Electromechanical PIN Cracking with Robotic Reconfigurable Button Basher (and C3BO). (https://www.defcon.org/html/defcon-21/dc-21-speakers.html#Engler).
Graphics
Designed by Andrew Horton and gratefully using these free vector packs: USB Ports Isometric Free Vector by VisionHeldup (https://www.vecteezy.com/vector-art/159576-usb-ports-isometric-free-vector) HDMI and USB Vector Set by Mary Winkler (https://www.vecteezy.com/vector-art/107006-hdmi-and-usb-vector-set) Isometric Data Security Illustration by Rizal.Medanguide (https://www.vecteezy.com/vector-art/661831-isometric-data-security-illustration) Kali NetHunter Logo
 Comparison with other projects and methods to unlock a locked Android phone

What makes this project unique?
I've been asked what makes this project unique when there are other open-source Android PIN cracking projects. Android-PIN-Bruteforce is unique because it cracks the PIN on Android phones from a NetHunter phone and it doesn't need the locked phone to be pre-hacked. It works: Without having to buy special hardware, such as a Rubber Ducky, Celebrite, or XPIN Clip. Without ADB or root access (the phone doesn't have to be pre-hacked). Project ADB/USB Debugging Requires root Requires $ hardware Commercial Android-PIN-Bruteforce No No Nethunter phone No github.com/PentesterES/AndroidPINCrack Yes Yes No No github.com/ByteRockstar1996/Cracking-Android-Pin-Lock Yes Yes No No github.com/sch3m4/androidpatternlock Yes Yes No No github.com/georgenicolaou/androidlockcracker Yes Yes No No github.com/MGF15/P-Decode Yes Yes No No github.com/BitesFor/ABL Yes Yes No No github.com/wuseman/WBRUTER Yes No No No github.com/Gh005t/Android-BruteForce Yes No No No github.com/mandatoryprogrammer/droidbrute No No Rubber Ducky $ No github.com/hak5darren/USB-Rubber-Ducky No No Rubber Ducky $ Yes github.com/bbrother/stm32f4androidbruteforce No No STM32F4 dev board $ No hdb-team.com/product/hdbox/ No No HDBOX $$ Yes xpinclip.com No No XPINClip $$ Yes cellebrite.com/en/ufed/ No No Cellebrite UFED $$$ Yes Some of these projects/products are really awesome but they achieve a different goal to Android-PIN-Bruteforce. If a project requires a gestures.key or password.key, I've listed it as requiring root. If a project requires a custom bootloader, I've listed that as requiring both ADB and root. If you would like your project listed in this table then please open a new issue. There are links to each of these projects in the  Related Projects & Futher Reading section.
 Regular phone users
Try the top 20 PINs from the DataGenetics PIN analysis (https://datagenetics.com/blog/september32012/index.html) that apparently unlocks 26.83% of phones. Use an SMS lock-screen bypass app (requires app install before phone is locked) Use Samsung Find My Mobile (requires you set it up before phone is locked) Crash the Lock Screen UI (Android 5.0 and 5.1) Use the Google Forgot pattern, Forgot PIN, or Forgot password (Android 4.4 KitKat and earlier) Factory Reset (you lose all your data
Users who have already replaced their Android ROM
If the phone has already been rooted, has USB debugging enabled, or has adb enabled. Flash the Pattern Password Disable ZIP using a custom recovery (Requires TWRP, CMW, Xrec, etc.) Delete /data/system/gesture.key or password.key (requires root and adb on locked device) Crack /data/system/gesture.key and password.key (requires root and adb on locked device) Update sqlite3 database settings.db (requires root and adb on locked device)
 Forensic Investigators
These methods can be expensive and are usually only used by specialised phone forensic investigators. In order of difficulty and expense: Taking advantage of USB debugging being enabled (Oxygen Forensic Suite) Bruteforce with keyboard emulation ( Android-PIN-Bruteforce, RubberDucky attack, XPIN Clip, HBbox) JTAG (Interface with TAPs (Test Access Ports) on the device board) In-System Programming (ISP) (Involves directly connecting to pins on flash memory chips on the device board) Chip Off (Desolder and remove flash memory chips from the device) Clock Glitching / Voltage Fault Injection (https://www.kitploit.com/search/label/Fault%20Injection) (Hardware CPU timing attacks to bypass PIN restrictions) Bootloader exploits (Zero-day exploits that attack the bootloader. GrayKey from Grayshift and Cellebrite) JTAG, ISP, and Chip Off techniques are less useful now because most devices are encrypted. I don't know of any practical attacks on phone PINs that use clock glitching, if you know of a product that uses this technique please let me know so I can include it. Security Professionals and Technical Phone Users
Use the USB HID Keyboard Bruteforce with some dedicated hardware. A RubberDucky and Darren Kitchen's Hak5 brute-force script Write a script for a USB Teensy Buy expensive forensic hardware Or you can use Android-PIN-Bruteforce with your NetHunter phone! Attempts to use an otherwise awesome project Duck Hunter, to emulate a RubberDucky payload for Android PIN cracking did not work. It crashed the phone probably because of the payload length.
Related Projects & Futher Reading

USB HID Hardware without NetHunter
hak5 12x17: Hack Any 4-digit Android PIN in 16 hours with a USB Rubber Ducky https://archive.org/details/hak5_12x17 Hak5: USB Rubber Ducky https://shop.hak5.org/products/usb-rubber-ducky-deluxe USB-Rubber-Ducky Payloads https://github.com/hak5darren/USB-Rubber-Ducky/wiki/Payloads Teensy https://www.pjrc.com/teensy/ Brute Forcing An Android Phone with a STM32F4Discovery Development Board https://github.com/bbrother/stm32f4androidbruteforce https://hackaday.com/2013/11/10/brute-forcing-an-android-phone/ Automated brute force attack against the Mac EFI PIN (Using a Teensy) https://orvtech.com/atacar-efi-pin-macbook-pro-en.html https://hackaday.io/project/2196-efi-bruteforcer Droidbrute: An Android PIN cracking USB rubber ducky payload made efficient with a statistically generated wordlist. https://github.com/mandatoryprogrammer/droidbrute Discussion forum about the hak5 episode, and Android Brute Force 4-digit pin https://forums.hak5.org/topic/28165-payload-android-brute-force-4-digit-pin/
NetHunter HID keyboard attacks
NetHunter HID Keyboard Attacks https://www.kali.org/docs/nethunter/nethunter-hid-attacks/
Linux Kernel HID support
Human Interface Devices (HID) https://www.kernel.org/doc/html/latest/hid/index.html# Linux USB HID gadget driver and hid-keyboard program https://www.kernel.org/doc/html/latest/usb/gadget_hid.html https://github.com/aagallag/hid_gadget_test The usb-devices script https://github.com/gregkh/usbutils/blob/master/usb-devices
Cracking Android PIN and Pattern files
AndroidPINCrack - bruteforce the Android Passcode given the hash and salt (requires root on the phone) https://github.com/PentesterES/AndroidPINCrack Android Pattern Lock Cracker - bruteforce the Android Pattern given an SHA1 hash (requires root on the phone) https://github.com/sch3m4/androidpatternlock
General Recovery Methods
[Android][Guide]Hacking And Bypassing Android Password/Pattern/Face/PI https://forum.xda-developers.com/showthread.php?t=2620456 Android BruteForce using ADB & Shell Scripting https://github.com/Gh005t/Android-BruteForce
Forensic Methods and Hardware
PATCtech Digital Forensics: Getting Past the Android Passcode http://patc.com/online/a/Portals/965/Android%20Passcode.pdf XPIN Clip https://xpinclip.com/ HDBox from HDB Team https://hdb-team.com/product/hdbox/ Cellebrite UFED https://www.cellebrite.com/en/ufed/ GrayKey from Grayshift https://www.grayshift.com/graykey/
PIN Analysis
Electromechanical PIN Cracking with Robotic Reconfigurable Button Basher (and C3BO) https://www.defcon.org/html/defcon-21/dc-21-speakers.html#Engler DataGenetics PIN analysis https://datagenetics.com/blog/september32012/index.html

Download Android-PIN-Bruteforce (https://github.com/urbanadventurer/Android-PIN-Bruteforce)
Hacking Articles Tips Tricks Videos Tutorials
Photo
Hacking on Medium
How to bypass encryption mechanism in Android apps

https://cdn-images-1.medium.com/max/1280/1*y5rEnE60_r5M4R2FtMMbZQ.jpeg
Hi Folks, hope you are well. As you know developers and pentesters are always into a cat and mouse game. No matter how much we want to…

Continue reading on Medium »
Hacking Articles Tips Tricks Videos Tutorials
Photo
Hacking on Medium
Claim Your Privacy

1. Do privacy even matters? 
Your all internet activity is getting logged like what is your preference while making choices of your…

Continue reading on Medium »
Hacking Articles Tips Tricks Videos Tutorials pinned «Android-PIN-Bruteforce - Unlock An Android Phone (Or Device) By Bruteforcing The Lockscreen PIN http://www.kitploit.com/2021/04/android-pin-bruteforce-unlock-android.html»
Hacking Articles Tips Tricks Videos Tutorials
Photo
KitPloit - PenTest Tools!
Android-PIN-Bruteforce - Unlock An Android Phone (Or Device) By Bruteforcing The Lockscreen PIN

https://1.bp.blogspot.com/-vC53ouNt_VU/YHYwLilxXMI/AAAAAAAAV4w/NatBA4yVXqgNYgLW5FmQyx2mpKX8XLMrQCNcBGAsYHQ/w640-h442/Android-PIN-Bruteforce_1.png Unlock an Android phone (or device) by bruteforcing the lockscreen PIN.

Turn your Kali Nethunter phone into a bruteforce PIN cracker for Android devices! How it worksIt uses a USB OTG cable to connect the locked phone to the Nethunter device. It emulates a keyboard, automatically tries PINs, and waits after trying too many wrong guesses.
[Nethunter phone] <--[USB cable] <--[USB OTG adaptor] <--[Locked Android phone]


The USB HID Gadget driver provides emulation of USB Human Interface Devices (HID). This enables an Android Nethunter device to emulate keyboard input to the locked phone. It's just like plugging a keyboard into the locked phone and pressing keys.
This takes just over 16.6 hours with a Samsung S5 to try all possible 4 digit PINs, but with the optimised PIN list it should take you much less time. You will need* A locked Android phone
* A Nethunter phone (or any rooted Android with HID kernel support)
* USB OTG (On The Go) cable/adapter (USB male Micro-B to female USB A), and a standard charging cable (USB male Micro-B to male A).
* That's all! Benefits* Turn your NetHunter phone into an Android PIN cracking machine
* Unlike other methods, you do not need ADB or USB debugging enabled on the locked phone
* The locked Android phone does not need to be rooted
* You don't need to buy special hardware, e.g. Rubber Ducky, Teensy, Cellebrite, XPIN Clip, etc.
* You can easily modify the backoff time to crack other types of devices
* It works! Features* Crack PINs of any length from 1 to 10 digits
* Use config files to support different phones
* Optimised PIN lists for 3,4,5, and 6 digit PINs
* Bypasses phone pop-ups including the Low Power warning
* Detects when the phone is unplugged or powered off, and waits while retrying every 5 seconds
* Configurable delays of N seconds after every X PIN attempts
* Log file InstallationTBC Executing the scriptIf you installed the script to /sdcard/, you can execute it with the following command. bash ./android-pin-bruteforceNote that Android mounts /sdcard with the noexec flag. You can verify this with mount. UsageAndroid-PIN-Bruteforce (0.1) is used to unlock an Android phone (or device) by bruteforcing the lockscreen PIN.
Find more information at: https://github.com/urbanadventurer/Android-PIN-Bruteforce

Commands:
crack Begin cracking PINs
resume Resume from a chosen PIN
rewind Crack PINs in reverse from a chosen PIN
diag Display diagnostic information
version Display version information and exit

Options:
-f, --from PIN Resume from this PIN
-a, --attempts Starting from NUM incorrect attempts
-m, --mask REGEX Use a mask for known digits in the PIN
-t, --type TYPE Select PIN or PATTERN cracking
-l, --length NUM Crack PINs of NUM length
-c, --config FILE Specify configuration file to load
-p, --pinlist FILE Specify a custom PIN list
-d, --dry-run Dry run for testing. Does n't send any keys.
-v, --verbose Output verbose logs

Usage:
android-pin-bruteforce [options]
Supported Android Phones/DevicesThis has been successfully tested with various phones including the Samsung S5, S7, Motorola G4 Plus and G5 Plus.

It can unlock Android versions 6.0.1 through to 10.0. The ability to perform a bruteforce attack doesn't depend on the Android version in use. It depends on how the device vendor developed their own lockscreen.

Check the Phone Database for mor[...]
hacking: security in practice
Deauthentication vs Disassociation

Hello, i am new into networks and i was wondering what is the difference between Deauthentucation attack and Disassociation attack? And some tools that can help me start these attacks.

submitted by /u/Cry4UU
[link] [comments]
Hacking Articles Tips Tricks Videos Tutorials
Photo
hacking: security in practice
Impacked module not fund but I'm sure I have Impacked installed

Hello guys, I explain my problem, I am trying to execute this code in python https://github.com/helviojunior/MS17-010 the thing is that when I run it it gives me the following error:

Traceback (most recent call last):
//// File "send_and_execute.py", line 2, in <module
from impacket import smb, smbconnection

/// ImportError: No module named impacket

I am aware that it has an error, I know that impacket is missing but I am sure that I have it installed because I have installed it manually, any python master who can tell me what the problem is?

ps: I have already reinstalled impacket with pip and from the system itself,

sorry for the inconvenience and greetings

submitted by /u/natone2
[link] [comments]