From Newsgroup: rocksolid.nodes.help
On Thu, 15 Aug 2024 17:00:34 +0200, Marco Moock wrote:
Hello!
What is a good way to identify the source of the Attempt to create:
lines in debug log?
I would like to identify the apache log strings to check if a f2b rule
is possible.
rocksolid Attempt to create:
/var/spool/rslight//de.admin.net-abuse.news
Fehlverhalten-data.db3 for: de.admin.net-abuse.news Fehlverhalt
This looks either like intended to destroy something or a bug.
This was added to debug log to help me find causes (gaps in checking) of malicious activity. Meaning people trying SQL injections, which are obvious when you see them in the name of the file it tries to create.
If it's a real group name, it's most likely simply that this group is in
the Newsgroups header of a valid message, but you don't have the group that
it tries to create. This is not malicious, so not a good idea to block.
So, if the message header contains:
'Newsgroups: some.group,another.group'
and you have 'some.group', the message is accepted, but it can't also write
it to the article.db3 for 'another.group' because you don't have that
group. Not an error, just a notice.
You would need to ALSO check for obvious SQL statements in the line in debug.log before adding a blocking rule to fail2ban.
If we eventually find zero attempts at SQL injection in the debug.log, that means we are fully filtering these attmpts. If that proves to be true, I'll remove the notices from debug.log.
I hope that makes sense :)
--- Synchronet 3.21a-Linux NewsLink 1.2