Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New steam app and extracting maFile details #780

Open
berkinkadiroglu opened this issue Oct 30, 2022 · 4 comments
Open

New steam app and extracting maFile details #780

berkinkadiroglu opened this issue Oct 30, 2022 · 4 comments

Comments

@berkinkadiroglu
Copy link

Today I've set up a new account on a rooted Android phone, but the file "Steamguard-7656119....." is not in the same place as it should be. (/data/data/com.valvesoftware.android.steam.community/files/). There are bunch of other files, I looked into every one of them and none are the files I'm looking for.

Did anyone ever extracted files from the newly updated steam app?

@dyc3
Copy link
Contributor

dyc3 commented Oct 31, 2022

Probably not.

@hubertsng
Copy link

This isn't going to sound like I'm telling the truth, which I very well might not be. But I think I found a file similar to the unencrypted maFile when my steam 3.0 did NOT have steam guard and my only steam guard was on my PC. I was comparing the files within there against an encrypted maFile and trying to find something of comparable string length. It said something along the lines of shared secret which is why I compared its ~250 character count against the entire encrypted ~800 character count and then proceeded to toss it away.

This would be coming from a Steam app which never had steam guard on it and was upgraded from 2.x. I didn't even realize we could still do this since Jessecar said that it was removed due to being buggy but I just backed up my 3.0 w/ only steam guard to be safe, downgraded to 2.x with apkmirror and transferred the steam guard there, and then updated to 3.0 via play store. Obviously when at 2.x, I brought it over to my PC and verifies that it works and I was able to put listings (on hold) on the marketplace. So until Steam drops support for 2.x or does something else, this isn't required to even find out.

@Silveere
Copy link

I think the new Android app stores the keys in an encrypted form (in shared_prefs/SecureStore.xml). I was able to downgrade to Steam 2.x from APKMirror and transfer Steam Guard to the older version, which let me extract the keys from files/Steamguard-*. I was then able to upgrade the app again, and the keys stayed the same but I was able to keep using Steam Guard from the mobile app as well as my authenticator.

@1RandomDev
Copy link

1RandomDev commented Dec 25, 2022

the new Android app stores the keys in an encrypted form

But the real question is, which key is used for encryption? Looks like they're using the SecureStore APi of the Expo Framework (https://docs.expo.dev/versions/latest/sdk/securestore/) and the key is stored in the Android KeyStore. So can't it just be extracted?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants
@dyc3 @Silveere @hubertsng @1RandomDev @berkinkadiroglu and others