BinSkim

一种二进制静态分析工具,为 Windows Portable Executable 和 *nix ELF 二进制格式提供安全性和正确性结果。(A binary static analysis tool that provides security and correctness results for Windows portable executables.)

  • 所有者: microsoft/binskim
  • 平台: Windows
  • 許可證: Other
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

BinSkim二进制分析器

此存储库包含BinSkim的源代码,BinSkim是一个可移植可执行(PE)轻量级扫描程序,用于验证编译器/链接器设置和其他与安全相关的二进制特性。

开发人员

  1. 分发存储库 - 需要帮助?
  2. 加载并编译 src\BinSkim.sln
  3. 执行 bld\bin\BinSkim.Driver 中的输出以进行测试

提交Pull Requests

  1. 在征集的根目录下运行 BuildAndTest.cmd 以确保所有测试都通过,并且x64和x86版本的构建成功
  2. 提交合并请求 - 需要帮助?

用户

  1. NuGet 下载BinSkim
  2. 阅读 使用手册
  3. 详细了解静态分析结果交换格式 SARIF 用于输出Binskim结果

命令行快速指南

参数(短格式,长格式) 含义
--sympath 符号路径值 (e.g. SRV http://msdl.microsoft.com/download/symbols or Cache d:\symbols;Srv http://symweb)
-o, --output 用于使用 SARIF 编写和输出分析的文件路径
-v, --verbose 发出详细的输出。综合报告旨在为合规性方案提供适当的证据
-r, --recurse 在计算文件说明符参数时递归到子目录中
-c, --config (默认:'default')用于配置分析的策略文件的路径。传递'default'值(或省略参数)调用内置设置
-q, --quiet 不要将结果记录到控制台
-s, --statistics 为分析会话生成计时和其他统计信息
-h, --hashes 输出SARIF报告时输出分析目标散列值
-e, --environment 记录计算机环境运行详细信息到输出文件。警告:此选项会将潜在敏感信息(例如所有环境变量值)记录到日志文件中。
-p, --plug-in 插件的路径,将针对分析中的所有目标设置。
--help 参数信息表。
--version BinSkim版本详情。
value pos. 0 一个或多个指定文件、目录或筛选器模式的说明符,可解析为一个或多个要分析的二进制文件。

示例:binskim.exe analyze c:\bld\*.dll --recurse --output MyRun.sarif

概覽

名稱與所有者microsoft/binskim
主編程語言C#
編程語言C# (語言數: 8)
平台Windows
許可證Other
發布數17
最新版本名稱v2.0.0-rc1 (發布於 )
第一版名稱v1.7.0 (發布於 )
創建於2015-10-01 23:25:39
推送於2024-04-29 21:56:41
最后一次提交
星數750
關注者數77
派生數153
提交數873
已啟用問題?
問題數267
打開的問題數119
拉請求數499
打開的拉請求數13
關閉的拉請求數210
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?

# BinSkim Binary Analyzer

This repository contains the source code for BinSkim, a Portable Executable (PE) light-weight scanner that validates compiler/linker settings and other security-relevant binary characteristics.

For Developers

  1. Fork the repository -- Need Help?
  2. Load and compile src\BinSkim.sln to develop changes for contribution.
  3. Execute BuildAndTest.cmd at the root of the enlistment to validate before submitting a PR.

Submit Pull Requests

  1. Run BuildAndTest.cmd at the root of the enlistment to ensure that all tests pass, release build succeeds, and NuGet packages are created
  2. Submit a Pull Request to the 'develop' branch -- Need Help?

For Users

  1. Download BinSkim from NuGet
  2. Read the User Guide
  3. Find out more about the Static Analysis Results Interchange Format (SARIF) used to output Binskim results

Command-Line Quick Guide

去到頂部