Giter VIP home page Giter VIP logo

fbprogmbh / audit-test-automation Goto Github PK

View Code? Open in Web Editor NEW
81.0 9.0 27.0 26.57 MB

The Audit Test Automation Package gives you the ability to get an overview about the compliance status of several systems. You can easily create HTML-reports and have a transparent overview over compliance and non-compliance of explicit setttings and configurations in comparison to industry standards and hardening guides.

Home Page: https://fb-pro.com/audit-test-automation-package-audit-tap/

License: BSD 3-Clause "New" or "Revised" License

PowerShell 98.53% CSS 0.10% Inno Setup 0.03% JavaScript 0.08% Shell 1.26%
audit compliance cis benchmark iis webserver webserver-benchmarking industry-standards hardening-guides

audit-test-automation's Issues

IIS10 Cannot read the configuration file

Please check: if an application is not available, because of not existing physical folder. Audit TAP should mark them, and should not try to read the web.config.

Error message:
Ausnahme beim Aufrufen von "GetSection" mit 1 Argument(en): "Dateiname: \?\C:\Program Files
(x86)\Plesk\admin\services\public\web.config
Fehler: Die Konfigurationsdatei kann nicht gelesen werden

Generate report using ATAPHtmlReport

In a case there is no option to install PS version 5/5.1, how can I still generate a report ?
Can you explain me on how to run all the task manually without report, using the functions (such as Full site report) ?

Test-SV-88475r1_rule: wrong porperty

local guest account SID ends with 501
$account = Get-localUser | Where-Object -Property sid -like "S-1-5-*-501"

	if ( $account.Disabled ) {

Property Disabled does not exist, it should be tested for enabled -eq $false.

5.2 Ensure Advanced IIS logging is enabled

Advanced IIS logging is not used since IIS 8.5-
However CIS IIS shows with this point, that enhanced IIS logging is the tool now and that companies should be aware of this point.
Advanced Logging is not available for IIS 10. See enhanced logging instead. maybe this should be changed, showing where to find Information about Enhanced logging.

MS Office 2016 Excel Test 288: Status doesn't change if value changed

STIG File context is:
If the value DisableUnsafeLocationsInPV is REG_DWORD = 0, this is not a finding.
If the value does not exist, this is not a finding.
If the value is REG_DWORD = 1, then this is a finding.

After adding and changing the value, the status doesn't change.

Show percentage of compliant/non-compliant tests

In the AUDIT-TAP report header, show the percentage of compliant/not-compliant tested rules.

For example:

Overall tested settings => 196
Failed (non-compliant) settings => 11

=> System is 94,38 % compliant to DISA/CIS/FB Pro security recommendations

IIS Audit needs to check SCHANNEL registry values for alternate Enabled value of 0xffffffff

After using IIS Crypto: https://www.nartac.com/Products/IISCrypto/ I tried running IIS10Audit again and was still getting failures. After digging further I noticed they were changing the values to 0xffffffff as enabled instead of dword 1. So I emailed them and they confirmed that is intentional behavior:

Actually both are valid. Microsoft's own documentation also conflicts with itself:
https://support.microsoft.com/en-us/help/245030/how-to-restrict-the-use-of-certain-cryptographic-algorithms-and-protoc
IIS Crypto originally set them to 1 and then a bunch of people complained as it did break software (not audit tools) so we changed it to the proper 0xffffffff. IIS Crypto will read both 1 and 0xffffffff when run though.

So I would request that IISAudit check for both values as valid Enabled.

Clarify language settings in report of Audit TAP

Using some powershell or DISM commands extract base language and display it in "baseline information" on top of the report for example below "Hostname" or "build number".

This clarifies errors in case if system language is

  1. not English OR
  2. English was not used as installation language.

Rational
Audit TAP works best if

  • English is used language OR

  • Another language was installed as language pack on top of an english operating system installation.

Add system information to report

Add system information like hostname, operation system, iis version, free disk space, disk space, total ram, ram usage. Branding

Benchmark FTP not working properly (#6.0)

Checking on "Available" seems better be "Installed"
if ($ftpBindings.Count -gt 0 -or (Get-WindowsFeature Web-Ftp-Server).InstallState -eq [InstallState]::Available) { $message = "FTP is not disabled"

Server 2016 audit shows "Found member(s)" for null

In a test environment the Windows Server 2016 audit tap shows "Found member(s)" if a User Rights Assignment setting is configured with no group or user.

For example:
The User Rights Assignment "The Lock pages in memory user right must not be assigned to any groups or accounts" is configured via GPO and no group or user are added which would be compliant with DISA. Nevertheless the audit report flags red for this section.

Further rules: SV_88455r1_rule, SV_88443r1_rule, SV_88415r1_rule

Path-Validation fails with error when entering filename

When entering filename as Report-Filename, "Test-Path" fails.
Please correct usage guidelines to howto documentation as useage guideline states to use file name. Without any path creation of HTML report works.
Screenshot anbei...
scr_correct_command

AUDIT Windows 10

Hello,

Error feedback within the audit TAP 4.5

None:
17.3.1 - Cannot get Subcategory ''
17.5.2 - Cannot get Subcategory ''
17.5.5 - Cannot get Subcategory 'Other Logon Logoff Events'
17.7.4 - Cannot get Subcategory 'Mpssvc Rule Level Policy Change'

False:
1.2.2 - 'LockoutBadCount' currently set to: 3. Expected: x <= 10 and x > 0
2.2.14 - The user right 'SeCreateSymbolicLinkPrivilege' contains following unexpected users: NT VIRTUAL MACHINE\Virtual Machines

Best
Andre

Check report path right before testing

Check the passed path right before starting all test function otherwise tests are done unnecessarily because report cannot be written to desired destination.
As in a bigger environment the report cmdlet could take up to 45 minutes or more to finish, checking the path as a first step could be a huge time saver.

IIS10 Test 3.10 Future versions stopped supporting this feature

This only applies to .Net 2.0. Future versions have stopped supporting this feature.
Future versions may have stopped supporting this feature, however if this is hardened, then the application just stop working.
Maybe a warning would be enough for checking this point.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.