Abstract
Network slicing in 5G and the future 6G networks will enable the creation ofmultiple virtualized networks on a shared physical infrastructure. Thisinnovative approach enables the provision of tailored networks to accommodatespecific business types or industry users, thus delivering more customized andefficient services. However, the shared memory and cache in network slicingintroduce security vulnerabilities that have yet to be fully addressed. In thispaper, we introduce a reinforcement learning-based side-channel cache attackframework specifically designed for network slicing environments. Unliketraditional cache attack methods, our framework leverages reinforcementlearning to dynamically identify and exploit cache locations storing sensitiveinformation, such as authentication keys and user registration data. We assumethat one slice network is compromised and demonstrate how the attacker caninduce another shared slice to send registration requests, thereby estimatingthe cache locations of critical data. By formulating the cache timing channelattack as a reinforcement learning-driven guessing game between the attackslice and the victim slice, our model efficiently explores possible actions topinpoint memory blocks containing sensitive information. Experimental resultsshowcase the superiority of our approach, achieving a success rate ofapproximately 95\% to 98\% in accurately identifying the storage locations ofsensitive data. This high level of accuracy underscores the potential risks inshared network slicing environments and highlights the need for robust securitymeasures to safeguard against such advanced side-channel attacks.