This file is indexed.

/etc/auth2db/filters.conf is in auth2db-filters 0.2.5-2+dfsg-4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
[sshd]
enabled = true
type = sshd
log = /var/log/auth.log
action = "sshd.+(Failed|Accepted|failure)"
regex = "(?P<month>january|jan|february|feb|march|mar|april|apr|may|june|jun|july|jul|august|aug|september|sep|october|oct|november|nov|december|dec)\s+(?P<day>3[01]|[0-2]{0,1}\d)\s+(?P<hour>\d{1,2}\:\d{1,2}\:\d{1,2})+\s+(?P<host>\b(?:\d{1,3}\.){3}\d{1,3}\b|\b\w+\b).+(?P<type>sshd).+(?P<pid>(?<=sshd\[)\d{1,10}).+(?P<action>Failed|Accepted|failure).+(?P<usuario>(?<=for)(?:\W+\w+){1,3}\W+From).+(?P<ip>((?<=\:)|(?<=\s))\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})"

[sshd_session]
enabled = true
type = sshd
log = /var/log/auth.log
action = "sshd.+(opened|closed)"
regex = "(?P<month>january|jan|february|feb|march|mar|april|apr|may|june|jun|july|jul|august|aug|september|sep|october|oct|november|nov|december|dec)\s+(?P<day>3[01]|[0-2]{0,1}\d)\s+(?P<hour>\d{1,2}\:\d{1,2}\:\d{1,2})+\s+(?P<host>\b(?:\d{1,3}\.){3}\d{1,3}\b|\b\w+\b).+(?P<type>sshd).+(?P<pid>(?<=sshd\[)\d{1,10}).+(?P<action>opened|closed).+(?P<usuario>(?<=user)(?:\W+\w+))+(?P<ip>)"

[su]
enabled = true
type = su
log = /var/log/auth.log
action = "su.+(failed|successful)"
regex = "(?P<month>january|jan|february|feb|march|mar|april|apr|may|june|jun|july|jul|august|aug|september|sep|october|oct|november|nov|december|dec)\s+(?P<day>3[01]|[0-2]{0,1}\d)\s+(?P<hour>\d{1,2}\:\d{1,2}\:\d{1,2})+\s+(?P<host>\b(?:\d{1,3}\.){3}\d{1,3}\b|\b\w+\b).+(?P<type>su).+(?P<pid>(?<=su\[)\d{1,10}).+(?P<action>failed|successful).+(?P<usuario>(?<=for)(?:\W+\w+))+(?P<ip>)"

[su_session]
enabled = true
type = su
log = /var/log/auth.log
action = "su.+(opened|closed)"
regex = "(?P<month>january|jan|february|feb|march|mar|april|apr|may|june|jun|july|jul|august|aug|september|sep|october|oct|november|nov|december|dec)\s+(?P<day>3[01]|[0-2]{0,1}\d)\s+(?P<hour>\d{1,2}\:\d{1,2}\:\d{1,2})+\s+(?P<host>\b(?:\d{1,3}\.){3}\d{1,3}\b|\b\w+\b).+(?P<type>su).+(?P<pid>(?<=su\[)\d{1,10}).+(?P<action>opened|closed).+(?P<usuario>(?<=user)(?:\W+\w+))+(?P<ip>)"

[su_to_root]
enabled = true
type = su
log = /var/log/auth.log
action = "su.+(to root)"
regex = "(?P<month>january|jan|february|feb|march|mar|april|apr|may|june|jun|july|jul|august|aug|september|sep|october|oct|november|nov|december|dec)\s+(?P<day>3[01]|[0-2]{0,1}\d)\s+(?P<hour>\d{1,2}\:\d{1,2}\:\d{1,2})+\s+(?P<host>\b(?:\d{1,3}\.){3}\d{1,3}\b|\b\w+\b).+(?P<type>su).+(?P<pid>).+(?P<usuario>(?<=from )(?:\w+)).+(?P<action>to root).+(?P<ip>)"

[su_root_by]
enabled = true
type = su
log = /var/log/auth.log
action = "su.+(user root by)"
regex = "(?P<month>january|jan|february|feb|march|mar|april|apr|may|june|jun|july|jul|august|aug|september|sep|october|oct|november|nov|december|dec)\s+(?P<day>3[01]|[0-2]{0,1}\d)\s+(?P<hour>\d{1,2}\:\d{1,2}\:\d{1,2})+\s+(?P<host>\b(?:\d{1,3}\.){3}\d{1,3}\b|\b\w+\b).+(?P<type>su).+(?P<pid>(?<=\[)\d{1,10}).+(?P<action>user root).+(?P<usuario>(?<=by)(?:\W+\w+))+(?P<ip>)"

[gdm]
enabled = false
type = gdm
log = /var/log/auth.log
action = "gdm.+(failure)"
regex = "(?P<month>january|jan|february|feb|march|mar|april|apr|may|june|jun|july|jul|august|aug|september|sep|october|oct|november|nov|december|dec)\s+(?P<day>3[01]|[0-2]{0,1}\d)\s+(?P<hour>\d{1,2}\:\d{1,2}\:\d{1,2})+\s+(?P<host>\b(?:\d{1,3}\.){3}\d{1,3}\b|\b\w+\b).+(?P<type>gdm).+(?P<pid>(?<=gdm\[)\d{1,10}).+(?P<action>failure).+(?P<usuario>(?<=user)(?:\=\w+))+(?P<ip>)"

[gdm_session]
enabled = false
type = gdm
log = /var/log/auth.log
action = "gdm.+(opened|closed)"
regex = "(?P<month>january|jan|february|feb|march|mar|april|apr|may|june|jun|july|jul|august|aug|september|sep|october|oct|november|nov|december|dec)\s+(?P<day>3[01]|[0-2]{0,1}\d)\s+(?P<hour>\d{1,2}\:\d{1,2}\:\d{1,2})+\s+(?P<host>\b(?:\d{1,3}\.){3}\d{1,3}\b|\b\w+\b).+(?P<type>gdm).+(?P<pid>(?<=gdm\[)\d{1,10}).+(?P<action>opened|closed).+(?P<usuario>(?<=user)(?:\W+\w+))+(?P<ip>)"

[login_session]
enabled = true
type = login
log = /var/log/auth.log
action = "login.+(opened|closed)"
regex = "(?P<month>january|jan|february|feb|march|mar|april|apr|may|june|jun|july|jul|august|aug|september|sep|october|oct|november|nov|december|dec)\s+(?P<day>3[01]|[0-2]{0,1}\d)\s+(?P<hour>\d{1,2}\:\d{1,2}\:\d{1,2})+\s+(?P<host>\b(?:\d{1,3}\.){3}\d{1,3}\b|\b\w+\b).+(?P<type>login).+(?P<pid>(?<=login\[)\d{1,10}).+(?P<action>opened|closed).+(?P<usuario>(?<=user)(?:\W+\w+))+(?P<ip>)"

[login_failed]
enabled = true
type = login
log = /var/log/auth.log
action = "login.+(failed)"
regex = "(?P<month>january|jan|february|feb|march|mar|april|apr|may|june|jun|july|jul|august|aug|september|sep|october|oct|november|nov|december|dec)\s+(?P<day>3[01]|[0-2]{0,1}\d)\s+(?P<hour>\d{1,2}\:\d{1,2}\:\d{1,2})+\s+(?P<host>\b(?:\d{1,3}\.){3}\d{1,3}\b|\b\w+\b).+(?P<type>login).+(?P<pid>(?<=login\[)\d{1,10}).+(?P<action>failed).+(?P<usuario>(?<=for)(?:\W+\w+))+(?P<ip>)"

[smbd_session]
enabled = false
type = smbd
log = /var/log/auth.log
action = "smbd.+(opened|closed)"
regex = "(?P<month>january|jan|february|feb|march|mar|april|apr|may|june|jun|july|jul|august|aug|september|sep|october|oct|november|nov|december|dec)\s+(?P<day>3[01]|[0-2]{0,1}\d)\s+(?P<hour>\d{1,2}\:\d{1,2}\:\d{1,2}).+(?P<type>smbd).+(?P<pid>(?<=smbd\[)\d{1,10}).+(?P<action>opened|closed).+(?P<usuario>(?<=user)(?:\W+\w+))+(?P<ip>)+(?P<host>)"

[sudo]
enabled = false
type = sudo
log = /var/log/auth.log
action = "sudo.+command"
regex = "(?P<month>january|jan|february|feb|march|mar|april|apr|may|june|jun|july|jul|august|aug|september|sep|october|oct|november|nov|december|dec)\s+(?P<day>3[01]|[0-2]{0,1}\d)\s+(?P<hour>\d{1,2}\:\d{1,2}\:\d{1,2})\s+(?P<host>\b(?:\d{1,3}\.){3}\d{1,3}\b|\b\w+\b).+(?P<usuario>(?<=sudo\:\s)(?:\w+)).+(?P<action>command).+(?P<pid>).+(?P<ip>)"

[proftpd]
enabled = false
type = proftpd
log = /var/log/proftpd.log
action = "no such user|login successful|Incorrect password"
regex = "(?P<month>january|jan|february|feb|march|mar|april|apr|may|june|jun|july|jul|august|aug|september|sep|october|oct|november|nov|december|dec)\s+(?P<day>3[01]|[0-2]{0,1}\d)\s+(?P<hour>\d{1,2}\:\d{1,2}\:\d{1,2})+\s+(?P<host>\b(?:\d{1,3}\.){3}\d{1,3}\b|\b\w+\b).+(?P<type>proftpd).+(?P<pid>(?<=proftpd\[)\d{1,10}).+(?P<ip>((?<=\[)|(?<=\s))\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}).+(?P<usuario>(?<=user)(?:\W+\w+)).+(?P<action>no such user|login successful|Incorrect password)"

[proftpd_nouser]
enabled = false
type = proftpd
log = /var/log/auth.log
action = "no such user"
regex = "(?P<month>january|jan|february|feb|march|mar|april|apr|may|june|jun|july|jul|august|aug|september|sep|october|oct|november|nov|december|dec)\s+(?P<day>3[01]|[0-2]{0,1}\d)\s+(?P<hour>\d{1,2}\:\d{1,2}\:\d{1,2})+\s+(?P<host>\b(?:\d{1,3}\.){3}\d{1,3}\b|\b\w+\b).+(?P<type>proftpd).+(?P<pid>(?<=proftpd\[)\d{1,10}).+(?P<ip>((?<=\[)|(?<=\s))\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}).+(?P<action>no such user)\s+(?P<usuario>\w+)"

[apache]
enabled = false
type = apache
log = /var/log/apache2/error.log
action = "failure|not found" 
regex = "(?P<month>january|jan|february|feb|march|mar|april|apr|may|june|jun|july|jul|august|aug|september|sep|october|oct|november|nov|december|dec)\s+(?P<day>3[01]|[0-2]{0,1}\d)\s+(?P<hour>\d{1,2}\:\d{1,2}\:\d{1,2}).+(?P<type>).+(?P<pid>).+(?P<ip>((?<=\[)|(?<=\s))\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}).+(?P<usuario>(?<=user)(?:\W+\w+)).+(?P<action>failure|not found).+(?P<host>)"

[windows_logon_en]
enabled = false
type = winlogon
log = /var/log/syslog
action = "(528|529).+(type:2)" 
regex = "(?P<month>january|jan|february|feb|march|mar|april|apr|may|june|jun|july|jul|august|aug|september|sep|october|oct|november|nov|december|dec)\s+(?P<day>3[01]|[0-2]{0,1}\d)\s+(?P<hour>\d{1,2}\:\d{1,2}\:\d{1,2})\s+(?P<host>\b(?:\d{1,3}\.){3}\d{1,3}\b|\w+).+(?P<action>528|529).+(?P<usuario>(?<=User\sName\:)(?:\w+)).+(?P<type>).+(?P<pid>).+(?P<ip>(?<=Workstation\sName\:)(?:\b(?:\d{1,3}\.){3}\d{1,3}\b|\w+))"

[windows_logout_en]
enabled = false
type = winlogon
log = /var/log/syslog
action = "538.+(user logoff)" 
regex = "(?P<month>january|jan|february|feb|march|mar|april|apr|may|june|jun|july|jul|august|aug|september|sep|october|oct|november|nov|december|dec)\s+(?P<day>3[01]|[0-2]{0,1}\d)\s+(?P<hour>\d{1,2}\:\d{1,2}\:\d{1,2})\s+(?P<host>\b(?:\d{1,3}\.){3}\d{1,3}\b|\w+).+(?P<action>538).+(?P<usuario>(?<=User Name\:)(?:\w+)).+(?P<pid>).+(?P<ip>(?<=Domain\:)(?:\b(?:\d{1,3}\.){3}\d{1,3}\b|\w+))"

[windows_logon_es]
enabled = false
type = winlogon
log = /var/log/syslog
action = "(528|529).+(sesi.n:2)" 
regex = "(?P<month>january|jan|february|feb|march|mar|april|apr|may|june|jun|july|jul|august|aug|september|sep|october|oct|november|nov|december|dec)\s+(?P<day>3[01]|[0-2]{0,1}\d)\s+(?P<hour>\d{1,2}\:\d{1,2}\:\d{1,2})\s+(?P<host>\b(?:\d{1,3}\.){3}\d{1,3}\b|\w+).+(?P<action>528|529).+(?P<usuario>(?<=Nombre de usuario\:)(?:\w+)).+(?P<type>).+(?P<pid>).+(?P<ip>(?<=Nombre de Estaci.n de trabajo\:)(?:\b(?:\d{1,3}\.){3}\d{1,3}\b|\w+))"

[windows_logout_es]
enabled = false
type = winlogon
log = /var/log/syslog
action = "551.+(cierre de sesi.n)" 
regex = "(?P<month>january|jan|february|feb|march|mar|april|apr|may|june|jun|july|jul|august|aug|september|sep|october|oct|november|nov|december|dec)\s+(?P<day>3[01]|[0-2]{0,1}\d)\s+(?P<hour>\d{1,2}\:\d{1,2}\:\d{1,2})\s+(?P<host>\b(?:\d{1,3}\.){3}\d{1,3}\b|\w+).+(?P<action>551).+(?P<usuario>(?<=Nombre usuario\:)(?:\w+)).+(?P<pid>).+(?P<ip>(?<=Dominio\:)(?:\b(?:\d{1,3}\.){3}\d{1,3}\b|\w+))"