Coder Social home page Coder Social logo

Comments (7)

urbanadventurer avatar urbanadventurer commented on July 18, 2024

Hi @cyb3rm00n, an unlock pattern can be sent through an emulated mouse device. It can't be sent as keyboard input (EDITED)

Perhaps you could help by finding and sharing some more up to date resources on how the Android pattern is implemented for 4x4 or 5x5 grids?

There's some good resources on this topic:

Android Pattern Lock Cracker
Really, the pattern lock is the SHA1 hash sequence of digits (0-8) with length from 3 (4 since Android 2.3.3) to 8.

https://github.com/sch3m4/androidpatternlock

On User Choice for Android Unlock Patterns
Abstract—Android Unlock Patterns are one of the most widelyused graphical password schemes. However, the scheme’s securityis limited by users not choosing patterns uniformly but with aspecific bias. In this work we take a closer look at this bias, inparticular how personal traits influence the chosen patterns. Weconducted a user study with 800 participants and demonstratethat certain factors such as age, gender, and experience inIT significantly influence the strength or length of the chosenpatterns. This has implications both for how we can help usersto select stronger patterns and for forensic applications.

https://www.ei.ruhr-uni-bochum.de/media/mobsec/veroeffentlichungen/2019/06/19/01-on-user-choice-for-android-unlock-patterns.pdf

Note: this has data on the most popular unlock patterns.

from android-pin-bruteforce.

cyb3rm00n avatar cyb3rm00n commented on July 18, 2024

Thank you for the resources. Although If I have understood correctly, I could use any wireless keyboard to connect to a phone and unlock de pattern with the corresponding numbers. That doesn't work (or at least it doesn't work for me), that's why I'm interested in that missing feature.

from android-pin-bruteforce.

urbanadventurer avatar urbanadventurer commented on July 18, 2024

You could use a regular wired keyboard. Plug a USB OTG adaptor into the locked phone, then plug a regular keyboard into the adaptor. Now you can press numbers and it will interact with the pattern lockscreen.

A wireless keyboard would need to be connected to the device first and that would be more complicated.

from android-pin-bruteforce.

urbanadventurer avatar urbanadventurer commented on July 18, 2024

Another approach for pattern cracking is to emulate mouse movements on the phone.

from android-pin-bruteforce.

cyb3rm00n avatar cyb3rm00n commented on July 18, 2024

I think I didn't explain myself properly. When I said wireless keyboard I meant a keyboard connected by USB OTG, my fault. At least for me, - i've tried with two different phones - doesn't work the pressing number method to interact with the pattern, the phone doesn't react to the numbers been pressed. I've tried with a wired mouse plugged on a USB OTG but the pressing is not consistent enough so it's not posible to form the pattern (i don't know why).

from android-pin-bruteforce.

urbanadventurer avatar urbanadventurer commented on July 18, 2024

Pattern cracking will have to be implemented through an emulated mouse device.

from android-pin-bruteforce.

JMRMEDEV avatar JMRMEDEV commented on July 18, 2024

I would like to contribute with this feature. Just need resources on how to send mouse signals over your implementation and how to develop scripts with your tool.

from android-pin-bruteforce.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.