Setting up IDA Pro to remote debug a Linux executable with GDB server

To setup, make sure that debugging VM and target Linux VM can see each other.

Just follow instructions at https://hex-rays.com/products/ida/support/idadoc/1343.shtml


Some pitfalls:

IDA cannot establish a connection

* check settings carefully

* check VM settings

* check IP config

    - To set static IP in Linux. e.g. sudo ifconfig ens33 10.10.10.10 netmask 255.255.255.0

* Try running with admin or su privileges

* firewall may be blocking the ports. To allow port connectivity:

$ sudo ufw allow from any to any port 23946,23947 proto tcp



Popular Posts