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

Post-2017 support #2

Open
neftaly opened this issue Sep 14, 2017 · 13 comments
Open

Post-2017 support #2

neftaly opened this issue Sep 14, 2017 · 13 comments

Comments

@neftaly
Copy link

neftaly commented Sep 14, 2017

As of early 2017, Samsung seems to have patched the Samdunk backdoor, at least in eMMC-derived microSDHC cards (Evo+). SAMSUNG_VENDOR_OPCODE 0xEFAC62EC seems to work, but PROGRAM_CID_OPCODE does not appear to stick.

Does vendor mode still work expected? Is it possible to flash an old firmware dump?

@neftaly
Copy link
Author

neftaly commented Sep 14, 2017

I'm happy to donate microSDHC cards if you'd like to follow up, @beaups :)
Out of interest, what did you use to generate graphical trees from asm in your PDF?

@Fuzion24
Copy link

Screenshots of IDA?

Out of interest, what did you use to generate graphical trees from asm in your PDF?

@neftaly
Copy link
Author

neftaly commented Sep 14, 2017

Cheers, haven't touched assembly in more than a decade!

@beaups
Copy link
Owner

beaups commented Oct 12, 2017

neftaly - no idea if they've patched this or not, i haven't done any research on this since I wrote this article and code. It would not surprise me if they removed the functionality or changed the backdoor process or code.

@samjang
Copy link

samjang commented Nov 18, 2017

@beaups do you still have the code to read out the firmware somewhere? ;)

@nkichukov
Copy link

Hi all,
I have also gotten one post-2017 evo plus micro sd card however updating the CID does not work for me either.
Entering vendor mode succeeds. Setting the backdoor fails. Exiting vendor mode fails.

Would be nice if you could reverse engineer further as those old evo plus cards are hard to find and changing CID is handy to have.

Thank you,
-N

@beaups
Copy link
Owner

beaups commented Feb 1, 2018

@nkichukov @neftaly what is the point of changing CID on these EVO cards? It's likely they've changed or removed the backdoor due to making this issue public.

@neftaly
Copy link
Author

neftaly commented Feb 2, 2018 via email

@beaups
Copy link
Owner

beaups commented Feb 2, 2018

Ah. I'm not interested in piracy, didn't anticipate this work being used for that.

@nkichukov
Copy link

If the card supports it, I see no reason why not maintaining the code that can actually do it. If that is no longer the case, I guess we are out of luck.

Piracy is not the right term as there might be various use cases to that.
Thanks!
-N

@beaups
Copy link
Owner

beaups commented Feb 2, 2018 via email

@zhuowei
Copy link

zhuowei commented Apr 7, 2018

I noticed that this patent also uses 0xEFAC62EC to enter factory mode, but mentions using 0x00cced82 to enable CID write. Is this related to Samsung cards?

@beaups
Copy link
Owner

beaups commented Apr 7, 2018

That's an interesting find zhuowei. Looks to be a different way to do it, and considering the factory mode command is the same, probably safe to assume its Samsung related.

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