%0 Journal Article %T Security and Reliability Trade-off in Device to Device Communications with Untrusted Relays %J AUT Journal of Modeling and Simulation %I Amirkabir University of Technology %Z 2588-2953 %A Izanlou, Marzieh %A Mohammadi, Abbas %A moghadam, Mohammad Dosaranian %D 2020 %\ 12/01/2020 %V 52 %N 2 %P 167-178 %! Security and Reliability Trade-off in Device to Device Communications with Untrusted Relays %K Device to Device %K Intercept Probability %K Physical Layer Security %K Security and Reliability Trade-off %K Secrecy Outage Probability %R 10.22060/miscj.2020.17653.5190 %X In this paper, we investigate the trade-off between reliability and security in a device to device (D2D) network including a pair of D2D, an untrusted relay, and a jammer. The untrusted relay is used as aiding to D2D communications but due to untrusting the relay, data protection from eavesdropping by relay is very important. According to this, two protocols direct transmission (DT) and relay transmission (RT) are considered for transmission in network. In the DT protocol, D2D pair directly and without relay aid and in the RT protocol, D2D pair use from relay for communication. In this paper, first, secrecy outage probability (SOP) and intercept probability and then trade-off between reliability and security presenting the closed-form relations for two protocols are investigated. Simulation results show the reliability of analytic relationships and show that in a steady intercept probability, DT protocol into RT protocol has a higher reliability. Also, the simulation results show that in RT, intercept probability is lower into the DT protocol and consequently security increases in RT into the DT protocol. Also the results confirm that increasing security increases the likelihood of loss of communication, and increasing the likelihood of reliable communication reduces communications security. %U https://miscj.aut.ac.ir/article_3817_2eeff0b2240037404cbfa162cbfb17d6.pdf