Editing SIG File Format

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 2: Line 2:
Objects used  by the .SIG files.
Objects used  by the .SIG files.


*CONSOLE
*TOOLKIT
**Windows command-line (cmd)
**Unknown
*DIAGSERVICE
**PinJig diagnose
*EDIT
**SIG/XLS Editor (Sakura Editor / Microsoft Office)
*FILE
*FILE
**A file operation, currently thought to be in the temp directory of the USB
**A file operation, currently thought to be in teh temp directory of the USB
*PIO
*PS3PICSY
**Contec GPIB Interface (to PinJig)
*PKG CERTIFICATE
**Unknown
**Unknown
*PRINTER
**Label Printer
*RS232C <!-- PSP -->
**misc. UART Port
*PS/2
*PS/2
**Likely from a barcode reader on COM1 with '''9600,7,2,0,50,0,0,0,0''' as settings.
**Likely from a barcode reader on COM1 with '''9600,7,2,0,50,0,0,0,0''' as settings.
*PS3LV2DIAG
*PS3LV2DIAG
**Functions in the LV2Diag
**Functions in the LV2Diag
*PS3PICSY
**Unknown, likely WWCS communications to a centralized server used at the factory or repair center.
*PS3UART
**Syscon UART
*SKZPDM
**Sony EMCS factory server
*SMTP
**Mail
*TCP/IP/C
**TCP client
*TCP/IP/S
**TCP server
*TOOLKIT
**ObjectiveSuites built-in


=Functions=
=Functions=
Functions called by the .SIG files, arranged by the objects that are available. Functions can have one, more, or no arguments (s_data, s_delim, r_data, and r_delim) associated with it.
Functions called by the .SIG files, arranged by the objects that are available.  
 
The following syntax items have been noticed:
*for options, ''temp:xxxx'' where xxxx is a file name in the temp folder of the USB flash drive
*for options, ''xml:xxxx'' where xxxx is the .SIG file name (XML data set name)
*for options, a HEX number
*for options, two comma delimited values
*for other arguments, ''file://temp:'' for a file located in the temp folder of the USB flash drive.
*for other arguments, a string to be displayed
 
==TOOLKIT==
==TOOLKIT==
*IsInit
*IsInit
Line 54: Line 21:
*Exit
*Exit
*GetDateTime
*GetDateTime
*CreateProcess




Line 73: Line 38:
*Operator
*Operator
*Read
*Read
*HexToDec


==PS3PICSY==
==PS3PICSY==
Line 84: Line 47:
*RequestIdps
*RequestIdps
*RequestServerTime
*RequestServerTime
*EntryWwcsLog
*RequestSetSerial




Line 94: Line 53:


==PS3LV2DIAG==
==PS3LV2DIAG==
'''''The functions available with this object will likely vary with the LV2DIAG used.'''''
*Open
*Open
*WaitEvent
*WaitEvent
Line 100: Line 58:
*WriteRead
*WriteRead
*Close
*Close
*GetScErrLog
*UpdateSYSCON (Unleaked .SIG file in combination with a modified downgrade lv2diag)
==EDIT==
*Write
== Tools useable for SIG files ==
=== ssleay32.dll patch ===
small ssleay32.dll patch for ObjectiveSuites (educational use only): http://www.sendspace.com/file/xoxehb
=== .SIG <> XLS ===
<pre>/*
* sigtool.c
*
* Copyright (C) an0nym0us
*
* This software is distributed under the terms of the GNU General Public
* License ("GPL") version 3, as published by the Free Software Foundation.
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int
main ( int argc, char *argv[] )
{
  int i = 0 ;
  FILE *src_file ;
  FILE *dst_file ;
  size_t buf_size = 0 ;
  char *src ;
  char *dst ;
  if (argc != 3) {
    fprintf(stderr, "usage: %s SOURCE_FILE.SIG DEST_FILE.XLS\n", argv[0]);
    return -1;
  }
  src_file = fopen ( argv[1], "rb" ) ;
  dst_file = fopen ( argv[2], "wb" ) ;
  fseek ( src_file, 0L, SEEK_END ) ;
  buf_size = ftell ( src_file ) ;
  fseek ( src_file, 0L, SEEK_SET ) ;
  src = malloc ( buf_size ) ;
  dst = malloc ( buf_size ) ;
  fread ( src, buf_size, 1, src_file ) ;
  for ( i = 0; i < buf_size; i++ )
  {
    if ( src[i] >= 0x20 && src[i] <= 0x7e )
    {
      dst[i] = (char)0x9e - (char)src[i] ;
    }
    else
    {
      dst[i] = (char)src[i] ;
    }
  }
  fwrite ( dst, buf_size, 1, dst_file ) ;
 
  fclose ( src_file ) ;
  fclose ( dst_file ) ;
  free ( src ) ;
  free ( dst ) ;
  return ( 0 ) ;
}</pre>
source: http://pastie.org/private/s7bpqozymhn5bwxbjjqzq
=== unsig - SIG File De-/Recrypter ===
vote + download : http://psx-scene.com/forums/content/unsig-sig-file-decrypter-re-crypter-1771/
=Files leaked by an0n=
Objective suites creates files in the temp folder inside the Objective Suites folder where the EXE is ran whenever it processes the commands in a sig file. This section attempts to unravel what these files are.
==auth_0.txt==
auth_0.txt is the MAC of '''a''' NIC, the JIG PC's used at the repair centers may very well be dual homed. One NIC for PS3 Communication and one for external communication.
==auth_1_.txt==
auth_1.txt is the MAC of '''another''' NIC, the JIG PC's used at the repair centers may very well be dual homed. One NIC for PS3 Communication and one for external communication.
==auth_01.txt==
This file is simply:
auth_0.txt+auth_1.txt.
==auth_10.txt==
This file is simply:
auth_1.txt+auth_0.txt
==auth_data.txt==
This file is (probably) the NIC that authenticated (it '''''IS''''' one of the NICS in retrieved in earlier lines of the SIG file) and another MAC address, of which the source is unknown at this time.
==request_idps_in.txt==
''(the one one after this is all you have left math of CEX-DEX)''
This file is the following files concatenated together, in a tab delimited fashion:
pd_label.txt '''''[tab]''''' kiban_id.txt '''''[tab]''''' cid.txt '''''[tab]''''' ecid.txt '''''[tab]''''' idps_bbox_config_version.txt
This data is sent to Sony's servers to process. The product is sent back to Objective suites.
(Kiban :from Japanese 機番 = machine number)
==request_idps.txt==
'''This is the file needed for the SET-IDPS portion of the original CEX-DEX leak.''' It is:
pd_label_bin_ascii.txt + [the result of the call to sony for request_idps_in.txt]
=CERTIFICATE=
[[File:Pkgsig.JPG]]
==Structure==
{| class="wikitable sortable"
|-
! Offset !! Length !! Value !! Note
|-
| 0x0 || 0x4 || '.CER' || magic
|-
| 0x4 || 0x4 || 0x00000006 || type?
|-
| 0x8 || 0x4 || 0 ||
|-
| 0xC || 0x4 || 0 ||
|-
| 0x10 || 0x30 || 'EP9000-PCSF00284_00-CROSSCONTROLLERV' || NP Content Id
|-
| 0x40 || 0xC0 || 0 || padding?
|-
| 0x100 || 0x100 || encrypted data || Password/Certificate PKG information?
|}
Cross Controller Game list:
*Sly Cooper: Thieves in Time
*Ultimate Marvel vs Capcom 3
*LittleBigPlanet 2 (extra edition or updates/DLC)
*Guacamelee!
{{File Formats}}<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)