Site Meter & 線上人數

tracker

部落格觀察


我的噗浪

Google Latitude

微軟認證



聯絡我 - MSN & Skype & Email



最新回應

Microsoft Code Analysis Tool .NET (CAT.NET) v1 CTP - 程式碼分析工具

2009/3/23 00:34| 閱讀數 : 5039 | 我要推薦 | 3 Comments | 文章分類: .Net工具 VisualStudio 軟體教學 訂閱

CAT.NET is a snap-in to the Visual Studio IDE that helps you identify security flaws within a managed code (C#, Visual Basic .NET, J#) application you are developing. It does so by scanning the binary and/or assembly of the application, and tracing the data flow among its statements, methods, and assemblies. This includes indirect data types such as property assignments and instance tainting operations. The engine works by reading the target assembly and all reference assemblies used in the application -- module-by-module -- and then analyzing all of the methods contained within each. It finally displays the issues its finds in a list that you can use to jump directly to the places in your application's source code where those issues were found.

 

The following rules are currently support by this version of the tool. 

- Cross Site Scripting (XSS)

- SQL Injection

- Process Command Injection

- File Canonicalization

- Exception Information

- LDAP Injection

- XPATH Injection

- Redirection to User Controlled Site

 

Microsoft Code Analysis Tool .NET (CAT.NET)是微軟正在開測試階段的程式碼分析工具,安裝後會與 Viusal Stduio 2008 結合,透過 CAT.NET 可以分析專案中有潛在危險的程式碼片段,並產生報告(HTML 與 Excel 檔案)。

 

Tools –> CAT.NET Code Analysis

SNAG-0011

 

執行畫面:

SNAG-0012

 

工具列說明:

SNAG-0014


關連文章

回應

  • kennyshu 2009/3/24 上午 01:33 回覆

    # re: Microsoft Code Analysis Tool .NET (CAT.NET) v1 CTP - 程式碼分析工具

    難道這是FxCop的下一代?
  • chhuang 2009/3/24 上午 07:16 回覆

    # re: Microsoft Code Analysis Tool .NET (CAT.NET) v1 CTP - 程式碼分析工具

    FxCop 可以分析的層面比較廣,目前看起來 CAT.NET 只著重分析 Security。

    如果講取代的話,Visual Studio 2008 Team Edition 的 Code Analysis 就足以取代 FxCop。參考 FxCop Rules

    FxCop 可以自訂 Rules (Custom Rules),而 CAT.NET 目前不支援。

    而且還有類似的產品 StyleCop,而 StyleCop 則著重於 Code Style,與 FxCop 有部分的重疊。

  • TestPassPort 2009/11/2 下午 05:18 回覆

    # re: Microsoft Code Analysis Tool .NET (CAT.NET) v1 CTP - 程式碼分析工具

    好文章,轉載咯!http://www.itcert.org/viewthread.php?tid=235
標題 *
名稱 *
Email (將不會被顯示)
Url
回應
登入後使用進階評論
Please add 6 and 1 and type the answer here: