peframe 是一个开源工具,用于对 可移植可执行文件(Portable Executable)<http://en.wikipedia.org/wiki/Portable_Executable>_ 恶意软件和通用可疑文件进行静态分析。它能帮助恶意软件研究人员检测加壳、XOR、数字签名、互斥体、反调试、反虚拟机、可疑节和函数、宏以及更多关于可疑文件的信息。
下载
.. code-block::
sudo apt install git git clone https://github.com/guelfoweb/peframe.git cd peframe
Ubuntu 安装脚本
.. code-block::
sudo bash install.sh
安装(需要先决条件)
.. code-block::
sudo python3 setup.py install
先决条件
你的系统需要安装以下先决条件才能安装和使用 peframe。
.. code-block::
python >= 3.6.6
pyton3-pip
libssl-dev
swig
peframe -h
.. code-block::
peframe filename 简短输出分析
peframe -i filename 交互模式
peframe -j filename 完整输出分析(JSON 格式)
peframe -x STRING filename 搜索 XOR 字符串
peframe -s filename 字符串输出
注意
你可以编辑“config”文件夹中的“config-peframe.json”文件来配置 VirusTotal API 密钥。安装后可使用“peframe -h”查找 api_config 路径。
使用 peframe 6.0.1 分析 MS Office(宏)文档
.. image:: https://asciinema.org/a/mbLd5dChz9iI8eOY15fC2423X.svg :target: https://asciinema.org/a/mbLd5dChz9iI8eOY15fC2423X?autoplay=1
使用 peframe 6.0.1 分析 PE 文件
.. image:: https://asciinema.org/a/P6ANqp0bHV0nFsuJDuqD7WQD7.svg :target: https://asciinema.org/a/P6ANqp0bHV0nFsuJDuqD7WQD7?autoplay=1
A Longitudinal Analysis of Brazilian Financial Malware <https://www.lasca.ic.unicamp.br/paulo/papers/2020-TOPS-marcus.botacin-brazilian.bankers.pdf>_ (巴拉那联邦大学,Marcus Botacin, Hojjat Aghakhani, Stefano Ortolani, Christopher Kruegel, Giovanni Vigna, Daniela Oliveira, Paulo Lício de Geus, André Grégio 2020)Building a smart and automated tool for packed malware detections using machine learning <https://dial.uclouvain.be/memoire/ucl/en/object/thesis%3A25193>_ (鲁汶理工学院,天主教鲁汶大学,Minet, Jeremy; Roussieau, Julian 2020)Revealing Packed Malware <https://www.researchgate.net/publication/220496734_Revealing_Packed_Malware>_ (电气与计算机工程系,Nirwan Ansari,新泽西理工学院)Critical Infrastructures Security: Improving Defense Against Novel Malware and Advanced Persistent Threats (PDF) <https://iris.uniroma1.it/retrieve/handle/11573/1362189/1359415/Tesi_dottorato_Laurenza.pdf>_ (计算机、控制与管理工程系 Antonio Ruberti,罗马大学)Anatomy on Malware Distribution Networks (PDF) <https://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=9057639>_ (智能系统工程系,济州汉拿大学,韩国济州 63092)Intel Owl 0.4.0 <https://github.com/certego/IntelOwl/releases/tag/0.4.0>_ 该工具目前由 Gianni 'guelfoweb' Amato <http://guelfoweb.com/>_ 维护,可通过 [email protected] 或 Twitter @guelfoweb <http://twitter.com/guelfoweb>_ 联系。欢迎提出建议和批评。
Integration of Static and Dynamic Analysis for Malware Family Classification with Composite Neural Network <https://www.groundai.com/project/integration-of-static-and-dynamic-analysis-for-malware-family-classification-with-composite-neural-network/>_ (Yao Saint,资讯科学研究所,中央研究院,台湾)Machine Learning Aided Static Malware Analysis: A Survey and Tutorial <https://www.researchgate.net/publication/324702503_Machine_Learning_Aided_Static_Malware_Analysis_A_Survey_and_Tutorial>_ (Sergii Banin, Andrii Shalaginov, Ali Dehghantanha, Katrin Franke,挪威)Multinomial malware classification, research of the Department of Information Security and Communication Technology (NTNU) <https://www.sciencedirect.com/science/article/pii/S1742287618301956>_ (Sergii Banin and Geir Olav Dyrkolbotn,挪威)SANS DFIR Poster 2016 <http://digital-forensics.sans.org/media/Poster_SIFT_REMnux_2016_FINAL.pdf>_ (PEframe 被列入 REMnux 工具套件)Tools for Analyzing Static Properties of Suspicious Files on Windows <http://digital-forensics.sans.org/blog/2014/03/04/tools-for-analyzing-static-properties-of-suspicious-files-on-windows>_ (SANS 数字取证与事件响应,Lenny Zeltser)Automated Static and Dynamic Analysis of Malware <http://www.cyberdefensemagazine.com/newsletters/august-2013/index.html#p=26>_ (网络安全防御杂志,Andrew Browne,Lavasoft 恶意软件实验室主任)Suspicious File Analysis with PEframe <https://eforensicsmag.com/download/malware-analysis/>_ (eForensics 杂志,Chintan Gurjar)CERT FR Security Bulletin <https://www.cert.ssi.gouv.fr/actualite/CERTFR-2014-ACT-030/>_ (PEframe 在安全公告 CERTFR-2014-ACT-030 中被提及)Infosec CERT-PA Malware Analysis <https://infosec.cert-pa.it/analyze/submission.html>_ (PEframe 被用于 Infosec 项目的恶意软件分析引擎)