WEBVTT

00:00.000 --> 00:01.660
All right, well, it's 2 o'clock.

00:03.260 --> 00:06.000
Welcome to the Packet Hacking Village Talks.

00:06.000 --> 00:11.300
And it is absolutely my pleasure to introduce to you, from Recorded Future, Banana Sombre.

00:14.910 --> 00:16.050
Thanks, Ming.

00:17.730 --> 00:18.770
Hi, everyone.

00:18.770 --> 00:20.350
Thank you guys so much for coming out.

00:20.350 --> 00:24.510
Also, special thanks to Wall of Sheep, and especially Ming, a personal mentor of mine.

00:24.510 --> 00:25.290
Wonderful guy.

00:25.290 --> 00:26.990
Definitely get to know him if you don't already.

00:27.510 --> 00:29.450
So, make sure you're in the right room.

00:29.450 --> 00:32.970
We're definitely going to be talking about malware popularity by forum.

00:33.050 --> 00:34.870
So, a little bit about me.

00:34.870 --> 00:36.050
My name is Winona.

00:36.290 --> 00:39.030
It's this nice little pose that I'm doing here.

00:39.070 --> 00:41.010
I'm a threat intel researcher, like Ming said.

00:41.010 --> 00:45.530
I also do a bunch of really cool security and policy related stuff in the Boston area.

00:45.630 --> 00:48.630
If you like what you hear today, you can follow me on Twitter.

00:48.630 --> 00:51.610
But I mostly talk about China and cyber criminal stuff.

00:52.870 --> 00:55.710
Talking a little bit about this paper that I've written.

00:55.710 --> 00:59.530
That's the content of this presentation, and the thoughts are my own, but the gifs are not.

00:59.950 --> 01:03.570
But there aren't going to be any gifs, because this presentation is in PDF format.

01:03.570 --> 01:04.610
Thanks, Linux.

01:06.210 --> 01:09.930
So, why monitor criminal underground forums to begin with?

01:09.930 --> 01:11.310
There's quite a few reasons.

01:11.310 --> 01:14.070
These are the main threat intelligence related reasons.

01:14.110 --> 01:25.150
For one, you as a company, or you as somebody working in a company, can best understand whether or not you've been breached in some way by figuring out if your company's credentials have been leaked online.

01:25.150 --> 01:32.190
In addition to that, some criminals will actually advertise that they're about to hit a company or an industry before it occurs.

01:32.190 --> 01:43.850
But my favorite reason of all of them is by looking at how these criminals talk on forums, you can figure out how they are changing their tactics, tools, and procedures, especially when it comes to malware.

01:44.090 --> 01:47.690
So, with that in mind, I had a couple of questions when starting this research.

01:47.690 --> 01:53.070
The first one was, what's actually interesting on underground forums when it comes to malware?

01:53.070 --> 01:57.070
What is the most talked about family category of malware out there?

01:58.150 --> 02:01.630
In conjunction with that, there's also the category section, right?

02:01.630 --> 02:06.310
So we're hearing a lot of hype about ransomware, what does that look like on underground forums?

02:06.310 --> 02:11.810
Is the reporting in the news that ransomware is kind of the next big thing really something that we should believe in?

02:12.170 --> 02:19.790
And then finally, people on the internet are just that, they're people, even if they are buying and selling and operating malware, right?

02:19.790 --> 02:26.490
So what is actually occurring on these forums that is causing malware itself to rise and fall in popularity?

02:27.870 --> 02:42.650
All of these questions are kind of encompassed by this umbrella question that I really like to answer when it comes to cyber threat intelligence, and that is, how can we take something that's specific to this field, so cyber threat intelligence, you have that underground criminal forum monitoring,

02:42.650 --> 02:49.610
and how do we take that and translate it into something that's actionable for defenders and red teamers alike?

02:51.150 --> 02:58.470
There are a couple misconceptions when it comes to the cyber criminal underground, one of which is where we look.

02:58.550 --> 03:11.030
I will say that deep and dark web is not really an accurate focus here, primarily because criminals conduct activity anywhere that they can communicate with each other online, or even in person, as it says at the bottom here.

03:11.030 --> 03:23.390
So, talking a little bit about the organization though, even though you have a different set of sourcing, you also have very overarching similarities in terms of how these people conduct themselves online.

03:23.390 --> 03:27.790
So you have, you know, vendors and buyers and how they interact with each other is as follows.

03:27.790 --> 03:39.610
You usually have sales posts where a vendor is interacting with a buyer, or two buyers or multiple buyers that are interacting with each other in terms of asking questions, or discussing certain news articles that come up, etc.

03:39.610 --> 03:56.370
So, taking these discussions and questions over the last year, and aggregating them all together to about 4 million posts, was the research that I did, and I took all of the mentions of any type of malware, family, or category, and racked and stacked them every time they were mentioned.

03:57.290 --> 04:04.770
So, like I said, this encompassed things like Tor forums, third party chat applications, social media, open web, etc.

04:05.510 --> 04:12.890
And when I talk about malware families and categories, obviously you have various aliases for a single family of malware.

04:12.890 --> 04:25.210
So, NJRab, for example, is also called like Blottabindi and other names in various languages, so I took all of those using my company's software and aggregated those together as well.

04:26.050 --> 04:32.090
When we're talking about the definitions within this data set, like I said, there are 4 million posts in here.

04:32.090 --> 04:34.970
So what makes this data set relatively unique?

04:35.170 --> 04:44.730
The first thing about it is that the definition of malware that I used is not really the definition that you'll see out there when it comes to technical reporting.

04:44.730 --> 05:02.970
So things like operational pieces of code is very broad and encompasses things like exploit kits, which isn't necessarily something that you would relate to as malware, or crypters, which is a piece of software that takes malware and encrypts it or packs it such that it's fully undetectable by antivirus.

05:02.970 --> 05:11.910
Those things are also included in this data set, and the reason why that's the case is because they're actually talked about similarly to malware on these criminal forums.

05:12.090 --> 05:16.090
In addition to that, there's also things like the nature of these posts.

05:16.090 --> 05:23.710
So, reposts of security articles are commonly found on criminal forums, mainly because... this podium's shaking a little...

05:23.710 --> 05:39.250
mainly because a lot of criminals actually get inspiration from these articles, and then there's certain spam posts that relate to vendors basically trying to post in as many forums as they can as many times as they can to advertise their product.

05:40.990 --> 05:46.410
So, there were three main insights into this particular data set that I want to talk about.

05:46.410 --> 05:48.710
The first one is malware mentions overall.

05:48.710 --> 05:56.150
The second one is referenced by language, so what are the top pieces of malware that Chinese speakers versus Russian speakers versus English speakers talk about.

05:56.150 --> 05:58.690
And then finally, what are those correlations?

05:58.690 --> 06:02.410
Like, what is the real-life implication to this malware research?

06:03.530 --> 06:05.990
So, let's talk overall.

06:06.310 --> 06:16.450
When it comes to categories, so 61 categories, 101,000 malware family names, with the categories, ransomware very clearly comes out on top.

06:16.450 --> 06:21.570
The next one being crypto, likely because cryptos can be matched with pretty much any type of malware.

06:21.730 --> 06:28.350
But, the interesting part is when you look at the family names, only one of these is ransomware.

06:28.350 --> 06:30.610
So, where's that discrepancy here?

06:30.610 --> 06:40.810
Why is it such that malware forums have such high frequencies of ransomware broadly, but when it comes to families, there's only one in the top ten?

06:42.150 --> 06:50.690
Looking a little bit further into that, of the top 150, only 11 families of malware were ransomware.

06:50.750 --> 06:52.530
So, what's happening here?

06:53.210 --> 07:08.190
When I looked into the actual data, so the actual content of the posts, what I saw was really interesting, and it's that 50% of these mentions of ransomware in general, are from a buyer side, somebody asking for any ransomware.

07:08.190 --> 07:11.130
So, it's a new buyer, they don't really know where to look.

07:11.130 --> 07:24.430
And then from a vendor perspective, you have vendors either correlating tons of lower level, non-branded ransomware, or saying something like, hey, I'm going to try my hand at this whole ransomware thing, here's a piece of ransomware that I've written myself,

07:24.430 --> 07:25.930
I don't know if it's any good.

07:25.930 --> 07:31.710
So, you have this ecosystem of buyers and sellers that are interested in ransomware, but don't know where to look yet.

07:31.830 --> 07:46.190
This one's just my favorite post that I had seen thus far, where the guy is saying he wants to, or excuse me today, they want a family of gang crab, or some sort of ransomware related, and they'll sell it to you, they'll sell some cocaine for you or something,

07:46.190 --> 07:48.690
I guess, whatever floats your boat.

07:49.670 --> 07:54.230
So, moving past overall, and into malware by language.

07:54.230 --> 08:03.470
Something that has come up a couple times, I've been asked questions when conducting this research, and they go, Winona, why are you looking at it by language?

08:03.470 --> 08:05.530
Why does that make any sense?

08:05.530 --> 08:28.110
And I like to mention some of the other research that I've done, and that's racking and stacking how different communities in these forums interact with each other, and basically the revelations from that research is that different communities, so like Chinese speakers versus Russian forums versus English language forums,

08:28.110 --> 08:39.030
they're not only organized differently, but the culture and interactions between forum members online differ drastically based off of what language forum you're dealing with.

08:39.030 --> 08:45.710
So, I wanted to see, does that actually shape how the malware is advertised and what malware they're focusing on?

08:45.890 --> 08:47.990
And as it turns out, they do.

08:47.990 --> 08:51.750
They do focus on very different types of malware and very different families.

08:51.750 --> 08:56.450
One of my favorite examples, the easiest one to pick out, is the prevalence of mobile malware.

08:56.670 --> 09:14.250
So, when you talk about Chinese forums, these are the top ten in Chinese from May 2018 to 2019, and as you can see, Spynote is the top one by a lot, followed by Ameth and then Droidjack kind of down below in the top ten, but these are all Android malware.

09:14.250 --> 09:20.570
And it's really interesting to have three very different pieces of Android malware in the top ten malware families writ large.

09:21.390 --> 09:28.970
Moving into English, two of those top three exist in the top ten here, but at far fewer quantities.

09:29.250 --> 09:32.950
And then when you look in Russian, there's no mobile malware to be found.

09:32.950 --> 09:52.210
So this means that if you are an adversary, depending on which forum you're on, you're probably going to focus on different malware, which also includes if you are a forum member in China or in Korea, you're probably looking at different malware or buying different malware than someone who operates solely on Russian language forums.

09:54.090 --> 10:02.790
I will say, though, that there were some similarities across all forums in general, so no matter what language, these were fairly holding true.

10:02.790 --> 10:19.170
The first one is that no matter what language the top ten malware families were in, all of them had at least one family of malware that was older than three years, that had been around for over three years, which is interesting because that means that this piece of malware is still successful.

10:19.170 --> 10:30.250
People still want to talk about it, which means that there are hosts out there that are still infectable with these either completely open-sourced or incredibly antiquated families of malware.

10:30.470 --> 10:45.270
You also see dual-use tools, and what I mean by that is common pen-testing tools like Metasploit or things like John the Ripper or Hashcat that are commonly used by red teams are also being sold and traded on criminal forums.

10:45.410 --> 10:53.110
There was some forum-specific malware, and by that I mean mainly forum-spamming, and everyone wanted to talk about GandCrab.

10:53.110 --> 11:09.770
And for those of whom aren't familiar with GandCrab, it is a piece, or excuse me, a family of ransomware that was only available on a single Russian forum until the namesake vendor, also named GandCrab, decided that they were going to retire in June of this year because they had earned too much money.

11:10.630 --> 11:19.190
So everyone on various languages of forums either wanted to figure out how they could get their hands on GandCrab or how they could make something similar.

11:21.510 --> 11:30.370
So, let's, now that we've kind of laid out the foundations, let's talk about these vendors and buyers and how they're correlated with the rise and fall of certain families of malware.

11:31.930 --> 11:46.630
Going back to the top ten malware mentions, I kind of glossed over the specific families, but when we sort them out by type, a large majority of them are remote-access Trojans, you have SpyNote back up there, like the Android malware, you also see GandCrab,

11:46.630 --> 11:51.250
and then NLBrute is a brute-forcer, and XRumor is a forum spammer.

11:51.250 --> 11:55.530
Sorry about the same image, I stopped being as creative, I guess.

11:56.490 --> 12:08.690
But when you split out the references on forums by month, you can see, it's a little bit messy, but you can definitely see that there are clear spikes in references in certain months for certain pieces of malware.

12:08.690 --> 12:21.570
So what I was able to do was, every time there was a large enough spike in a certain family of malware, I was able to go in and look at the nature of the posts to see what was causing that spike in mentions and references.

12:22.730 --> 12:26.130
And what I found were largely three correlated events.

12:26.270 --> 12:44.870
So, you know, you want to be a good malware vendor, you want to sell malware in sets sometimes, so kind of a buy one, get one free situation, and then the distribution of cracked malware versions is also what I like to refer to as malware piracy, and that made malware a lot more popular whenever it was pirated.

12:44.870 --> 12:51.030
So going a little bit deeper into all of these, being a good malware vendor, what does that even mean, right?

12:51.030 --> 12:56.330
So when you are a vendor of a certain type of software, you want to advertise regular updates.

12:56.330 --> 13:02.950
You want to make sure that your customers are happy with their product, and you also want to advertise your product, right?

13:02.950 --> 13:16.110
So whenever there was an advertised update on a forum, especially with proprietary malware, or even contributing to open source malware, that family of malware would get a rise in mentions, because people started to get interested in it again.

13:16.170 --> 13:23.930
You also saw advertisements in correlation to real world news articles, and what I mean by that is this example right here with GandCrab.

13:23.930 --> 13:29.810
They were really effective at using security news articles to advertise their product.

13:29.810 --> 13:42.190
So this is a security intelligence article that says, GandCrab is now the most powerful threat of its kind, whether directed at a single person or an entire company, which is the best software review I think I've ever read.

13:42.190 --> 13:43.750
Just ever, right?

13:44.350 --> 13:48.770
And then finally, you have things like customer service and customer engagement.

13:48.770 --> 13:52.770
Like I said, being a good vendor, you want to make sure your customers are happy.

13:52.770 --> 14:08.050
And so that included things like answering frequently asked questions on these forums, offering free copies of their software, malware, excuse me, in exchange for reviews, or commenting and apologizing if they hadn't gotten to a certain question fast enough.

14:10.210 --> 14:27.590
Moving on to malware being sold as a set, I do literally mean a buy one get one or five free situation, in which by buying a single bundle of malware all compressed into a zip file, individuals are able to play with certain types of malware that they wouldn't have been able to otherwise.

14:27.830 --> 14:33.370
This was especially effective when the pieces of malware sold as a set were complementary.

14:33.690 --> 14:42.910
And what I mean by that is these two examples kind of below, where XRumor, which is a forum spamming tool, was often sold with a captcha breaker called XEvil.

14:42.910 --> 14:50.590
So by putting these two things together, forum members would be able to effectively spam posts on forums, even if there were captchas involved.

14:50.630 --> 15:02.230
Another really good example goes back to the cryptors, in which WarzoneRat, which is an incredibly popular proprietary piece of malware, was being sold alongside a cryptor made specifically for that rat.

15:02.230 --> 15:08.350
So you knew that as a buyer, if you bought the two together, you wouldn't have to deal with any software compatibility issues.

15:08.350 --> 15:10.850
If something went wrong, you could contact the vendor.

15:10.850 --> 15:15.730
Things like that that made it more compatible and easy to use.

15:17.150 --> 15:21.710
And then finally, cracked versions, or malware piracy, so to speak.

15:21.710 --> 15:24.210
So what do I mean by pirating malware?

15:24.550 --> 15:26.090
Who does that, right?

15:26.090 --> 15:47.850
So when you're talking about cracked software, usually that refers to proprietary software, in which, like for Office 365, for example, you usually get a license key, and when you first install that piece of software, it asks you for the license key, so that way it can activate your use of that software as a registered buyer or registered user.

15:47.850 --> 16:06.410
So similarly to cracking software, cracking malware takes a proprietary piece of malware that usually asks for a license key, and either finds a way to circumvent that license key check, or creates a close enough version of that piece of malware that it's almost indistinguishable from the proprietary malware in the first place.

16:06.450 --> 16:12.790
This here is one of my favorite timelines in terms of vendor-to-vendor interactions with this example.

16:12.790 --> 16:17.450
So Azoralt was one of the top ten remote access trojans.

16:17.450 --> 16:22.810
It is a proprietary stealer, or it was, until it was pirated.

16:22.850 --> 16:31.690
In October of last year, a completely separate vendor started posting about a cracked version of Azoralt that they called Gazorp.

16:31.730 --> 16:33.910
I love these names, they're so great.

16:34.450 --> 16:45.830
And because this person was adding to the supply of this type of malware, and not just adding to it on a single forum, but multiple forums, popularity of this malware began to increase.

16:45.830 --> 16:49.490
Just demand-supply relationship here.

16:49.650 --> 17:01.290
This actually caused the original vendor of Azoralt to update their software, because they wanted to differentiate themselves from the cheaper, less proprietary version of Azoralt on the market.

17:01.870 --> 17:05.070
Eventually, though, that didn't end up working, and they shut themselves down.

17:05.550 --> 17:11.670
And then the cracked version, so Gazorp actually updated that version of the software as well.

17:11.670 --> 17:18.830
So you see this really interesting battling of a piracy and proprietary malware vendor.

17:21.570 --> 17:23.690
So we've learned a lot about malware today.

17:23.690 --> 17:27.730
But how much of a risk is this to a company environment?

17:27.730 --> 17:32.250
And I like to answer this question with the lower-threat, higher-frequency model.

17:32.250 --> 17:41.470
So because a lot of this malware is very old, it's not effective without a delivery vehicle, because it is commodity malware.

17:41.890 --> 17:52.890
And there are plenty of antivirus rules that usually catch these, like this table over here actually shows you how many virus total hashes with those families of malware have been uploaded in the last year.

17:52.890 --> 17:58.630
They are going to be a lower threat to an environment than something that is a little rarer, right?

17:58.630 --> 18:11.770
However, because they're so popular on these underground forums, they are likely to be used more often than other types of commodity malware, so they will be hitting an endpoint or a company environment with a higher level of frequency.

18:11.890 --> 18:19.590
And also in some cases, these stealers and other sorts of malware have been used as a jumping-off point for larger campaigns.

18:19.590 --> 18:32.190
So aside from SAMSAM and also like APTC-36 using Imminent Monitor, there's also been cases of Iranian threat groups like APT33 using things like NJRAT, Dark Comet, and Imminent Monitor as well.

18:33.150 --> 18:39.110
So a couple takeaways from this really is first off, the landscape is going to change very frequently.

18:39.110 --> 18:43.570
These are people we're talking about buying and selling malware.

18:43.570 --> 18:50.870
And interest fades over time in certain malware, and like I showed in the graph earlier, it spikes and falls.

18:50.930 --> 18:58.210
So this is actually a graph from June to, excuse me, January to June of this year, or middle of July, actually.

18:58.210 --> 19:03.390
And the top ten here is different from the top ten from May to May.

19:03.570 --> 19:09.350
There's six of the top ten from the initial graph that are still here, but they're also in different orders, which is kind of cool.

19:10.410 --> 19:22.110
When it comes to things like dual-use tools, because they are frequently talked about on underground forums, this actually provides an additional data point for members of the blue team and red team to communicate more.

19:22.110 --> 19:42.990
I'm sure that's been a common denominator when it comes to these sorts of talks in Vegas, but this just provides an additional data point so that SOX can communicate more with the red team to figure out what tools are being used and what the newest version of Metasploit is or whatnot.

19:44.410 --> 19:55.270
Additionally, finding the baselines of these different actors, because they are different based off of what language forum they are in, is important, especially for companies operating internationally.

19:55.270 --> 20:06.850
So, for example, if you are a company in Japan, you're likely to be more targeted by the malware more present on Chinese language forums, whereas if you're a company operating in Ukraine, that might be a very different situation.

20:07.590 --> 20:16.030
I also hope that some of the add-on additional research that I've done in this paper can provide a small baseline for patching.

20:16.030 --> 20:22.410
Like I said before, because these are lower threat malware, this is a lot of commodity stuff.

20:22.410 --> 20:30.770
People who have a very robust security team or environments that have a robust security team are probably already defending against these sorts of threats.

20:30.770 --> 20:39.470
But for newer security teams, for newer people that are entering the field, I really hope that this becomes a baseline to start from.

20:39.470 --> 20:50.150
And what I've done for the paper is take the discussed malware, find all of the delivery vehicles in the last year, and list out all of the vulnerabilities that those delivery vehicles have exploited.

20:50.310 --> 20:52.650
So I'll refer back to the paper.

20:52.650 --> 20:59.270
I thank you guys for coming out, and I hope you guys have a great rest of DEF CON and I'll take questions.

21:15.620 --> 21:25.140
So when you're talking about ODAs and NDAs, I will say that that's more applicable to delivery vehicles and not for commodity malware.

21:25.380 --> 21:32.840
A lot of the malware that you would see on these forums, if they use an ODA, they're likely going to be a little bit more secretive about it.

21:32.880 --> 21:38.440
These are types of individuals that just want to make as much money as possible using the skills that they have.

21:38.440 --> 21:43.940
And if they had an ODA, they would likely use it for a delivery vehicle rather than for the malware itself.

21:48.990 --> 22:01.010
I would say that the availability of delivery vehicles, that was a little bit outside the scope of this research, especially when we're talking about malware to begin with.

22:01.010 --> 22:07.890
A lot of the delivery vehicles that were associated with the malware, however, were just generally available exploit kits.

22:07.890 --> 22:14.630
So, um, you're talking about, um, I have a list of like eight, but for some reason I'm blanking.

22:14.770 --> 22:19.750
But yeah, it's more related to the exploit kits themselves rather than the commodity malware.

22:19.750 --> 22:31.950
There's a little bit of a split because when you're talking about the discussion around malware, usually, um, unless it works particularly well with a certain exploit kit, you don't really see the two discussions overlapping.

22:31.950 --> 22:33.450
You're welcome.

22:34.630 --> 22:35.570
Yeah.

22:54.750 --> 23:07.010
Um, when it comes to, uh, kind of this, are you more referring to, I guess, to repeat the question, kind of the relationship between the cyber criminal malware sphere and the state-sponsored areas?

23:07.010 --> 23:07.810
Okay.

23:07.850 --> 23:17.370
Um, so usually a general rule of thumb is if somebody is a state -sponsored individual, they're not going to say so on these forums.

23:17.370 --> 23:34.630
Um, but what I can say is that when you're looking at the technical indicators rising out of nation-state operations, the fact that they're using certain types of commodity malware, like, for example, I said, uh, Dark Comet, uh, excuse me, Dark Comet Imminent Monitor being used by,

23:34.630 --> 23:36.410
uh, Elfin or APT33, right?

23:36.410 --> 23:37.710
That's an Iranian threat group.

23:37.730 --> 23:51.770
Um, that means that they've either interacted with a pirated, um, malware vendor or the original proprietary malware vendor themselves, because those two that I just mentioned are proprietary and only sold on certain forums.

23:51.770 --> 23:59.230
So you can actually figure out with a small degree of likelihood that there are nation-state actors operating on these cyber criminal forums.

24:01.130 --> 24:02.830
Alright, any, anything else?

24:02.830 --> 24:04.010
If not, thank you guys.

24:04.010 --> 24:04.870
Oh, yeah?

24:12.490 --> 24:21.010
Um, so I will say that you can, um, but only when it comes to that buyer-to-buyer relationship, right?

24:21.010 --> 24:31.310
So you will see certain things that are, um, either more proprietary or secretive, um, being talked about on malware forums in which that malware is not necessarily sold.

24:31.310 --> 24:46.070
So kind of like Gang Crab, for example, it's only sold by one, or was only sold by one Russian individual operating on a single Russian forum, but the fact that there were so many news articles referencing it and there were so many buyers that were reposting this online,

24:46.070 --> 24:54.470
uh, allowed you to kind of gauge, oh, it's not just popular on this one forum, it's actually popular kind of across the globe in various different, uh, languages.

24:55.970 --> 24:58.370
Alright, thank you guys so much for coming out.

