之前安装对抗控制流平坦化的工具deflat.py但失败,今天成功了😃

控制流平坦化是一种代码混淆技术,就是让流程图平坦、扁平源码,把清晰的逻辑变得很难看懂

image-20230409164158635

原理讲解:https://bbs.kanxue.com/thread-284242.htm

去平坦化环境安装

windows环境

pip install angr

https://github.com/cq674350529/deflat

运行python deflat.py -f test –addr main函数地址

image-20250803211248453

未混淆的可执行文件

image-20250803224034898

平坦化的可执行文件

image-20250803224123481

去平坦化的可执行文件

image-20250803224332994

程序逻辑清晰了很多