National security is a paramount concern for all states. However, the approaches adopted vary significantly, ranging from intrusive methods that threaten individual liberties to more balanced strategies aimed at protecting both security and citizens' privacy. In this context, metadata analysis emerges as a promising solution, offering a balance between effectiveness and respect for fundamental rights.