I have Ubuntu 14.04 x64 and I am running Ida pro V6.6 in virtual box in windows 8 ... currently I want to debug some Linux elf's using Ida either via IDA linux remote server or gdbserver but I don't know how to set up such thing (remember Linux is the host and windows is the guest and IDA runs in windows)
1 Answer
- Ensure that networking is enabled on the guest system and that it can communicate via TCP/IP with the host system.
- Copy
<IDA installation directory>\dbgsrv\linux_serverx64
to your host system and run it. - Copy the target ELF binary to the guest system and load it into IDA (disassemble it).
- In IDA (on the guest system), go to
Debugger → Select debugger...
in the menu bar and chooseRemote Linux debugger
. - In IDA (on the guest system), go to
Debugger → Process options...
in the menu bar and specify the hostname or IP of your host system, the debugging port used bylinux_serverx64
, and the debugging password (if you specified one when runninglinux_serverx64
). - In IDA (on the guest system), select
Debugger → Start process
in the menu bar (orAttach to process...
if the target is already running on the host system).
Further references: