<div dir="ltr"><div>Hello,</div><div><br></div><div>We develop an application on a highly regulated market. Some regulators force us to protect the running code from memory modification attacks. Consider following attack:</div><div>- the app is running and all modules are loaded</div><div>- attacker gains access to RAM, scans it and modifies a value in the memory (or a function) so the the running code differs from the code that has been loaded during initialization <br></div><div>- the app continues operation without noticing that code has been modified</div><div>- a state where two different apps are located on a  single machine: the one in RAM and the one on the disk</div><div><br></div><div>I'm looking for *any* measures provided by erlang vm/tooling that would help mitigating this attack.</div><div><br></div><div>The beam_lib provides tools for verifying the integrity of beam files but some kind of access to the running code would be required to close the loop here. <br></div><div><br></div><div>Thanks</div><div>WZ<br></div></div>