Hacking Question What have I missed?

thla

Active Member
Newcomer
Joined
Jul 30, 2017
Messages
36
Trophies
0
XP
677
Country
Denmark
I know that its encrypted. But with the exploit in 1.0.0 you can basically have trustzone fetch the key for you without needing to know it. So you wouldn't technically need the key to decrypt the game with that exploit if I understand correctly. This is info coming from the 34c3 talk

The trustzone can't fetch something it doesn't have. The point of having this safeguard is that they can contain the potential for game piracy if their system is compromised.

3.0.0 was compromised so they changed to a new one starting with 3.0.1, when/if that's cracked they'll just do it again and we're then limited to piracy for at most that version.
 

TheCyberQuake

Certified Geek
Member
Joined
Dec 2, 2014
Messages
5,012
Trophies
1
Age
28
Location
Las Vegas, Nevada
XP
4,433
Country
United States
The trustzone can't fetch something it doesn't have. The point of having this safeguard is that they can contain the potential for game piracy if their system is compromised.

3.0.0 was compromised so they changed to a new one starting with 3.0.1, when/if that's cracked they'll just do it again and we're then limited to piracy for at most that version.
Did you even watch the 34c3 presentation? They explained why you can, in their own words, "basically ignore trustzone".
 

thla

Active Member
Newcomer
Joined
Jul 30, 2017
Messages
36
Trophies
0
XP
677
Country
Denmark
Did you even watch the 34c3 presentation? They explained why you can, in their own words, "basically ignore trustzone".
Yes I watched it.

Trustzone is not the issue, to read from a gamecart you need to be able to decrypt it, if you do not have the key to decrypt it then you cannot read it.
 

Jackson98

Well-Known Member
Member
Joined
Aug 8, 2017
Messages
235
Trophies
0
Age
27
XP
330
Country
Australia
Technically unless your a person willing to fork out an extra 300$ on a second switch you haven't missed anything :P, your trading off switch games beyond 3.0 for retro emulation- its one compromise for another. Excitingly enough they've managed to get SNES emulation running through console commands, although still no GUIloader i believe? Retroarch cores look to be a near future prospect for emulation. I hope emulation progress keeps thriving, and I'm not unhappy to say I'm one of the people thats chosen to upgrade, and have 0 regrets in doing so. Ive already got 3DS in terms of portable emulation, my biggest hope for the switch is to see good N64 emulation, due largely in part because Microsoft went and f$#ked RARE up, and certain games don't have the legal licence to release on the VC.
 
  • Like
Reactions: DayVeeBoi

smf

Well-Known Member
Member
Joined
Feb 23, 2009
Messages
6,651
Trophies
2
XP
5,908
Country
United Kingdom
3.0 will get homebrew only, no kernel. There's no kernelhax either private or public for this version and there won't be one for a while according to SciresM.

I thought smhax was a kernel exploit.

3.0 doesn't seem to have a permanent hack yet, you have to trigger it from a web browser each time.

It's still early days though, nothing is actually released. This could be a damp squib.
 
Last edited by smf,

Astoria

Well-Known Member
Member
Joined
Aug 26, 2009
Messages
659
Trophies
1
XP
1,273
Country
Costa Rica
I thought smhax was a kernel exploit.

3.0 doesn't seem to have a permanent hack yet, you have to trigger it from a web browser each time.

It's still early days though, nothing is actually released. This could be a damp squib.

smhax allows access to services necessary for homebrew like the filesystem. This is what's possible on 3.0:

aDHm0Bf.png
 

DayVeeBoi

Well-Known Member
Member
Joined
Aug 17, 2015
Messages
528
Trophies
0
Location
Canada
XP
968
Country
Canada
Yes I watched it.

Trustzone is not the issue, to read from a gamecart you need to be able to decrypt it, if you do not have the key to decrypt it then you cannot read it.
Basically what they said was they don't need to know the key to be able to manipulate it. The keyslots can keep the keys private but allow the OS to use them still and with the right "poking" and prodding they can still use the keys to decrypt things without knowing them.
 

thla

Active Member
Newcomer
Joined
Jul 30, 2017
Messages
36
Trophies
0
XP
677
Country
Denmark
Basically what they said was they don't need to know the key to be able to manipulate it. The keyslots can keep the keys private but allow the OS to use them still and with the right "poking" and prodding they can still use the keys to decrypt things without knowing them.
They have nothing to manipulate because the key doesn't exist on their system.
 

TheCyberQuake

Certified Geek
Member
Joined
Dec 2, 2014
Messages
5,012
Trophies
1
Age
28
Location
Las Vegas, Nevada
XP
4,433
Country
United States
They have nothing to manipulate because the key doesn't exist on their system.
Very clearly you didn't pay attention or didn't understand the presentation. They dont need the key, trustzone is broken in a way that they don't need the keys. And the keys aren't stored on the system, that's not how it works.
 
Last edited by TheCyberQuake,

smf

Well-Known Member
Member
Joined
Feb 23, 2009
Messages
6,651
Trophies
2
XP
5,908
Country
United Kingdom
smhax allows access to services necessary for homebrew like the filesystem. This is what's possible on 3.0:

aDHm0Bf.png

If you watch further to the mchammer slide, they explain how to patch the kernel by mapping the kernel in as shared memory using svcMapSharedMemory(). He then say "here's the code" and quickly gets rid of it. I admit they don't specifically say it still works in 3.0 and http://switchbrew.org/index.php?title=Switch_System_Flaws doesn't mention it at all either so you can't check. It also doesn't mention the UntrustZone exploit either, which is a bit vague in it's explanation but sounds like there might be an exploit for getting it to boot a modified os.
 
Last edited by smf,
  • Like
Reactions: DayVeeBoi

DayVeeBoi

Well-Known Member
Member
Joined
Aug 17, 2015
Messages
528
Trophies
0
Location
Canada
XP
968
Country
Canada
They have nothing to manipulate because the key doesn't exist on their system.
What is this guy talking about?

If you watch further to the mchammer slide, they explain how to patch the kernel by mapping the kernel in as shared memory using svcMapSharedMemory(). He then say "here's the code" and quickly gets rid of it. I admit they don't specifically say it still works in 3.0 and http://switchbrew.org/index.php?title=Switch_System_Flaws doesn't mention it at all either so you can't check. It also doesn't mention the UntrustZone exploit either, which is a bit vague in it's explanation but sounds like there might be an exploit for getting it to boot a modified os.
Did you watch any other presentations regarding ARM TrustZone? I linked a few in this post on another thread. There's some fairly recent research into attacking trusted execution environments one in specific called CLKSCREW that I think may be valid if someone is willing to look into it. One of the other talks is by a researcher employed by ARM who if I understand correctly is working on automating some parts of security auditing code. His personal work is open sourced, this is his GitHub Repo for this work.

The CLKSCREW paper is hosted at the author Adrian Tang's (Columbia U.) GitHub. The attack is similar to what was used to extract the keys via Glitching (I think anyways) at the start of the video. I haven't read the paper or anything, but there was brief explanation in one of the 34C3 talks I linked to earlier. From what I understand it can't be mitigated without new hardware (maybe it can?), but its basically using power fluctuations to mess with the CLK and cause faults in the caching process.

Again someone smarter than me can and hopefully will pop in here and fill us in on if I'm misunderstanding or if they have a better explanation, or any suggestions of what to watch or read to further our understanding.
 

smf

Well-Known Member
Member
Joined
Feb 23, 2009
Messages
6,651
Trophies
2
XP
5,908
Country
United Kingdom
Did you watch any other presentations regarding ARM TrustZone? I linked a few in this post on another thread. There's some fairly recent research into attacking trusted execution environments one in specific called CLKSCREW that I think may be valid if someone is willing to look into it.

I didn't watch them, I've only managed to watch a couple of videos so far this year. AFAICT TrustZone is essentially broken on Switch anyway, although they may have been light on the facts in their talk as they don't say what firmware versions their exploits work on but kinda let everyone think it's all working on 3.0 (which may be on purpose). I certainly won't be opening a switch and installing a clock glitcher :D
 
Last edited by smf,

NyaakoXD

( ͡° ͜ʖ ͡°)
Member
Joined
Dec 16, 2013
Messages
1,858
Trophies
2
Location
In your closet...
XP
3,673
Country
United States
A 1.0 Switch is much more valuable, atm. Especially because of potential EmuNAND support coming for it that SciresM said a few days back.
 
Last edited by NyaakoXD,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • SylverReZ @ SylverReZ:
    @Jayro, I don't see whats so special about the DS ML, its just a DS lite in a phat shell. At least the phat model had louder speakers, whereas the lite has a much better screen.
    +1
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +2
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
  • cearp @ cearp:
    It's nice to not have to have a lot of physical things though, saves space
    +1
    cearp @ cearp: It's nice to not have to have a lot of physical things though, saves space +1