日本综合一区二区|亚洲中文天堂综合|日韩欧美自拍一区|男女精品天堂一区|欧美自拍第6页亚洲成人精品一区|亚洲黄色天堂一区二区成人|超碰91偷拍第一页|日韩av夜夜嗨中文字幕|久久蜜综合视频官网|精美人妻一区二区三区

RELATEED CONSULTING
相關(guān)咨詢
選擇下列產(chǎn)品馬上在線溝通
服務(wù)時(shí)間:8:30-17:00
你可能遇到了下面的問題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營(yíng)銷解決方案
Manalyze:PE文件的靜態(tài)分析工具

介紹

當(dāng)我的殺毒軟件第13次嘗試隔離我的病毒樣本集時(shí),我決心開發(fā)Manalyze。另一方面的原因也是我對(duì)殺毒軟件日益失望,它們不會(huì)解釋為什么把某個(gè)文件判斷為惡意軟件。顯然,大部分人需要有個(gè)殺毒軟件來幫他們做決定。但我認(rèn)為很多專家用戶,即病毒分析人員可以使用一種能夠提供盡可能多信息的工具來分析PE可執(zhí)行文件,并且由他們自己來做最后的決定。

想要查看此工具生成的樣本報(bào)告,可訪問https://manalyzer.org/。

PE文件的靜態(tài)分析工具

Manalyze是用C++寫的,支持Windows和Linux平臺(tái),以GPLv3協(xié)議發(fā)布。Manalyze是一款針對(duì)PE文件的強(qiáng)大分析器,它有靈活的插件架構(gòu),能讓用戶深入分析文件。它能夠

能夠識(shí)別PE的編譯器
識(shí)別加殼的可執(zhí)行文件
應(yīng)用ClamAV簽名
查找可疑字符串
尋找惡意的入口組合(即 WriteProcessMemory + CreateRemoteThread)
識(shí)別程序中密碼算法(跟IDA的findcrypt插件類似)
提交哈希值到VirusTotal
驗(yàn)證authenticode簽名(僅Windows)

如何生成

Linux 和 BSD平臺(tái)(Debian Jessie 和 FreeBSD 10.2測(cè)試通過)

$> [sudo or as root] apt-get install libboost-regex-devlibboost-program-options-dev libboost-system-dev libboost-filesystem-devbuild-essential cmake git
$> [alternatively, also sudo or as root] pkg installboost-libs-1.55.0_8 cmake
$> git clone https://github.com/JusticeRage/Manalyze.git&& cd Manalyze
$> cmake .
$> make
$> cd bin && ./manalyze --version

Windows平臺(tái)

1. 從boost.org獲取Boost庫(kù),安裝CMake

2. 生成boost庫(kù)

cdboost_1_XX_0 && ./bootstrap.bat && ./b2.exe--build-type=complete --with-regex --with-program_options --with-system--with-filesystem

添加一個(gè)BOOST_ROOT環(huán)境變量,指向boost_1_XX_0文件夾的路徑

3. 下載安裝Git

4. git clone https://github.com/JusticeRage/Manalyze.git && cd Manalyze &&cmake

5. Manalyze文件夾中應(yīng)該有一個(gè)VisualStudio項(xiàng)目manalyze.sln。

離線生成

如果你要在沒有網(wǎng)絡(luò)的電腦上生成Manalyze,你要查看以下項(xiàng)目:

Yara

hash-library

將這兩個(gè)文件放到external文件夾,即external/yara和external/hash-library。然后運(yùn)行runcmake . -DGitHub=OFF。

二進(jìn)制文件

Windows x86二進(jìn)制文件

所有的二進(jìn)制文件都有證書簽名,指紋為:26fc24c12b2d84f77615cf6299e3e4ca4f3878fc。

生成ClamAV規(guī)則

由于ClamAV簽名數(shù)量龐大并且更新頻繁,把它們放在二進(jìn)制文件里顯然不合適。當(dāng)你第一次使用ClamAV插件時(shí),可能會(huì)看到這個(gè)錯(cuò)誤信息:[!]Error: Could not load yara_rules/clamav.yara。要生成一下的話就去bin/yara_rules運(yùn)行update_clamav_signatures.py。

要更新簽名的時(shí)候就運(yùn)行一下這個(gè)腳本。

用法

$ ./manalyze.exe --help
Usage:
-h [ --help ] Displays this message.
-v [ --version] Prints the program's version.
--pe arg The PE to analyze. Also accepted as a positional
argument. Multiple files may be specified.
-r [ --recursive] Scan all files in a directory(subdirectories will be
ignored).
-o [ --output ]arg The output format. May be 'raw'(default) or 'json'.
-d [ --dump ]arg Dump PE information. Available choices are any
combination of: all, summary, dos(dos header), pe (pe
header), opt (pe optional header), sections, imports,
exports, resources, version, debug, tls
--hashes Calculate various hashes of the file (may slow down the
analysis!)
-x [ --extract ]arg Extract the PE resources to the target directory.
-p [ --plugins ]arg Analyze the binary with additional plugins. (may slow
down the analysis!)

可用插件:

– clamav:使用ClamAV病毒特征庫(kù)掃描二進(jìn)制文件

– compilers: 嘗試判斷生成二進(jìn)制文件所使用的編譯器

– peid: 返回二進(jìn)制文件的PEiD簽名

– strings: 檢測(cè)可疑字符串(anti-VM,process names…)

– findcrypt: 識(shí)別程序中密碼算法

– packer: 檢測(cè)加殼

– imports: 檢查可疑入口

– resources: 分析程序的資源

– authenticode: 檢查PE的數(shù)字簽名是否有效

– virustotal: 在VirusTotal檢查樣本檢測(cè)結(jié)果

– all: 運(yùn)行所有可用插件

使用范例

manalyze.exe program.exe

manalyze.exe -dresources -dexports -x out/ program.exe

manalyze.exe –dump=imports,sections –hashes program.exe

manalyze.exe -r malwares/ –plugins=peid,clamav –dump all

樣本報(bào)告


分享標(biāo)題:Manalyze:PE文件的靜態(tài)分析工具
鏈接分享:http://www.dlmjj.cn/article/cohoois.html