| 用途 | 无运行状态下判断功能方向 |
|---|---|
| 关注 | 区段熵 / 编译时间 / 导入 DLL 与函数 |
查看
查看
python3 -m pip show pefile >/dev/null 2>&1; python3 - <<'EOF'
import pefile
pe = pefile.PE('sample.bin')
for e in pe.DIRECTORY_ENTRY_IMPORT[:8]:
print(e.dll.decode(), [i.name.decode() for i in e.imports[:6] if i.name])
EOF编译时间可被伪造,作为线索而非结论。