Feb 8, 2014 01:15 PM
(This post was last modified: Jun 22, 2014 11:53 AM by DragonHunter.)
Hey folks whats up,
As you might know or not from time to time I'm now looking at how good network security is being done
And for right now it's not looking so good 😵
Well so I was thinking... I play minecraft... why not have a bit of fun in there and see what's up?
I never knew minecraft had their connection encrypted which was fun to know it was
So I went ahead and did a few days of research and having fun with different servers and surprisingly I noticed a few things
At the very end when I had everything decrypted I was at the point of the login HOORAY... or not... appearently minecraft was hashing their ServerId+AES+Public RSA Key...
So yeah... there was where the fun ended for me 😑
What I was able todo:
Change the AES and RSA Key to anything I wanted it to be
Dumping the login information
Dumping the AES/RSA (Modulus + Exponent)
Getting the server protocol version (game version)
Getting the IP Address / Port of where minecraft wants to connect to
Spoofing RSA-1024bit and Spoofing AES-128bit
Re-building the packets
Verifying if spoofs were successfull
Decrypting and processing the data/packets
Cloning myself into a different server (look at image below)
Decrypt and Encrypt again
The connection is encrypted with AES 128bit and RSA 1024bit
I'm having the AES-128bit stealthy spoofed but that did not fix my problem for the RSA-1024bit which I really needed for gathering everything else
I had to spoof the RSA-1024bit otherwise I wouldn't get the AES-128bit key
So in short I'm currently stuck at a small problem... getting a bypass for the RSA-1024bit spoof
If I'm able to get the private key of the public key only thing I would be able to get ingame
Cloning a server example
![[Image: 6OHKb.png]](https://puu.sh/6OHKb.png)
The MITM and Game which shows "Not authenticated with Minecraft.net"
![[Image: 6OHNB.png]](https://puu.sh/6OHNB.png)
Minecraft server in Offline-Mode
![[Image: 6OI6R.jpg]](https://puu.sh/6OI6R.jpg)
Modifying encrypted data is possible 😎
![[Image: 6OJHG.png]](https://puu.sh/6OJHG.png)
Only in Offline-Mode I would be able to be being ingame, Hopefully I will fix the Hash issue soon for the login 🤝
Enjoy 🤝
As you might know or not from time to time I'm now looking at how good network security is being done
And for right now it's not looking so good 😵
Well so I was thinking... I play minecraft... why not have a bit of fun in there and see what's up?
I never knew minecraft had their connection encrypted which was fun to know it was
So I went ahead and did a few days of research and having fun with different servers and surprisingly I noticed a few things
At the very end when I had everything decrypted I was at the point of the login HOORAY... or not... appearently minecraft was hashing their ServerId+AES+Public RSA Key...
So yeah... there was where the fun ended for me 😑
What I was able todo:
Change the AES and RSA Key to anything I wanted it to be
Dumping the login information
Dumping the AES/RSA (Modulus + Exponent)
Getting the server protocol version (game version)
Getting the IP Address / Port of where minecraft wants to connect to
Spoofing RSA-1024bit and Spoofing AES-128bit
Re-building the packets
Verifying if spoofs were successfull
Decrypting and processing the data/packets
Cloning myself into a different server (look at image below)
Decrypt and Encrypt again
The connection is encrypted with AES 128bit and RSA 1024bit
I'm having the AES-128bit stealthy spoofed but that did not fix my problem for the RSA-1024bit which I really needed for gathering everything else
I had to spoof the RSA-1024bit otherwise I wouldn't get the AES-128bit key
So in short I'm currently stuck at a small problem... getting a bypass for the RSA-1024bit spoof
If I'm able to get the private key of the public key only thing I would be able to get ingame
Cloning a server example
![[Image: 6OHKb.png]](https://puu.sh/6OHKb.png)
The MITM and Game which shows "Not authenticated with Minecraft.net"
![[Image: 6OHNB.png]](https://puu.sh/6OHNB.png)
Minecraft server in Offline-Mode
![[Image: 6OI6R.jpg]](https://puu.sh/6OI6R.jpg)
Modifying encrypted data is possible 😎
![[Image: 6OJHG.png]](https://puu.sh/6OJHG.png)
Only in Offline-Mode I would be able to be being ingame, Hopefully I will fix the Hash issue soon for the login 🤝
Enjoy 🤝
ReadMe: http://pastebin.com/EscqLWyY




![[Image: g6bziK0.jpg]](https://i.imgur.com/g6bziK0.jpg)
![[Image: IQE6i8G.png]](https://i.imgur.com/IQE6i8G.png)
![[Image: jlscvfi.png]](https://i.imgur.com/jlscvfi.png)