Skip to content
Attack Surface Analyzer can help you analyze your operating system's security configuration for changes during software installation.
C# JavaScript HTML PowerShell CSS Shell Other
Branch: master
Clone or download

Latest commit

Latest commit 101c358 Mar 25, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Update issue templates Mar 7, 2020
Asa Implement sharding across multiple databases to improve performance (#… Mar 10, 2020
AsaBenchmarks Add a benchmark with intermittent transactions. Mar 11, 2020
AsaTests Implement sharding across multiple databases to improve performance (#… Mar 10, 2020
GenerateDocfx Gfs/utf8 json (#359) Mar 4, 2020
Lib Add a benchmark with intermittent transactions. Mar 11, 2020
Pipelines Update dotnet sdk (#369) Mar 25, 2020
Tools Docker tooling. Oct 8, 2019
docs Gfs/utf8 json (#359) Mar 4, 2020
.editorconfig Address Roslyn Warnings. (#356) Feb 18, 2020
.gitattributes First code commit. Mar 26, 2019
.gitignore Implement sharding across multiple databases to improve performance (#… Mar 10, 2020
AttackSurfaceAnalyzer.sln Implement sharding across multiple databases to improve performance (#… Mar 10, 2020
AttackSurfaceAnalyzer.sln.licenseheader Adding license headers. Mar 29, 2019
BUILD.md Merge Gui and Cli (#272) Sep 10, 2019
CONTRIBUTING.md Add files via upload Mar 28, 2019
Directory.Build.props Attempt to fix NBGV CI issues Oct 6, 2019
LICENSE.txt Gfs/add win7 support (#28) Apr 1, 2019
NOTICE.txt Update notice. Oct 7, 2019
NuGet.Config Adds a little windows demo app (#230) Jun 4, 2019
PRIVACY.md Guydalf privacy (#100) Apr 30, 2019
README.md Update README.md Jan 10, 2020
analyses.json Gfs/utf8 json (#359) Mar 4, 2020
filters.json Gfs/#331 2 (#335) Dec 28, 2019
version.json Set version to '2.2-alpha' Sep 25, 2019

README.md

Attack Surface Analyzer

Language grade: JavaScript

Getting Attack Surface Analyzer

Attack Surface Analyzer is distributed via our GitHub releases page.

Note on Version

The latest released version of Attack Surface Analyzer is 2.1 (see Release\v2.1).

Overview

Attack Surface Analyzer is a Microsoft-developed open source security tool that analyzes the attack surface of a target system and reports on potential security vulnerabilities introduced during the installation of software or system misconfiguration.

Attack Surface Analyzer 2.1 replaces the original Attack Surface Analyzer tool, released publicly in 2012.

Potential users of Attack Surface Analyzer include:

  • DevOps Engineers - View changes to the system attack surface introduced when your software is installed.
  • IT Security Auditors - Evaluate risk presented by when third-party software is installed.

Core Features

The core feature of Attack Surface Analyzer is the ability to "diff" an operating system's security configuration, before and after a software component is installed. This is important because most installation processes require elevated privileges, and once granted, can lead to unintended system configuration changes.

Attack Surface Analyzer currently reports on changes to the following operating system components:

  • File system (static snapshot and live monitoring available)
  • User accounts
  • Services
  • Network Ports
  • Certificates
  • Registry
  • COM Objects (New!)
  • Event Logs (New!)
  • Firewall Settings (New!)

All data collected is stored in a local SQLite database called asa.sqlite.

How to Use Attack Surface Analyzer

Run the following commands in an Administrator Shell (or as root). Replace asa.exe with asa as appropriate for your platform.

CLI Mode

To start a default all collectors run: asa.exe collect

To compare the last two collection runs: asa.exe export-collect

For other commands run: asa.exe --help

GUI Mode

For the GUI interface run: asa.exe gui and a browser window should open directed at http://localhost:5000 with the web based interface.

Detailed information on how to use Attack Surface Analyzer can be found on our wiki.

Future Plans (tentative)

We plan on adding additional features to Attack Surface Analyzer, including those from the list below:

  • Extended Driver details
  • Network traffic (live monitoring)
  • Registry (live monitoring)
  • Requested features which existed in the original Attack Surface Analyzer.

If you have feedback on these or other features, please open an issue.

Installation

Attack Surface Analyzer runs on Windows, Linux, and MacOS, and is built using .NET Core.

Packages are available on our releases page as compressed archives.

Building

To build Attack Surface Analyzer, see BUILD.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct.

For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Reporting Security Issues

Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) at secure@microsoft.com. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the Security TechCenter.

License

Attack Surface Analyzer 2.1 is licensed under the MIT license.

You can’t perform that action at this time.