Hacking TSEC hacking challenge

  • Thread starter Deleted-471350
  • Start date
  • Views 12,005
  • Replies 46
  • Likes 5
Status
Not open for further replies.
D

Deleted-471350

Guest
A few months ago since the TSEC SMMU bypass possibility was revealed, I started working on that as a fun CTF exercise. Two days later I got it working and could not believe how easy and simple it was to extract the 6.2.0 TSEC root key.

This time I'm trying to see if TSEC can be cracked for any firmware, by going after the TSEC code authentication and csecrets.
I've already made strides, and managed to:
- Dump all csecrets with ACL mask 0x13
- Access to many priviledged instructions in Heavy Secure (HS) mode, such as csigenc, etc.
- Discovered there is some kind of ROM inside TSEC that performs authentication entry and potentially vulnerable
- Discovered some flaws and oddities that are useful in a chain of attack but don't wish to divulge here in public

But I'm starting to feel like it would be more beneficial to have some collaboration going and bounce ideas.
So that's the reason I'm posting here. To gauge if anyone else is interested in working on the same goal and to get some collaboration going, maybe on Discord or something similar.
This might not be the right forum to do so, so if not, let me know where the right place would be.

Thanks!
 

Lacius

Well-Known Member
Member
Joined
May 11, 2008
Messages
18,099
Trophies
3
XP
18,338
Country
United States
A few months ago since the TSEC SMMU bypass possibility was revealed, I started working on that as a fun CTF exercise. Two days later I got it working and could not believe how easy and simple it was to extract the 6.2.0 TSEC root key.

This time I'm trying to see if TSEC can be cracked for any firmware, by going after the TSEC code authentication and csecrets.
I've already made strides, and managed to:
- Dump all csecrets with ACL mask 0x13
- Access to many priviledged instructions in Heavy Secure (HS) mode, such as csigenc, etc.
- Discovered there is some kind of ROM inside TSEC that performs authentication entry and potentially vulnerable
- Discovered some flaws and oddities that are useful in a chain of attack but don't wish to divulge here in public

But I'm starting to feel like it would be more beneficial to have some collaboration going and bounce ideas.
So that's the reason I'm posting here. To gauge if anyone else is interested in working on the same goal and to get some collaboration going, maybe on Discord or something similar.
This might not be the right forum to do so, so if not, let me know where the right place would be.

Thanks!
A few things:
  1. People have already cracked TSEC at the hardware level.
  2. The aforementioned exploits affect all Falcon v5 based controllers.
  3. Anybody can use sept to deal with TSEC without needing to actually crack TSEC nor possess the keys.
For these reasons and more, there's no reason to worry about cracking TSEC, unless you're TX and don't want to have to include the Atmosphere logo attached to sept because your business model necessitates ignorance of free custom firmwares. Because of that, you're unlikely to find much help here.
 
D

Deleted-471350

Guest
A few things:
  1. People have already cracked TSEC at the hardware level.
  2. The aforementioned exploits affect all Falcon v5 based controllers.
  3. Anybody can use sept to deal with TSEC without needing to actually crack TSEC nor possess the keys.
For these reasons and more, there's no reason to worry about cracking TSEC, unless you're TX and don't want to have to include the Atmosphere logo attached to sept because your business model necessitates ignorance of free custom firmwares. Because of that, you're unlikely to find much help here.

Again, see my comment about CTFs. You're missing the point entirely
 
  • Like
Reactions: WiiHomebrew+Snes

Lacius

Well-Known Member
Member
Joined
May 11, 2008
Messages
18,099
Trophies
3
XP
18,338
Country
United States
Does nobody here do CTFs for fun? Even though this will probably fall on deaf ears, I'm not associated with TX.
Again, see my comment about CTFs. You're missing the point entirely
See my post above. What you're asking only serves to do one or more of the following:
  1. Give TX a way to bypass sept so they don't reveal to their customers that free CFW is available.
  2. Make an exploit public, causing it to be consumed if/when Nintendo releases a hardware revision.
  3. Make an exploit public that doesn't just apply to the Switch, causing security issues for various products and people.
If you really want to do this for fun, even though we have sept, do so in a more private setting.
 

Adran_Marit

Walküre's Hacker
Member
Joined
Oct 3, 2015
Messages
3,781
Trophies
1
Location
42*South
XP
4,562
Country
Australia
A few months ago since the TSEC SMMU bypass possibility was revealed, I started working on that as a fun CTF exercise. Two days later I got it working and could not believe how easy and simple it was to extract the 6.2.0 TSEC root key.

This time I'm trying to see if TSEC can be cracked for any firmware, by going after the TSEC code authentication and csecrets.
I've already made strides, and managed to:
- Dump all csecrets with ACL mask 0x13
- Access to many priviledged instructions in Heavy Secure (HS) mode, such as csigenc, etc.
- Discovered there is some kind of ROM inside TSEC that performs authentication entry and potentially vulnerable
- Discovered some flaws and oddities that are useful in a chain of attack but don't wish to divulge here in public

But I'm starting to feel like it would be more beneficial to have some collaboration going and bounce ideas.
So that's the reason I'm posting here. To gauge if anyone else is interested in working on the same goal and to get some collaboration going, maybe on Discord or something similar.
This might not be the right forum to do so, so if not, let me know where the right place would be.

Thanks!

I highly disagree with this, considering tsec is already owned, having that information public will just urge nintendo to improve security more and bring major changes to ver8 to block cfw again
 

Purple_Heart

GBATemp´s weirdest Individual
Member
Joined
Oct 11, 2015
Messages
4,417
Trophies
1
Age
28
Location
Hamburg
XP
3,753
Country
Germany
I highly disagree with this, considering tsec is already owned, having that information public will just urge nintendo to improve security more and bring major changes to ver8 to block cfw again

i highly agree with that. i mean why make that public. so that TX can use it or ninty will patch or imrove security more in v8?
 
Last edited by Purple_Heart,

SciresM

Developer
Developer
Joined
Mar 21, 2014
Messages
973
Trophies
3
Age
33
XP
8,297
Country
United States
Does nobody here do CTFs for fun? Even though this will probably fall on deaf ears, I'm not associated with TX.

This thread absolutely reads like you're a TX employee, though obviously you could just be a random guy. In the unlikely event you're the latter...

A public TSEC cracking effort would be unwise with Mariko on the horizon. I think most people here are cognizant of that.

TSEC hax'll be released once hardware revisions aren't an immediate worry, the last time an important bug went public (RCM), future switch models became unable to use it. Nobody wants that.

Long term planning is a good idea :)
 
D

Deleted-471350

Guest
fun, even though we have sept, do so in a more private setting.

With my post I did not intend to have exploit dicussions out in public. It is about finding interested people with the same feel for a challenge, to setup some private room to discuss these things.

And where did I even hint about making exploits public? If I did, this is not the intention.

You may not believe it, but there are still people who just care about a good hacking challenge.


This thread absolutely reads like you're a TX employee, though obviously you could just be a random guy. In the unlikely event you're the latter...

A public TSEC cracking effort would be unwise with Mariko on the horizon. I think most people here are cognizant of that.

TSEC hax'll be released once hardware revisions aren't an immediate worry, the last time an important bug went public (RCM), future switch models became unable to use it. Nobody wants that.

Long term planning is a good idea :)

I agree, and the intent is not to publish everything out in the open. Mind if I ask you a few questions about TSEC?
 
  • Like
Reactions: WiiHomebrew+Snes

_hexkyz_

Well-Known Member
Newcomer
Joined
Oct 4, 2018
Messages
60
Trophies
0
XP
447
Country
United States
A few months ago since the TSEC SMMU bypass possibility was revealed, I started working on that as a fun CTF exercise. Two days later I got it working and could not believe how easy and simple it was to extract the 6.2.0 TSEC root key.

This time I'm trying to see if TSEC can be cracked for any firmware, by going after the TSEC code authentication and csecrets.
I've already made strides, and managed to:
- Dump all csecrets with ACL mask 0x13
- Access to many priviledged instructions in Heavy Secure (HS) mode, such as csigenc, etc.
- Discovered there is some kind of ROM inside TSEC that performs authentication entry and potentially vulnerable
- Discovered some flaws and oddities that are useful in a chain of attack but don't wish to divulge here in public

But I'm starting to feel like it would be more beneficial to have some collaboration going and bounce ideas.
So that's the reason I'm posting here. To gauge if anyone else is interested in working on the same goal and to get some collaboration going, maybe on Discord or something similar.
This might not be the right forum to do so, so if not, let me know where the right place would be.

Thanks!
That ship has sailed. The CTF is over. Go home, son. :P /s

@SciresM already explained it pretty well, but here's the thing: if you look around a bit you can easily tell this place is mainly oriented for the end user.
In fact, the IRC and Discord channels for more technical discussions are publicly advertised and are very easy to find. But you've tried them already haven't you? ;)

Please refute all you want, but remember this: nothing is truly anonymous and darknet hosting is no exception.
 
Last edited by _hexkyz_,
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, though only sometimes when some people arent home
    +1
  • K3Nv2 @ K3Nv2:
    Honey he's playing gta again
    +2
  • BigOnYa @ BigOnYa:
    WUT! Get my belt.
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, but atleast i have the amazing spiderman and red dead redemption 1 too, they are more family friendly compared to GTA (i think)
  • K3Nv2 @ K3Nv2:
    If it's modded you always have everything
    +1
  • K3Nv2 @ K3Nv2:
    My pc already has every ps3 game
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, it only has like 26 GB avaliable right now
  • Psionic Roshambo @ Psionic Roshambo:
    GTAV is fine beating up hookers is OK, they don't mind!
  • Xdqwerty @ Xdqwerty:
    @Psionic Roshambo, uhhhhhhhhh how do I tell you i entered their club once?
    +1
  • BigOnYa @ BigOnYa:
    Just don't pick them up, and drive to a hidden location.
    +1
  • K3Nv2 @ K3Nv2:
    If you do run them over and get your money back
    +2
  • Xdqwerty @ Xdqwerty:
    @K3Nv2,
    @BigOnYa a strip club
  • K3Nv2 @ K3Nv2:
    The strip club you shoot up the hookers you pick up
    +1
  • BigOnYa @ BigOnYa:
    You actually get to own that strip club, later in the game.
  • K3Nv2 @ K3Nv2:
    After you shoot it up
  • BigOnYa @ BigOnYa:
    I'm still pissed I had to pay for that game again, (3rd time) just to get the next gen(4k) update. It should be free. Typical Rockstar move tho.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I live like walking distance to a strip club lol
  • Psionic Roshambo @ Psionic Roshambo:
    I should check it out some day
    +1
  • BigOnYa @ BigOnYa:
    No you shouldnt, you may run into one of your long lost daughters you never knew you had.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    BigOnYa I had a modified version with texture mods and all kinds of goodies lol https://m.youtube.com/watch?v=Vo5g4kxs4UU&t=64s
  • Psionic Roshambo @ Psionic Roshambo:
    Me playing it like 4 years ago on a 2080 Ti lol
  • Psionic Roshambo @ Psionic Roshambo:
    Lol that reminds me I am like 60% sure my step daughter is dead...
  • Psionic Roshambo @ Psionic Roshambo:
    Meth addicts don't move out of a house they are trying to sell and the boyfriend says she moved and does not know where lol
  • K3Nv2 @ K3Nv2:
    I was about to be like can't wait for gta6 so @Psionic Roshambo can tell me places to go then you drop that
    +2
    K3Nv2 @ K3Nv2: I was about to be like can't wait for gta6 so @Psionic Roshambo can tell me places to go then... +2