Microsoft Baseline Security Analyzer (MBSA) version 1.2.1 is available
This article was previously published under Q320454 On This PageSUMMARYThis article contains information about the Microsoft
Baseline Security Analyzer tool (MBSA). This tool centrally scans Windows-based
computers for common security misconfigurations and generates individual
security reports for each computer that it scans. MBSA runs on computers that
run Windows Server 2003, Windows 2000, and Windows XP. MBSA can scan for
security vulnerabilities on computers that run Windows NT 4.0, Windows 2000,
Windows XP, and Windows Server 2003. MBSA scans for common security
misconfigurations in Windows, Internet Information Services (IIS), SQL Server,
Internet Explorer, and Microsoft Office. MBSA also scans for missing security
updates in Windows, IIS, SQL Server, Internet Explorer, Windows Media Player,
Exchange Server, Microsoft Data Access Components (MDAC), Microsoft XML
(MSXML), Microsoft virtual machine (VM), Content Management Server, Commerce
Server, BizTalk Server, Host Integration Server, and Office (local scans only). A graphical user interface (GUI) and command-line interface are available in
version 1.2.1. MBSA replaced the stand-alone HFNetChk tool and fully exposes all HFNetChk switches in the MBSA command-line interface (Mbsacli.exe). For additional information about MBSA, visit the following Microsoft Web site: http://www.microsoft.com/technet/security/tools/mbsahome.mspx (http://www.microsoft.com/technet/security/tools/mbsahome.mspx) Download InformationEnglish, French, German, and Japanese versions of MBSA are available from the Microsoft Download Center. Visit the following the MBSA Web page for direct links to download these versions:http://www.microsoft.com/technet/security/tools/mbsahome.mspx#XSLTsection124121120120 (http://www.microsoft.com/technet/security/tools/mbsahome.mspx#XSLTsection124121120120)
For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 (http://support.microsoft.com/kb/119591/) How to obtain Microsoft support files from online services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.
MORE INFORMATIONHow to Use MBSATo run the GUI version of MBSA, start Mbsa.exe from the folder where the tool was installed. To run the command-line version, type the following command at a command prompt (from the folder where the tool was installed), and then press ENTER:mbsacli.exe System and Language ApplicabilityYou can run MBSA version 1.2.1 on computers that run Windows Server 2003, Windows 2000, or Windows XP. MBSA can scan computers that run Windows NT 4.0, Windows 2000, Windows XP, and Windows Server 2003. A Windows XP Home Edition computer cannot be scanned remotely. A Windows XP Professional computer can be scanned remotely if it is joined to a domain. If not joined to a domain, a Windows XP Professional computer can be scanned remotely only after the Local Security Setting is set to Classic – local users authenticate as themselves and simple file sharing is disabled.For additional information about simple file sharing, click the following article number to view the article in the Microsoft Knowledge Base: 304040 (http://support.microsoft.com/kb/304040/)
How to configure file sharing in
Windows XP
MBSA cannot be used to scan computers that run
Microsoft Windows 95, Windows 98, or Windows Millennium Edition.MBSA 1.2.1 is localized for English, Japanese, German, and French. System RequirementsThe following list describes the system requirements to scan a local computer:
Users who perform the scan must have local administrative credentials on each computer that they want to scan, regardless whether they perform a local scan or a remote scan. For remote scans, the administrative shares must be enabled on the scanned computer for MBSA to successfully connect and perform the scan. You must have Internet access to download the Mssecure.cab file from the Microsoft Download Center. Mssecure.cab is used for the security updates scan. If a previous copy of the Mssecure.cab file was downloaded during a prior scan, MBSA will try to use the locally cached copy if an Internet connection is not detected. How to obtain the MSXML parserXML parsers have shipped in Internet Explorer 5.01 and later. However, Microsoft recommends that you use the latest version of Internet Explorer and the latest version of the MSXML parser. To download the latest version of the MSXML parser, visit the following Microsoft Web site:http://go.microsoft.com/fwlink/?LinkId=16533 (http://go.microsoft.com/fwlink/?LinkId=16533) MBSA Scanning OptionsThe following parts of a scan are optional. You can turn them off in the GUI or command-line interface before you scan a computer:
MBSA Command-Line OptionsThere are two types of scans that you can perform by using the MBSA command-line interface: MBSA-style scans and HFNetChk-style scans.MBSA-Style ScansLike MBSA V1.1.1, the MBSA-style scan stores results, in individual XML files to later be viewed in the MBSA GUI. MBSA-style scans include the full set of available Windows, IIS, SQL, Desktop Application, and security update checks.Note To perform a scan with the same options as the MBSA GUI, users must explicitly use the /nosum switch. To run the tool from the command line (from the MBSA installation folder), type mbsacli.exe, and use the following parameters. mbsacli [/c|/i|/r|/d domainname|ipaddress|ipaddressrange] [/n option]
[/sus SUS server|SUS filename] [/s level]
[/nosum] [/nvc] [/o filename] [/e] [/l] [/ls]
[/lr report name] [/ld report name] [/v] [/?] [/qp]
[/qe] [/qr] [/q] [/f] [/unicode] To Select Which Computer to Scan
To Select Which Scan Options to Not Perform
Security Update Scan Options
To Specify the Output File Name Template
To Display the Results and Details
Miscellaneous Options
HFNetChk-Style ScansLike the stand-alone HFNetChk tool, the HFNetChk-style scan checks for missing security updates and displays scan results as text in the command-line window. To perform an HFNetChk-style scan with MBSA version 1.2.1, use the /hf flag with Mbsacli.exe.Note To perform a scan with the same options as the MBSA GUI by using the /hf switch, you must explicitly use the -b, -v, and –nosum switches (description of switches below). Note You cannot combine the MBSA-style scan parameters that are listed earlier with the /hfswitch option. To run the tool from the command line (from the MBSA installation folder), type mbsacli.exe /hf, followed by one or more of the parameters that are listed later in this article. Switches available with /hf flagmbsacli /hf [-h hostname] [-fh filename] [-i ipaddress] [-fip filename] [-r ipaddressrange] [-d domainname] [-n] [-sus SUS server|SUS filename] [-fq filename] [-s 1] [-s 2] [-nosum] [-sum] [-z] [-v] [-history level] [-nvc] [-o option] [-f filename] [-unicode] [-t] [-u username] [-p password] [-x] [-?] To Select Which Computer to Scan
To Specify Which Scan Options to Perform or Display
To Specify Output Format and File Names
Miscellaneous Options
Detecting UpdatesMicrosoft Baseline Security Analyzer (MBSA) version 1.2.1 changes how updates are detected. Additionally, because of better detection capabilities in MBSA version 1.2.1, some updates may be reported as "Not applicable," although the updates were reported as "Applicable" in the previous release.For additional information about the differences between MBSA 1.1.1 and MBSA 1.2.1, click the following article number to view the article in the Microsoft Knowledge Base: 306460 (http://support.microsoft.com/kb/306460/)
Microsoft Baseline Security
Analyzer (MBSA) returns note messages for some updates
Notes About ScanningScan ReportsScan reports are stored on the computer where the tool is installed in the %userprofile%\SecurityScans folder. An individual security report is created for each computer that is scanned (locally and remotely). Users must use Windows Explorer to rename or delete scans that are created by the tool in this folder.Security Updates ScanBy default, a security update scan that you carry out from the MBSA GUI or from Mbsacli.exe scans and reports missing updates that Windows Update marks as critical security updates (also known as baseline critical security updates). When you carry out a security update scan from Mbsacli.exe by using the /hf switch, all security-related security updates are scanned and reported on. A user who runs an HFNetChk-style scan must use the -b option to scan only for Windows Update critical security updates.Password ChecksThe password checks can add a lot of time to a scan, depending on the computer role and the number of user accounts on the computer. Additionally, attempts to check individual accounts for weak passwords can add Security log entries (logon or logoff events) if auditing is enabled on the computer. MBSA resets any account lockout policies that are detected on the computer so that no individual user accounts are locked out during the password check. This check is not performed on domain controllers.If you do not select this option before you scan a computer, both the local Windows and SQL account password checks will not be performed. IIS ChecksThe IIS 6.0 Common Files are required on the local machine that is used to remotely scan an IIS 6.0 server. The IIS 6.0 Common Files can be used to also scan earlier versions of IIS machines (for example, IIS 5.0). However, the IIS 5.0 Common Files cannot be used to remotely connect to and scan a computer that is running IIS 6.0.SQL Server ChecksThe tool checks for vulnerabilities on each instance of SQL Server that it finds on the computer. It performs all the individual SQL checks on each instance.Localized Windows BuildsMBSA version 1.2.1 can scan English, German, French, and Japanese localized versions of the Windows operating system. This support includes the ability to download localized versions of the Mssecure.xml file from Microsoft. Checksum checks will not be performed when you scan a non-English computer for missing security updates without the associated localized Mssecure.xml file.Support OptionsAn MBSA newsgroup has been created for users to post questions and obtain information about tool updates, technical questions, and upcoming versions:
http://www.shavlik.com (http://www.shavlik.com) Microsoft
provides third-party contact information to help you find technical support.
This contact information may change without notice. Microsoft does not
guarantee the accuracy of this third-party contact
information.Error MessagesWhen you use the Mbsacli /hf tool, you may receive any one of the following error messages. The following list describes the error messages and how to resolve them.Error: 200 - System not found. Scan not performed.
This error message indicates that Mbsacli /hf did not locate the specified computer and did not scan it. To resolve this error, verify that this computer is on the network and that the host name and IP address are correct.
Error: 201 - System not found. computer error message
You may receive this error message if a network problem prevents Mbsacli from scanning the specified computer. To resolve this error, verify that your computer (the computer that performs the scan) is correctly connected to the network and that you can remotely log on to the specified computer you want to scan.Error: 202 - System not found. Scan not performed.
You receive this error message because a network or computer error occurred during the scan. To resolve this error, verify that your scanning computer is correctly connected to the network and that the computer you are scanning is still connected to the network. Additionally, make sure that the remote computer is running the Server service.Error: 230 - Scan not performed. computer error message
You receive this error message because a general network error occurred. See your computer documentation for more information.Error: 235 - System not found, or NetBIOS ports may be firewalled. Scan not performed. You may receive this error message if no computer has the specified IP address. If there is a computer at this address, a personal firewall or port filtering device may be dropping packets that are going to TCP ports 139 and 445.Error: 261 - System found but it is not listening on NetBIOS ports. Scan not performed. You receive this error message because there is a computer at this IP address, but it is either not listening or is blocking access to TCP ports 139 and 445.Error: 301 - SystemRoot share access required to scan. Unable to connect to the remote machine’s system share. You may receive this error message if the administrator has unshared the systemroot (typically C$ or similar) or has disabled the AutoShareServer(Wks) by using the registry.Error: 451 - Admin rights are required to scan. Scan not performed. You receive this error message because the current or specified user account that performs the scan does not have administrative credentials for the computer that the user is scanning. To resolve this error, verify that the specified account is a member of the local administrators group on the computer you want to scan (or a member of a group that has local administrative credentials).Error: 452 - HFNetChk is unable to scan this computer. Please check to see that you have administrative rights to this machine and are able to login to this machine from your workstation. Scan not performed. To resolve this error, verify that the Server service is enabled on the remote computer and that you can remotely log on to that computer. Additionally, make sure that the Workstation service is running on the computer that performs the scan.Error: 501 - Remote registry access denied. Scan not performed. To resolve this error, verify that the Remote Registry service is enabled on the computer you want to scan.Error: 502 - Scan not performed. Error reading Registry. computer error message
You receive this error message because a general registry error occurred. See your computer documentation for more information.Error: 503 - Scan not performed. Error reading Registry. You receive this error message because a general registry error has occurred. There is no additional information that is available about this error message.Error: 553 - Unable to read registry. Please ensure that the remote registry service is running. Scan not performed.
To resolve this error message, verify that the Remote Registry service is enabled on the computer that you want to scan.Error: 621 - Machine is not one of Windows (NT 4, 2000, XP or .NET). Scan not performed.
The computer that you want to scan runs an operating system that the tool does not support. The computer that you want to scan may run a non-Microsoft operating system that is running SMB services, or it may emulate a Microsoft product in some other way.Error: 622 - Machine OS is not Recognized. Please run with tracing on and send to technical support. Scan not performed. Unable to determine the Operating System of the specified machine.
You may receive this error message when you scan beta or unreleased versions of Microsoft operating systems.Error: 623 - Machine Service pack is not Recognized. Please run with tracing on and send to technical support. Scan not performed. Unable to determine the Service Pack of the specified machine.
You may receive this error message if you scan beta or unreleased versions of Microsoft service packs.Error: 701 - File http://download.microsoft.com/download/xml/security/1.0/NT5/EN-US/mssecure.cab was NOT downloaded. The signed, compressed .cab file containing the security patch information could not be obtained from the specified location. You may receive this error message if the computer that is performing the scan is not connected to a network or cannot access the specified file or location.
APPLIES TO
| Article Translations
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

Back to the top
