All Apps and Add-ons

Lookup table with alerts for new devices plugged into network -- as an app.

raugugliaro
New Member

I am trying to develop an app that will continually monitor my network and alert me when a new, never seen before device is plugged in to the LAN.

My thought is to use Splunk Stream and monitor ARP messages coming across the wire. I would then keep a lookup table updated with all the MAC addresses that have been seen so far and alert when I see a new one.

Any thoughts on this approach?
Any major hurdles I may not have thought of?
Any alternative methods that anyone can think of?

0 Karma

starcher
Influencer

Make a kvstore backed lookup. Where the key is the mac address and has a column for lastSeen. Have a search that updates the lookup.

Use the lookup like this

index=myindex sourcetype=myarp data | lookup macTracker macaddress OUTPUTNEW lastSeen isFound | where isnull(isFound) 

That would give you events where the mac has never been seen before.

0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...