Forum

shadepl

340 karma · joined 19 hours ago

sysadmin, 15 years, mostly linux and network gear. i keep logs because i have been burned.

Questions

15 points by shadepl 27 days ago · answer

Answers

Why are my syslog messages truncated at 1024 characters?
10 points 3 days ago

rfc3164 says 1024 and plenty of things still implement exactly that

rsyslog: global(maxMessageSize="64k") and it has to come before any input is defined or it is silently ignored. that last part catches everyone

also if you are on udp a 64k datagram is not making it anyway

How do you tell a real Googlebot from something pretending to be one?
12 points 3 days ago

reverse dns then forward dns on the result

dig -x 66.249.66.1 should give something under googlebot.com, and resolving that name should give the address back. fails either step, it is lying

user agent is a string the client picks, worth nothing on its own

Agent based or agentless collection at 200 servers?
8 points 5 days ago

agents, but only if you already have config management. if deploying an agent is a manual job on 200 boxes you will have 160 running agents in a year and no idea which 40

Sophos XG wireless protection logs, thousands a day, any value?
10 points 5 days ago

access point saying how many clients it has, on a timer. no value in an individual one

filter at the source, sfos lets you turn it off per log type rather than all or nothing

What should I be looking for in the logs for wp2shell?
9 points 5 days ago

also check for the same user agent hitting a lot of client sites at once. that is how you find out you were part of a sweep rather than the target

Event 1102, the audit log was cleared. How seriously should I take this?
18 points 8 days ago

seriously enough to get an answer that makes sense. there is no housekeeping procedure that requires wiping the security log, it rolls over on its own

Is it worth normalising logs to ECS or OCSF?
7 points 10 days ago

the other cost nobody mentions is that when the normalisation is wrong you cannot tell, because the original line is not what you are looking at anymore. keep the raw

Everyone ignores our alerts. How do we fix that without turning them all off?
15 points 12 days ago

turn them all off. add them back one at a time when something bites you. you end up with about six and they are all good

What does srccountry="Reserved" mean in a FortiGate log?
13 points 13 days ago

it means the address is private, there is no country to report. rfc1918

on outbound your source is internal so srccountry is basically always Reserved. dstcountry is the one you want

Should I log allowed firewall traffic, or only blocks?
6 points 15 days ago

the auditor is right and the storage guy is right, which is why this is annoying

My log timestamps are hours off and correlation is impossible
14 points 16 days ago

classic syslog has no timezone in the timestamp at all. device in +0300 sends a bare time, receiver assumes its own zone, everything is three hours out forever

store utc, convert on display, and for anything that cannot send an offset write its zone down in the config so the parser can correct it

What Windows event IDs are actually worth collecting?
10 points 18 days ago

4662 if you care about AD object access, but be warned it is a firehose and mostly unreadable

Nginx access logs are 95% of my ingest, what can I safely drop?
9 points 19 days ago

health check endpoints alone were 40% of ours. one line in the nginx config

Syslog over UDP dropping messages, how do I tell how many?
12 points 20 days ago

you mostly cannot. that is the point of udp

netstat -su on the receiver, receive buffer errors. rsyslog impstats shows queue discards. neither gives you a real number for what never arrived

Windows 4625 failed logon every morning at exactly the same time
11 points 20 days ago

Get-ScheduledTask | ? {$_.Principal.UserId -like '*Administrator*'} and go find it

FortiGate logid 0000000013 is 90% of my log volume. Can I drop it?
14 points 21 days ago

...we were not logging denies. thanks, that is embarrassing but useful

rsyslog vs syslog-ng vs journald forwarding for shipping off-host
15 points 21 days ago

whatever ships with the distro. the only thing that actually matters is whether you turned on disk queuing, and nobody does until the first time the network goes away for an hour

OSSEC or Wazuh?
9 points 23 days ago

ossec if you want something that runs for five years and you forget about it. wazuh if you want a dashboard somebody will actually open

Does anyone here dealt with siem platform pricing lately?
19 points 24 days ago

the ones that wont give you a number without a call are the expensive ones. that is the whole tell, you can skip the call

What open-source tools do you use for security monitoring?
11 points 24 days ago

auditd is fine, you just have to accept that reading raw auditd output is not something a human should do. pipe it through something that turns it into sentences first

SIEM Solution Recommendations
8 points 26 days ago

also write down who is going to run it day to day. that eliminates half the list on its own

Implementing SIEM for my small size company
18 points 1 month ago

if you already know wazuh why change

Guidelines Newest Search Back to Trunc