Guide for Siri Authentication keys on Mac

By following this guide you will learn how to extract Siri Authentication keys from a function iPhone 4S, once these keys are extracted they can be used with any Siri GUI Ports and SiriProxy to create a functioning version of Siri on non-supported devices.


Please not that you should never distribute your own keys, as they will be blacklisted by Apple if they are seen connected to too many requests. 


For my purposes this guide was completed on Mac OS X 10.6.8:

First ensure you have Xcode installed.

Then open terminal and type:

 sudo su (when prompted, type in your Account Password) 
 gem install CFPropertyList
 gem install eventmachine 


Then download this folder and open the directory on your Mac (with cd /Pathofyoufile/)


Then, type:

 openssl genrsa -des3 -out ca.key 4096
 openssl req -new -x509 -days 365 -key ca.key -out ca.crt
 
openssl genrsa -des3 -out server.key 4096

IMPORTANT! Add guzzoni.apple.com as Common name now.

 openssl req -new -key server.key -out server.csr
 openssl x509 -req -days 365 -in server.csr -CA ca.crt -CAkey ca.key -set_serial 01 -out      server.passless.crt
 openssl rsa -in server.key -out server.key.insecure
 mv server.key server.key.secure
 mv server.key.insecure server.passless.key

You will get a file called ca.crt in the SiriProxy File. Send it via Mail to your iPhone 4S and install it.

Now, you will setup a fake DNS server. In the downloaded folder there is a file called dns.py. In line 29, replace YOURIPGOESHERE in there with your Macs IP address.



Now in terminal, open the directory where you saved dns.py (with cd /yourpath/ again)


Type:

 python dns.py
 ruby siriServer.rb

Done, Now you should get these 4 IDs:
  • 1. X-ACE-HOST
  • 2.   speechID
  • 3.   Session ValidationData
  • 4.   assistantID


Do not forget the creator of the files @kmsbueromoebel, and myself @BraddStevo
Highly recommended to use with SiriPort by @iP1neapple 

No comments:

Post a Comment