WEBVTT

00:00.000 --> 00:07.300
So now, it is my pleasure to introduce to you the second speaker for today.

00:07.920 --> 00:12.120
And it is from Splunk, Gleb Eastman.

00:16.740 --> 00:18.400
Thank you, Bing.

00:19.360 --> 00:20.760
Hi, good morning.

00:22.820 --> 00:24.040
Alright.

00:27.170 --> 00:29.890
Just give it another 30 seconds.

00:34.130 --> 00:36.050
Alex, you come closer.

00:43.660 --> 00:44.540
Cool.

00:44.540 --> 00:50.000
So, Solving Crimes with Wireless Geofencing and Multi-Zone Correlation Analytics.

00:50.440 --> 01:12.640
This actually, my talk is a result of a real work I've done helping Alex, I'll introduce him briefly a bit later, for one of the European Law Enforcement Agency, where they were using interesting hardware that Alex built, and I helped him from the software side.

01:12.640 --> 01:15.900
But let's do things in order.

01:16.080 --> 01:21.220
So, I work at Splunk, so we have to show you guys this slide.

01:21.240 --> 01:28.640
Don't trust anything I tell you today, and don't trade any securities based on information I will tell you today.

01:29.400 --> 01:32.180
Special thanks to Alftel Systems.

01:32.180 --> 01:44.880
Alftel, Alex Zaharoff is the president of Alftel, and he's a designer, he's a super smart security guy, and he's a designer of all these cool devices.

01:45.360 --> 01:51.200
What you see on your screen is multi-channel Wi-Fi capture devices.

01:51.620 --> 02:06.320
Basically, if you want to capture everything that's going on in Las Vegas, you need a few dozens of these things spread around, and lots of good information could be received by that stuff.

02:06.320 --> 02:10.060
Alex, I believe you're in Wireless Packet Village, right?

02:10.860 --> 02:20.520
Scott Haskell, he's a Splunker, exceptionally good engineer, and he built MapsPlus app for Splunk.

02:20.520 --> 02:32.980
Basically, that's the foundation of the systems that I built, and whatever I built for the last six months, or maybe a little bit less, like four months, I will give it for free today.

02:32.980 --> 02:37.440
I'll send you a link, and you'll be able to download and see how it works.

02:37.440 --> 02:41.880
With some, maybe, rough edges around the corners, but it should work.

02:41.880 --> 02:44.640
So, briefly about myself.

02:46.080 --> 02:53.260
Kind of first half of my career, I worked at malware analysis, antivirus software.

02:54.620 --> 03:01.260
I moved from, I moved to the United States four years ago when I joined Splunk.

03:01.260 --> 03:06.700
I moved from Canada, so you guys can still notice my Canadian accent.

03:08.000 --> 03:08.940
No?

03:08.940 --> 03:09.860
Alright.

03:09.860 --> 03:11.540
I was born in Belarus.

03:12.400 --> 03:20.840
So, I was born in Belarus, and when I started working, that's when the era of computer viruses came in, and nobody knew what to do with them.

03:20.920 --> 03:23.960
So, I was very curious to see what could be done.

03:23.960 --> 03:29.520
So , all this era of boot virus, boot sector viruses, these partition tables, and cool stuff.

03:30.200 --> 03:34.160
So, yeah, lots of interesting work in that space.

03:34.160 --> 03:38.640
I worked for IBM Watson Research for six years, doing the same stuff.

03:38.640 --> 03:47.020
Then I kind of deviated to e-commerce, payment processing, digital information management solution, data analytics.

03:47.600 --> 03:56.400
Before Splunk, I worked at Morgan Stanley, where I dealt with multiple enterprise-wide analytical systems.

03:56.620 --> 03:58.940
And that's when I found out about Splunk.

04:00.960 --> 04:05.780
And Splunk allowed me to do things much easier than any other tool.

04:05.780 --> 04:12.420
And I, like, literally, I got excited about it, and that's how I evolved into joining Splunk later on.

04:13.900 --> 04:15.840
So, agenda for today.

04:16.720 --> 04:20.380
Definitions, just to kind of set the baselines.

04:20.540 --> 04:22.820
Use cases for wireless geofencing.

04:23.000 --> 04:27.000
Data pieces, that's a big part of this presentation.

04:27.140 --> 04:34.200
Sources, devices, where it's coming from, how to capture it, what kind of conversion needs to be done to data, how to ingest it.

04:34.200 --> 04:37.060
Creating Splunk applications, step-by-step.

04:37.080 --> 04:40.040
Data visualization, Maps Plus.

04:40.060 --> 04:43.040
Solving use cases, and completed app demo.

04:43.140 --> 04:52.220
I, obviously, will not be able to cover everything, how to build Splunk apps, but I present pretty good steps for everybody.

04:52.220 --> 04:54.160
You can start today.

04:54.580 --> 05:01.480
And I think you'll enjoy it, if you haven't seen Splunk before.

05:01.740 --> 05:03.520
So, a couple definitions.

05:03.520 --> 05:13.340
Wireless forensics, and when I try to come up with definitions, I try to come up with the simplest possible definition for things.

05:13.340 --> 05:17.780
Wireless forensics, process of collecting and analyzing data from wireless devices.

05:18.820 --> 05:24.120
Geofencing, and the process of defining geographical boundaries, or zones, for whatever purpose.

05:24.120 --> 05:29.000
It could be multiple purposes, but that's what geofencing essentially is.

05:29.000 --> 05:36.100
Splunk, how many of you could raise your hands who don't know what Splunk is?

05:37.180 --> 05:38.180
Okay, cool.

05:38.540 --> 05:40.400
I would say like 10%.

05:41.540 --> 05:50.840
So, Splunk is a software, it's a data analytics software platform, to get insights from the data.

05:50.840 --> 06:08.300
When I worked at Morgan Stanley before Splunk, we got so many data sources coming in many different formats, and I was surprised that I can just throw it all to Splunk without any ETL, without any pre-processing, and Splunk would ingest and understand and immediately,

06:08.300 --> 06:16.460
or almost immediately, will let me search through this data, and correlate, combine, come up with the dashboards and visualization of the data.

06:16.780 --> 06:19.560
Splunk can ingest any kind of data imaginable.

06:19.560 --> 06:22.740
It should be in textual format, not binary.

06:23.080 --> 06:27.420
If you have binary data, so metadata could be extracted and ingested.

06:27.420 --> 06:35.460
But otherwise, CSV, pipe delimited, any kind of log files, obviously, could be ingested by Splunk.

06:35.460 --> 06:37.600
Splunk is a very scalable solution.

06:38.840 --> 06:45.380
And what I love about Splunk is that you can download absolutely a free version of Splunk.

06:45.380 --> 06:49.000
It's a fully featured enterprise version, just go to Splunk website, download it.

06:49.880 --> 06:53.280
It's a fully featured enterprise version.

06:54.460 --> 07:00.960
Splunk charges for data ingest per day, I just want to be upfront with cost or free and things like that.

07:01.420 --> 07:06.920
If you ingest less than 500 megabytes per day, it's free forever.

07:06.920 --> 07:09.800
All this fully featured enterprise tool is free.

07:09.800 --> 07:19.420
If you register for developer account, which anybody could do, you get ability to ingest up to 50 gigabytes per day.

07:19.420 --> 07:23.180
I think I'm right about this number.

07:23.180 --> 07:27.120
50 gigaday for free forever, if you're a developer.

07:27.120 --> 07:30.280
And you can do lots of things with this tool.

07:30.280 --> 07:32.460
Splunk is super open platform.

07:32.540 --> 07:33.640
Everything is open.

07:33.640 --> 07:39.260
There is APIs, SDKs, gigantic documentation, all available online.

07:39.260 --> 07:44.160
You can install Splunk on the shittiest laptop you can come up with.

07:44.160 --> 07:45.740
It will work there.

07:45.780 --> 07:49.020
Or Mac, Windows, Linux.

07:49.020 --> 07:54.480
You can install Splunk in a thousand nodes cloud deployment to scale up.

07:54.480 --> 08:04.660
We have customers who ingest more than like 5 plus petabytes of data per day into Splunk instances and it works just beautifully fine.

08:04.660 --> 08:06.760
So it's a cool system.

08:06.760 --> 08:10.200
When I first time saw it, I got hooked into that.

08:10.200 --> 08:13.640
I literally spent weekend building stuff on it.

08:14.780 --> 08:19.360
Okay, I just want to be aware of time because there is lots of materials to cover.

08:19.480 --> 08:23.120
So suspects, crime, and Wi-Fi signals.

08:23.140 --> 08:25.600
So imagine couple scenarios.

08:26.460 --> 08:30.440
Crime 1, arson happens at location A at time 1.

08:30.440 --> 08:34.480
And similar arson happens at location B at time 2.

08:34.480 --> 08:38.180
Kidnapping, location X times 3.

08:38.180 --> 08:42.360
Similar crime at another location at another time.

08:42.360 --> 08:48.740
Robbery at location and the kind of similar patterns happen in different places at different times.

08:49.080 --> 08:54.400
So the question is, so we want to build a system that would help us to solve crimes.

08:54.400 --> 08:55.840
Who did it?

08:56.200 --> 08:58.020
Who is the possible suspect?

08:58.020 --> 08:59.940
Give us full list of suspects.

08:59.940 --> 09:01.600
Who is the most probable suspect?

09:01.600 --> 09:03.080
We want to sort at least.

09:03.080 --> 09:11.780
Show us the top 5-10 people or metadata that would possibly lead us to actual suspects.

09:13.800 --> 09:21.260
So we want to build solutions that, first, sort Wi-Fi signals by the probability of being suspect.

09:21.260 --> 09:26.320
Taking GPS coordinates, time, and signal strength into account to calculate this probability.

09:26.320 --> 09:35.120
While building this solution, working with Alex, we came up with a formula that actually helps to do just that.

09:35.120 --> 09:45.440
Basically calculate the risk score that would sort metadata by the most probably belonging to the suspect.

09:45.700 --> 09:49.020
And this formula will be in one of the slides.

09:49.020 --> 09:52.420
And second, visually define multiple geofence zones.

09:52.420 --> 09:54.820
So essentially you will have a map.

09:54.820 --> 10:01.980
You will be able to build solution, have a map, all your devices, all your captured data sources will be on this map.

10:01.980 --> 10:05.620
You will be able to visually define zones of interest.

10:05.620 --> 10:12.060
You will be able to define times for each zone and then correlate them together to find answers.

10:13.600 --> 10:23.420
So, by monitoring Wi-Fi spectrum for signals emitted by wireless devices, we can match crime scenes and times to wireless devices owned by possible suspects.

10:23.560 --> 10:26.520
So, let me shift and skip to the next slide.

10:26.520 --> 10:33.520
So, last year there were a series of pipe bomb explosions, like a real case.

10:33.520 --> 10:51.140
Police was investigating that and typically they issue a warrant to Google because they know that if the same person does that, maybe that person had an Android device phone in his pocket.

10:51.140 --> 11:07.020
And Google would know everything because Android devices, any phone device, would just do call home, ping home, and with that data, somewhere GPS coordinates of this device being sent.

11:07.200 --> 11:19.860
And by correlating these areas and times of crime together, it's possible to pinpoint two possible suspects in this.

11:19.860 --> 11:22.160
So, this is called geofence warrants.

11:22.160 --> 11:26.560
It's how law enforcement come to Google and ask them to help.

11:26.560 --> 11:34.700
And Google, using something similar, I don't know exactly how the system looks like, but what we're going to build today is looking at something pretty similar to that.

11:34.700 --> 11:46.360
So, essentially, a zone is defined, time is defined, and then multiple zones are defined, and then, okay, show us all devices that are possibly present in all of these zones.

11:46.360 --> 11:50.600
And then we might get in closer to the criminal who did that.

11:51.820 --> 11:54.080
So, how to capture data.

11:54.720 --> 12:05.020
Now, I'm not going to focus too much today about actual packet disassembling, but basically what we do after the fact.

12:05.020 --> 12:08.880
But to capture the data, on the left side is a kind of poor man solution.

12:09.020 --> 12:14.140
You can get these cheap things, plug into your laptop, or you don't even have to do that.

12:14.140 --> 12:17.900
Your laptop Wi-Fi card can capture the signal.

12:17.900 --> 12:26.800
You install Wireshark, and it will switch your network interface to promiscuous mode, and basically you start capturing Wi-Fi data from around you.

12:27.020 --> 12:30.600
So, that's what I call poor man solution.

12:30.600 --> 12:38.700
Real man solution, on the right side, it's Alex's Alftel devices that capture simultaneously multiple channels.

12:38.700 --> 12:47.850
So, if you don't want to miss anything, if it's a serious project, you want to have a device that will provide you, give you, lots more capabilities.

12:47.850 --> 12:52.990
So, Alex's device is... did you bring any things with you in your pocket?

13:12.510 --> 13:13.330
Yeah.

13:13.370 --> 13:22.250
So, Alex's device is basically a Linux box, which is connected to this multi-channel thing that looks like a spider.

13:22.350 --> 13:25.130
This is how I call my app, Spider 2.

13:25.370 --> 13:29.390
But it's like multiple antennas capture multiple channels simultaneously.

13:29.390 --> 13:30.390
Pretty cool stuff.

13:30.390 --> 13:33.650
It runs Linux, and you can do anything with this device.

13:33.650 --> 13:35.310
It has LTE interface.

13:35.310 --> 13:42.430
You can remotely control this device through your cell phone, if you want to, from any country in the world.

13:42.430 --> 13:43.570
You can see what it's captured.

13:43.570 --> 13:48.570
You can send program device to send captured data anywhere you like.

13:48.570 --> 13:52.770
For example, your Splunk instance, and it will show the stuff.

13:53.530 --> 13:56.610
So, apps or application.

13:56.830 --> 14:00.790
Splunk has app store called Splunk Base.

14:00.790 --> 14:01.830
Actually, it's a wrong store.

14:01.830 --> 14:03.070
It's a wrong word store.

14:03.070 --> 14:03.630
It's not store.

14:04.230 --> 14:07.810
SplunkBase.com is a repository of Splunk applications.

14:08.250 --> 14:11.290
95% of them are free.

14:11.330 --> 14:19.590
Sort of like, you download this app, apply to Splunk, and it will give you some extra capabilities or extra visualizations.

14:19.590 --> 14:20.930
So, it's pretty cool.

14:21.270 --> 14:22.590
You should check it out.

14:22.590 --> 14:29.890
There's lots of interesting applications that you can just download to Splunk, apply it, it will work, and it looks cool.

14:30.630 --> 14:32.290
Create new app.

14:33.090 --> 14:34.730
So, it's very easy.

14:34.730 --> 14:37.270
You go to Splunk, you log in to Splunk web.

14:37.270 --> 14:42.190
So, by the way, when you install Splunk, everything you can manage through the web interface.

14:42.810 --> 14:47.310
If you're a developer, anything in Splunk you can manage through REST API calls.

14:47.590 --> 14:49.950
I mean, literally, you don't need to use any UI.

14:49.950 --> 14:52.730
It's all REST APIable system.

14:53.110 --> 14:54.570
Everything could be controlled.

14:54.570 --> 14:58.010
But visually, you can just follow the steps.

14:58.010 --> 15:03.230
I will not do demo of the steps, but just click create new app.

15:03.550 --> 15:08.190
And like in 30 seconds, you'll have your own blank new app.

15:08.590 --> 15:13.310
You create index, which is a database you will ingest data to.

15:13.390 --> 15:15.850
And then capture data, pick up files.

15:15.850 --> 15:19.790
If you use Wireshark, that's the quickest way to start capturing data.

15:19.790 --> 15:23.690
You can download samples from the web, but I think it's pretty interesting if you just do it yourself.

15:24.570 --> 15:26.690
Capture data and pick up files.

15:26.690 --> 15:28.770
Convert data to CSV format.

15:28.770 --> 15:30.310
So, pick up is a binary.

15:30.310 --> 15:31.950
We need to convert them to text.

15:31.950 --> 15:36.830
And we also need to specify which fields we are interested in to this data.

15:36.930 --> 15:39.350
That would be, for example, MAC addresses.

15:39.350 --> 15:46.410
That would be information, some information related to beaconing.

15:46.410 --> 15:52.710
And some capabilities of wireless source would be there in this data.

15:52.710 --> 15:55.470
It could be gigantic, it could be as small as you like.

15:56.150 --> 15:57.410
Ingest data to Splunk.

15:57.410 --> 16:01.350
Again, it's a pretty simple thing to do.

16:01.870 --> 16:02.910
There is a menu.

16:03.030 --> 16:05.350
Actually, let me just show you.

16:06.150 --> 16:08.690
This is Splunk instance.

16:08.690 --> 16:10.050
It's kind of small.

16:10.590 --> 16:11.850
I'll just make it bigger.

16:12.690 --> 16:19.710
So, to ingest data, you go to settings, add data, and then it will let you...

16:21.530 --> 16:24.270
Now, this is a demo machine.

16:24.270 --> 16:28.490
It's actually in my home in San Francisco.

16:28.550 --> 16:32.150
I hope it works fine today for the demos.

16:32.150 --> 16:34.310
But you can ingest data in multiple ways.

16:34.310 --> 16:38.810
The simplest way is settings, add data, upload, and you'll be done with that.

16:38.810 --> 16:41.170
So, it's pretty straightforward.

16:41.170 --> 16:44.150
Okay, let me just go back.

16:46.090 --> 16:46.910
Okay.

16:48.090 --> 16:51.630
Ingest data, build analytical layer, logic, dashboards, SPL queries.

16:51.630 --> 16:55.670
So, that's what we'll be talking more about.

16:57.370 --> 16:59.270
Oh, so create a new Splunk app.

16:59.270 --> 17:00.930
I just specified the steps.

17:00.930 --> 17:08.990
Exact things you should click on your menus after you install Splunk to make it happen.

17:08.990 --> 17:11.050
Pretty simple, all visual.

17:12.050 --> 17:17.910
Literally, there is very little zero coding to do to build this solution.

17:17.910 --> 17:25.100
You might adjust SPL queries a little bit, but there is not much of an actual...

17:26.050 --> 17:28.010
You don't need to be a coder to do it.

17:28.570 --> 17:31.470
Capture data, convert data to CSV format.

17:31.730 --> 17:33.150
So, what I used...

17:33.150 --> 17:36.190
We worked on data files.

17:36.190 --> 17:41.790
I used the Tshark utility to convert them to CSV format.

17:41.970 --> 17:43.930
Actually, to pipe delimited format.

17:43.930 --> 17:45.650
And so, that's a command line.

17:45.670 --> 17:54.210
It's kind of gigantic looking, but essentially why it's so big, because I wanted to extract as many fields as I wanted to.

17:54.210 --> 17:56.750
And it's like dash E, field name, dash E, field name.

17:56.750 --> 17:58.270
That's why it's kind of so big.

17:58.990 --> 18:00.710
Let me see what's on the next slide.

18:00.710 --> 18:03.930
So, that's the result of converted data, how it looks like.

18:03.930 --> 18:04.930
So, essentially...

18:05.710 --> 18:06.710
Let me just...

18:06.710 --> 18:08.930
So, that's how it looks like.

18:09.110 --> 18:11.490
So, we have a gigantic header.

18:12.270 --> 18:13.930
And that's how...

18:14.670 --> 18:15.930
I'm just trying to...

18:17.670 --> 18:18.610
Yeah.

18:18.610 --> 18:19.490
Okay.

18:19.750 --> 18:22.850
I wanted to kind of make it on one line, but...

18:22.850 --> 18:24.810
So, after you run...

18:24.810 --> 18:26.370
It's a pretty fast utility.

18:26.370 --> 18:28.950
Very quick conversion to CSV file.

18:28.950 --> 18:33.090
And at this point, this kind of file you can ingest to Splunk directly now.

18:33.090 --> 18:36.530
And that's what you will do following this guide.

18:37.910 --> 18:39.410
Splunk source type.

18:39.410 --> 18:46.050
Every data source you send to Splunk, you can specify a little bit about how this file looks like, which field...

18:46.050 --> 18:53.890
If some field needs a little bit of tweaking, you can specify them on this file with some instructions.

18:54.290 --> 18:55.290
I gave you...

18:55.290 --> 18:57.090
You will get it already pre...

19:00.570 --> 19:04.230
Not pre-installed, but it was in the zip file that I'll give you to download.

19:04.230 --> 19:05.030
It will be there.

19:05.030 --> 19:07.850
You can look at that, read Splunk docs, what they mean.

19:07.850 --> 19:11.030
But essentially, this configuration file means we have...

19:11.030 --> 19:12.530
Delimiter is a pipe.

19:12.550 --> 19:15.070
Line breaker is carriage return line feed.

19:15.070 --> 19:16.370
And it's CSV.

19:16.510 --> 19:18.610
And then I create some aliases.

19:19.590 --> 19:22.350
WS call protocol as protocol.

19:22.350 --> 19:26.890
So, kind of create aliases for fields to make it easier than to do search and build dashboards.

19:27.090 --> 19:28.090
After that.

19:31.150 --> 19:31.690
So...

19:31.690 --> 19:33.850
Adding data to Splunk.

19:34.230 --> 19:35.090
After you...

19:36.650 --> 19:44.210
If you manually update the source type profiles that I specified on this previous slide, you run this command change ownership.

19:44.210 --> 19:47.050
Make sure everything in your app owned by Splunk Splunk.

19:47.110 --> 19:50.190
And that's basically what this tells about.

19:50.350 --> 19:51.490
Adding data to index.

19:51.490 --> 19:53.370
Again, set of instruction how to...

19:53.370 --> 19:55.750
What you need to click to upload data to Splunk.

19:55.750 --> 20:01.650
So, literally, having that couple slides, you'll be able to pursue this...

20:01.650 --> 20:03.150
Follow this whole process.

20:03.210 --> 20:06.750
So, after you just data to Splunk, you'll end up with...

20:09.630 --> 20:13.950
With a kind of bare index that I want to show you how it works.

20:13.950 --> 20:16.350
So, I go to app.

20:16.350 --> 20:18.010
Let's say, you'll create this app.

20:18.010 --> 20:19.590
You'll go to this app to search.

20:19.590 --> 20:21.990
And then you can do some ad hoc searching here.

20:22.010 --> 20:26.310
So, what I do here, as I said, this is the name of my index.

20:26.310 --> 20:28.930
Give me most recent hundred results.

20:28.930 --> 20:33.130
And show me table of results for this field that I'm interested in.

20:33.130 --> 20:40.090
Time stamp, frame number, latitude, longitude, and some information about the data that's within the file.

20:40.090 --> 20:41.350
So, I run this query.

20:41.350 --> 20:42.670
Splunk returned me results.

20:42.670 --> 20:44.230
I can see all of them.

20:44.270 --> 20:46.470
And I can scroll.

20:46.690 --> 20:48.730
But remember this gigantic...

20:50.830 --> 20:52.450
Gigantic CSV file.

20:52.450 --> 20:54.150
There's way more data here.

20:54.170 --> 20:55.790
So, what I can specify is that...

20:56.390 --> 20:59.070
Splunk, show me everything you've got in my fields.

20:59.070 --> 21:02.710
So, I can say, table WLAN star.

21:02.870 --> 21:04.610
And I can run this query.

21:04.690 --> 21:07.670
And now I get this table, but it's much wider.

21:07.670 --> 21:10.590
So, pretty much every field here we can see.

21:11.690 --> 21:14.390
Scroll, and scroll, and scroll, and scroll, and scroll.

21:14.390 --> 21:15.970
Pretty cool stuff here.

21:16.190 --> 21:24.690
Capabilities, frequencies, signal strengths, vendor name for MAC address, and all this goodness here.

21:24.790 --> 21:29.010
You notice here the beacon frames, and probe responses.

21:29.090 --> 21:37.930
So, probes actually contains more interesting data that allows to identify, kind of follows the source.

21:37.930 --> 21:42.670
And you can say, okay, Splunk, show me only packets that contains these probes.

21:42.670 --> 21:52.350
So, I can just type probe here, index probe, and then now I can see only probes for each MAC address that whatever they sent to the, whatever they broadcasted.

21:52.350 --> 21:55.490
And this kind of helps to identify data source.

21:59.220 --> 22:00.580
Summary index.

22:00.820 --> 22:18.980
Summary index is a technique where you, when you have ingest raw data, but you actually do search in a subset of fields, it's cleaner to create secondary summary index that only contains the fields that you are interested in, and the fields that you are going to search more often on.

22:19.540 --> 22:27.860
So, summary index will kind of, when you create it, it will require some storage space, but it doesn't apply toward your license.

22:27.860 --> 22:31.600
It's kind of, from Splunk perspective, it's free for you.

22:31.600 --> 22:33.520
You can use it, or if it helps.

22:33.600 --> 22:39.000
So, I present couple samples of curious, what's kind of, why we create summary index.

22:39.020 --> 22:52.240
So, in some cases, sender names, that's the field I create, is a combination of WNSA result, it's a source address, it could be a TA result, source, or source.

22:52.240 --> 22:58.280
So, it's like, find me first fields out of these three that are non-null, and consider it as a sender name.

22:59.080 --> 23:15.100
And so, a couple things like that, sorry, a couple queries like that would help me to extract fields, put them in summary index, and then I would use that summary index to do all my dashboards and queries, and all my analytics based on it.

23:15.480 --> 23:17.160
That's how we create summary index.

23:17.160 --> 23:32.640
It's a sample of SPL, that you run once, if you want to do it ad hoc manually, if you want to build the system to function automatically, you can create schedule search, and say to run every five minutes, because data is continuously coming in.

23:33.300 --> 23:43.840
And, the links that I'll provide you to download this app, also will have a readme file with a sample of this query, that you can just copy paste and run it, on your app, when you create it.

23:44.880 --> 23:47.540
Data model, I just mentioned it.

23:47.540 --> 23:57.200
Accelerated data models, it's a way how you can structure data within Splunk to query 100 to 1,000 times faster.

23:57.200 --> 24:01.500
It's basically create index fields, for every field of interest.

24:01.500 --> 24:11.380
And, if you have, let's say, hundreds of millions of events, you want to search through all of them in like, in seconds, not in hours.

24:11.380 --> 24:13.700
Accelerated data model is a way to go.

24:16.570 --> 24:19.350
So, Splunk 90-10 rule.

24:19.350 --> 24:24.690
So, you know, 80-20 rule, you can do 20% of effort to accomplish 80% of results.

24:24.690 --> 24:30.190
So, in Splunk world, it's like, you can do 10% of effort to accomplish 90% of results.

24:30.350 --> 24:38.630
So, 90% of all dashboard, logic, code, and all the kind of analytical layer, could be contained in XML.

24:38.630 --> 24:44.990
When you create an app, you essentially create XML files, with some text configuration files.

24:44.990 --> 24:47.770
You can drive it completely through web UI.

24:47.770 --> 24:50.350
You don't need to do any coding.

24:50.690 --> 24:53.590
You can customize stuff with CSS and JavaScript, of course.

24:53.590 --> 24:55.570
But, it's very visual.

24:58.110 --> 25:01.550
90% of all dashboards could be built as following.

25:01.550 --> 25:06.750
So, basically, you go to Splunk ad hoc search.

25:06.810 --> 25:08.690
You run some query.

25:08.690 --> 25:12.510
Let's say, I want to create query that shows me the fields of interest.

25:12.510 --> 25:14.130
And now, I want to create a dashboard.

25:14.130 --> 25:16.470
So, you can essentially save as dashboard panel.

25:16.470 --> 25:18.950
And that's how dashboard gets created in Splunk.

25:19.710 --> 25:26.010
So, 90% of how people build dashboards, it actually starts with this ad hoc, save as a dashboard or panel.

25:26.010 --> 25:30.370
And then, you start building this visual interface.

25:31.910 --> 25:36.490
So, that's essentially what I mentioned specified here.

25:37.410 --> 25:46.030
When you run query, let me just actually, there will be demo for that right after that.

25:46.490 --> 25:46.970
So ,

25:50.930 --> 25:57.810
when you run query in Splunk, by default, it returns you a table, but you can also select visualization.

25:57.870 --> 26:02.330
Like, say to Splunk, I actually want to visualize this result in some interesting way.

26:02.330 --> 26:05.610
And I'm about to do a demo for you how it works.

26:06.270 --> 26:08.830
So ,

26:17.110 --> 26:18.570
this is a query that

26:21.710 --> 26:23.190
we created.

26:23.190 --> 26:25.470
And I'm only interested in three fields.

26:25.470 --> 26:31.010
I'm interested in latitude, longitude, and description, which is access point names.

26:31.010 --> 26:39.810
So, I want to visualize from my pickup file on the map where these access points are.

26:40.210 --> 26:45.830
And , so I run this query first, make sure it returns me latitude, longitude, and access point name.

26:45.830 --> 26:51.690
Now, I click on visualization section, and here I can select how I want to visualize this data.

26:51.730 --> 26:58.170
Now, bubble chart, this type of visualization selected here doesn't make much sense for that type of data.

26:58.170 --> 27:06.470
So, I click on this icon, and Splunk shows you all visualizations that are available to you to visualize data set.

27:07.050 --> 27:15.300
So , let me just find the MapsPlus app.

27:15.300 --> 27:19.540
So, MapsPlus, I added it to Splunk already, so I click on it,

27:24.020 --> 27:30.580
and instead of, like, bubble chart or whatever, I just said, okay, use maps visualization for the data set.

27:30.580 --> 27:37.980
Each visualization requires certain data fields to be present, and MapsPlus is really happy that I have latitude, longitude, and description.

27:38.060 --> 27:42.820
And now I can actually zoom in into these data points.

27:42.820 --> 27:46.480
And I can see exactly where they were captured.

27:46.480 --> 27:54.760
So, that's basically law enforcement vehicle with Alex's device installed was moving around and collecting data.

27:54.760 --> 28:01.460
Now, the data I shown here is anonymized, but essence is the same, so that's how it works.

28:01.460 --> 28:07.360
And then you can zoom in further and see, you know, see device identifications.

28:07.360 --> 28:11.240
Any metadata that is present in pickup files would be shown here.

28:11.260 --> 28:13.080
So, that's how it works.

28:13.300 --> 28:19.940
About the MapsPlus app, you can click on format, and there is, like, literally hundreds and hundreds of options

28:23.040 --> 28:23.140
here.

28:23.140 --> 28:24.380
I don't want open street map.

28:24.380 --> 28:28.440
I want some sort of, like, a dark representation of map.

28:28.440 --> 28:35.140
So, now we have, like, this, you know, cool dark app that is, you know, showing essentially the same thing.

28:35.880 --> 28:39.640
You can go to format.

28:39.640 --> 28:42.820
You can select clusters.

28:42.820 --> 28:48.380
You can select markers, heatmaps, and I'll show you heatmaps pretty soon.

28:53.500 --> 28:58.860
You can decide to represent data as Google places around these captured points, for example.

28:58.860 --> 29:05.160
You can pick and choose custom colors for every little bit and piece that you want to put on this map.

29:05.160 --> 29:13.660
So, it's pretty flexible capabilities that you want to, that would be pretty interesting to employ here.

29:16.340 --> 29:23.820
I actually think I ran a little bit forward, so that's a demo I'll just show you about how this map looks like.

29:24.600 --> 29:33.620
It's pretty simple, again, fully visually in, like, two minutes you can run Qt, save it as a dashboard with a map there and kind of start building from there.

29:34.280 --> 29:38.800
That's kind of one of the demo snapshot of what this map is capable of.

29:39.500 --> 29:46.340
So, Scott Haskell decided to, as a demo, visualize all the criminal activity in Chicago.

29:46.340 --> 30:04.060
So , when he downloads this criminal activity CSV from police website, you know, this is, like, lots of going on here, and you can filter on different crimes and, you know, do lots of sorting here, pretty interesting stuff, but you can represent each dot,

30:04.060 --> 30:11.720
you can, like, say, okay, this type of crime is red dot, this type of crime is, like, big purple dot, so it's fully customizable here.

30:18.630 --> 30:31.990
So, when I did work with Alex, we've been provided with a number of data sources, data files, which were captured by two different devices, basically, or two different vehicles.

30:32.310 --> 30:44.890
And we, one of the ask was how we can, is it possible to add heat map on a map that would represent the strength of the signal source.

30:44.990 --> 30:53.990
And when you capture the data with Wireshark or with Alex's devices, typically this signal strength will be present there.

30:53.990 --> 30:57.870
And so, based on this field value, we calculate SPL.

30:57.870 --> 30:59.950
SPL is a Splunk Processing Language.

30:59.950 --> 31:08.850
So, that's basically queries that we calculate heat map on the three zones, like weak, medium, and strong.

31:08.930 --> 31:15.910
And then we basically create a, run a table, latitude , longitude, and heat map .

31:15.910 --> 31:24.010
And from this point on , that map that I show you suddenly will show heat map like this.

31:24.010 --> 31:31.090
And that would be, I believe, this demo.

31:31.610 --> 31:33.370
So, that's how heat maps look like.

31:33.370 --> 31:39.410
Of the same data, same data set, but heat map functions added to the query.

31:39.490 --> 31:41.830
And now you can zoom further.

31:42.490 --> 31:45.350
Each heat map is presented by the separate layer.

31:45.350 --> 31:49.270
I can say, okay, just show me the strongest signal sources here.

31:49.270 --> 32:03.050
So, I can filter out weaker layers and just look like on this map, where exactly they were located, and how they were called, things like that.

32:03.090 --> 32:06.770
So, it's pretty interesting capabilities.

32:07.690 --> 32:12.470
And then I can also choose to, okay, just don't show me points, just show me heat map.

32:12.470 --> 32:20.070
I want to see how covered this area by the signal, so I can do things like that as well.

32:25.150 --> 32:28.890
Just make sure I'm jumping too far ahead.

32:29.830 --> 32:33.630
So, I want to show you this.

32:34.030 --> 32:38.070
It's kind of high resolution, like I work on this map where it's like 4K screen.

32:38.070 --> 32:40.770
I'm trying to squeeze it here.

32:41.330 --> 32:52.790
Basically, these panels, it's a simple search running against this pickup capture data that shows senders, receivers, access points,

32:56.050 --> 32:57.510
and this data.

32:57.670 --> 33:00.130
And I can now can do lots of filtering.

33:00.130 --> 33:09.610
For example, I can see, okay, show me only this sender MAC address, so I can click on MAC address.

33:09.610 --> 33:20.010
Splunk will recalculate all statistics based on only for that data source, and it will show me on a map this data source, and it will show me all statistics

33:25.150 --> 33:31.750
were used, protocols, what kind of access points were involved into these conversations, and things like that.

33:31.770 --> 33:41.370
So, I can also see like this chart on the right shows me multiple set of data, like protocols or access points.

33:41.370 --> 33:48.590
So, I can choose expand time chart, and now this time chart kind of looks more user-friendly.

33:48.630 --> 33:51.550
And it's interesting to see spike on this chart.

33:51.550 --> 34:01.270
I can zoom in into the spike and see all the access point or data sources that were responsible for this spike in conversations.

34:01.270 --> 34:02.750
I can see MAC addresses.

34:02.750 --> 34:06.210
I can sort data by the vendor of MAC address.

34:06.210 --> 34:13.530
I see the Cisco devices, 18 MAC addresses were captured that were responsible for most of that traffic within this time frame.

34:13.530 --> 34:34.770
I can choose to represent data instead of protocols, or for example, on this chart, I see access points, but I want to see protocols, so I can drill down, so I can drop down protocols and Splunk will recalculate everything and show me the protocols.

34:34.770 --> 34:39.690
So, 82.11 is probably the most present data source.

34:39.690 --> 34:52.090
Now we have some DNS frames, we have other protocols, and I can, again, zoom in and see who was responsible most for DNS queries or some interesting things that I might be able to find.

34:52.090 --> 35:02.290
And data in the map will automatically be redrawn and show me only sources that I'm interested in.

35:02.950 --> 35:09.770
All these queries will be, so you'll get a copy of this map, of this app, and see exactly how it's implemented.

35:10.790 --> 35:30.510
Basically, to design this dashboard, you can just click edit and start adding controls to the... let me just do it... so click edit, and then I could, let's say, add panel or add input, and input would be one of these, like, text, radio button, drop-down,

35:30.510 --> 35:37.050
checkbox, and so I added a couple of these textual inputs that will allow me to do filtering on this data.

35:37.510 --> 35:40.790
And so when I click on one of these names or

35:47.390 --> 35:48.770
another, it recalculates everything.

35:48.770 --> 35:54.730
So it's a pretty flexible system that you can build and design totally visually without coding.

35:56.490 --> 35:59.630
Correlating data from multiple capture devices.

35:59.630 --> 36:07.590
So I want to cover this suspect score, how we calculate possible suspect score.

36:07.590 --> 36:26.790
So imagine we have a fixed capture point, capture devices like that, where they installed into the areas of interest, where, you know, crime usually happens, or some security areas that needs to be monitored.

36:26.970 --> 36:35.470
And we need to investigate events as it happens in multiple places, and each device has some capture data for us.

36:35.530 --> 36:44.690
So what we want to find is devices that were present at that times and these two locations, which is pretty easy to do.

36:44.690 --> 37:00.550
We can just do a stats, that's a sample of query, stats by sender MAC, and show us DCSRC means calculators number of distinct data sources for each MAC address.

37:00.550 --> 37:08.210
So if this MAC was present in two places, this DCSRC will be, this places variable will be equal to two.

37:08.210 --> 37:12.670
So show me a place where for all MAC addresses were places more than one.

37:12.710 --> 37:19.790
But now this will give us a list of all devices that were present in both locations, but it doesn't calculate any score.

37:19.790 --> 37:21.950
They kind of like equal at this point.

37:21.970 --> 37:33.310
So we want to actually calculate, come up with a way to calculate the score for each device to consider that some of them are more probable suspect and some are less.

37:33.470 --> 37:38.290
So in this case we consider signal strengths, which we have available.

37:38.390 --> 37:42.230
So we have signal strengths, time, and location.

37:42.230 --> 37:46.030
In this case that's how we calculate score.

37:46.030 --> 37:53.390
So we basically consider single strengths in divided by 20.

37:53.390 --> 38:01.930
So we come up with a five level of signal strengths and it becomes a DBM score at this point.

38:05.870 --> 38:20.470
So the total score of each MAC address will be some number of scores at each location multiplied by the number of places, square root of number of places.

38:20.470 --> 38:39.450
So to explain it in kind of human terms, what we are looking for, if we have one strong signal in one location and we have another signal which was very weak, but in both locations, we want this weak signal source to have higher scores than this strong signal score,

38:39.450 --> 38:42.130
because the strong one was only at one location.

38:42.130 --> 38:44.390
So that formula takes care of that.

38:44.430 --> 38:52.050
And the result of that calculation, I'll show you on this, on one of the next dashboards.

38:53.650 --> 38:59.830
So this table in the middle, that's actually what it does.

39:00.170 --> 39:15.170
So in this app, I have two data sources available, S1 and S2, and the task of solving is find me all MAC addresses that were present in both locations and sort them by the highest score on top.

39:15.170 --> 39:24.410
And so that's the result of it, and then I can see some identity of the signal sources that were captured and contained the highest score.

39:24.410 --> 39:29.730
So that's essentially this formula applied, and this dashboard is the result of it.

39:32.800 --> 39:54.700
Now, and jumping to actual geofencing here, the Map Plus app has capabilities to visually define geofence zones, and each zone is represented once you define it, and I'll show you how, is represented by the series of latitude, comma, longitude, semicolon.

39:54.700 --> 40:09.560
So if you define zone in like six dots, it will have this, it will come up with a string of all these GPS coordinates together, and you can copy and paste the string or look at it and do whatever you want with it.

40:11.160 --> 40:23.060
And Splunk will, so the task, this dashboard will show that, I'll show you next, will calculate the presence of every access point on every geofence zone defined.

40:24.440 --> 40:39.880
So that's how it looks like as a result , and I want to show you the demo now , demo four, and that's actual dashboard , just make it zoom out a little bit.

40:40.100 --> 40:47.640
So we have maps here, that's the data represented on the map, no zones defined yet.

40:47.720 --> 40:57.240
I made it so we can define four separate zones here, zone one, zone two, up to zone four, and for each zone we can define specific time frame.

40:57.240 --> 41:12.660
So if I'm interested in, if I know that a certain number of events happened, and I know timing of this event, I know location of this event, now I want to find which data sources, which signal sources were present in all of these locations.

41:12.780 --> 41:17.820
So what I can do here, for example, let's define the zone right here.

41:17.820 --> 41:29.600
So I click on this start new measurement, and I start plotting the points, just clicking here, and then double click on my last point, and here I have the zone defined.

41:29.600 --> 41:39.380
So feature definition, that's a long string that actually lists all GPS coordinates that are part of this zone, and I copy and paste it into zone one boundary.

41:39.520 --> 41:47.820
So when I do that, Splunk actually calculates the bounding rectangle around this polygon and gives me the result.

41:47.820 --> 41:51.620
Okay, so we got this bounding rectangle for your zone, it's here.

41:51.620 --> 41:52.860
So what next?

41:52.860 --> 41:55.240
So next we want to define two more zones.

41:55.240 --> 41:57.720
So I go back, create new measurement.

41:57.780 --> 42:05.760
So for example, I know something happened in this area, so I want to define zone around that area.

42:05.900 --> 42:17.340
I want to take feature definition, which is information about the zone, paste it, tab, Splunk recalculates everything after each zone is defined.

42:17.340 --> 42:19.400
So now I have second zone.

42:19.600 --> 42:23.320
Now I want to have, I want to define third zone.

42:23.320 --> 42:31.880
So new measurement, each zone is colored differently for simplicity to visually understand it better.

42:31.980 --> 42:42.340
So I copy zone definition from the third zone, paste it into zone three boundary here, and now I got three zones defined.

42:42.340 --> 42:46.040
I also can define specific time frame for each zone.

42:46.040 --> 42:47.560
I don't want to do it right now.

42:47.560 --> 42:51.840
It gets a bit kind of , it will take too much time.

42:51.840 --> 42:53.280
But it's easy to do in Splunk.

42:53.280 --> 43:02.160
You can just click on this time and easy to find relative or real time or date range or date and time range in so many ways .

43:02.160 --> 43:03.520
So it's possible to do.

43:03.520 --> 43:12.920
Now, I want to find the data that we show in this table on the left is the matching signal sources across all defined constraints.

43:12.920 --> 43:15.800
So right now I have lots of results here and why?

43:15.800 --> 43:22.920
Because matching rule as this drop down says show everything, ignore zones.

43:22.920 --> 43:25.360
So basically show all data that I have.

43:25.360 --> 43:29.340
But now I can actually apply any rule I want here.

43:29.340 --> 43:32.340
So for example, I can tell Splunk, okay, show me the point.

43:32.340 --> 43:33.660
I have three zones defined.

43:33.660 --> 43:37.280
But I'm interested in points that were present in at least two zones.

43:37.280 --> 43:43.560
So I can just click here and Splunk will recalculate all this data for me.

43:44.020 --> 43:48.800
So now instead of a few hundred points , I get only four .

43:48.800 --> 43:55.520
So only four points , but these four were present in at least two zones out of three.

43:55.520 --> 43:59.800
So this point on wire zero two was present in zone number two and number three.

44:00.440 --> 44:04.480
Unity media was present in zone number one and number three and so on.

44:04.640 --> 44:13.780
If I want to find all points that were present in all defined zones, I can just select this one, present in all defined zones.

44:13.920 --> 44:19.980
Splunk will recalculate me and give me an answer, which would be probably just one point.

44:20.020 --> 44:29.140
So now I have only one signal source that was defined in all these three zones at all the specified times.

44:29.680 --> 44:44.380
And now I can visually tap into all the data I have and pretty quickly get answers to the kind of questions that would allow me to correlate data sources between different times and geographical coordinates.

44:46.820 --> 44:49.000
Live demos, was that what we just did?

44:49.000 --> 44:51.740
And I finished a bit early.

44:52.320 --> 45:06.700
So geofencing, so expi.us slash geofencing, that's where you can go and download this app and download the readme files that show you step-by-step instructions how to install it.

45:07.320 --> 45:14.280
I might be missing something, so please feel free to send me an email or add me on LinkedIn.

45:15.020 --> 45:17.860
Ask me any questions, I'll be happy to help.

45:17.860 --> 45:24.180
And I'll probably update some of this readme files or maybe app later on.

45:25.080 --> 45:33.740
But yeah, so that's what I want to cover and to introduce you to this technology, what it can do for you and how you can play with it.

45:34.160 --> 45:57.440
So back to my times where I was before Splunk, my boss told me like, I was hired actually to deploy one of the IBM analytical systems into bank environment and so I was working in fraud and security teams and they keep coming to me and asking questions like help us to investigate crime,

45:57.440 --> 46:04.680
help us to investigate this suspicious fraudulent or anomalous activity on our user accounts.

46:04.820 --> 46:13.720
And so I, what I had to do, I had to extract data from the IBM system and ingest it into Splunk to actually find an answer to this question.

46:13.720 --> 46:19.380
So my boss told me like, you're working hard to do IBM system, not Splunk.

46:19.380 --> 46:25.080
So I actually had to spend weekends to do work with Splunk to actually come up with answers.

46:25.080 --> 46:31.560
like security, I really love working in security datasets and find suspicious activities there.

46:32.080 --> 46:36.820
So anyway, eventually I just joined Splunk and I'm super happy now.

46:37.220 --> 46:37.940
Yeah .

46:38.280 --> 46:41.900
So, yeah, please, any questions?

46:41.900 --> 46:42.940
Thank you.

46:54.160 --> 46:55.580
Say it again.

46:59.530 --> 47:04.030
So, yes and no.

47:04.030 --> 47:18.850
So for this specific app, it was like POC and this is concerned to really kind of put identity to the device because MAC addresses could change.

47:18.850 --> 47:26.050
I think the probe packets would help to identify the device so provide some context for the device.

47:27.130 --> 47:29.230
I'm not an expert in that though.

47:29.230 --> 47:36.430
I would probably ask somebody who knows how to identify devices but I don't know.

47:36.430 --> 47:41.270
Alex , what's today, is it concern or like how do you find

48:23.340 --> 48:24.440
it?

48:28.950 --> 48:45.710
I found the device capabilities, there's some data points that shows for example WLAN supported rates, frequency, there's some device capabilities that also helps to kind of put some metadata on the device even though it would change with the Mac .

48:45.910 --> 48:53.770
But yes, there's multiple answers to this question but somebody who's an expert will be able to dig deeper.

49:02.250 --> 49:05.150
Thanks, guys, appreciate it.

49:05.550 --> 49:07.190
Good to be here.

49:07.190 --> 49:07.990
Thanks.

49:08.030 --> 49:08.350
Applause .

