Recently, about a month after our public health crisis started in the US, I opened my mailbox. Inside was a printed public service announcement sent from the mayor of my little community northwest of Denver. It had cute graphics of cartoonish townsfolk wearing facemasks, and the content conveyed reasonable, folksy messaging about social distancing and sheltering in place. I scanned over the card and read the fine print at the bottom: “Families are supposed to only be shopping for essential groceries once a week.”
Bollocks. How will I continue to be the gourmet cook my sous-vide thinks I am? Also, the mayor clearly does not know that my household contains two voracious eleven-year-olds that go through eggs, organic milk, Nutella, and pickles like there’s no tomorrow. And, it isn’t like my spouse and I can watch them at all hours of the day and night — we’re teleworking fiends chained to our Zoom webcams, just like the rest of the neighborhood. So how can I monitor the food consumption rate in the house, and be a good upstanding citizen by only shopping once a week?
Splunk to the rescue!
I’ve been running a copy of Splunk in my house1 for the past seven years, collecting all sorts of interesting data from my firewall, VPN connections, DHCP server, home theatre system, speed-tests of my ISP, various Windows and OSX endpoints, wire data from , my thermostat and so forth. And a few years ago, I bought into the Arlo system of wireless cameras that run off rechargeable battery packs and can be placed literally anywhere in your home, as long as they are within range of the base station...
Yep, anywhere — that’s an Arlo camera perched, sideways, atop one of many pickle jars in the back corner of my refrigerator. It also records fascinating snippets of American life.
Anyway. What I really would like to put in Splunk is how often the fridge is opening, and specifically if the fridge is being opened in the middle of the night, which is when my son is most likely to consume all of the pickles, or the mini-bagels and cream cheese, which inevitably results in a conflict when my daughter goes to prepare breakfast in the morning. And in these times of quarantine, conflict avoidance takes on unprecedented2 importance!
Now, why on earth is any of this relevant to the security of an enterprise environment? Well, because of the state of the world today, our customers are rightly very interested in the physical security of their employees and their work locations. Most corporate offices are locked down tight, and entire floors should not have people working on them. The employees that are authorized to be in corporate locations during this crisis are few and far between. They should only be in certain areas of the building. In addition, you’ll want to ensure that your employees are following regulations and not trying to access their workspaces.
Basically, you need to make sure your staff that is “working from home” are actually doing so, and not trying to “work from office.” Your offices should look like this image on the left.
So, how can you ensure, in Splunk, that the activity occurring in your building is what you expect it to be? Consider ingesting three very useful data sources: proximity card reader data, local DHCP server logs, and the subject of this blog post, camera activity data2020欧洲杯投注备用. Combine any/all of them and you can start to get a very good picture of who is in your facility, or who is trying to access your facility.
And in this case, my facility is the “Brodsky Kitchen Refrigerator.”
2020欧洲杯投注备用What we’re looking to create is something like this!
2020欧洲杯投注备用The premise — every time my fridge door opens, the Arlo camera detects motion (and also captures video of the culprit)! We record this activity as a timestamped event in Splunk, and of course tie it back to whichever camera detected the motion. And, since I have multiple Arlo cameras inside and outside my home, I can also do analysis like this:
Now I know, in Splunk, when there’s someone on my front doorstep, or there’s activity in my driveway. Also, if I correlate that with other data I am collecting, such as the MAC address/hostname of the mobile phone that attaches to my WiFi shortly after my front door opens I can paint a pretty good picture of the physical activity surrounding my property. In the example above, you can see that yes indeed, my son snuck downstairs at 1 AM and ate some pickles. Other fascinating happenings this week — Tuesday morning I had a furnace installed (lots of front door and driveway activity) and on Saturday the kids were chalk-drawing on the driveway various messages like “We Support our Healthcare Workers” and “Save Us, Daddy is Creepily Monitoring our Food Intake!”
How can you create your own magic? All you need is a camera system that logs its activity when it senses motion — the more detailed the information the better3. Arlo cameras, for example, can identify if an object seen is an animal, or a person, or a vehicle. The activity should be in some time-stamped format that can be consumed in Splunk — a flat-file written to a server, an email notification that Splunk Phantom could parse, data retrievable via API call, or in Arlo’s case (and what I did…) an applet that triggers an HTTPS post via to (Thanks for the tip, Cody!)
My Arlo event data in Splunk looks like this:
2020欧洲杯投注备用How do you do it? This blog has already gone on long enough, but if you’re stuck on exactly how to make this happen, feel free to DM me at .
In the coming weeks we’ll tell you of some physical security monitoring use cases we have been seeing at customers, and give you a view into some of the kinds of data we collect at Splunk behind the scenes! Until then, send pickles and Nutella to one of the Splunk corporate offices — I’m sure they’ll make their way to me eventually.
1: The Splunk “free” license normally provides enough ingest license to capture most data sources on a home network at no cost!
2: Every article you’ve read in the past month uses the word “unprecedented.” Now your streak is unbroken.
3: From IP cameras, you could even pull activity off of the wire via Splunk Stream, Bro/Zeek, or similar