[Tutorial] Remote debugging AK servers with IDA

Results 1 to 1 of 1
  1. #1
    Yes, it's really me HuninHune is offline
    MemberRank
    Sep 2006 Join Date
    ::1Location
    1,084Posts

    [Tutorial] Remote debugging AK servers with IDA

    Hopefully this guide will help some people. Whole process is super easy.

    Files needed : IDAPro(find on google or use this one I found on google)
    https://www.dropbox.com/s/s6o9vh07mwcwoqe/IDA_v6.1.rar

    Step 1 : Upload the file named "linux_serverx64" to your server, doesn't really matter where

    Step 2 : Log in to your server and change to the directory you uploaded linux_serverx64 to

    Step 3 : type "chmod +x linux_serverx64"

    Step 4 : type "./linux_serverx64 -P[anythingyouwant] &"

    Step 5 : You will see something like this
    Code:
    [root@ns525328 ~]# ./linux_serverx64 -P12345 &
    [1] 3840
    [root@ns525328 ~]# IDA Linux 64-bit remote debug server(ST) v1.14. Hex-Rays (c) 2004-2011
    Listening on port #23946...
    Note the port #

    Step 6 : Open the port that debug server is listening on by typing
    Code:
    iptables -A INPUT -p tcp --dport 23946 -j ACCEPT
    if you change port from default change the rule also ofc

    Step 7 : On your local PC open IDA, run idaq64

    Step 8 : In IDA open the debugger menu -> Attach -> Remote Linux Debugger

    Step 9 : Enter your servers IP in the Hostname field, and the password you entered earlier in the Password field, if you changed ports also change the port here.

    Step 10 : Click OK and a window should open saying "Choose process to attach to"

    Step 11 : Select the server you want to debug, and it should open... you can now go about debugging like you're on localhost



    If you have any questions, odds are I wont answer but someone else might.




Advertisement