Editing Index.dat

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
Encrypted form of version.txt. Contains info about firmware version/build/date etc.
Location: /dev_flash/vsh/etc/index.dat


= Location =
contains content simulair to version.txt about firmware version/build/date etc. and can be unpacked with undat (you´ll need the dat keys for it) - its used in MFW Builder 0.2 in the spoofer task.


== PS3 ==
The keys are public known in aes example papersheets :
* "The Laws of Cryptography: Test Runs of the AES Algorithm" 2002
* "Applied cryptography and network security" 2003
and alot others


/dev_flash/vsh/etc/index.dat
== 3.70 DEBUG/DEX ==
¬Qé×I$Ø…�†ð4îöª2ŒŒó000000000000
release:03.7000:
build:51964,20110805:tetsu@tetsu-linux15
target:0001:DEX-ww
security:4567@security/sdk_branches/release_370/trunk:
system:47970@sys/sdk_branches/release_370/trunk:
x3:15875@x3/branches/target37x:
paf:6160@paf/branches/target37x:
vsh:86676@vsh/branches/target37x:
sys_jp:78@sys_jp/branches/target37x:
ps1emu:7628@emu/branches/target101/ps1:
ps1netemu:7630@emu/branches/target370/ps1_net:
ps1newemu:6705@emu/branches/target202/ps1_new:
ps2emu:6766@emu/branches/target360/ps2:
ps2gxemu:14788@branches/target360/gx:
ps2softemu:15435@branches/soft190/soft:
pspemu:7664@emu/branches/target370/psp:
emerald:NA@NA:
bdp:NA@NA:
patch::
auth:51964:


== PS Vita ==
== 3.55 DEBUG/DEX ==
 
lèb(Ê „·!ð¾ÁKè3{”©*000000000000
vs0:vsh/etc/index.dat
release:03.5500:
 
build:47515,20101127:tetsu@tetsu-linux16
== PS4 ==
target:0001:DEX-ww
security:4072@security/sdk_branches/release_355/trunk:
system:46573@sys/sdk_branches/release_355/trunk:
x3:15614@x3/branches/target35x:
paf:6107@paf/branches/target35x:
vsh:83779@vsh/branches/target35x:
sys_jp:69@sys_jp/branches/target35x:
ps1emu:6555@emu/branches/target101/ps1:
ps1netemu:6679@emu/branches/target355/ps1_net:
ps1newemu:6556@emu/branches/target202/ps1_new:
ps2emu:6597@emu/branches/target350/ps2:
ps2gxemu:14473@branches/target355/gx:
ps2softemu:13474@branches/soft190/soft:
pspemu:6646@emu/branches/target355/psp:
emerald:NA@NA:
bdp:NA@NA:
patch::
auth:47515:


/priv/etc/index.dat
== 3.55 RETAIL/CEX ==
 
= Decryption =
 
Index.dat is aligned to 0x10 bytes, digested with SHA-1 (PS3), SHA-256 (PS Vita, PS4) then encrypted with AES128CBC (PS3), AES256CBC (PS Vita, PS4).
 
Reciprocally, index.dat is decrypted with AES128CBC (PS3), AES256CBC (PS Vita, PS4), digest is verified then version.txt is stored as null-terminated string and is displayed as is or parsed.
 
= Tools =
 
See [https://psdevwiki.com/vita/index.php?title=Tools#index.dat_decryption_tools]
 
= Alternative Readout =
 
== PS3 ==
 
This info can also be read with [[More System Information]].
 
== PSVita ==
 
This info can also be read with [https://psdevwiki.com/vita/index.php?title=Hidden_Modes#More_System_Information More System Information]
 
= PS3 Example =
 
'''Note:''' You can find [[Talk:Index.dat|more samples per version on the talk page]]
=== 3.55 RETAIL/CEX ===
  – $öNý> ¶˜`³Únªì*¹¾5000000000000
  – $öNý> ¶˜`³Únªì*¹¾5000000000000
  release:03.5500:
  release:03.5500:
Line 61: Line 77:
  auth:47516:
  auth:47516:


Pre Bytes = sha1sum of the text, padded with 0 (byte 0x30) to fill 0x20 size:
== 3.41 RETAIL/CEX ==
0“Èõ³l’Ù®àIþC¸ígëƒj000000000000
release:03.4100:
build:45039,20100721:[email protected]
target:0001:CEX-ww
security:3960@security/sdk_branches/release_341/trunk:
system:45857@sys/sdk_branches/release_341/trunk:
x3:15557@x3/branches/target34x:
paf:6082@paf/branches/target34x:
vsh:82665@vsh/branches/target34x:
sys_jp:67@sys_jp/branches/target34x:
ps1emu:6377@emu/branches/target101/ps1:
ps1netemu:6520@emu/branches/target340/ps1_net:
ps1newemu:6378@emu/branches/target202/ps1_new:
ps2emu:6448@emu/branches/target340/ps2:
ps2gxemu:13784@branches/target340/gx:
ps2softemu:13474@branches/soft190/soft:
pspemu:6501@emu/branches/target340/psp:
emerald:3697@emerald/target34x:
bdp:13407@bdp/branches/target34x:
patch::
auth:45039:
 
Not all index.dat files seems to have pre bytes:
<pre>
<pre>
     Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
     Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
Line 111: Line 150:
</pre>Sample: [http://www.multiupload.com/8MMD1Z28W1 dev_flash-vsh-etc-index.dat.rar (1.2 KB)]
</pre>Sample: [http://www.multiupload.com/8MMD1Z28W1 dev_flash-vsh-etc-index.dat.rar (1.2 KB)]
Pastie of content: http://pastebin.com/MqC3UFFT
Pastie of content: http://pastebin.com/MqC3UFFT
== Correlation to PUP version ==
=== PUP Image version - versus Build number in index.dat/version.txt ===
PUP Image version is located at offset 0x10-0x17
example OFW 3.15 CEX:
  Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
  &nbsp;
  00000000  53 43 45 55 46 00 00 00 00 00 00 00 00 00 00 01  SCEUF...........
  00000010  00 00 00 00 00 00 94 8F 00 00 00 00 00 00 00 07  ......”.........
  &nbsp;
  ''hex:948F (PUP image version) = dec:38031 (<span title="build:38031,20091206:[email protected]">index.dat/version.txt</span>)''
On official firmwares the value is the same, but they are used in different stages. PUP image version is used by ps3swu.self (updater) when installing firmwares in normal and recovery mode. Index.dat/version.txt is not looked at when installing (hence, why you can have a 3.15 firmware with Image version correlating to 3.15 OFW and spoofed to look like a 4.11 firmware).
For MFW's/MFW Builder, the Image version is increased by +1, which is why you need to use Recovery mode to install a same version firmware.
= Breakdown of elements =
== PSP / PS3 ==
=== release ===
notes version
=== build ===
notes build number,reverse date:owner<br />
ximai-linux / tetsu@tetsu-linux?(.rd.scei.sony.co.jp): Server that the firmware was built on (using Scientific Linux (RHEL 3/4 based) with [http://en.wikipedia.org/wiki/Xen Xen] on IA64 <!-- the same setup as used for scedev.net hosting -->)
=== target ===
notes intended [[Product Code]]
=== security ===
=== system ===
=== x3 ===
?ANSI C standard? (X3.159-1989 and ISO/IEC 9899:1990)
Or... it could be the codename for "XMB version 3" ? (the first XMB interface implementation in a PlayStation was the PSX, second was the PSP, and third was the PS3)
=== paf ===
?parseArgumentsFile?. Name inherited from psp firmware.
==== PAF related modules in PSP ====
vsh/module/paf.prx
vsh/module/pafmini.prx
==== PAF related modules in PS3 ====
vsh/module/paf.sprx      (from firmware 1.00 up to 2.17)
vsh/module/paf_ext.sprx  (from firmware 1.90 up to {{latestPS3}})
vsh/module/paf_psjs.sprx  (from firmware 2.70 up to {{latestPS3}})
vsh/module/paf_web.sprx  (from firmware 1.90 up to {{latestPS3}})
=== vsh ===
relates to [[VSH]]
=== sys_jp ===
?seems related to [http://en.wikipedia.org/wiki/Japanese_input_methods Japanese input method] I/O ?
=== codec ===
only seen in 0.90 and earlier, not in 0.95 and later
=== emu ===
only seen in 0.90 and earlier, not in 0.95 and later (where they are splitted into [[Emulation#ps1emu|ps1emu]] and [[Emulation#ps2emu|ps2emu]])
=== ps1emu ===
relates to [[Emulation#ps1emu]]
=== ps1netemu ===
relates to [[Emulation#ps1emu]]
=== ps1newemu ===
relates to [[Emulation#ps1emu]]
=== ps2emu===
relates to [[Emulation#ps2emu]]
=== ps2gxemu ===
relates to [[Emulation#ps2emu]]
=== ps2softemu ===
relates to [[Emulation#ps2emu]]
=== pspemu ===
relates to [[Emulation#pspemu]]
=== emerald ===
?AV-player? / NA on DEX/DECH/DECR since 0.95
=== bdp ===
Bluray Disc Player. N/A on DEX/DECH/DECR since 0.95.
=== patch ===
=== auth ===
== PSVita ==
<pre>
sys-revision
vsh-revision
security-revision
sys-repository-path
vsh-repository-path
security-repository-path
sdk-internal-build-number
vsh-build-number
</pre>
{{Custom Firmware}}<noinclude>[[Category:Main]]</noinclude>
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)