Extrez / Erina

Erina is an open source Shaiya packet analyzer
6 stars 6 forks source link

Show all incoming and outcoming packets #1

Open Extrez opened 4 years ago

Extrez commented 4 years ago

This issue it's created for show how to work Shaiya infrastructure between the client and server, here we call Client and Server as Actors.

How to Shaiya interact with the server?

Basically we have two Actors (Client and Server), the client connect to the server using TCP/IP Protocol, while the actor is connected, each actor can Send and Receive Packets:

image

When an actor send a packet, this packet can be encrypted or not:

image

When an actor receive a packet, can be decrypt the packet or not, after do this the actor handle the packet:

image

So, for show all the incoming and outcoming packets, we need search for encryption and decryption function address and inject the code just before the functions for show each packet.

Requeriments

Roadmap

push opcode
push packet
push length
call 0x0054D560
push packet
push length
call 0x00549C10
Extrez commented 4 years ago

Well, now we show all the packets in a windows console! image

The next step is the same but for the server side.