Guest User

Ossec conf (Ehrhorn)

a guest
Jan 21st, 2013
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.37 KB | None | 0 0
  1. <ossec_config>
  2.  
  3.   <!-- One entry for each file/Event log to monitor. -->
  4.   <localfile>
  5.     <location>Application</location>
  6.     <log_format>eventlog</log_format>
  7.   </localfile>
  8.  
  9.   <localfile>
  10.     <location>Security</location>
  11.     <log_format>eventlog</log_format>
  12.   </localfile>
  13.  
  14.   <localfile>
  15.     <location>System</location>
  16.     <log_format>eventlog</log_format>
  17.   </localfile>
  18.  
  19.  
  20.   <!-- Rootcheck - Policy monitor config -->
  21.   <rootcheck>
  22.     <windows_audit>./shared/win_audit_rcl.txt</windows_audit>
  23.     <windows_apps>./shared/win_applications_rcl.txt</windows_apps>
  24.     <windows_malware>./shared/win_malware_rcl.txt</windows_malware>
  25.   </rootcheck>  
  26.  
  27.  
  28.    <!-- Syscheck - Integrity Checking config. -->
  29.   <syscheck>
  30.     <alert_new_files>yes</alert_new_files>
  31.     <!-- Default frequency, every 20 hours. It doesn't need to be higher
  32.      -  on most systems and one a day should be enough.
  33.      -->
  34.     <frequency>07200</frequency>
  35.  
  36.     <!-- By default it is disabled. In the Install you must choose
  37.      -  to enable it.
  38.      -->
  39.     <disabled>no</disabled>  
  40.  
  41.  
  42.     <!-- Default files to be monitored - system32 only. -->
  43.     <directories check_all="yes">%WINDIR%\Sysnative</directories>
  44.     <ignore type="sregex">.log$|.htm$|.jpg$|.png$|.chm$|.pnf$|.evtx$</ignore>
  45.    
  46.     <ignore>%WINDIR%/sysnative/LogFiles</ignore>
  47.     <ignore>%WINDIR%/sysnative/wbem/Logs</ignore>
  48.     <ignore>%WINDIR%/sysnative/config</ignore>
  49.     <ignore>%WINDIR%/sysnative/CatRoot</ignore>
  50.     <ignore>%WINDIR%/sysnative/wbem/Repository</ignore>
  51.     <ignore>%WINDIR%/sysnative/dllcache</ignore>
  52.     <ignore>%WINDIR%/sysnative/inetsrv/History</ignore>
  53.  
  54.  
  55.     <!-- Windows registry entries to monitor. -->
  56.     <windows_registry>HKEY_LOCAL_MACHINE\Software\Classes\batfile</windows_registry>
  57.     <windows_registry>HKEY_LOCAL_MACHINE\Software\Classes\cmdfile</windows_registry>
  58.     <windows_registry>HKEY_LOCAL_MACHINE\Software\Classes\comfile</windows_registry>
  59.     <windows_registry>HKEY_LOCAL_MACHINE\Software\Classes\exefile</windows_registry>
  60.     <windows_registry>HKEY_LOCAL_MACHINE\Software\Classes\piffile</windows_registry>
  61.     <windows_registry>HKEY_LOCAL_MACHINE\Software\Classes\AllFilesystemObjects</windows_registry>
  62.     <windows_registry>HKEY_LOCAL_MACHINE\Software\Classes\Directory</windows_registry>
  63.     <windows_registry>HKEY_LOCAL_MACHINE\Software\Classes\Folder</windows_registry>
  64.     <windows_registry>HKEY_LOCAL_MACHINE\Software\Classes\Protocols</windows_registry>
  65.     <windows_registry>HKEY_LOCAL_MACHINE\Software\Policies</windows_registry>
  66.     <windows_registry>HKEY_LOCAL_MACHINE\Security</windows_registry>
  67.     <windows_registry>HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer</windows_registry>
  68.  
  69.  
  70.     <windows_registry>HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services</windows_registry>
  71.     <windows_registry>HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\KnownDLLs</windows_registry>
  72.     <windows_registry>HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SecurePipeServers\winreg</windows_registry>
  73.  
  74.     <windows_registry>HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run</windows_registry>
  75.     <windows_registry>HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce</windows_registry>
  76.     <windows_registry>HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnceEx</windows_registry>
  77.     <windows_registry>HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\URL</windows_registry>
  78.     <windows_registry>HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies</windows_registry>
  79.     <windows_registry>HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Windows</windows_registry>
  80.     <windows_registry>HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon</windows_registry>
  81.  
  82.     <windows_registry>HKEY_LOCAL_MACHINE\Software\Microsoft\Active Setup\Installed Components</windows_registry>
  83.  
  84.  
  85.  
  86.     <!-- Windows registry entries to ignore. -->
  87.     <registry_ignore>HKEY_LOCAL_MACHINE\Security\Policy\Secrets</registry_ignore>
  88.     <registry_ignore>HKEY_LOCAL_MACHINE\Security\SAM\Domains\Account\Users</registry_ignore>
  89.     <registry_ignore type="sregex">\Enum$</registry_ignore>
  90.   </syscheck>    
  91.  
  92.   <active-response>
  93.     <disabled>yes</disabled>
  94.   </active-response>
  95.   <client>
  96.      <server-ip>192.168.56.50</server-ip>
  97.   </client>
  98. </ossec_config>
Advertisement
Add Comment
Please, Sign In to add comment