THREATOPS
THREAT OPSThreat News › Creating a "Two-Face" Rust binary on Linux

Creating a "Two-Face" Rust binary on Linux

lowsynacktiv

In this article we will describe a technique to easily create a "Two-Face" Rust binary on Linux: an executable file that runs a harmless program most of the time, but will run a different, hidden code if deployed on a specific target host. This approach, which allows binding a binary to its environment, can be useful for a targeted malware payload or, more commonly, in a license protection mechani

Original source: https://www.synacktiv.com/en/publications/creating-a-two-face-rust-binary-on-linux.html