I need the encrypt function password pin for Android ? project for school - Android Q&A, Help & Troubleshooting

I chosen a project at security information to find a password from a phone with Android.
I found in password.key from data/system/ a crypto text with 97 characters ,how are generate that crypto text ? Which is the function ?
I need that function to do bruteforce on that password /pin with 4 digits.

Related

[Q] IMAP account configuration: missing option STARTTLS with encrypted password

Hello
I installed 4.1.1 on a MB525 (Defy) according to the honorable post in <http://forum.xda-developers.com/showthread.php?t=1768702> and it works like a charm!
One thing I am missing is: Configuration options for the IMAP account are not as fine granular as in the stock Motorola. Especially I can't configure to an IMAP server supporting the following:
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN AUTH=DIGEST-MD5 AUTH=CRAM-MD5] Dovecot ready.
Means: IMAP with STARTTLS and encrypted (MD5) password
What is supported by the 4.1.1: None, SSL/TLS, SSL/TLS (all certs accepted), STARTTLS, STARTTLS (all certs accepted).
What I would need is STARTTLS with password encryption md5 (automatically detected or fixed configurable).
How could I solve this issue?
Regards
TinL
Q does not seem to be Question
Hello
it does not seem to be an issue for Android 4.1 in general.
Regards
TinL

[Q] email HostAuth password encryption type?

Hello anyone know what is the encryption type for the stock email app for the galaxy s3 GT-I9300 andriod 4.1.2
that stored in the database:
/data/data/com.android.email/EmailProvider.db
Click to expand...
Click to collapse
table:
HostAuth
Click to expand...
Click to collapse
column:
Password
Click to expand...
Click to collapse
i search google all the articals seem old and saying the password is stored in clear text, but when i open the table the passwords is hashed and it is encoded in a way similar to base64, i think it is some type on SHA1 encryption.
I run john the ripper on the hash but didnt recognize it.
any idea? thanks
up
Bump...was this ever solved?
How to decode the encrypted password in EmailProvider.db
The encryption used is AES with the following settings:
- block size: 128 bits
- mode of operation: CBC (Cipher Block Chaining)
- initialization vector: 0 (all bits set to 0)
- key: 0ea7923ecc6e979f633d0415a1e20871
In linux, it can be decoded with the following command:
Code:
openssl aes-128-cbc -d -a -K 0ea7923ecc6e979f633d0415a1e20871 -iv 0
Links:
Detailed description of the encryption: github.com/lovasoa/samsung-email-password-decrypt
Original decryption app in java: github.com/yajin/android_toolset
Web application
I created a small webpage that allows you to decode the passwords in your browser:
lovasoa.github.io/samsung-email-password-decrypt
This is pure js, your passwords are not sent over the network.

Feature Request: Change Device Encryption Password

I enjoy PA's decoupling of the encryption and lock screen passwords. Once encryption has been set up, the lock screen pin/password can be changed independently of the encryption password. I am requesting to augment this feature by allowing the user to change the encryption password as well, possibly via a new option in the Encryption section of Settings -> Security.
The current encryption password can be verified by running the following as root:
Code:
vdc cryptfs verifypw <password>
The encryption password can be changed by running the following as root:
Code:
vdc cryptfs changepw <new_password>
I have been meaning to add an option but haven't found the time
Sent from my Nexus 5 using Tapatalk

Changing boot-time FDE password on Android 8?

I initially posted this in the OnePlus Six forum, as this is regarding the stock firmware on my shiny new OnePlus phone. I've received no answer there, and I figured this is probably more of a general Android 8 question, so I'm trying here.....
Much as with previous Android phones, I want to separate the FDE passphrase from my PIN - I want the phone to require a complex password to boot, but a simple PIN for regular use.
I've set a simple PIN right now, but I'm having trouble setting a password for the boot-time check.
The Cryptfs Password app seems to have a syntax issue - it chokes on 'incorrect password' even when I correctly enter the current PIN.
Running from a root-level terminal, I can interact with the encryption system via
Code:
vdc cryptfs [command] [arg] [arg] [arg]
and it gives a response code consisting of several numbers
If I run
Code:
vdc cryptfs verifypw 1234
a response code starting with 200 should indicate that the password is correct. Unfortunately, it returns a 200 code regardless of what password I enter.
The syntax for password changes appears to be
Code:
vdc cryptfs changepw default|password|pin|pattern [currentpassword] default|password|pin|pattern [newpasswd]
but I cannot find any permutation of this command that lets me actually set a password for the FDE.
Any Oreo gurus able to offer any insight?

Android Password Authentication

I am trying to understand how the android password authenticator works in some specific app.
There is this line of code in the app:
PasswordAuthentication auth = java.net.Authenticator.requestPasswordAuthentication(url.host(), getConnectToInetAddress(proxy, url), url.port(), url.scheme(), challenge.getRealm(), challenge.getScheme(), url.url(), RequestorType.SERVER);
I know that the requestPasswordAuthentication function Ask the authenticator that has been registered with the system for a password. It then returns the username and password and store them in "auth".
My questions are:
what is the authenticator that has been registered with the system? where is this password stored? Where does it get the password from?

Categories

Resources