Hacking RELEASE AutoIPS sig Patcher

mrdude

Developer
OP
Developer
Joined
Dec 11, 2015
Messages
3,071
Trophies
1
Age
56
XP
8,227
You mean, the loader will stay the same as it is for now, so there's no need to update AutoIPS when the future builds of AMS will come?..

If you care to read back the entire thread - I already stated that since Atmosphere 12 and above the byte pattern this uses for hasn't changed, so the scripts work on every version that's been releases since then + probable future versions. Once the byte pattern changes (which could be the next version - or not until version 16 or whatever), the script can easily be modded to accommodate for this. As the one of the scripts extracts the loader, and it's decompressed - it's trivial where to find (if needed) any new byte pattern.

Now I get this info is above some people's knowledge or understanding - if you are one of those people, just don't download this - and wait for someone else to upload a patch for you.
 

mathew77

Lovin' life.
Member
Joined
Jan 19, 2019
Messages
1,189
Trophies
0
Age
47
XP
3,694
Country
Kazakhstan
Once the byte pattern changes (which could be the next version - or not until version 16 or whatever)
So we don't know the pattern of that loader's updates exactly? What a shame.

Looking through the history of AMS builds, it changes pretty often.
 
Last edited by mathew77,

mrdude

Developer
OP
Developer
Joined
Dec 11, 2015
Messages
3,071
Trophies
1
Age
56
XP
8,227
So we don't know the pattern of that loader's updates exactly? What a shame.

Looking through the history of AMS builds, it changes pretty often.
Loader patterns have been the same since version 12, this script finds the location automatically and writes a patch based on the address it's found at. As I said in my previous post - if it doesn't work for you - use alternative options.
 
  • Like
Reactions: linuxares

mathew77

Lovin' life.
Member
Joined
Jan 19, 2019
Messages
1,189
Trophies
0
Age
47
XP
3,694
Country
Kazakhstan
It's simple to use

You need to properly explain in bold & red in the first post that it WON'T WORK with the future versions of Atmosphere's loader — without modifying your scripts.

only 1 byte is modded in the loader, so you shouldn't get any issues.

For now it's a purely misleading many users.

Meh.
 
Last edited by mathew77,
  • Like
Reactions: kickmeh

ShadowOne333

QVID PRO QVO
Editorial Team
Joined
Jan 17, 2013
Messages
12,212
Trophies
2
XP
34,157
Country
Mexico
It's a pretty neat utility, but again things could ( and will ) change overtime. This could be as soon as the next AMS release, or much much later, so nothing is 100% guaranteed when generating such patches.
The Python script can be easily modified to account for newer byte patterns when they come, so it's as adaptable as it can be.
 

mrdude

Developer
OP
Developer
Joined
Dec 11, 2015
Messages
3,071
Trophies
1
Age
56
XP
8,227
I'm aware of that, however, "finding" the new pattern is what usually takes the most effort, not adding it to a Python script.

It takes me about 20 seconds to find a new byte pattern - as the scripts already extract and decompress the loader and show the sha256 - this is making the job much faster, the uncompressed loader can then be loaded into IDA and new bytes & address found quickly. Once the pattern changes, I'll add them to the script - it's not an issue.
 

masterchan777

Well-Known Member
Member
Joined
Oct 1, 2007
Messages
380
Trophies
1
Location
World Wide Web
XP
1,469
Country
It takes me about 20 seconds to find a new byte pattern - as the scripts already extract and decompress the loader and show the sha256 - this is making the job much faster, the uncompressed loader can then be loaded into IDA and new bytes & address found quickly. Once the pattern changes, I'll add them to the script - it's not an issue.
That could be the case "if" no drastic changes are made to the loader, finding the new byte offset and applying the same assembly code is very easy. But when new changes are introduced, the current assembly code done through IPS patching will most probably become obsolete, and things wouldn't be as simple as basically finding the new "bytes & address", it'd be slightly more complicated than that. I really hope that no major changes would be made into the loader so we can keep using the currently known patterns, and ofcourse having multiple solutions to any single problem is always healthy, and thanks for sharing your tool.
 
Last edited by masterchan777,

mrdude

Developer
OP
Developer
Joined
Dec 11, 2015
Messages
3,071
Trophies
1
Age
56
XP
8,227
That could be the case "if" no drastic changes are made to the loader, finding the new byte offset and applying the same assembly code is very easy. But when new changes are introduced, the current assembly code done through IPS patching will most probably become obsolete, and things wouldn't be as simple as basically finding the new "bytes & address", it'd be slightly more complicated than that.
Well yes it could, we can all speculate about what's going to happen in the future - but when the future comes we can and will adapt and mostly we find all the speculation was quite wrong.
 

ShadowOne333

QVID PRO QVO
Editorial Team
Joined
Jan 17, 2013
Messages
12,212
Trophies
2
XP
34,157
Country
Mexico
That could be the case "if" no drastic changes are made to the loader, finding the new byte offset and applying the same assembly code is very easy. But when new changes are introduced, the current assembly code done through IPS patching will most probably become obsolete, and things wouldn't be as simple as basically finding the new "bytes & address", it'd be slightly more complicated than that.
Dude, everything can be patched, You make it seem as if having a slightliest different code in loader will screw everything up.
It's nothing that complicated, it'll just be a matter of finding the code that changes and modifying accordingly, it's exactly finding new "bytes and addresses".

Also, don't forget we can also compile loader with the sigpatches reenabled from source (since Atmos disables them purposefully), so doing that could give a hint at whatever the new code that needs changing is.
It's not rocket science, but certainly not easy for those unfamiliar with actual RE and debugging.
 

mathew77

Lovin' life.
Member
Joined
Jan 19, 2019
Messages
1,189
Trophies
0
Age
47
XP
3,694
Country
Kazakhstan
Everything can be easily modified with the proper efforts, it's not about that.

The only wrong thing is that it claims that it's 'automatically creating', 'just', 'with no issues', 'simple' and all purely hassle like that, but in reality it is not compatible with the next modification of new AMS loader without script's modification and finding new bytes addresses using the IDA.
 
Last edited by mathew77,
  • Like
Reactions: masterchan777

ShadowOne333

QVID PRO QVO
Editorial Team
Joined
Jan 17, 2013
Messages
12,212
Trophies
2
XP
34,157
Country
Mexico
Everything can be easily modified with the proper efforts, it's not about that.

The only wrong thing is that it claims that it's 'automatically creating', 'just', 'with no issues', 'simple' and all purely hassle like that, but in reality it is not compatible with the next modification of new AMS loader without script's modification and finding new bytes addresses using the IDA.
Ummm yes it is automatically creating them? That's what a script is for, to automate things.
And no one can know if this will be compatible with the nect release or not.
It could be a bug fix and don't change loader at all, like the last versions ave, or it could be the awaited 1.0 release and change, or not touch loader, no one can know.

The script works for Atmos releases currently up to the past two major versions.
If anything changes in upcoming ones, it will be updated accordingly.
Having this script would also be a good workaround for Nintendo going after sigpatches repos.
 

mathew77

Lovin' life.
Member
Joined
Jan 19, 2019
Messages
1,189
Trophies
0
Age
47
XP
3,694
Country
Kazakhstan
The script works for Atmos releases currently up to the past two major versions.
Where it's mentioning in the OP's post?

If anything changes in upcoming ones, it will be updated accordingly.
It's not magically updating, one must use IDA to find bytes array addresses and manually update the scripts.

And.. Where its's mentioning in the OP's post?

It could be a bug fix and don't change loader at all, like the last versions ave, or it could be the awaited 1.0 release and change, or not touch loader, no one can know.
There's absolutely 0 of this important info in the OP's post.

All it has is 'automatically creating', 'just', 'with no issues', 'simple' and all the same crap.
 
Last edited by mathew77,

mrdude

Developer
OP
Developer
Joined
Dec 11, 2015
Messages
3,071
Trophies
1
Age
56
XP
8,227
Also in IDA - it's easy to find where to patch, for example this is the decompiled loader - just changing this byte causes the instruction to compare 2 values and gives a result - if the result is false - we skip the sig check...

8ubYtz7.png


That's how the patches work - and that's why it's easy to automate things :-)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan
    I rather enjoy a life of taking it easy. I haven't reached that life yet though.
  • BigOnYa @ BigOnYa:
    I don't trust the free ones, but ipvanish I've used for couple years now, n like
  • Psionic Roshambo @ Psionic Roshambo:
    I wonder if they could get CPUs to run that hot then use the heat to power a steam turbine to power the CPUs....
  • BigOnYa @ BigOnYa:
    Good idea, or at least power the GPU
  • Psionic Roshambo @ Psionic Roshambo:
    It's not the movies or games downloads that I would worry about, like breaking into networks, downloading encrypted things, spying on network traffic. I have seen so many "Top Secret" seals on files when I was a kid
  • Psionic Roshambo @ Psionic Roshambo:
    I was obsessed with finding UFOs, a surprising amount of US files where stashed on computers in other countries, China back in the early 90s omg sooo much
  • BigOnYa @ BigOnYa:
    Yea that crazy, I've never tried hack into anything, I just pirate, and my ISP have send me 3-4 letters, so had to VPN it
  • Psionic Roshambo @ Psionic Roshambo:
    Ship to ship communication software for the Navy although without access to the encrypting chips it was mostly useless
  • Psionic Roshambo @ Psionic Roshambo:
    I bet now a 4090 could probably crack it? Hmmm maybe not even back then I'm pretty sure they where using like 1024 bit encryption
  • Psionic Roshambo @ Psionic Roshambo:
    Yayyy the one set finished 324GBs lol
  • Psionic Roshambo @ Psionic Roshambo:
    Compressed....
  • Psionic Roshambo @ Psionic Roshambo:
    I wonder how many years that would have taken on a 56K modem lol
  • Psionic Roshambo @ Psionic Roshambo:
    18000 hours lol
  • Psionic Roshambo @ Psionic Roshambo:
    750 days lol
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    So Internet is very much faster now lol
  • BigOnYa @ BigOnYa:
    "Time Remaining- 2 years, 9 girlfriends, 6 hairstyles, please standby..."
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I remember one time I downloaded like a 500MB ISO file on 56K and that literally took like 2 days
  • Psionic Roshambo @ Psionic Roshambo:
    I had some sort of resume thing, I remember the software had chains
  • Psionic Roshambo @ Psionic Roshambo:
    Damned if I can't remember.the name though
  • Psionic Roshambo @ Psionic Roshambo:
    Some sort of download management app
  • BigOnYa @ BigOnYa:
    Ok good chatting, I'm off to the bar, to shoot some pool, nighty night.
    +1
  • BakerMan @ BakerMan:
    hey psi
  • BakerMan @ BakerMan:
    i call your girl lyndon the way she b on my johnson
    BakerMan @ BakerMan: i call your girl lyndon the way she b on my johnson