6

Hey all, got a quick question!

I want to receive, parse and store syslogs from various devices on my home network on my windows box. I know, I know, its a bit backwards but I'd like to proceed with this sort of setup if possible (not against discussion, of course).

I've looked and looked for options but it seems like everything has been bare bones and basically just receives, or is locked behind premium. Surely there's some sort of solution out there, no? I'd be willing to implement something in Python if I need to but I'm considerably more hesitant when compared to using an open source soln.

Thanks for your time, looking forward to discussing/learning more!

top 12 comments
sorted by: hot top controversial new old
[-] faebudo@infosec.pub 3 points 10 months ago

I would recommemd setting up greylog. It's pipelines are really mighty and not that hard to learn. You can run it in a VM.

If you really want to you can run filebeat on windows with a file output, so it will write everything in json format to a file. However you will still have to parse ot, make it searchable etc.

[-] stevedidwhat_infosec@infosec.pub 1 points 10 months ago

Yeah I’m familiar with filebeats and the ELK stack, set one of those up a long while ago to ingest Twitter from api before all that blew out a left kneecap haha.

I’ll check it out as well!

[-] alex_02@infosec.pub 2 points 10 months ago* (last edited 10 months ago)

For the elk stack you can replace Logstash and Filebeat with Fluentbit and feed it directly to Elastic Search than use Kibana. I've found Logstash to be the resource hog and Fluentbit just runs a lot better imo.

Some docs:

https://docs.fluentbit.io/manual/pipeline/inputs/syslog

https://docs.fluentbit.io/manual/pipeline/outputs/elasticsearch

EDIT: All three of them can also be run in a docker or several depending on your needs and how you configure.

[-] stevedidwhat_infosec@infosec.pub 2 points 10 months ago

Sweeet, thank you!

[-] corsicanguppy@lemmy.ca 3 points 10 months ago

Your choices are

  • nxlog - it's awesome.
  • rsyslog built for windows - it's rsyslog, but built for windows
  • some ridiculously rube-goldbergian mess that requires you set up an entire ecosystem and get a PhD to get properly configured with your 3 new staff members.

Both use code from rsyslog, listen on 514 (configurable) and do logging. I think they'll even take mqtt and json-format stuff, but I wasn't needing that yet so I didn't care

Full disclosure: I first started looking into this at my last post, a mere 600 boxes for windows, which I don't do and didn't care about except some log guy was a splunk fanboy dick and I punked him as often as I could because splunk's absolute inability to cope pissed me off and thus he did by association -- thus the mqtt angle as I tried to push that transport idea through because splunk has no clue anymore and can't cope with mqtt and I liked to see his brain reboot. I'm a Linux/Unix guy so I mainly quote on things that will bring the oddballs into line. My new spot has like 3600 winboxes and I just heard that group's choice for shipping logs to the central log correlation is ...

... Nxlog.

Grain of salt, but good luck.

[-] stevedidwhat_infosec@infosec.pub 1 points 10 months ago* (last edited 10 months ago)

Yeah so rsyslog is one of those premium products. Seems like I can only practically receive without paying for fuckin parsing capabilities (ew)

But I’ll definitely check out the other! Appreciate it!

[-] jlh@lemmy.jlh.name 2 points 10 months ago* (last edited 10 months ago)

You might be better off using docker to run a Linux based logging system like rsyslogd or loki. Plenty of tutorials out there.

[-] MSgtRedFox@infosec.pub 2 points 10 months ago

I don't know if an open source solution for windows, but I know of a really cool IDS solution that does syslog. It's going to be overkill, and there's a learning curve, but it's worth it if you're into this stuff.

Check out Security Onion 2.4

It's Linux, but the install is kindergarten easy. Just download ISO, pick standalone mode.

It has a web interface. The database is actually elastic search.

If you take the time to play with this thing, it will skill you up. It's a fully scalable IDS.

[-] stevedidwhat_infosec@infosec.pub 2 points 10 months ago

Interesting! It rings a bell for sure, and I could really just access the web interface from the windows box as a work around for the soln implementation i'm targetting. Thank you!

[-] DivisionResult@lemmy.dbzer0.com 1 points 10 months ago
[-] stevedidwhat_infosec@infosec.pub 1 points 9 months ago

What’s that? How come you prefer that to other solutions? Sorry for the delayed response

[-] DivisionResult@lemmy.dbzer0.com 2 points 9 months ago

Its an open source SIEM with XDR and many rules for free. Its the son of ossec

this post was submitted on 03 Jan 2024
6 points (87.5% liked)

cybersecurity

3249 readers
9 users here now

An umbrella community for all things cybersecurity / infosec. News, research, questions, are all welcome!

Community Rules

Enjoy!

founded 1 year ago
MODERATORS