Author Topic: Let's hack Nspire OS 2.1!  (Read 19948 times)

0 Members and 1 Guest are viewing this topic.

Offline alberthrocks

  • Moderator
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 876
  • Rating: +103/-10
    • View Profile
Re: Let's hack Nspire OS 2.1!
« Reply #30 on: July 22, 2010, 10:31:00 am »
@Lionel Debroux: Oh ok. I'll be running it.... and at the same time, attempting to find exploits too.
Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/


Proud member of ClrHome!

Miss my old signature? Here it is!
Spoiler For Signature:
Alternate "New" IRC post notification bot (Newy) down? Go here to reset it! http://withg.org/albert/cpuhero/

Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/

Activity remains limited due to busyness from school et al. Sorry! :( Feel free to PM, email, or if you know me well enough, FB me if you have a question/concern. :)

Don't expect me to be online 24/7 until summer. Contact me via FB if you feel it's urgent.


Proud member of ClrHome!

Spoiler For "My Projects! :D":
Projects:

Computer/Web/IRC Projects:
C______c: 0% done (Doing planning and trying to not forget it :P)
A_____m: 40% done (Need to develop a sophisticated process queue, and a pretty web GUI)
AtomBot v3.0: 0% done (Planning stage, may do a litmus test of developer wants in the future)
IdeaFrenzy: 0% done (Planning and trying to not forget it :P)
wxWabbitemu: 40% done (NEED MOAR FEATURES :P)

Calculator Projects:
M__ C_____ (an A____ _____ clone): 0% done (Need to figure out physics and Axe)
C2I: 0% done (planning, checking the demand for it, and dreaming :P)

Offline mapar007

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 550
  • Rating: +28/-5
  • The Great Mata Mata
    • View Profile
Re: Let's hack Nspire OS 2.1!
« Reply #31 on: July 22, 2010, 11:19:55 am »

I know if I rename the file to .zip, rar, 7z, tar.gz or tar, it says it's not a valid archive, so we can't do like with tno files, it seems. But I remember for the TI-73, 82, 85 and 92, you had to send an hacked RAM backup file to the calc to be able to run ASM on them.


IIRC the renaming problem arose because TI used a proprietary compressing algorithm. I could be wrong, though

Offline alberthrocks

  • Moderator
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 876
  • Rating: +103/-10
    • View Profile
Re: Let's hack Nspire OS 2.1!
« Reply #32 on: July 22, 2010, 02:59:16 pm »

I know if I rename the file to .zip, rar, 7z, tar.gz or tar, it says it's not a valid archive, so we can't do like with tno files, it seems. But I remember for the TI-73, 82, 85 and 92, you had to send an hacked RAM backup file to the calc to be able to run ASM on them.


IIRC the renaming problem arose because TI used a proprietary compressing algorithm. I could be wrong, though

You are very correct. The Hackspire wiki discusses about that. Apparently there IS something to hide... :)
(See this: http://hackspire.unsads.com/wiki/index.php/TNS_File_Format)
Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/


Proud member of ClrHome!

Miss my old signature? Here it is!
Spoiler For Signature:
Alternate "New" IRC post notification bot (Newy) down? Go here to reset it! http://withg.org/albert/cpuhero/

Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/

Activity remains limited due to busyness from school et al. Sorry! :( Feel free to PM, email, or if you know me well enough, FB me if you have a question/concern. :)

Don't expect me to be online 24/7 until summer. Contact me via FB if you feel it's urgent.


Proud member of ClrHome!

Spoiler For "My Projects! :D":
Projects:

Computer/Web/IRC Projects:
C______c: 0% done (Doing planning and trying to not forget it :P)
A_____m: 40% done (Need to develop a sophisticated process queue, and a pretty web GUI)
AtomBot v3.0: 0% done (Planning stage, may do a litmus test of developer wants in the future)
IdeaFrenzy: 0% done (Planning and trying to not forget it :P)
wxWabbitemu: 40% done (NEED MOAR FEATURES :P)

Calculator Projects:
M__ C_____ (an A____ _____ clone): 0% done (Need to figure out physics and Axe)
C2I: 0% done (planning, checking the demand for it, and dreaming :P)

Offline alberthrocks

  • Moderator
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 876
  • Rating: +103/-10
    • View Profile
Re: Let's hack Nspire OS 2.1!
« Reply #33 on: July 22, 2010, 08:09:44 pm »
Does anyone has Nspire OS 2.1 or OS 2.0 installed?
If so, could you please attach a TNS file in a reply to this topic?

Make sure that your TNS file has a text document inside it (or whatever it's called). Type something random inside it.
Then tell me what string you placed in the text document/note.

Thanks in advance! :)
Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/


Proud member of ClrHome!

Miss my old signature? Here it is!
Spoiler For Signature:
Alternate "New" IRC post notification bot (Newy) down? Go here to reset it! http://withg.org/albert/cpuhero/

Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/

Activity remains limited due to busyness from school et al. Sorry! :( Feel free to PM, email, or if you know me well enough, FB me if you have a question/concern. :)

Don't expect me to be online 24/7 until summer. Contact me via FB if you feel it's urgent.


Proud member of ClrHome!

Spoiler For "My Projects! :D":
Projects:

Computer/Web/IRC Projects:
C______c: 0% done (Doing planning and trying to not forget it :P)
A_____m: 40% done (Need to develop a sophisticated process queue, and a pretty web GUI)
AtomBot v3.0: 0% done (Planning stage, may do a litmus test of developer wants in the future)
IdeaFrenzy: 0% done (Planning and trying to not forget it :P)
wxWabbitemu: 40% done (NEED MOAR FEATURES :P)

Calculator Projects:
M__ C_____ (an A____ _____ clone): 0% done (Need to figure out physics and Axe)
C2I: 0% done (planning, checking the demand for it, and dreaming :P)

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: Let's hack Nspire OS 2.1!
« Reply #34 on: July 22, 2010, 08:22:20 pm »
Here you go!


Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: Let's hack Nspire OS 2.1!
« Reply #35 on: July 22, 2010, 08:29:37 pm »
I don't think that it is legal to post an OS, so if it is an os, please delete it.

Offline Tribal

  • The Fallen
  • LV5 Advanced (Next: 300)
  • *
  • Posts: 218
  • Rating: +15/-1
    • View Profile
Re: Let's hack Nspire OS 2.1!
« Reply #36 on: July 22, 2010, 08:31:13 pm »
It's not a OS, it is a ti-nspire document file.

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Let's hack Nspire OS 2.1!
« Reply #37 on: July 22, 2010, 08:31:17 pm »
That's a document that they're gonna use to figure out the .tns format
.tns is for documents, .tno for non-cas os's, and .tnc for cas os's
They're fine :)
Edit: ninja'd :P
« Last Edit: July 22, 2010, 08:31:37 pm by calcdude84se »
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline alberthrocks

  • Moderator
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 876
  • Rating: +103/-10
    • View Profile
Re: Let's hack Nspire OS 2.1!
« Reply #38 on: July 22, 2010, 08:32:56 pm »
@graphmastur: Not an OS. Heck, it's way too small to be an OS. I've never seen an OS that is 0.86 KBs! ;)

This is a TNS file, which is a TI-Nspire Document file.
Now, if I asked to post a TNO file, which is a TI-Nspire OS, that's illegal. (Obviously I would not do that. :) I have other sources...)

EDIT: Yikes! You guys are snappy posters! :-o
« Last Edit: July 22, 2010, 08:34:18 pm by alberthrocks »
Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/


Proud member of ClrHome!

Miss my old signature? Here it is!
Spoiler For Signature:
Alternate "New" IRC post notification bot (Newy) down? Go here to reset it! http://withg.org/albert/cpuhero/

Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/

Activity remains limited due to busyness from school et al. Sorry! :( Feel free to PM, email, or if you know me well enough, FB me if you have a question/concern. :)

Don't expect me to be online 24/7 until summer. Contact me via FB if you feel it's urgent.


Proud member of ClrHome!

Spoiler For "My Projects! :D":
Projects:

Computer/Web/IRC Projects:
C______c: 0% done (Doing planning and trying to not forget it :P)
A_____m: 40% done (Need to develop a sophisticated process queue, and a pretty web GUI)
AtomBot v3.0: 0% done (Planning stage, may do a litmus test of developer wants in the future)
IdeaFrenzy: 0% done (Planning and trying to not forget it :P)
wxWabbitemu: 40% done (NEED MOAR FEATURES :P)

Calculator Projects:
M__ C_____ (an A____ _____ clone): 0% done (Need to figure out physics and Axe)
C2I: 0% done (planning, checking the demand for it, and dreaming :P)

Offline qazz42

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1130
  • Rating: +30/-12
  • hiiiiiiiii
    • View Profile
Re: Let's hack Nspire OS 2.1!
« Reply #39 on: July 22, 2010, 08:37:52 pm »
Wait, have we located where the protection is?

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Let's hack Nspire OS 2.1!
« Reply #40 on: July 22, 2010, 08:42:43 pm »
Protection in what? Right now we're trying to discover the .tns format, which is probably compressed in a proprietary manner as far as we know.
If you mean "how it works," then that's what we're doing
(Well, what they are doing ;))
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Let's hack Nspire OS 2.1!
« Reply #41 on: July 22, 2010, 08:45:39 pm »
i am clueless about alot of this but out of reading i have been inspired.

If we need to rent a server from amazon or where ever i will be willing to donate some money (eg.25-50 $)
« Last Edit: July 22, 2010, 08:48:04 pm by happybobjr »
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: Let's hack Nspire OS 2.1!
« Reply #42 on: July 22, 2010, 08:59:41 pm »
Honestly, I don't think a server is necessary right now.

@graphmastur: Not an OS. Heck, it's way too small to be an OS. I've never seen an OS that is 0.86 KBs! ;)

This is a TNS file, which is a TI-Nspire Document file.
Now, if I asked to post a TNO file, which is a TI-Nspire OS, that's illegal. (Obviously I would not do that. :) I have other sources...)

EDIT: Yikes! You guys are snappy posters! :-o

Oh, yeah, didn't pay much attention to the size.  Yeah, just making sure, and not enough paying attention.  lol, sorry.
« Last Edit: July 22, 2010, 09:01:30 pm by graphmastur »

Offline alberthrocks

  • Moderator
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 876
  • Rating: +103/-10
    • View Profile
Re: Let's hack Nspire OS 2.1!
« Reply #43 on: July 23, 2010, 01:20:00 am »
Wait, have we located where the protection is?

@qazz42: Protection? I'm not looking for that! :) The TI Nspire hackers right now are hunting for exploits, especially in the upgrade/downgrade area. I think right now they're foraging around in the diagnostic part of the TI Nspire.
(By the way, if you have one, DO NOT PRESS that "diagnostic key" where they ask you to install another image. Critor wants some of those images, so don't delete! :) )

Protection in what? Right now we're trying to discover the .tns format, which is probably compressed in a proprietary manner as far as we know.
If you mean "how it works," then that's what we're doing
(Well, what they are doing ;))

@calcdude84se: Correcto! :) That's exactly what we're trying to do. Why "we're"? Because:
1) The real hackers are doing some crazy stuff now with the Nspire (you might have seen it on this forum regarding diagnostics and such), and I'm just interested in poking around some code. :)
2) I'm just doing this out of curiosity and determination against TI. I unfortunately don't possess that much skill as critor and some of the other Nspire hackers out there have! Heck, I don't even have a Nspire to hack with! :(
3) I haven't learned high level math yet. (I will, don't worry!) But all this cracking and such does require some serious math to understand how (RSA) primes are factored.
4) Everyone's involved, not just me. I know there's other threads around here discussing ways as well, and you guys help me too! It's not only one, it's everyone! ;)

i am clueless about alot of this but out of reading i have been inspired.

If we need to rent a server from amazon or where ever i will be willing to donate some money (eg.25-50 $)
@happybobjr: You should be. Everyone should. It seems dismal (1028 bits IS nothing small), but I'd help crack it whether I win or lose. I rather lose trying then giving up.

Save that for later. For now, you should look around in that long post for Lionel's post with a C++ source to do cracking. That's the best way for now. What OS do you have? I'll try compiling it for you if needed. I will (after I finish a personal, not-so-legal-unrelated-to-TI programming project) build a simple GUI for the cracker. At the same time, a thread (http://ourl.ca/6418/104329;topicseen#new) is currently discussing ways to do the prime factorization faster (basically, the way to crack RSA is to factor a large number into 2 big primes). If that goes through, you can then use your money to rent some Amazon servers to assist with calculations and such with the improved cracking formula.

Honestly, I don't think a server is necessary right now.

@graphmastur: Not an OS. Heck, it's way too small to be an OS. I've never seen an OS that is 0.86 KBs! ;)

This is a TNS file, which is a TI-Nspire Document file.
Now, if I asked to post a TNO file, which is a TI-Nspire OS, that's illegal. (Obviously I would not do that. :) I have other sources...)

EDIT: Yikes! You guys are snappy posters! :-o

Oh, yeah, didn't pay much attention to the size.  Yeah, just making sure, and not enough paying attention.  lol, sorry.

@graphmastur: Yup, no direct need for one unless you already own one, in which you can run the aforementioned program on it.
And don't worry about it. I know you were just being cautious. :) I too am kinda confused about the extensions and such.

=============================
Some updates...

A quick analysis from 7zip shows/confirms the stuff we already know:
(below paths are censored to prevent TI from intruding, since stuff in this particular directory is public,
and with proper knowledge they can get in...)
Code: [Select]
arthur@arthur-PC:/media/WD/.../.../.../.../.../.../$ 7z l -slt *.zip

7-Zip 9.04 beta  Copyright (c) 1999-2009 Igor Pavlov  2009-05-30
p7zip Version 9.04 (locale=en_US.utf8,Utf16=on,HugeFiles=on,1 CPU)

Listing archive: 2.0test.zip

----
Path = 2.0test.zip
Type = Zip

----------
Path = Document.xml
Folder = -
Size = 611
Packed Size = 309
Modified = 2010-07-22 20:21:02
Created =
Accessed =
Attributes = ....A
Encrypted = -
Comment =
CRC = 46CCE168
Method = 13
Host OS = FAT

Path = Problem1.xml
Folder = -
Size = 642
Packed Size = 347
Modified = 2010-07-22 20:21:02
Created =
Accessed =
Attributes = ....A
Encrypted = -
Comment =
CRC = 2F8F91DC
Method = 13
Host OS = FAT

Compression is something very hard to analyze, but my hope is that I'm able to find something, especially if
TI's Nspire links with ZLIB for compression.

So, I've decided to compile ZLIB myself and see what they have in store:

Code: [Select]
arthur@arthur-PC:/media/WD/munchmunchnopeeking/zlib-1.2.5$ ~/example
zlib version 1.2.5 = 0x1250, compile flags = 0x55
uncompress(): hello, hello!
gzread(): hello, hello!
gzgets() after gzseek:  hello!
inflate(): hello, hello!
large_inflate(): OK
after inflateSync(): hello, hello!
inflate with dictionary: hello, hello!

Interesting, eh?
Anyway, what I've done so far:
 - Made reference compressions for a text file, with inside text Nspire text
   List: reftext.7z  reftext.bz2  reftext.gz  reftext.txt
7z = 7zip
bz2 = bunzip
gz = gunzip
txt = original

 - Opened them all up with ghex2 for some bare analysis

That's all! Does anyone have any suggestions for how I should proceed?
Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/


Proud member of ClrHome!

Miss my old signature? Here it is!
Spoiler For Signature:
Alternate "New" IRC post notification bot (Newy) down? Go here to reset it! http://withg.org/albert/cpuhero/

Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/

Activity remains limited due to busyness from school et al. Sorry! :( Feel free to PM, email, or if you know me well enough, FB me if you have a question/concern. :)

Don't expect me to be online 24/7 until summer. Contact me via FB if you feel it's urgent.


Proud member of ClrHome!

Spoiler For "My Projects! :D":
Projects:

Computer/Web/IRC Projects:
C______c: 0% done (Doing planning and trying to not forget it :P)
A_____m: 40% done (Need to develop a sophisticated process queue, and a pretty web GUI)
AtomBot v3.0: 0% done (Planning stage, may do a litmus test of developer wants in the future)
IdeaFrenzy: 0% done (Planning and trying to not forget it :P)
wxWabbitemu: 40% done (NEED MOAR FEATURES :P)

Calculator Projects:
M__ C_____ (an A____ _____ clone): 0% done (Need to figure out physics and Axe)
C2I: 0% done (planning, checking the demand for it, and dreaming :P)

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: Let's hack Nspire OS 2.1!
« Reply #44 on: July 23, 2010, 10:43:58 am »
Does anyone has Nspire OS 2.1 or OS 2.0 installed?
If so, could you please attach a TNS file in a reply to this topic?

Make sure that your TNS file has a text document inside it (or whatever it's called). Type something random inside it.
Then tell me what string you placed in the text document/note.

Thanks in advance! :)

There is a nSpire text editor on TI-BANK, for a PC, though that may not support the 2.x format.