Latest / Inside DuckDuckGo / Duck Tales: How DuckDuckGo protects users from different types of scams (Episode 7)
Transcript
- 0:00SPEAKER_00: Hello, welcome to DuckTales.
- 0:02SPEAKER_00: I'm Gabriel, CEO and founder of DuckDuckGo
- 0:04SPEAKER_00: DuckTales is everything kind of inside DuckDuckGo.
- 0:08SPEAKER_00: Today we have a new topic.
- 0:10SPEAKER_00: I don't think we have discussed much about security in our browser.
- 0:14SPEAKER_00: I got Tom here.
- 0:15SPEAKER_00: Tom, you want to introduce yourself?
- 0:17SPEAKER_01: Yeah, sure.
- 0:18SPEAKER_01: Hi, I'm Tom.
- 0:20SPEAKER_01: I'm one of the security engineers here at DuckDuckGo
- 0:23SPEAKER_01: I spend most of my time kind of in and out of browser security,
- 0:27SPEAKER_01: product security,
- 0:28SPEAKER_01: that kind of stuff.
- 0:29SPEAKER_01: That's the kind of stuff I love.
- 0:32SPEAKER_00: Sweet.
- 0:33SPEAKER_00: And I think we're here today to talk about our scam blocker.
- 0:38SPEAKER_00: If you follow our blog,
- 0:41we actually had a pretty big article about this when it launched a few months
- 0:45ago.
- 0:45SPEAKER_00: And so you can always check it out too.
- 0:47But we're going to tell you all about it here and some of the inside info on how
- 0:52it
- 0:52SPEAKER_00: came together.
- 0:54SPEAKER_00: Yeah, Tom, you want to just like explain generally what what it is?
- 0:58SPEAKER_00: What is ScanBlocker exactly?
- 1:00SPEAKER_01: Yeah, sure.
- 1:01SPEAKER_01: Yeah.
- 1:02So I guess ScanBlocker is what we call our like in browser phishing and scan
- 1:08protection.
- 1:09It kind of runs in the background and checks websites as you visit them all
- 1:14locally
- 1:15SPEAKER_01: in the browser.
- 1:17SPEAKER_01: And we we
- 1:18SPEAKER_01: kind of have a pretty big data set here that we get from Netcraft.
- 1:22SPEAKER_01: So we can protect against all sorts of scams.
- 1:25SPEAKER_01: Like this isn't your standard just phishing protection.
- 1:28SPEAKER_01: We try and protect against like cloned e-commerce sites,
- 1:31SPEAKER_01: fake crypto exchanges,
- 1:33SPEAKER_01: scareware,
- 1:34SPEAKER_01: like fake virus pages.
- 1:37SPEAKER_01: advertising of fake products and stuff.
- 1:39SPEAKER_01: So we have quite a lot that we're trying to protect against,
- 1:42but this feature as a whole is like that warning page that you get just before
- 1:47you
- 1:47SPEAKER_01: visit something that could be scammy or phishing related.
- 1:52SPEAKER_00: So let's talk about that distinction a little bit.
- 1:54SPEAKER_00: I guess backing up a little bit, how did this come together?
- 1:57How did we end up building this and then building it kind of differently than
- 2:03other companies?
- 2:04SPEAKER_01: Yeah, so...
- 2:06SPEAKER_01: it kind of came from like, it's, it came a long way back.
- 2:10SPEAKER_01: So originally like we,
- 2:12we had this idea that we wanted to improve like our tracking protection and
- 2:16allof
- 2:16SPEAKER_01: this stuff that's kind of like,
- 2:18SPEAKER_01: I'm trying to make our browsers as safe as possible for our users.
- 2:23SPEAKER_01: And so we knew that we wanted to do something in this space.
- 2:27SPEAKER_01: But the challenges that we saw are like,
- 2:29it's quite easy to build a feature like this where it ends up looking like you
- 2:33kind
- 2:34SPEAKER_01: of need to check people's browsing activity.
- 2:37SPEAKER_01: And that's a very difficult thing.
- 2:38SPEAKER_01: We can't do that from a privacy perspective.
- 2:42SPEAKER_01: So we knew that we had to do this in a privacy preserving way.
- 2:46And we didn't like the idea of like having to send data to Google or Microsoft
- 2:52or
- 2:52SPEAKER_01: anything like that,
- 2:52SPEAKER_01: because I think right now,
- 2:54SPEAKER_01: Google and Microsoft pretty much own this space in terms of like browser
- 2:58SPEAKER_01: protections.
- 3:00SPEAKER_01: And yeah,
- 3:01we just weren't really comfortable with having to send any data through
- 3:04Googleand
- 3:05SPEAKER_01: Microsoft.
- 3:06So that kind of led us down this path of saying,
- 3:09okay,
- 3:09so we know we need this thing.
- 3:11SPEAKER_01: We need it to be privacy preserving.
- 3:14SPEAKER_01: And the best way to do that, really, we saw was to build it ourselves.
- 3:20SPEAKER_01: So that's what we did.
- 3:23SPEAKER_00: So like at a high level,
- 3:25SPEAKER_00: like,
- 3:25SPEAKER_00: you know,
- 3:26SPEAKER_00: our browser,
- 3:26SPEAKER_00: you know,
- 3:27SPEAKER_00: has,
- 3:28SPEAKER_00: you know,
- 3:29a privacy protection list instead of blocking that we built ourselves to
- 3:34becausewe
- 3:35didn't also believe anyone else was doing it up to the standard that we think
- 3:39it
- 3:39SPEAKER_00: should be.
- 3:40SPEAKER_00: But that's all kind of behind the scenes on pages that you visit,
- 3:45SPEAKER_00: assuming that that was a page you actually wanted to visit.
- 3:48SPEAKER_00: And so
- 3:49SPEAKER_00: this is privacy and security overlap,
- 3:52SPEAKER_00: but as I understand it,
- 3:53SPEAKER_00: it's like,
- 3:54SPEAKER_00: okay,
- 3:55SPEAKER_00: some pages you visit are actually bad for you,
- 3:58SPEAKER_00: not because it was hidden trackers,
- 3:59SPEAKER_00: because the page is actually bad for you.
- 4:01SPEAKER_00: It has malware, it has scams.
- 4:04SPEAKER_00: And it's those pages that we wanted to cover.
- 4:08SPEAKER_00: And then in, in doing that, like you need to have a list of bad pages.
- 4:14SPEAKER_00: So, um,
- 4:16SPEAKER_00: Everyone else seems to be using,
- 4:18SPEAKER_00: yeah,
- 4:18SPEAKER_00: Google,
- 4:19all the other browsers besides Google and Microsoft are just kind of riding
- 4:22on
- 4:22SPEAKER_00: Google Safe Browsing or usually Google Safe Browsing from Chromium.
- 4:26SPEAKER_00: But we wanted to go somewhere different.
- 4:28SPEAKER_00: So we found this vendor, Netcraft, who maintains a big list.
- 4:32And it turns out they have even a bigger list than Google's using because
- 4:38they're
- 4:38SPEAKER_00: in these other categories,
- 4:39SPEAKER_00: right?
- 4:40SPEAKER_00: Exactly, yeah.
- 4:42Like some of these scam categories that you mentioned are not traditional,
- 4:45SPEAKER_00: just malware phishing.
- 4:48SPEAKER_00: They're theoretically legitimate businesses that are scamming you.
- 4:52SPEAKER_00: So for whatever reason, they're not on Google's list, right?
- 4:54SPEAKER_00: Is that kind of how to think about it?
- 4:56SPEAKER_01: Yeah, that's a good way of seeing it.
- 4:57SPEAKER_01: Like it's some of these are quite unique.
- 5:01LikeoneoftheinterestingcasesthatIliketorefertoislikesometimesit
- 5:05SPEAKER_01: could even be like a blog post could be a scam.
- 5:09Likeifthisisablogpostthat'slikeadvertisingafakeproductthat'sjust
- 5:13SPEAKER_01: going to steal your money.
- 5:15Andalotofthepatternsthatweseewiththesekindsofscamsitesisthatlike
- 5:20SPEAKER_01: they start on somewhere that's like quite trusted on the internet,
- 5:24SPEAKER_01: like a medium article or like a GitHub page or something.
- 5:27Andthentheytrytosendyoudownandpropagatedownlikemoreandmorefishy
- 5:31paths until you end up at this like place where they're going to steal your
- 5:34money
- 5:35SPEAKER_01: or something.
- 5:37So that's the kind of thing that we're looking at here as well with Netcraft.
- 5:40Wegetsomeofthisdatathatallowsustolookatlikethesourceofitrather
- 5:43SPEAKER_01: than waiting for you to have to go through multiple clips together.
- 5:47SPEAKER_00: So we license this data set from Netcraft who's,
- 5:50SPEAKER_00: you know,
- 5:51SPEAKER_00: aggregating all of these scams from different signals.
- 5:54SPEAKER_00: And then what do we do with it exactly?
- 5:56SPEAKER_00: How does it work to be embedded in the browser?
- 5:59SPEAKER_01: Yeah, so basically we pull this data.
- 6:02SPEAKER_01: It's
- 6:03SPEAKER_01: like obviously constantly evolving,
- 6:05which is one of the challenges that we have on the browsers and in the back end
- 6:09is
- 6:09SPEAKER_01: that like this data changes all the time.
- 6:13SPEAKER_01: So we have to update it pretty much every five minutes on the back end.
- 6:17We pull it and we process it and we like to filter out some of the lower risk
- 6:22things.
- 6:23SPEAKER_01: And then we kind of five minutes is so quick.
- 6:26SPEAKER_00: So like these things, it's really it's just like happening in real time.
- 6:29SPEAKER_00: I didn't realize we were doing it that real time.
- 6:31SPEAKER_00: Yeah.
- 6:33SPEAKER_01: Like I think anyone,
- 6:34if you take a random phishing link right now and look at it again in five
- 6:38minutes,
- 6:39SPEAKER_01: chances are it's probably gone.
- 6:41SPEAKER_00: So that's because like all these people are reporting like these things.
- 6:44And so they get actually,
- 6:46I mean,
- 6:46it's this arms race,
- 6:47I guess,
- 6:48like things get blocked quick.
- 6:49And so you actually have to update it and they switch domains and all sorts of
- 6:53crazy stuff.
- 6:54SPEAKER_01: Yeah, most of the time they're switching domains all the time.
- 6:57SPEAKER_01: It's this like constant cat and mouse game, right?
- 7:02SPEAKER_00: I didn't realize it was that quick.
- 7:04SPEAKER_00: Cool.
- 7:04SPEAKER_00: Sorry to interrupt you.
- 7:05SPEAKER_00: So every five minutes where we're updating this list on our back end.
- 7:09SPEAKER_00: Yeah.
- 7:09SPEAKER_01: Yeah.
- 7:10SPEAKER_01: And then where we kind of compress this into like a compressible format.
- 7:15SPEAKER_01: So it's pretty small.
- 7:17And our clients or browsers are pulling this data every sort of 10 to 20
- 7:22minutes,
- 7:23SPEAKER_01: depending on what platform it is.
- 7:26And yeah,
- 7:27that's pretty much how it works in terms of like the update mechanism.
- 7:32SPEAKER_00: Got it.
- 7:32SPEAKER_00: So then once it's sitting in the browser,
- 7:34SPEAKER_00: then the browser can,
- 7:36SPEAKER_00: um,
- 7:37SPEAKER_00: basically check against,
- 7:39SPEAKER_00: check against the list.
- 7:40SPEAKER_00: And so if you're going somewhere that's on the list,
- 7:44SPEAKER_00: um,
- 7:44SPEAKER_00: that's when you're going to see like the warning,
- 7:46SPEAKER_00: warning page.
- 7:48SPEAKER_00: Um,
- 7:49SPEAKER_00: do we have,
- 7:49SPEAKER_00: are we similar to,
- 7:52SPEAKER_00: um,
- 7:53SPEAKER_00: others where it's like,
- 7:55SPEAKER_00: I mean,
- 7:55SPEAKER_00: you get a big warning page,
- 7:56SPEAKER_00: but you can accept the risk and,
- 7:58and do all these warning pages look the same or are there different types?
- 8:02yeahyeahsothat'sagoodquestionsoumyeahit'sprettymuchmoreorlessthe
- 8:07samesoyougetthiswarningpageitexplainstheexactumcasebutwedoithink
- 8:13wehavethreedifferentwarningpagesandtheyonlyvaryslightlyintermsof
- 8:19iconographyandthecopyalsothetextinsidethemumbutyeahtheyvaryfrom
- 8:24SPEAKER_01: malware uh phishing and scam so the the malware
- 8:29more like you might download something malicious here the phishing is more
- 8:33like
- 8:33credentials or credit cards and then the scam like we were discussing is more
- 8:37like
- 8:38the broader like we don't really know but it's it's like a dodgy e-commerce
- 8:42siteor
- 8:42SPEAKER_00: something got it so what was um any surprises in kind of building this or
- 8:48challenges that have arose actually getting that live to production yeah i
- 8:54mean
- 8:55SPEAKER_01: there's a few but like the first one that really comes to mind is
- 8:59like we have four browsers effectively that's four different platforms um
- 9:05andso
- 9:06thecorepartofthisfeatureislikewe'vespokenabouthowwehavetoupdate
- 9:10constantly which is one challenge um but the other challenge is that in order
- 9:15to
- 9:16SPEAKER_01: this feature to work we basically need to intercept navigation requests
- 9:21And every browser from all of our browsers and pretty much every browser out
- 9:25there
- 9:26SPEAKER_01: does this slightly differently.
- 9:28SPEAKER_01: So the way that it allows one website to navigate to the next website,
- 9:32SPEAKER_01: that piece of code or that bit of technology varies quite a lot.
- 9:38Sowehadtokindofmapoutallofthevariouswaysofdoingthisacrossallthe
- 9:43SPEAKER_01: different browsers and figure out ways of doing it efficiently.
- 9:47Because like one of our core things that we pride ourselves in our browsers is
- 9:51how
- 9:52SPEAKER_01: quick they are.
- 9:52SPEAKER_01: Like we don't want to affect page load times.
- 9:55SPEAKER_01: So we kind of need to do this quickly.
- 9:58when a pet just before a page loads kind of do the check make sure that's quick
- 10:03do
- 10:03we do that synchronously or do we do it asynchronously like there's there's a
- 10:08whole
- 10:08lotofstuffthatyoukindofneedtoconsiderthatbutthatwasoneoftheoneof
- 10:11SPEAKER_01: the biggest challenges i think we faced
- 10:14SPEAKER_00: Yeah, that makes sense.
- 10:15SPEAKER_00: So it basically seems like one project, but it's four big projects.
- 10:19SPEAKER_00: Yeah, exactly.
- 10:20Because you got to do this for Mac OS,
- 10:23Windows,
- 10:24Android,
- 10:24and iOS,
- 10:25I assume we're talking about.
- 10:26SPEAKER_00: Yeah.
- 10:26SPEAKER_00: Yeah, yeah, exactly.
- 10:28SPEAKER_00: Okay, cool.
- 10:30SPEAKER_00: So how has it gone?
- 10:31SPEAKER_00: Like, what did...
- 10:34SPEAKER_00: Any good response?
- 10:35I know we put out the blog post I mentioned,
- 10:37we got some press on it when it launched.
- 10:39SPEAKER_00: I mean,
- 10:40SPEAKER_00: it seemed like a positive reaction from my point of view,
- 10:42SPEAKER_00: but from your point of view,
- 10:44SPEAKER_00: what did you think?
- 10:46SPEAKER_01: Yeah, I think so.
- 10:47SPEAKER_01: Overall, I think we had some good positive feedback on it.
- 10:51I think one of the unique takes about a feature like this,
- 10:53though,
- 10:53isthatitdoesn't
- 10:56SPEAKER_01: It's kind of like in the background.
- 10:57SPEAKER_01: So success kind of hinges on people not really seeing it.
- 11:02Like if loads of people are seeing this error page,
- 11:05then we've probably done something wrong.
- 11:07SPEAKER_01: But yeah, that's a good point.
- 11:10SPEAKER_00: It's kind of like our other privacy protections.
- 11:12SPEAKER_00: It's like they should be always on, but they shouldn't break any sites.
- 11:17It should contribute to your peace of mind generally about using our browser
- 11:21being
- 11:21SPEAKER_00: the best for privacy,
- 11:22SPEAKER_00: in this case,
- 11:23SPEAKER_00: security,
- 11:24SPEAKER_00: just protection generally.
- 11:25SPEAKER_00: But yeah, it shouldn't be in your face yet or you've got a problem.
- 11:28SPEAKER_00: You're clicking on the wrong links, I guess.
- 11:31SPEAKER_01: Yeah, yeah, exactly.
- 11:32SPEAKER_01: But yeah,
- 11:33Ithinkthepeoplewhohavecomeacrossithaveatleastsaidthatitworksina
- 11:38SPEAKER_01: good way and it gives them a good peace of mind.
- 11:41SPEAKER_00: Cool.
- 11:43SPEAKER_00: So, but it sounds like, you know, it kind of went off without a hitch.
- 11:49SPEAKER_00: Like, is there anything left to do on this now?
- 11:52SPEAKER_00: Are we kind of in maintenance mode with it?
- 11:53Just we got to make sure that obviously it's pulling down every five minutes
- 11:57and
- 11:57SPEAKER_00: that kind of stuff.
- 11:58But,
- 11:59and nothing breaks,
- 12:00but like it's working as it should,
- 12:03it sounds like.
- 12:05SPEAKER_01: Yeah, so yeah, it's pretty much in maintenance mode.
- 12:08Ithinkwehaveaboutthreeorfourpeoplestillkindofdoingchecksonitand
- 12:13SPEAKER_01: making sure the metrics are still healthy and that kind of stuff.
- 12:17ButIthinkthere'ssolikewekindofplannedtohavesomewayofkindof
- 12:23SPEAKER_01: splitting and improving and enhancing the data as well.
- 12:26So I don't know if we we have the opportunity to add new and better data sets to
- 12:30it than we can.
- 12:32umandalsolikewestarttoseetrendswhereforexamplelikemalwareismore
- 12:38prevalentonwindowssodowewanttoprovidemoretailoredmalwaredatasets
- 12:42specificallyforwindowsordowewanttoyouknowandlikescamsaremore
- 12:46prevalent on mobile devices so do we want to kind of tailor the data sets based
- 12:50on
- 12:50platformumsothat'ssomeofthethingsthatwekindofwanttolookintointhe
- 12:53SPEAKER_01: future
- 12:55SPEAKER_01: And something that I've been toying around with,
- 12:57SPEAKER_01: and this is just a bit of a tease because it's been fun for me,
- 13:00SPEAKER_01: but I don't see much likelihood will be in the browser anytime soon.
- 13:04But I've been reading a lot about the possibility of using like small
- 13:09language
- 13:09SPEAKER_01: models,
- 13:10but like fine tuning them specifically to be able to detect like scammy
- 13:14websitesin
- 13:14SPEAKER_01: browsers.
- 13:16SPEAKER_01: And there's been some evidence that this is pretty effective.
- 13:20AndIthinkthisissomethingthatI'dliketoexplorebecauseitalsoislocal
- 13:24onlyandit'slikehasalloftheprivacybenefitsthatwewouldlikefroma
- 13:29SPEAKER_01: feature like this as well.
- 13:31SPEAKER_01: But yeah,
- 13:31SPEAKER_01: I wouldn't look out in the browser anytime soon for it,
- 13:34SPEAKER_01: but I'd like to see that in the future.
- 13:35SPEAKER_01: It's some fun research.
- 13:36SPEAKER_00: I mean, yeah.
- 13:37SPEAKER_00: I mean, that sounds fun.
- 13:38SPEAKER_00: It sounds like a good Hack Days project.
- 13:40SPEAKER_00: And then who knows, lots of Hack Days projects.
- 13:42People watching this whole series will know,
- 13:45end up making it into the product.
- 13:49Additionally related to that,
- 13:50I mean,
- 13:50Idefinitelythinkweshouldshiplocalmodels
- 13:54SPEAKER_00: or get access to the local models on the device that exists.
- 13:59SPEAKER_00: So I think that's coming.
- 14:01The problem has been to date that either the local models that are provided
- 14:05aren't
- 14:05SPEAKER_00: very good or the ones that
- 14:08SPEAKER_00: you could download aren't small enough,
- 14:10SPEAKER_00: like,
- 14:10SPEAKER_00: you need to download,
- 14:11SPEAKER_00: like,
- 14:11SPEAKER_00: three gigs or something.
- 14:12SPEAKER_00: Yeah, exactly.
- 14:13SPEAKER_00: But I do think it's coming.
- 14:15SPEAKER_00: So,
- 14:15SPEAKER_00: like,
- 14:15SPEAKER_00: I think,
- 14:15SPEAKER_00: like,
- 14:16it sounds like there will be a future where we'll have local models on the
- 14:21browser,
- 14:23SPEAKER_00: either shipped by default,
- 14:24SPEAKER_00: or maybe you could opt in and download,
- 14:27SPEAKER_00: and then you get some extra,
- 14:28SPEAKER_00: like,
- 14:29SPEAKER_00: protection.
- 14:30SPEAKER_00: I mean, that would be an interesting...
- 14:32SPEAKER_00: incentive,
- 14:33another intriguing incentive to download a local model if you can use it to
- 14:36get
- 14:37SPEAKER_00: like additional local security protection.
- 14:39SPEAKER_01: Yeah, I'd love that.
- 14:40SPEAKER_00: It's a good, I like it too.
- 14:43SPEAKER_00: All right, well, we can end here.
- 14:45SPEAKER_00: Thanks Tom for coming on.
- 14:47SPEAKER_00: Hope everyone enjoyed hearing about security and yeah,
- 14:50SPEAKER_00: maybe if you launch that,
- 14:51SPEAKER_00: come back and we'll talk about it again.
- 14:53SPEAKER_01: That was great.
- 14:54SPEAKER_01: Thanks, Gabriel.
- 14:54SPEAKER_00: All right, bye everybody.