Decode Aion packets

10/19/2017 09:50 thelastfleeting#1
Hello,

I'm working on a kind of program to list the dps of players, showing also their skills by using mainly the packets sniffing. I analysed the packets and listed some of them by using the same skill in game and the same target.

My question is how can i decode those packets, are they crypted? Is there a way to decrypt them?

I'm going to give you a piece of one packet, the DATA area:

1b 0 6a 96 2e 75 7c 3e 7e a9 7c 5f e7 24 8d 91 bf 5e 79 a0 31 83 6c 65 47 40 7c

I suspect that the red part is the target (the mob). But i don't know if it's the id of the target, the name of the target or anything else or it's just crypted...
But each time i was changing the target, that part was changing.

To advance in this project, i would be glad to have some helps.

Thank you in advance
10/20/2017 02:36 AionScript#2
check l2phx for aion
11/06/2017 13:53 thelastfleeting#3
Well, i couldn't find a version of l2phx that could work... but i tried with Samurai Packet, i made it work but the problem is, it doesn't link the packet to the right opcode variable... I guess the opcodes are wrong, but i'm also wondering if the crypto key has been changed? do you think it's possible? I'm using the version "PacketSamurai 5.x EU".

How hard it is to find the decrypt key and the opcode? For the opcode, wouldn't it take a lot of time as there are really many...?

Thank you for your help
07/12/2020 15:30 ThorsNextKrobanPro#4
size / opcode/ ~opcode / byte: client/server packet / <- data -> is the packet structure of nearly all packets(gameserver) login looks similar , chatserver isnt encrypted at all.
its blowfish encrypted so every big patch you need to find 4 keys(KeyXor/KeyAdd+OpXor/OpAdd). every little patch you need to find 2 keys(OpXor/OpAdd)