Event Horizon: Is This Even Needed?

The history:

Event Horizon - A Windows Monitoring Software

Let’s get into windows event forwarding and auto-analysis! Featured on the 9/18 linux weekly. A think I’m tinkering with.

Recently We’ve begun creating a software we call “Event Horizon.” It’s a tool that collects and simplifies the mass amount of error and issue reporting present in a Windows PC. The main objective is to make it so that even those without a background in computers can understand and solve technical problems in their PC with the help of AI.

The general process involves connecting a PC to the database, having that PC send error reports via things like Sysmon and powershell logging, and then asking a local LLM to consolidate that data into simplified and easily understandable findings

A Tour of Event Horizon

What follows is screenshots of our very early adaptation of the idea. The final product would likely see many revisions beyond this initial mockup, but overall this design provides a good idea of our vision.

The Main Dashboard

Here you can see the main dashboard, it consolidates all the info of the PCs in the database. It provides statistics, graphs, and tables that summarize the data received that day.

The Event Log

Going down the menu we get to the event log, this is a dumping ground for all the data that the database is receiving. This can allow you to look at specific isolated notifications rather than the generalized findings that the AI provides.

We intend to make use of many search filter options in order to narrow down the wide stream of data as much as possible.

Computers

A rather self-explanatory page, simply lists all the computers and devices you have connected to Event Horizon.

You can even click on them and get a better look at a dashboard curated to that computer specifically.

Findings

Here is the most important page, effectively the entire point of the product. This page is collections of events the local AI has deemed notable evidence for possible issues. Issues range from basic notable info and minor warnings to a scale of problems ranging from low to critical.

You can click on each finding individually to get a better idea of why its an issue and the AI’s advice on how to solve it.

Miscellaneous Pages

There are a few other important pages worth noting within the program, from your basic configuration where you set up and decide which AI model you’d like to use:

To a step by step tutorial on how to add new PCs to the database:

Final Notes

Overall we’d love to hear what you think. It’s in very early stages so we’d love your feedback or if you even think it’s a worthwhile endeavor at all.

10 Likes

@wendell I would be interested in helping and also creating a tie into my read-only dashboard Cerebro. I have a variety of systems in my lab to test with.

1 Like

Hey Wendell! Love your Event Hub Project! Its somewhat similar to a project I showed you I made at Own Your Sh*t Raleigh. My AI SOC Dashboard.

Its a basically a SOC+ SOAR run by AI. It has an hourly job that gets the last hour of logs from Wazuh and Graylog. There are state levels, normal, suspicious, and Critical. Every run the AI sets this state or leaves it depending on what its found. It also has a shared memory file between runs so the agents leave notes for each other. It spawns sub agents that investigate specific things and provides validation on it. It has many AI tools that it has access too:

  • Host memory function
    • This tool callable by the AI and editable by the AI is a MD file with loads of details about a host like its IP addresses, Hostnames, Services it hosts, and Live data it pulls from Ntop-NG running on the primary router PFsense.
    • This is very nice as overtime the AI builds up a decent
  • Host check
    • AI gives an IP or FQDN. If its an internal host, then it gives it the MD file for the host memory along with the live data. If its an external IP, it gives it the geoip data, if its a tor or vpn node, and abuseIPDB score plus 5 reports. It will also say if its blocked or not via the threat intel center.
  • Packet Capture via NTOP-NG
    • This is a tool call that allows the AI to Pcap for up to 5 min and see whats going on in a host. Useful for troubleshooting or seeing if there is an ongoing compromise
  • ExploitDB search
    • This allows the AI to search a program and version to see if there are any known vulns/exploits for a given version of a product
  • Threat Intel Center tools (block and report)
    • This Blocks + Reports malicious activity observed from logs. Things like brute force attacks, Environment scans, command injections, Cross Site Scripting, etc. If it passes a certin threshold with specific data, its both blocklisted AND * * reported to abuseIPDB. The blocklist is hosted as a TXT and hourly imported to Wazuh, Cloudflare, and PFsesne to block the offenders

Depending on the config, These alerts go to Telegram and SMTP If its suspicious or critical. It produces a daily and weekly report also summarizing things to fix/look at.

You can see some screenshots here:

Dashboard:

Hourly Report:

Daily Report:

Each one of these reports has a chat thread where you can ask it specifics about the report. the context is saved so its pretty good. You can also use it to correct something the AI missed.

Threat Intel Center:

A Host ( my website Angrysysaminds.tech shameless plug :slight_smile: )

For Event Horizon, A hourly or Daily Summary by the AI would be awesome, as well as a host memory tool. I use the host memory tool and the Host lookup tool for other ai agents and its very useful! While my tool is focused on security, perhaps yours can be both security and operational. In my case, I use Graylog and Wazuh for pulling the logs, I should add your tool though for sysmon, it would be a little bit better than wazuh because it only cares about Security mostly.

Cant wait to see what you cook up!

4 Likes

oh so windows only?

Yeah, and it was introduced in a video on the Level1Linux channel, eating up half of the video that should have been dedicated to Linux…

I still don’t understand how videos with 100% Linux inside end up on Level1Tech while Windows stuff permeates into Level1Linux… :stuck_out_tongue:

IMHO, at this point, the two video channels could just be merged…

NOPE. Not at all windows only. Hence why I said systemd forwards events. Also snoopy events. There isno snoopy for windows afaik.

Jeez y’all. I am concerned when the message of “lets make life better for everyone” turns into “lets assume any mention of windows, especially using linux stuff to prop up windows, and improve observability and logging, must ONLY be windows-focused, despite coverage in the video that it works the same way with systemd and linux’s event system. even networking events, later…”

Linux emits events too, through systemd. It works the same way…

BTW This is a linux project, event horizon, that runs on linux, and uses open source stuff. So…

REEEEEEEEEEEE

10 Likes

I really like this, I think it would be super useful.
What are the limiting factors with number of systems that could be connected to this?
Home lab, vs mid range vs enterprise ?

Can you explain how this relates to existing tools?

I have been playing with centralizing my logging (*nix only for me :smiley: ) and I landed on promtail/loki/grafana (where I haven’t actually built dashboards I just use grafana as an overkill logviewer).

The way I understand this is that you’re collecting with ? into ? and Event Horizon is a very nice dashboard with a sprinkling of AI to classify the logs and float the important stuff to the top?

I’m not much help with development because it’s not my specialty and I’m really bad at it. But I would be curious to see how well this can be implemented with traditional windows and Linux but with macOS , FreeBSD and atomic desktops and openwrt possibly.

I don’t have much hardware, but if there’s anything I can help with I’ll be glad to help

waiting for first stable release then

At least with my system, it’s the context window of the AI’s that are the real limiting factor. You maybe could architect it a little bit better, but it’ll kind of miss the whole history of it… Even 1million context is hard to work with

Admittedly, I did not watch that part of the video, because I zapped to the next chapter when it went on rambling on how Micro$oft should provide better tools (yes, it’s true, but as a Linux user watching a video on a Linux channel, I don’t care.) :smiley:

I’m an old fart. I use SysV Init, so I got human-readable (and grep’able) /var/log/messages (& Co), and I use root-tail for real time surveillance of my Linux PC(s). :stuck_out_tongue:

So, you are pardonned, I guess… :wink:

So if I understood it correctly it’s a system agnostic log collector that collects system logs from every PC you handle and presents everything through a fancy web interface, making it a lot easier to both monitor and diagnose your systems?

That’s sounds awesome and just what I need for my home network! :slight_smile:

1 Like

This quite interesting to me as the lead engineer at a managed service provider.

Is the code public yet? I’m willing to make some of my lab endpoints guinea pigs.

I work at a Medium size School District and would love to help out this project by using a few of our labs as a testing

I have a lot of experience dealing with alerting systems and here are some key points I’ve found:

  • Trends over time are superior to thresholds
    • The disk is filling, but how fast? Is the plane landing or crashing?
    • The RAM is 90% full, but is this a domain controller where it’s always 90% full on this VM?
    • Talk to me about disk queue length being high over time!
  • Agent-evaluations are superior to query-able data streams
    • Keep the informational logs on the client, calculate the alert condition client-side with background CPU, pipe the alert and evidence to the monitoring database.
    • For the rare “hunting” session: Support running a “remediation” or “check” on demand for a single agent/group of agents.
  • Windows engineers are sometimes intimidated by Linux because they are unsure about “fixing” it, which creates a strong preference for Windows services. Offering an immutable OS environment “appliance” with a reset for repairs that preserves data is helpful for adoption.
  • First class “re-evaluate” modes to see if the problem is fixed or not are a big bonus compared to waiting for tomorrow.
1 Like

Just watched the video. I’m interested in spinning this up as a VM in one of our MSP clients!

1 Like

I am prepping a mini-pc with linux and various tooling to put at my brother’s house. Was considering Wazuh connected over tailscale to my own wazuh server and other options. This is a very interesting idea.

1 Like

I think this has real potential, especially for people who find Windows logs difficult to interpret. Collecting Sysmon and PowerShell events is useful, but turning thousands of events into a smaller set of understandable findings could be the more valuable part.

One thing I’d want is a clear way to see exactly which original events caused an AI finding. That would make it easier to verify the result instead of relying completely on the generated explanation.

I manage Spotich, PixPulse, MotorTriage, and Fontgener, so I can see value in having one dashboard that makes troubleshooting easier without hiding the original technical data.

1 Like

this is pretty badass. What would be your input/advice on drawing the line between event collection and collation and… incident response?

In the spirit of “keeping it light” Im leaning toward telling the user that IDR/etc tools like huntress, crowdsec, whatever are really insanely good dont replace those but just the basics “chief you know you got somone brute forcing rdp?” which doesnt log by default.. seems good for this tool. But beyond that? idk

I think I’ll add a user config/control panel that is the small AI looking for indicators of compromise on a configurable schedule no more often than every 15 minutes.

but what you have here is kinda nice. I like the idea of IoC for people self-hosting immich, nextcloud, etc and seeing that on this dashboard. the landscape of dashboard stuff

1 Like