News

Escaping the Maze – A Z3 Solver Tutorial for Reverse Engineers

In the context of malware analysis, the Reverse engineering Custom ciphers present a challenge: when an algorithm combines multiple layers of permutation, key mixing, and substitution, manual analysis slows down and quickly becomes more complex and inaccurate.

The new study from Malware Lab show how to overcome this limitation by using Z3, an SMT solver developed by Microsoft Research that, instead of manually inverting the cipher, models the function in symbolic form, leaving the solver to automatically reconstruct its inverse.

Based on a real case, starting from a Substitution-Permutation Network from KALMAR CTF 2024, this analysis shows how Z3's methodology is directly applicable also to the analysis of loader, ransomware e packer.

After introducing the operating principles of Z3, the study illustrates a complete solving script, delves into the topic of symbolic indexes and concludes with an account of the main difficulties encountered in its initial applications. 

If you wish to learn more, here is the link to our comprehensive study.

In addition, you can subscribe to the specific mailing list Cyber Studios by T-Defence, to receive updates on upcoming research:

https://tinextadefence.it/mailing-list-cyber-studios/

Share:

Degree in Business Administration from the University of Naples 'Federico II' with an MBA in Business Management achieved with high merit in 2008 by winning a scholarship provided by Invitalia S.p.A. from which she was selected in the first months of attendance as the best MBA profile.

After a brief experience in Invitalia S.p.A., he immediately held increasingly important roles in the management of Administration, Finance and Control of companies operating in the defence sector, theInformation Technology, of Cyber and National Security. In addition, she was Treasury Manager in companies operating in theEnergy.

He obtained an Executive Master in Finance (EMF) at SDA Bocconi in 2020, with a specialisation in Corporate Finance & Control and, in 2022, a further specialisation track in Asset, Wealth Management also at SDA Bocconi.

For over five years it has been the Chief Financial Officer of the Defence Tech Group, whose listing process he followed on the Euronext Growth Milan segment of Borsa Italiana.

From 2017 to 2024, she was a member of the boards of directors of all the legal entity of the Defence Tech Group with delegated powers over their financial management and from October 2021 to October 2024 was a Board Member of the Holding Company.

It is currently also Investor Relations Manager of the listed Defence Tech and follows all ESG issues of the Group.

In July 2021, she was recognised by Federmanager as one of the best talents under 44 at national level, receiving an important award as Young Manager 2020.