Hacking Question Is it possible to find exploit that way?

Noctosphere

Nova's Guardian
OP
Member
Joined
Dec 30, 2013
Messages
6,769
Trophies
3
Age
30
Location
Biblically accurate Hell
XP
19,050
Country
Canada
By comparing the source code of two firmware, is it possible for expert to find exploit?
If it is, how much time should we stay on previous firmware before updating and assuming there are no exploit fixed on the latest firmware?
Thanks
 

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
By comparing the source code of two firmware, is it possible for expert to find exploit?
If it is, how much time should we stay on previous firmware before updating and assuming there are no exploit fixed on the latest firmware?
Thanks
AFAIK without the previous huge big they don't have as much access and thus can't just compare the source.
 
  • Like
Reactions: Tsubakiandou

mark3p

New Member
Newbie
Joined
Dec 21, 2008
Messages
3
Trophies
0
XP
192
Country
Technically this is possible given that you can be on an exploited firmware and then download the new firmware to the console without applying it.

With SM access you could write an unpacker to extract the new firmware update and then copy to SD for external reading / modification.

Think back to original Wii days where you were overwriting stubbed iOS with non-stubbed ones from an original firmware.

The tricky part here is efuses and their behaviour in updates. Anyone analysing this has the potential to either update firmware and lose hack or brick if modifying update and efuses blow. Given that the core hackers aren’t bothered about piracy so would have no need to update to a newer firmware I wouldn’t expect there to be much progress in this area.
 
  • Like
Reactions: peteruk

mikey420

Well-Known Member
Member
Joined
Dec 11, 2015
Messages
911
Trophies
0
Age
30
XP
493
Country
United States
Yeah um no. No hacker/dev has said code. And I guarantee Nintendo won't be sharing. If we had the source for the OS finding an exploit would be way way easier. In short no. You can't just compare source code to do this. Furthermore the chance of anyone sharing an exploit they discovered is small especially if said flaws aren't very plentiful. Hackers have a tendency of waiting for there exploits to be patched before releasing them.
 

thla

Active Member
Newcomer
Joined
Jul 30, 2017
Messages
36
Trophies
0
XP
677
Country
Denmark
From a purely academic argument, sure it's possible, except you would be comparing machine-readable assembly code, and not human-readable source code.

But in practice it's not that simple, I don't know much about reverse engineering, but from a developer standpoint, code doesn't always do what we expect it to do, and it is not until the point of running the code and feeding it different input that you actually begin to understand how the code works, vs. how it was written to work.
 
D

Deleted User

Guest
From a purely academic argument, sure it's possible, except you would be comparing machine-readable assembly code, and not human-readable source code.

But in practice it's not that simple, I don't know much about reverse engineering, but from a developer standpoint, code doesn't always do what we expect it to do, and it is not until the point of running the code and feeding it different input that you actually begin to understand how the code works, vs. how it was written to work.
I mean, if you're a lazy dev and write spaghetti code in a higher level language or unstable platform, then yeah sure, code doesn't do what you expect it to do. But writing C and compiling or directly writing assembly, you know precisely what it's going to do. It IS an exact science, with a specific intent and purpose behind it. If you ever write code that you don't know the effect of, then you shouldn't be writing it in the first place.

As to the "machine readable assembly code": nah. An executable binary can be viewed directly as assembly, and with the required knowledge and experience of writing standard assembly on that platform, there's no reason you couldn't rewrite the same program in C by hand.

All of this isn't to say that OP has said anything accurate or worthwhile, just making sure that you correcting him was in itself correct.

While I agree I do have to ask has anybody checked to see if it is ground up custom or uses another more known OS as a base?

It wouldn't particularly matter even if they did. They could use a custom fork of the Darwin kernel, and it wouldn't make a difference if the services, IPC, and executable format were implemented differently. But to answer your question: It's based on *nix.
 
Last edited by ,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Xdqwerty @ Xdqwerty:
    @Psionic Roshambo, why are most new south park episodes half hour specials?
    +1
  • K3Nv2 @ K3Nv2:
    @Psionic Roshambo, let me get a Netflix account I've always been nice to you
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I made a honey pepper glazed turkey breast for dinner turned out pretty bomb
  • K3Nv2 @ K3Nv2:
    We can Netflix and chill
  • Xdqwerty @ Xdqwerty:
    Nvm not half hour, but hour long
  • Xdqwerty @ Xdqwerty:
    Normal south park episodes are already half hour
  • Psionic Roshambo @ Psionic Roshambo:
    Got 2 free Xumo boxes they work pretty good
  • K3Nv2 @ K3Nv2:
    I'm happy to get anything most series don't make it pass 6 seasons
  • Psionic Roshambo @ Psionic Roshambo:
    Except Stars and Encore those are being a bitch lol
  • K3Nv2 @ K3Nv2:
    I may consider that onn pro box finally a media box with type A ;O
    +1
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, cuz the companies don't want em to
  • K3Nv2 @ K3Nv2:
    No it's revenue and demand south park could argue has a bigger audience than family guy about the same
    +1
  • K3Nv2 @ K3Nv2:
    Family guy is worth 300mill south parks worth 1Bill according to the interwebs
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, probably cuz family guy is more disliked compared to south park
  • K3Nv2 @ K3Nv2:
    It just does the same formula south park can press buttons without going overboard
  • Xdqwerty @ Xdqwerty:
    And bc most of the family guy budget is spent on the voice actors rather than on the animation
  • K3Nv2 @ K3Nv2:
    Southpark could spend 30k on a animated dick and people would laugh at it
    +2
  • K3Nv2 @ K3Nv2:
    lol one prescription to Lizzo
  • Xdqwerty @ Xdqwerty:
    who is lizzo?
  • Xdqwerty @ Xdqwerty:
    yawn
  • BakerMan @ BakerMan:
    guys, doge is dead
  • BakerMan @ BakerMan:
    let's get some o7s for that legendary dog

    o7
  • Xdqwerty @ Xdqwerty:
    i think its raining
    Xdqwerty @ Xdqwerty: i think its raining