WEBVTT

00:00.000 --> 00:02.080
Okay, everyone, let's get started on the next talk.

00:02.080 --> 00:05.000
This is a lightning talk, so I will get handed straight over.

00:05.460 --> 00:10.180
The next talk is finding the needle in the Twitter haystack, and I will hand over to the Wicked Clown.

00:10.180 --> 00:10.840
Thank you very much.

00:10.840 --> 00:11.900
Oh, he's taking a selfie.

00:11.900 --> 00:13.520
Okay, thanks very much, everyone.

00:14.380 --> 00:15.380
There you go.

00:15.960 --> 00:16.680
Hi.

00:17.300 --> 00:21.540
So, yeah, this is my talk, Finding the Needle in the Twitter Haystack.

00:23.600 --> 00:28.920
I talk quite fast, so if you're on YouTube, press shift and the arrow, and it'll slow down and actually turn into a proper talk.

00:29.640 --> 00:30.300
Who am I?

00:30.300 --> 00:30.880
Well, I'm not.

00:30.880 --> 00:31.980
I'm not an American.

00:32.640 --> 00:34.560
I'm Australian, Canadian, French, German.

00:34.560 --> 00:35.820
I'm not a pen tester.

00:36.560 --> 00:37.860
I'm definitely not a blue team.

00:37.860 --> 00:38.580
I'm not a coder .

00:38.580 --> 00:39.380
I do try.

00:39.940 --> 00:40.800
I'm very trying.

00:40.800 --> 00:42.020
I'm definitely not sober.

00:42.120 --> 00:43.360
I'm not a bad guy, so Mr.

00:43.360 --> 00:46.220
American FBI man , please don't arrest me on the way home.

00:46.680 --> 00:48.080
But who I am, I'm Wicked Clown.

00:48.080 --> 00:49.340
I am from the United Kingdom.

00:50.060 --> 00:54.220
If you don't know where that is, it's near France, where you guys won the World Cup, the Women's World Cup, go U.S.

00:54.220 --> 00:54.720
Yay!

00:55.020 --> 00:56.120
I am a biker.

00:56.280 --> 00:57.140
I am a hacker.

00:57.140 --> 01:01.320
Like I said, I'm not a pen tester or anything like that, so I view myself as a hacker.

01:01.680 --> 01:07.700
I'm a family man to a wonderful family, so I don't get a lot of spare time to do my security research .

01:07.860 --> 01:11.020
I am a co-founder of Defcon Gloucester in the UK.

01:11.020 --> 01:12.340
I'm also dyslexic.

01:12.500 --> 01:13.380
Why do I bring that up?

01:13.380 --> 01:15.260
It's the first time I brought it up in public.

01:15.900 --> 01:18.100
If you don't know what dyslexia is, it means I have a learning disability.

01:18.100 --> 01:19.580
I can't read or write very well.

01:20.720 --> 01:28.220
And when you look at other people's talks and presentations, they talk about how they read an RFC or they've wrote a book or they've done something similar to that.

01:28.980 --> 01:33.900
And when you look at some of the, when they do the call for papers, they do the presentation, it's like an essay.

01:33.900 --> 01:41.860
I can't read 100 words, let alone write 100 words, so I'd like to thank Recon Village for allowing me to speak here and if I can inspire anybody with similar disabilities to come up and talk.

01:42.100 --> 01:44.000
And that's an achievement unlocked for myself.

01:45.180 --> 01:52.760
So I'm going to talk about three tools that I've written to view people's tweets, search timeline, and show who they communicate most with.

01:52.760 --> 01:59.880
I know you can do that with Twitter, with the GUI, so I'm going to explain a bit more of it and what's the difference between my tools and doing it online.

02:00.480 --> 02:03.260
Before I go on that, I want to talk about the Lockheed Martin server kill chain.

02:03.260 --> 02:04.400
It'll all make sense in a minute.

02:05.060 --> 02:12.260
If you don't know what this is, it's what Lockheed Martin says that as a bad guy, we have to take each of those steps and get to be successful in each one.

02:12.460 --> 02:14.020
And a defender has to be right once.

02:14.020 --> 02:19.900
They just have to block us on either delivery, exploitation, they can block us there, then it's game over for us.

02:20.060 --> 02:23.080
Which is true, but in my head, I'd say it doesn't quite work very well.

02:23.080 --> 02:24.300
This is how I view it.

02:24.960 --> 02:29.660
If you're colorblind, the red are the up and down, blue left and right arrows.

02:29.660 --> 02:34.280
So the reason I'm bringing this up, because with recon, this is where we can spend most of our time and effort in.

02:34.520 --> 02:40.480
Blue team has zero availability of what we're doing, so we can actually hide there, do what they're... more information, more recon we get.

02:40.480 --> 02:44.980
I know I'm preaching to the choir here, but more recon we do makes our jobs more successful.

02:45.140 --> 02:48.720
So when it gets to weaponization, this is where the blue team starts to build up.

02:48.980 --> 02:53.120
If they're running Windows operating systems, they don't care about Linux exploits.

02:53.120 --> 02:54.740
So that means they're concentrating on that.

02:54.740 --> 02:59.740
So it means we've got to now focus, funnel our efforts into Windows exploits, because all the Linux ones no longer exist.

03:00.000 --> 03:02.180
When it moves down to delivery, it's 50-50.

03:02.280 --> 03:08.480
Blue team can't just shut off the internet, they can't just block all emails, so we now have to hide in that information.

03:08.480 --> 03:16.200
We need to hide, make sure the emails that's going through the system is... looks legitimate, and any packets we send are going through.

03:16.420 --> 03:19.660
When it gets down to exploitation, this is our hardest bit as the attacker.

03:19.880 --> 03:22.460
Reason is because we have to make sure that we break that system.

03:22.460 --> 03:31.680
It's the easiest job for the blue team, because all they have to do is make... if they've got good packet manager in place, good user training in place, good user awareness, it's going to be very hard for us to exploit it.

03:31.740 --> 03:36.720
So we have to make sure that the recon, everything we do in recon, funnels down to that point so we can be successful.

03:36.960 --> 03:41.040
But then once we get past exploitation, this is where we have blue team on the back foot.

03:41.280 --> 03:46.280
We can then use installation so we can actually then start pivots and go for the network and they're going to try to get rid of us.

03:46.360 --> 03:47.420
Once they get rid of...

03:47.420 --> 03:55.700
once we get command and control and other boxes, we can actually move and pivot so we can actually... so they take out one host, we still hopefully have persistence somewhere else to exploit.

03:55.880 --> 04:03.900
Then we get to actions and objections when we actually have full control of the network, blue team are struggling, they're in a massive firefight, and then we pretty much own the network.

04:04.280 --> 04:09.240
So the reason why I brought this up is because I said recon is the most important phase in my understanding of this.

04:09.600 --> 04:13.640
So this is the reason why I've written this tool, all my tools.

04:13.680 --> 04:19.740
So basically I'm going to look at my friend of mine, Christian Riley, I've asked his permission to do this so it's okay.

04:20.640 --> 04:29.560
The reason I picked on him is because he's a prolific tweeter, he's done loads of tweets, he's got loads of people following him, and it's going to be really hard to get some info and intel on him.

04:30.240 --> 04:33.000
So first we can view the tweets.

04:33.900 --> 04:40.360
What this tool does, it actually just shows the tweets and replies, it doesn't show the retweets.

04:40.360 --> 04:45.940
I don't really care about what other people are saying when Chris Riley tweets a retweet.

04:45.940 --> 04:52.820
I want to know what gets inside his head, which is a very scary place at the best of times, but I want to get inside, I need to understand him if I want to be exploiting.

04:53.900 --> 05:00.300
So if it's a retweet, I'm not interested, I want to know what he's tweeting, what he's talking about, what he's thinking, I need to understand his communication.

05:01.680 --> 05:03.160
I also want to search his timeline.

05:05.920 --> 05:08.700
The timeline , it puts it in just random order.

05:09.580 --> 05:11.780
Here it actually puts it in chronological order.

05:11.860 --> 05:14.360
So it makes it really easy to actually get the information out.

05:14.440 --> 05:22.000
So if I need to extract, so if I'm doing a search on a conference or something he's attending and he's hashtagging it, that means I'm going to get all that information there and then.

05:22.000 --> 05:29.240
So I'll be able to find his movements, understand how he's doing, what he's moving, what he's talking about, instead of going through all the search ones to try to find the information.

05:30.220 --> 05:32.140
This is the bit I find most useful.

05:33.140 --> 05:35.420
It actually does count how many mentions that they're using.

05:35.420 --> 05:37.780
I don't need to do this on the GUI front-end itself.

05:38.220 --> 05:44.840
So we see here that we've got SPL where the last one, 20, 21 tells, 5 down, 130, digit into 100 times.

05:45.040 --> 05:47.480
So these are the people he's actually talking to, communicating with.

05:47.480 --> 05:49.580
So these are now, we've got a circle of trust.

05:49.660 --> 05:53.740
This is where we actually believe he's actually communicating more with, he's actually talking to.

05:53.740 --> 05:57.860
So if we can exploit that trust, we can then hopefully exploit him.

05:58.180 --> 06:01.780
So it also gives us more information about his hobbies and interests and stuff like that.

06:02.300 --> 06:05.160
So let's put it together and see if we can actually make this work.

06:06.620 --> 06:07.520
Come on screen.

06:08.600 --> 06:09.740
Is it going to pop up?

06:09.900 --> 06:12.310
Yeah.

06:12.830 --> 06:13.650
Come on, there we go.

06:13.650 --> 06:14.290
Thank you.

06:14.370 --> 06:15.090
Okay.

06:15.370 --> 06:19.790
So, I'm in the wrong place to start off with.

06:21.730 --> 06:22.370
All right.

06:22.370 --> 06:27.790
So if we do search his tweets, let's hope he hasn't put anything dodgy up.

06:32.660 --> 06:35.260
So now we see all his tweets.

06:35.840 --> 06:38.660
But it also puts it in so it's a little easier to see.

06:38.660 --> 06:45.060
And if we actually look at his tweets here, it's pretty hard to actually view it, see what's actually going on.

06:45.320 --> 06:48.360
We see he's got a retweet there, he's got a few other tweets.

06:48.360 --> 06:54.880
But if we look here, we can actually see his tweets and it's easier for us to view and see, it makes it a bit more easier to consume the information.

06:56.220 --> 07:03.950
If you want to search, now do, um, search like his users.

07:11.860 --> 07:15.220
So it's now going to retrieve all his mentions that he talks about people.

07:15.340 --> 07:17.340
So it takes a few seconds for it to come back.

07:18.620 --> 07:23.280
And you see here we've got like SB220, Belgan143, D102.

07:23.280 --> 07:25.440
But we also now understand his interests.

07:25.440 --> 07:27.180
We've got DJ Jackalope there.

07:27.180 --> 07:29.500
We have, um, Duoco Music here.

07:29.620 --> 07:31.540
So we now understand his music taste as well.

07:31.740 --> 07:37.440
So by using this information, we hope to be able to get some sort of a more successful payload by doing the recon on.

07:37.480 --> 07:47.820
And when we, how many of us have actually, somebody sends you a link from a trusted source, you're more likely to click it, look at, click the link, open it, or do something else than somebody from somebody you don't know.

07:47.900 --> 07:49.840
So this is the reason why we do this.

07:50.400 --> 07:54.240
Um, we also look at his, so if we look at search,

08:00.500 --> 08:05.080
do searches, and we search for Chris John Reilly.

08:07.320 --> 08:11.060
And we search for DigiNinja, because he's been speaking lots to him.

08:14.860 --> 08:17.480
So we now can see that, we can see the conversation going here.

08:17.480 --> 08:24.420
But now if we actually, um, do the same thing again, but this time flip it around.

08:24.900 --> 08:32.910
So we go, um , and this time we do the search, but this time we do, um, DigiNinja.

08:35.410 --> 08:39.810
This is the first time I've done a demo live, normally I do a video because I talk too fast and it slows me down.

08:40.870 --> 08:43.570
Um, Chris.

08:50.410 --> 08:53.690
So now when it comes back, let's go up here, go up to the top.

09:00.430 --> 09:01.790
And go to the top here again.

09:02.050 --> 09:04.470
So now we can see the conversation that's happening between the two.

09:13.250 --> 09:17.410
So is there an equivalent RAM of a sushi boot?

09:17.570 --> 09:20.430
Um, a rampant boat with liquid inside, should be able to sink.

09:21.030 --> 09:23.610
Um, maybe float sushi boot on the RAM.

09:23.850 --> 09:27.530
So now we're seeing conversation between him and other people.

09:27.530 --> 09:31.550
So we can actually look at his, how he's talking to people and how people are interacting with him.

09:31.550 --> 09:37.790
This just gives us more, uh, doing a phishing attack, a lot more high chance of success to actually do that.

09:37.790 --> 09:39.490
So if we actually try to look at that now on Twitter,

09:46.220 --> 09:51.100
um, when we try to see the same conversations going and doing the search, we can see now it's all dotted all over the place.

09:51.100 --> 09:56.420
So we hear from this year, last year, this year, um, this year, last year, this year, last year.

09:56.420 --> 10:01.780
So when we do the search, it's not in a chronological order, so it's trying to actually find the information that we need to use to be able to exploit him.

10:04.660 --> 10:05.840
Oops, go away.

10:12.430 --> 10:22.070
So, but we're, we're seeing that how we're, we're, um, looking at person conversation, talking with each other, um, how we'd be able to give that information to be able to understand what's going on.

10:22.070 --> 10:24.590
But what about companies and organizations that are just broadcasting?

10:24.830 --> 10:27.190
Um, if you're like Donald Trump, you just broadcast information.

10:27.190 --> 10:29.890
It doesn't actually have conversation with people on Twitter.

10:29.890 --> 10:32.210
Companies just broadcast information on Twitter.

10:32.490 --> 10:36.410
So since we mentioned Lockheed Martin, we'll have Lockheed Martin's, uh, Twitter feed.

10:36.750 --> 10:44.650
So we see here, we do the same, do the search, um, and we see that round number of those space 156, F-35, F-33.

10:45.050 --> 10:54.890
So we also see in there that we have high confidence now that this is an official Lockheed Martin Twitter feed because we're actually seeing mentions that would actually expect Lockheed Martin to receive.

10:54.890 --> 11:01.490
We're not seeing, um, Bieber there or somebody else, um, Spice Girls or something like that.

11:01.490 --> 11:05.830
We can actually, we actually know that this is somebody's, it's not somebody spoofing Lockheed Martin.

11:05.830 --> 11:09.070
This is actually a Lockheed Martin's, um, website.

11:09.310 --> 11:11.070
So we look at Ram Ambrose.

11:11.170 --> 11:12.970
You see it says Rick Ambrose is the leader of space.

11:12.970 --> 11:14.930
So we can actually have a human to actually target.

11:14.930 --> 11:16.750
We can do like the supply chain targeting.

11:16.910 --> 11:21.390
We're not going to get into Lockheed Martin, but we might be able to export him to actually being pivot away into it.

11:21.610 --> 11:23.190
Remember we have the F-35 there.

11:23.190 --> 11:25.430
So we look at the F-35 Twitter feed again.

11:25.430 --> 11:29.690
We've seen, uh, Lockheed Martin, Luke Air Force Base, Royal Air Force.

11:29.790 --> 11:34.090
So we now know that this is again, an official, um, Twitter feed from Lockheed Martin.

11:34.090 --> 11:35.790
We have very high confidence of that.

11:35.970 --> 11:37.790
But you also see there called Billy Flynn.

11:37.810 --> 11:38.630
We look at Billy Flynn.

11:38.630 --> 11:40.210
This is the F-35 test pilot.

11:40.350 --> 11:43.230
So this is now giving us information insight on somebody else.

11:43.230 --> 11:44.430
I'm not going to attack the F-35.

11:44.430 --> 11:46.050
I can't stop the F-35 from flying.

11:46.090 --> 11:49.170
But if I can take down the F-35 pilot, the F-35 doesn't fly.

11:49.170 --> 11:53.190
It's a very clever plane, but I believe it still needs a pilot to actually take off.

11:54.370 --> 11:56.530
So yeah, so quickly that's the end of it.

11:56.570 --> 12:03.170
Um, so the, you do need to register with Twitter to get yourself, uh, uh, what's the word?

12:03.230 --> 12:07.610
Delivery license, uh, code to actually be able to communicate with it.

12:07.610 --> 12:12.790
Um, you're also limited to 3,000 tweets, uh, per search, which I don't think is a restriction.

12:12.910 --> 12:18.830
So someone like Christian Ryan, who's constantly tweeting all the time, I want to see the latest tweets, the latest information, latest people he's talking to.

12:18.830 --> 12:27.990
Because if I try and spoof somebody that's three, four years ago, I think that email has been compromised and they're not going to, uh, believe what, what they're talking to.

12:27.990 --> 12:33.250
So I need to have that up-to-date information for them to actually be able to believe it's working.

12:33.490 --> 12:35.930
So, um, yeah, that's it.

12:35.930 --> 12:36.470
Thank you very much.

12:36.470 --> 12:38.210
I thought I'd quick get us back in time.

12:38.330 --> 12:41.690
Um, so yeah, that's, if you want more information, um, yeah, there you go.

12:41.690 --> 12:42.410
Thank you much.

