Good morning I'm studying SGX vulnerabilities and I'm trying to implement the foreshadow attack as described in https://github.com/jovanbulck/sgx-step/tree/master/app/foreshadow.
I had some problems in running the sample and I need to make it works for my research and problem, did anyone already try to implement this attack?
On my Ubuntu cmd line I get the following error when I run the make run command inside the Foreshadow folder:
/usr/bin/ld: ../../libsgxstep/libsgx-step.a(aep_trampoline.o): relocation R_X86_64_32S against symbol `sgx_step_tcs' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
Makefile:56: recipe for target 'app' failed
make: *** [app] Error 1
Thanks a lot,