[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add iis configuration rules #4935

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

frack113
Copy link
Member

Summary of the Pull Request

Add new rules with the Microsoft-IIS-Configuration/Operational channel

test with aurora lite

    windows-iis-configuration:
        product: windows
        service: iis-configuration
        sources:
            - "WinEventLog:Microsoft-IIS-Configuration/Operational"

Changelog

new: IIS Add Module
new: IIS Disable HTTP Logging
new: IIS Remove ETW Logging
new: IIS Remove W3C HTTP Logging

Example Log Event

<EventData>
  <Data Name="PhysicalPath">\\?\C:\Windows\system32\inetsrv\config\applicationHost.config</Data> 
  <Data Name="ConfigPath">MACHINE/WEBROOT/APPHOST</Data> 
  <Data Name="EffectiveLocationPath" /> 
  <Data Name="Configuration">/system.applicationHost/sites/siteDefaults/logFile/@logFormat</Data> 
  <Data Name="EditOperationType">3</Data> 
  <Data Name="OldValue">W3C</Data> 
  <Data Name="NewValue">IIS</Data> 
  </EventData>
<EventData>
  <Data Name="PhysicalPath">\\?\C:\Windows\system32\inetsrv\config\applicationHost.config</Data> 
  <Data Name="ConfigPath">MACHINE/WEBROOT/APPHOST</Data> 
  <Data Name="EffectiveLocationPath" /> 
  <Data Name="Configuration">/system.webServer/httpLogging/@dontLog</Data> 
  <Data Name="EditOperationType">3</Data> 
  <Data Name="OldValue">false</Data> 
  <Data Name="NewValue">true</Data> 
  </EventData>
<EventData>
  <Data Name="PhysicalPath">\\?\C:\Windows\system32\inetsrv\config\applicationHost.config</Data> 
  <Data Name="ConfigPath">MACHINE/WEBROOT/APPHOST</Data> 
  <Data Name="EffectiveLocationPath" /> 
  <Data Name="Configuration">/system.applicationHost/sites/siteDefaults/logFile/@logTargetW3C</Data> 
  <Data Name="EditOperationType">3</Data> 
  <Data Name="OldValue">File, ETW</Data> 
  <Data Name="NewValue">File</Data> 
  </EventData>

Fixed Issues

SigmaHQ Rule Creation Conventions

  • If your PR adds new rules, please consider following and applying these conventions

@github-actions github-actions bot added Rules Windows Pull request add/update windows related rules Maintenance Related to additions and update of the repository features labels Jul 27, 2024
@nasbench nasbench self-requested a review August 1, 2024 21:33
@nasbench nasbench self-assigned this Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Maintenance Related to additions and update of the repository features Rules Windows Pull request add/update windows related rules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants