Edit on GitHub

GameService Server Authentication Keep-Alive Challenge

Summary

This packet is believed to serve as both a keep-alive and as an authentication/security challenge for the client.

The first challenge is sent within 2 minutes of the user logging in to the server, and then every 5 minutes exactly thereafter.

The response is Gameservice Client 0x0088 Authentication Keep-Alive Response.

Structure

gameservice_server_00d7_authentication_keepalive_challenge

Name Type Summary
unknown_token u2 Unchanging over the course of a single session. Identical in response. Might be some sort of key.
server_id u2 ID of the server currently connected to.
challenge_length u4 Seen lengths of 52 (0x34), 60 (0x3C), and 68 (0x44) bytes.
challenge_data bytes[challenge_length] Concerning PangyaTH, The first 16 bytes barely change at all across all known examples. The next 2 sets of 8 bytes can often remain consistent for up to an hour before changing, and repetitions/reuse of the latter set of 8 bytes have been witnessed across a 3 hour timespan in 2019. The remaining length is completely different on each challenge.

Definition

meta:
  id: gameservice_server_00d7_authentication_keepalive_challenge
  title: GameService Server Authentication Keep-Alive Challenge
  encoding: ASCII
  endian: le
  imports:
    - ../../common/pstring
seq:
  - id: unknown_token
    type: u2
  - id: server_id
    type: u2
  - id: challenge_length
    type: u4
  - id: challenge_data
    size: challenge_length

Examples

Agent: TH.R6.829.01
00000000 00000010 00000020 00000030 00000040 00000050
d7 00 71 6f f9 4e 4c 00 00 00 0c 47 29 91 27 8e 52 22 36 d5 78 b3 48 1c a1 44 df bd 08 c4 a9 ac af c5 a5 e0 9b 5f 39 9f 47 57 57 a1 9e 42 d6 b9 28 c0 5e 69 5a a7 eb fa fc 22 b7 a9 0c 70 14 6c c3 37 57 aa aa 6f 38 d2 4b a9 90 c5 33 b2 02 f9 27 ac a7 09 07 67
..qo.NL....G).'. R"6.x.H..D...... ....._9.GWW..B.. (.^iZ...."...p.l .7W..o8.K...3... '....g
Agent: TH.R6.829.01
00000000 00000010 00000020 00000030 00000040 00000050
d7 00 d8 67 f4 4e 4c 00 00 00 0c 47 29 91 27 8e 52 22 36 d5 78 b3 48 1c a1 44 39 8e 75 a2 4d 95 17 e2 08 01 43 4f bd ee 29 dc a9 0d 81 1b 46 bb 06 3a 56 63 37 8d b1 2e 9c 92 7c b1 bf 4d 46 ee 6b 27 30 1d 1b ce 83 b8 a2 21 fb 36 d0 00 ad 45 c2 b0 ff 7f 93 13
...g.NL....G).'. R"6.x.H..D9.u.M. ....CO..).....F. .:Vc7.....|..MF. k'0......!.6...E .....
Agent: TH.R6.829.01
00000000 00000010 00000020 00000030
d7 00 d8 67 f4 4e 34 00 00 00 0c 47 29 91 26 8e 50 22 36 d5 78 b3 48 1c a1 44 08 01 43 4f bd ee 29 dc a9 0d 81 1b 46 bb 06 3a d4 f3 7a 75 96 a9 65 35 12 ee 85 61 ec 13 24 03 97 e7 db b8
...g.N4....G).&. P"6.x.H..D..CO.. ).....F..:..zu.. e5...a..$.....
Agent: TH.R6.829.01
00000000 00000010 00000020 00000030 00000040
d7 00 d8 67 f4 4e 44 00 00 00 0c 47 29 91 26 8e 50 22 36 d5 78 b3 48 1c a1 44 08 01 43 4f bd ee 29 dc a9 0d 81 1b 46 bb 06 3a 19 c8 e9 79 00 09 a4 9c 84 83 76 d2 f0 fb b0 f9 4d c5 98 ba 37 5a 43 23 44 34 b7 26 dc ba f7 46 77 da db 42
...g.ND....G).&. P"6.x.H..D..CO.. ).....F..:...y.. ....v.....M...7Z C#D4.&...Fw..B
Agent: TH.R6.829.01
00000000 00000010 00000020 00000030 00000040
d7 00 d8 67 f4 4e 44 00 00 00 0c 47 29 91 26 8e 50 22 36 d5 78 b3 48 1c a1 44 08 01 43 4f bd ee 29 dc a9 0d 81 1b 46 bb 06 3a bc bd 10 f9 a2 ac 96 7e eb 84 cd 50 68 4a 1d 3e 71 d4 72 bd 74 dd 4d 6a e0 c2 3b 8b 0c bf 6b 54 af 5c 83 5d
...g.ND....G).&. P"6.x.H..D..CO.. ).....F..:...... .~...PhJ.>q.r.t. Mj..;...kT.\.]
Agent: TH.R6.829.01
00000000 00000010 00000020 00000030 00000040
d7 00 d8 67 f4 4e 3c 00 00 00 0c 47 29 91 26 8e 50 22 36 d5 78 b3 48 1c a1 44 08 01 43 4f bd ee 29 dc a9 0d 81 1b 46 bb 06 3a e1 8d 78 48 2f 3b 6e 35 77 3b d6 aa e0 46 03 39 a4 de 35 53 c5 64 04 42 97 e8 07 bf
...g.N<....G).&. P"6.x.H..D..CO.. ).....F..:..xH/; n5w;...F.9..5S.d .B....
Agent: TH.R6.829.01
00000000 00000010 00000020 00000030 00000040
d7 00 d8 67 f4 4e 3c 00 00 00 0c 47 29 91 26 8e 50 22 36 d5 78 b3 48 1c a1 44 08 01 43 4f bd ee 29 dc a9 0d 81 1b 46 bb 06 3a aa c0 e3 8a 8e 0a 5a 2d a4 36 23 4b 2f d7 cc af b6 8a b7 44 40 16 d0 5b 6f 7d 3f 55
...g.N<....G).&. P"6.x.H..D..CO.. ).....F..:...... Z-.6#K/......D@. .[o}?U
Agent: TH.R6.829.01
00000000 00000010 00000020 00000030 00000040
d7 00 d8 67 f4 4e 3c 00 00 00 0c 47 29 91 26 8e 50 22 36 d5 78 b3 48 1c a1 44 08 01 43 4f bd ee 29 dc a9 0d 81 1b 46 bb 06 3a f7 30 1b b9 ed 37 dc 3c 72 ad 3f e8 d0 ee 93 e9 e7 3c d0 82 52 33 cb 2a ef 00 cb 0c
...g.N<....G).&. P"6.x.H..D..CO.. ).....F..:.0...7 ..?......<..R3 .*....
Agent: TH.R6.829.01
00000000 00000010 00000020 00000030 00000040
d7 00 eb 7b f9 4e 44 00 00 00 0c 47 29 91 27 8e 52 22 36 d5 78 b3 48 1c a1 44 c2 e5 d7 13 a5 81 87 e3 4b 18 5d e4 d9 f5 3c e0 57 a1 9e 42 d6 b9 28 c0 fa 41 b4 82 a2 c9 8b 82 ba 3f 05 13 f0 ca 2d 8d 5a dc 6b 41 f5 f9 c0 9f 87 34 3f df
...{.ND....G).'. R"6.x.H..D...... ..K.]...<.W..B.. (..A.......?.... -.Z.kA.....4?.