1 00:00:00,000 --> 00:00:00,960 Hey, how's it going? All right. 2 00:00:04,340 --> 00:00:08,240 So, disclaimer, we're not going to be talking about any government or state secrets here. 3 00:00:08,820 --> 00:00:10,900 So if that's what you came for, you'll be disappointed. 4 00:00:13,660 --> 00:00:18,400 All right, I'm Val Smith. I run attack research. I've been involved with the Metasploit project 5 00:00:18,400 --> 00:00:24,160 for a while. I mostly work on researching attack techniques that different people use, 6 00:00:24,660 --> 00:00:28,420 as well as pen testing and all the normal stuff. I've done a few talks before 7 00:00:28,420 --> 00:00:34,320 about malware, about data mining, various things like this. 8 00:00:35,840 --> 00:00:42,500 My co-speakers, which may or may not show up, are Colin Ames. He works for me at attack research. 9 00:00:42,880 --> 00:00:48,720 Really, really smart guy. And Anthony Lai, a guy that we brought over from Hong Kong to help 10 00:00:48,720 --> 00:00:53,540 with this talk. He does penetration testing as well as reverse engineering and malware. 11 00:00:54,760 --> 00:00:57,480 He runs a company called VXRL in Hong Kong. 12 00:00:57,940 --> 00:01:01,580 Also a very smart guy, and a lot of experience with the Chinese hacking community. 13 00:01:01,980 --> 00:01:04,280 He's actually relatively close, so he may be here. 14 00:01:05,920 --> 00:01:12,000 So we gave basically this talk at Black Hat, and so I wanted to throw in here a little bit of note 15 00:01:12,000 --> 00:01:17,360 for any media that may be in the room, just based on some articles that came out after our talk. 16 00:01:18,580 --> 00:01:22,340 This is sort of a summary of really what we're trying to say, our core message for this talk. 17 00:01:22,540 --> 00:01:27,460 And what we're trying to say is that China has the same problems with malware and hacking that we do, and that every other country has. 18 00:01:27,480 --> 00:01:28,240 And that the whole country pretty much does. 19 00:01:29,740 --> 00:01:35,700 And we feel that Chinese security research is really valuable, and they follow our research. 20 00:01:35,880 --> 00:01:39,120 But we're not really following theirs so much. And there's a lot we could learn from it. 21 00:01:39,380 --> 00:01:43,540 They come out with a lot of zero days and other things that, you know, we shouldn't be missing. 22 00:01:44,380 --> 00:01:50,560 And finally, we think it would be valuable to start collaboration between the hack community here in the United States, 23 00:01:50,560 --> 00:01:57,200 and the one over there, to sort of understand the cultural differences as well as the different types of techniques 24 00:01:57,200 --> 00:02:00,400 that are going on and help avert misunderstandings 25 00:02:00,400 --> 00:02:02,900 because there's a lot of rumor and things in the media 26 00:02:02,900 --> 00:02:04,700 that aren't necessarily based on fact. 27 00:02:06,300 --> 00:02:08,100 So that's what we said at Black Hat. 28 00:02:08,380 --> 00:02:11,340 This is what the media prints based on what we said. 29 00:02:12,800 --> 00:02:14,340 Malware openly available in China. 30 00:02:14,440 --> 00:02:16,340 Well, yeah, obviously it's openly available everywhere, 31 00:02:16,910 --> 00:02:20,320 but specifically calling out China is kind of crappy. 32 00:02:21,520 --> 00:02:25,400 They also say that the message of our talk 33 00:02:25,400 --> 00:02:29,220 was that they're rapidly emerging as a hotspot for criminal hacking activity. 34 00:02:29,440 --> 00:02:31,860 Well, the Internet's a hotspot for criminal hacking activity. 35 00:02:32,460 --> 00:02:35,620 There's really no need to try to build drama into this 36 00:02:35,620 --> 00:02:37,680 because there is none. 37 00:02:38,380 --> 00:02:41,920 Everybody is dealing with hacking, security issues, all of these things. 38 00:02:42,080 --> 00:02:44,880 So if you're in the media and you want to talk to us 39 00:02:44,880 --> 00:02:46,740 about what we're talking about, that would be cool, 40 00:02:46,900 --> 00:02:50,040 but just printing things to make a lot of drama doesn't make much sense. 41 00:02:52,300 --> 00:02:53,480 And yeah, that's the article. 42 00:02:56,540 --> 00:03:00,660 All right, so we're going to be taking a look at China's hacking community, 43 00:03:01,240 --> 00:03:02,700 talking about who the players are, 44 00:03:03,320 --> 00:03:06,420 the similarities between what they do and what we do, 45 00:03:06,440 --> 00:03:07,300 as well as the differences. 46 00:03:08,520 --> 00:03:11,540 And then we're going to take a look at some funny, interesting things 47 00:03:11,540 --> 00:03:12,700 we found in Chinese malware. 48 00:03:14,840 --> 00:03:16,180 Based on what we hear in the media, 49 00:03:16,280 --> 00:03:21,520 China is having great success in their breaking into computers 50 00:03:21,520 --> 00:03:23,720 and coming out with new tools in zero days, 51 00:03:23,780 --> 00:03:25,380 so we kind of want to understand why this is. 52 00:03:25,400 --> 00:03:26,340 Or if it is. 53 00:03:28,160 --> 00:03:31,700 All right, so our basic philosophy is to understand what's going on, 54 00:03:31,760 --> 00:03:34,040 not to assume, you know, just based on what we hear. 55 00:03:34,280 --> 00:03:37,680 So we've been gathering facts and data, collecting tools, exploit generators, 56 00:03:39,080 --> 00:03:41,720 malware, talking to actual people over there that do things, 57 00:03:41,920 --> 00:03:44,640 and trying to understand the data from all sides. 58 00:03:46,160 --> 00:03:48,540 And to reiterate, we're not covering any governments, 59 00:03:48,580 --> 00:03:50,440 nation-state capabilities, or anything political. 60 00:03:50,940 --> 00:03:53,360 In fact, Anthony lives there, 61 00:03:53,480 --> 00:03:55,380 and Colin and I are headed there, 62 00:03:55,400 --> 00:03:57,160 today, to go to X-Con. 63 00:03:57,460 --> 00:03:59,260 And so, you know, the last thing we want to do is 64 00:03:59,920 --> 00:04:01,320 bring up stuff about their government. 65 00:04:07,440 --> 00:04:09,760 All right, so we're going to cover some terminology. 66 00:04:10,460 --> 00:04:13,500 We're going to discuss some famous and important hackers in China, 67 00:04:13,580 --> 00:04:14,800 including white hats and black hats, 68 00:04:14,960 --> 00:04:17,260 and then some interesting Chinese-made malware. 69 00:04:19,040 --> 00:04:22,120 So typically this is the part where Anthony explains it, 70 00:04:22,160 --> 00:04:22,860 but I'll do my best. 71 00:04:24,180 --> 00:04:26,020 So there's a few key words here, 72 00:04:26,120 --> 00:04:27,740 which I'm not going to attempt to pronounce in Chinese, 73 00:04:27,980 --> 00:04:31,820 but in English, the top word means chicken. 74 00:04:32,600 --> 00:04:35,140 And what's interesting about this is, you know, 75 00:04:35,140 --> 00:04:37,480 in America we sort of have this phrase called lamb, 76 00:04:37,580 --> 00:04:38,700 bring a lamb to slaughter. 77 00:04:39,040 --> 00:04:41,740 It's essentially the same thing, but they don't really have lamb, 78 00:04:41,860 --> 00:04:42,300 they have chicken. 79 00:04:42,680 --> 00:04:47,540 So they use this instead of saying the word Trojan or backdoor. 80 00:04:48,600 --> 00:04:50,900 So on their forums, whenever you see this word, 81 00:04:50,980 --> 00:04:51,840 that's what they're talking about. 82 00:04:53,400 --> 00:04:56,500 The next phrase is basically referring to 83 00:04:56,500 --> 00:05:00,560 injected malicious code into a web page like an iframe or JavaScript. 84 00:05:01,440 --> 00:05:04,700 And then the final one is referring to 85 00:05:04,700 --> 00:05:08,260 like antivirus evasion, firewall evasion, persistence. 86 00:05:08,540 --> 00:05:12,060 It's basically a tool that's designed not to be killed or removed from a system. 87 00:05:12,280 --> 00:05:16,060 So if you're trying to do research into Chinese tools and malware, 88 00:05:16,380 --> 00:05:20,560 these are some of the keywords that you can search for or look for on the Internet. 89 00:05:21,580 --> 00:05:22,260 All right. 90 00:05:22,860 --> 00:05:27,720 So next we're going to cover essentially what Anthony informs us of is that 91 00:05:27,720 --> 00:05:29,720 there's a genealogy of hackers in China. 92 00:05:29,900 --> 00:05:30,960 There's several generations. 93 00:05:32,460 --> 00:05:37,880 So the first generation of hackers were almost like the first generation of hackers here. 94 00:05:38,240 --> 00:05:41,100 Basically just smart guys interested in sharing techniques, 95 00:05:42,300 --> 00:05:45,060 almost like academic work, sort of like what came out of MIT. 96 00:05:45,500 --> 00:05:49,540 And a lot of these guys became CEOs of important technology companies over here, 97 00:05:49,600 --> 00:05:50,500 over there in China. 98 00:05:50,920 --> 00:05:52,840 Like the guy that runs Kingsolver. 99 00:05:52,860 --> 00:05:54,480 Microsoft, for example, which is a big company there. 100 00:05:54,900 --> 00:05:59,080 And the person who invented the way of inputting Chinese alphabet into keyboards. 101 00:05:59,880 --> 00:06:03,620 So all these guys started off as hackers and then became influential CEOs. 102 00:06:07,060 --> 00:06:11,460 So after that, the next three generations that came 103 00:06:12,160 --> 00:06:14,480 all sort of have different characteristics to them. 104 00:06:15,320 --> 00:06:20,380 Between 1997 and 2002, there's a lot of what they call conflicts. 105 00:06:20,660 --> 00:06:22,360 These are sort of equivalent to our, 106 00:06:22,960 --> 00:06:24,900 when two hacker groups get mad at each other, 107 00:06:25,340 --> 00:06:26,900 you know, LOD, MOD type stuff. 108 00:06:27,120 --> 00:06:28,740 This was going on during this timeframe. 109 00:06:28,920 --> 00:06:30,800 And it's about the second generation of Chinese hackers. 110 00:06:31,760 --> 00:06:36,100 And they got involved in fights with hacker groups in other countries like Japan and the Philippines, 111 00:06:36,340 --> 00:06:37,080 what have you. 112 00:06:38,480 --> 00:06:41,640 Some of the standout people of the second generation of hackers 113 00:06:41,640 --> 00:06:44,920 are these gentlemen up here, whose names I can't really pronounce. 114 00:06:45,060 --> 00:06:46,580 But the first guy's name, 115 00:06:48,080 --> 00:06:50,540 try to remember that because later on in the talk it's important. 116 00:06:50,540 --> 00:06:54,460 He essentially spends a lot of his time, or when he was active, 117 00:06:54,660 --> 00:06:59,720 looking for vulnerabilities, writing zero days, locating zero days, very smart guy. 118 00:07:01,300 --> 00:07:04,540 Another really important hacker of this generation's name is Glacier. 119 00:07:04,820 --> 00:07:07,220 And he's actually a part of the X-Focus group. 120 00:07:09,520 --> 00:07:15,780 All right, so the third generation, a lot of these guys are famous because of more cyber warfare, 121 00:07:16,680 --> 00:07:20,440 more types of attacking different groups, and there's a whole list of guys. 122 00:07:20,440 --> 00:07:20,520 So there's a whole list of guys. 123 00:07:20,520 --> 00:07:26,200 All of these are pretty much significant hackers in the Chinese hacking community. 124 00:07:26,640 --> 00:07:28,060 Flash Guy is a very important hacker. 125 00:07:28,180 --> 00:07:31,580 He released a lot of tools that are used in the wild. 126 00:07:33,800 --> 00:07:36,440 Now the fourth generation has a few people. 127 00:07:38,240 --> 00:07:39,140 These are their names. 128 00:07:39,620 --> 00:07:42,940 There's a tool called Gray Pigeon, or Weegeezy. 129 00:07:43,280 --> 00:07:44,660 And that tool is very significant. 130 00:07:44,760 --> 00:07:47,560 It's heavily in use, and it's a really advanced command and control system. 131 00:07:47,820 --> 00:07:49,660 And we'll go into some details about it in a bit. 132 00:07:50,700 --> 00:07:54,080 And there's a forum, a very famous forum in China, called Evil Octal. 133 00:07:54,460 --> 00:07:58,500 And like Sunware and a few other people on this list are part of that group. 134 00:07:59,960 --> 00:08:04,480 Evil Octal is essentially a place for sharing attack information, exploits, techniques, 135 00:08:05,280 --> 00:08:05,760 methodologies. 136 00:08:06,080 --> 00:08:08,020 A lot of interesting people hang out there. 137 00:08:09,800 --> 00:08:13,760 So the fifth generation, you know, the most current hackers, what are going on today, 138 00:08:13,960 --> 00:08:17,060 are essentially script kiddies. 139 00:08:17,200 --> 00:08:20,320 They rely on the tools coming down from the previous generation. 140 00:08:20,320 --> 00:08:22,340 And the research done by other people. 141 00:08:22,940 --> 00:08:26,720 Their main goals are to commercialize their attacks in order to make money. 142 00:08:26,860 --> 00:08:28,240 And we'll talk about specifics in a bit. 143 00:08:28,780 --> 00:08:35,120 And a lot of these guys basically sell openly on internet forums tools and attack services. 144 00:08:35,720 --> 00:08:41,180 They basically just either steal source code from other people's tools, modify it, or they 145 00:08:41,180 --> 00:08:43,500 just straight up steal the tools and resell them. 146 00:08:44,240 --> 00:08:47,740 A lot of these guys don't even know how to code, but they know how to use the tools. 147 00:08:48,960 --> 00:08:50,300 And the other generation is the third generation. 148 00:08:50,300 --> 00:08:53,140 They don't look down on them often with a lot of respect. 149 00:08:56,380 --> 00:08:56,980 All right. 150 00:08:57,040 --> 00:09:00,720 So Anthony wanted to point out that there's some vendors in China, just like there are 151 00:09:00,720 --> 00:09:05,220 here, who release tools to help defend against these types of attacks. 152 00:09:05,800 --> 00:09:07,640 And essentially this is a list of some of the vendors. 153 00:09:08,520 --> 00:09:10,500 Significant ones like NSFocus are on here. 154 00:09:10,820 --> 00:09:15,680 So these would be useful since us in the United States may not understand their white 155 00:09:15,680 --> 00:09:17,360 hat versus their black hat community so well. 156 00:09:17,560 --> 00:09:18,680 Understanding these vendors. 157 00:09:18,680 --> 00:09:22,600 The white hats typically go into business or work for companies like these. 158 00:09:26,520 --> 00:09:27,240 All right. 159 00:09:27,300 --> 00:09:29,440 So China also has a cert. 160 00:09:29,860 --> 00:09:31,380 And its role is very similar. 161 00:09:31,560 --> 00:09:37,400 It's basically gathering statistics and information from intrusions and companies there in China 162 00:09:37,400 --> 00:09:38,500 and publishing this. 163 00:09:40,820 --> 00:09:46,320 There's also an information security organization that is designed to try to help businesses 164 00:09:46,320 --> 00:09:47,640 and organizations defend themselves. 165 00:09:47,980 --> 00:09:48,660 And then a whole bunch of other things. 166 00:09:48,660 --> 00:09:51,840 There's a whole list of websites for gaining information about security. 167 00:09:52,200 --> 00:09:53,460 They also have a hunting net project. 168 00:09:53,820 --> 00:09:55,980 And most significantly is the Xcon conference. 169 00:09:56,380 --> 00:10:00,380 This is one of the top level really good research coming out of this conference. 170 00:10:00,720 --> 00:10:01,960 And we're going to go check it out. 171 00:10:03,380 --> 00:10:03,960 All right. 172 00:10:04,000 --> 00:10:06,200 So a little bit about how Chinese black hats operate. 173 00:10:07,560 --> 00:10:09,460 Slightly differently from here in the U.S. 174 00:10:09,460 --> 00:10:15,600 In the U.S. people tend to use, you know, just telephones or private IRC or silk channels, 175 00:10:15,700 --> 00:10:16,360 things like this. 176 00:10:16,560 --> 00:10:17,420 In China. 177 00:10:17,420 --> 00:10:20,320 They tend to operate more openly in web forums. 178 00:10:20,860 --> 00:10:23,660 Some of these forums you have to subscribe to and pay a fee. 179 00:10:23,800 --> 00:10:26,600 It's more between 20 and 100 Chinese dollars. 180 00:10:27,800 --> 00:10:30,460 The other thing that they use frequently is something called QQ. 181 00:10:31,200 --> 00:10:32,600 QQ is an instant messenger. 182 00:10:32,700 --> 00:10:35,540 Very similar to like ICQ or AIM or any of these. 183 00:10:35,980 --> 00:10:38,900 And this is a tool that a lot of these people primarily use to communicate. 184 00:10:39,180 --> 00:10:41,620 And this gets significant later as we go on. 185 00:10:42,320 --> 00:10:45,320 So in a lot of these forums they advertise tax services. 186 00:10:46,360 --> 00:10:47,400 And you can find a lot of these. 187 00:10:47,420 --> 00:10:50,800 You can find in search engines like Baidu, you know, if you want to look for I need 188 00:10:50,800 --> 00:10:55,160 help attacking something or I need a hacker, you can find tons of services that just they'll 189 00:10:55,160 --> 00:10:58,860 give you a laundry list, a menu of what they provide and what they can do for you. 190 00:11:00,720 --> 00:11:01,920 Tons and tons of sites. 191 00:11:02,640 --> 00:11:04,380 But most of these guys are script kiddies. 192 00:11:06,280 --> 00:11:09,860 Typically you have to pay a membership fee in order to get access to the tools. 193 00:11:10,040 --> 00:11:13,060 And often they'll just rip you off and take your money and not give you a tool or they'll 194 00:11:13,060 --> 00:11:13,760 give you a broken tool. 195 00:11:15,480 --> 00:11:17,280 Another thing is it's very easy. 196 00:11:17,280 --> 00:11:23,940 It's easy to get like victims for bot nets and things like this because the whole concept 197 00:11:23,940 --> 00:11:27,920 of hardening and security is not as prevalent or widely understood as it is here. 198 00:11:28,100 --> 00:11:30,500 There's not a lot of resources to protect systems there. 199 00:11:30,740 --> 00:11:35,000 And so what you have is a large number of computers that are vulnerable to a variety 200 00:11:35,000 --> 00:11:36,220 of things and people just don't know. 201 00:11:36,460 --> 00:11:42,080 And so these sort of script kiddie groups just can attack wide swaths of the Internet 202 00:11:42,080 --> 00:11:46,640 over there gathering victim machines that they can use as bounces or as bots or whatever. 203 00:11:49,380 --> 00:11:57,080 So the Trojan industry over there is extremely advanced and almost set up like an industry 204 00:11:57,080 --> 00:11:57,880 or a business. 205 00:11:58,960 --> 00:12:04,540 There are training portals to go and learn step by step how to use these different tools. 206 00:12:05,780 --> 00:12:07,560 And everything is sort of provincial. 207 00:12:07,740 --> 00:12:10,840 Each province sort of has specialties and people that are well known. 208 00:12:11,400 --> 00:12:15,260 Bots are extremely cheap there because of what I mentioned before where it's very easy 209 00:12:15,260 --> 00:12:16,460 to break into lots of computers. 210 00:12:17,280 --> 00:12:20,380 It's about 10 cents per bot. 211 00:12:20,660 --> 00:12:22,660 And so DDoS attacks are really easy. 212 00:12:22,800 --> 00:12:28,280 You just search for a forum, pay 10 cents per bot, get access to a bot net and then 213 00:12:28,280 --> 00:12:29,040 perform your attack. 214 00:12:31,020 --> 00:12:39,360 So according to China Cert, there's something like 2.5 million more Trojans this year than 215 00:12:39,360 --> 00:12:40,360 there were in 2008. 216 00:12:41,040 --> 00:12:42,720 So like five and a half times more. 217 00:12:42,920 --> 00:12:44,400 So this is a real prevalent industry. 218 00:12:44,580 --> 00:12:46,060 A lot of people are producing Trojans. 219 00:12:48,220 --> 00:12:54,600 And the forecast from China Cert is that they'll be about 100 billion Chinese dollars in loss 220 00:12:55,160 --> 00:12:58,900 due to Trojan attacks, information stealing, this sort of thing. 221 00:13:00,360 --> 00:13:02,160 So this is an example of an advertisement. 222 00:13:02,700 --> 00:13:03,880 This one's in Chinese. 223 00:13:04,320 --> 00:13:07,160 And so we just, Anthony translated it for us. 224 00:13:07,260 --> 00:13:14,300 And essentially it's a laundry list of services that they provide like they'll do network 225 00:13:14,300 --> 00:13:14,880 intrusion. 226 00:13:16,400 --> 00:13:16,960 QQ. 227 00:13:16,960 --> 00:13:17,600 Backdoors. 228 00:13:18,480 --> 00:13:20,820 They'll provide videos for how to use Trojans. 229 00:13:21,260 --> 00:13:22,460 I'm not going to read the whole thing. 230 00:13:22,700 --> 00:13:23,700 But you get the idea. 231 00:13:23,900 --> 00:13:28,720 And they even list the programming language that they can code in, Visual Basic, Delphi, 232 00:13:29,660 --> 00:13:30,580 things like this. 233 00:13:34,580 --> 00:13:35,960 So this is a little bit deeper. 234 00:13:36,260 --> 00:13:38,260 This is a different advertisement that's been translated. 235 00:13:39,220 --> 00:13:42,720 So they'll break into a website or a server or a personal computer. 236 00:13:43,140 --> 00:13:44,880 They'll install remote command and control. 237 00:13:45,140 --> 00:13:46,400 Oh, and Anthony and Colin are here. 238 00:13:46,400 --> 00:13:56,240 So I'm going to turn this over to Anthony because he knows this part of the material 239 00:13:56,240 --> 00:13:57,040 much better than I. 240 00:13:58,100 --> 00:13:58,840 Anthony, you're up. 241 00:14:00,420 --> 00:14:00,820 Hi. 242 00:14:01,060 --> 00:14:02,180 I just got a call. 243 00:14:02,500 --> 00:14:03,300 In two minutes. 244 00:14:04,140 --> 00:14:04,980 I'm on stage. 245 00:14:05,260 --> 00:14:10,460 I'm on the CTF room to play the reversing and compete at the games with the Korean guys 246 00:14:10,460 --> 00:14:10,720 then. 247 00:14:11,000 --> 00:14:11,400 Okay. 248 00:14:11,420 --> 00:14:11,780 Sorry then. 249 00:14:12,220 --> 00:14:12,620 Okay. 250 00:14:13,940 --> 00:14:14,800 This is advertisement. 251 00:14:15,940 --> 00:14:16,120 Okay. 252 00:14:16,400 --> 00:14:17,100 This is the first time I see the word cracking. 253 00:14:18,020 --> 00:14:19,440 Actually, I would translate it. 254 00:14:19,500 --> 00:14:24,720 In the Chinese website, then you would see it allows many services, okay? 255 00:14:24,900 --> 00:14:28,220 It completes, it covers all the CISSP syllabus. 256 00:14:28,760 --> 00:14:33,320 First of all, like cracking website, cracking server, personal computer, install remote 257 00:14:33,320 --> 00:14:36,300 control, okay, cracking mailboxes. 258 00:14:36,380 --> 00:14:38,320 Every service is diversified. 259 00:14:38,540 --> 00:14:39,360 Good business. 260 00:14:41,360 --> 00:14:45,720 And stupid MSN account, QQ chat history, cracking cell phone. 261 00:14:45,720 --> 00:14:54,960 phone, I suppose DEFCON could reach them because their QQ number. Please go to the 859-016227. 262 00:14:56,520 --> 00:15:05,480 Yeah, good service. The favorite tab in China is most likely is still that QQ, I mean game 263 00:15:05,480 --> 00:15:11,420 accounts and QQ account, especially for the QQ, the game accounts with some kind of reference, 264 00:15:11,420 --> 00:15:17,280 you know, you could exchange with the money. They all like, they like to generate, to provide 265 00:15:17,280 --> 00:15:24,360 a children generator and also like to, the children, then you could steal the passwords 266 00:15:24,360 --> 00:15:33,780 and also the online game credentials. China made malware actually like a, anyone try to 267 00:15:33,780 --> 00:15:41,400 deem some? Yeah. But I believe that in Caesar Palace, I get it, it's $19, but it's not 268 00:15:41,420 --> 00:15:45,640 $19, US dollars, but I have not tried, okay? But in Hong Kong, it's $19, Hong Kong dollars. 269 00:15:46,100 --> 00:15:49,900 Please drop me an email if you come to Hong Kong, I'll get you to an excellent dim sum. 270 00:15:51,460 --> 00:16:00,360 Okay? And, okay, this way. All right, so I'm going to cover a little bit the reverse 271 00:16:00,360 --> 00:16:04,520 engineering methodology that we used when going through, we have a whole large collection 272 00:16:04,520 --> 00:16:09,420 of Chinese malware and tools. And so essentially what we did was we focused on comparing data 273 00:16:09,420 --> 00:16:11,400 between the different samples to try to, you know, get a better understanding of the 274 00:16:11,420 --> 00:16:16,340 data, get a bigger picture of is there sharing, what trends, you know, do they use specific 275 00:16:16,340 --> 00:16:20,820 programming languages, this sort of thing. And we have a whole automation system, essentially 276 00:16:21,200 --> 00:16:28,800 virtualization sandboxes that are not based on VMware to avoid being detected. We have 277 00:16:28,800 --> 00:16:34,560 a dynamic automated API logging. We essentially log every function call when the malware is 278 00:16:34,560 --> 00:16:39,600 executed. And this gives us, you know, what files are written to the system or deleted 279 00:16:39,600 --> 00:16:41,400 or modified, registry keys. And then we have a lot of other things that we can do. And 280 00:16:41,400 --> 00:16:43,300 we've got some of the most popular ones. We have something called the network API calls, 281 00:16:43,360 --> 00:16:47,380 this sort of thing. And we tap the network outside the system and parse that, looking 282 00:16:47,380 --> 00:16:51,920 for outgoing, you know, command and control call home or whatever, as well as some automated 283 00:16:51,920 --> 00:17:03,040 static analysis. Okay, it's my turn again. Wow, the first sample. You know, some kinds 284 00:17:03,040 --> 00:17:11,140 of shell code, I find some boring shell code, 06, 0x, some numbers. However, for this shell 285 00:17:11,400 --> 00:17:19,160 is quite great script you'll find that it's most cricket yeah you'll find that 286 00:17:19,160 --> 00:17:24,980 some readings are in translated in the Cantonese in Mandarin like you know ETN 287 00:17:24,980 --> 00:17:36,200 is one day okay and also like this one so yummy I need you actually the shell 288 00:17:36,200 --> 00:17:42,000 coat is with this Lyric from Nires from mr. Chow from Taiwan is very famous 289 00:17:42,000 --> 00:17:51,560 singer so they are singing songs and she called the shell coat I like it the 290 00:17:51,560 --> 00:17:56,400 second one is they put the fingerprint everywhere then you could find it like 291 00:17:56,400 --> 00:18:03,940 this PDF exploit footprints and you'll find here is very small readings here is 292 00:18:03,940 --> 00:18:06,100 Inga if you 293 00:18:06,100 --> 00:18:06,180 you 294 00:18:06,180 --> 00:18:10,140 mentioned about there's a free five generations of of the hacker 295 00:18:10,140 --> 00:18:16,500 generations then actually Inga is the second generation maybe he Inga is the 296 00:18:16,500 --> 00:18:25,520 hide idol of the of this shell coat writer and also they put the lab here 297 00:18:25,520 --> 00:18:32,520 pen app I don't know is what is pen app okay but it may be the hacker lab here 298 00:18:32,520 --> 00:18:34,600 free QQ anyone have the QQ account 299 00:18:34,600 --> 00:18:35,680 Holocaust 300 00:18:35,680 --> 00:18:39,680 thank you thank you for support 301 00:18:42,000 --> 00:18:48,240 actually QQ accounts like this is like fake QQ when you get it yeah your user 302 00:18:48,240 --> 00:18:55,220 password credentials will be go to where we go go go go go to a government 303 00:18:55,220 --> 00:18:59,060 website actually the China Government website is children is attacked by a 304 00:18:59,060 --> 00:18:59,320 criminal 305 00:18:59,320 --> 00:19:00,580 ** commentator vår Apple TV** 306 00:19:00,580 --> 00:19:02,400 is an attack by the criminal so I simply typed in 307 00:19:02,400 --> 00:19:04,780 and then who is in the Google search engine, 308 00:19:05,020 --> 00:19:08,140 and then, wow, this site is Trojan. 309 00:19:09,740 --> 00:19:12,700 Once Trojan, you find a list of here. 310 00:19:14,100 --> 00:19:14,660 Oops. 311 00:19:15,300 --> 00:19:18,860 A list of iframes is injected, even if it's very small, 312 00:19:19,040 --> 00:19:21,380 but you find a lot of orange spots. 313 00:19:22,980 --> 00:19:26,500 And also from the website, and you can find, 314 00:19:26,640 --> 00:19:29,860 wow, there's many web Trojan iframe injected. 315 00:19:29,860 --> 00:19:33,060 And the attack path is like that, okay? 316 00:19:33,220 --> 00:19:37,180 Build a fake QQ, cheat your account, get your credentials. 317 00:19:37,560 --> 00:19:42,000 At the same time, the website, the return website 318 00:19:42,000 --> 00:19:43,800 is Trojan with the different iframes. 319 00:19:44,040 --> 00:19:48,240 Then the most important is, you reset the site, 320 00:19:48,400 --> 00:19:50,460 you get the exploit as a gift. 321 00:19:52,740 --> 00:19:54,920 Then the China government sites 322 00:19:54,920 --> 00:19:56,340 are always become the target, 323 00:19:56,500 --> 00:19:58,260 because they have some difficulties. 324 00:19:58,620 --> 00:19:59,840 I mean, they have tried to get 325 00:19:59,860 --> 00:20:02,280 all the done their best, but you know, 326 00:20:02,380 --> 00:20:05,040 from different provinces, they need different control. 327 00:20:05,840 --> 00:20:08,560 And as you know, then it is hard to for, 328 00:20:08,740 --> 00:20:12,700 and still are room for improvement for in China. 329 00:20:14,820 --> 00:20:18,880 So, and also the number four is a fresh zero-day attack. 330 00:20:19,740 --> 00:20:21,320 This is fresh zero-day attack, 331 00:20:21,420 --> 00:20:24,540 but I don't want to stick it out a lot of details, 332 00:20:24,700 --> 00:20:28,380 but you will find here, do you know these wordings? 333 00:20:28,460 --> 00:20:29,060 And hey. 334 00:20:29,880 --> 00:20:32,920 It is in Mandarin, it's darkness. 335 00:20:33,360 --> 00:20:34,080 What is the meaning? 336 00:20:34,680 --> 00:20:37,780 When you like that here, your JavaScript, 337 00:20:38,800 --> 00:20:40,880 and this is, I mean, malicious script, 338 00:20:41,040 --> 00:20:45,900 and embedded in the IH.html, then once it's reset, 339 00:20:46,740 --> 00:20:51,220 then actually it contains the exploit for the fresh player. 340 00:20:51,460 --> 00:20:54,660 At the same time, it contains another exploit 341 00:20:55,280 --> 00:20:58,800 for loading the shellcode loaders. 342 00:20:58,900 --> 00:20:59,840 The shellcode loaders, the shellcode loaders, 343 00:20:59,860 --> 00:21:00,640 the shellcode loaders is very interesting. 344 00:21:01,660 --> 00:21:04,760 It is loaded from another place. 345 00:21:04,860 --> 00:21:06,400 I mean, another test files. 346 00:21:06,900 --> 00:21:10,020 So you could gain two combined choices, 347 00:21:10,520 --> 00:21:13,960 cool combined ways for exploit your computers. 348 00:21:14,320 --> 00:21:16,560 Then once they exploit it, you get a dropper. 349 00:21:16,720 --> 00:21:18,900 The dropper download the password stealer. 350 00:21:18,980 --> 00:21:22,940 At the same time, you will get, it is a botnet based. 351 00:21:23,260 --> 00:21:26,760 So you get a commands, and then the attacker 352 00:21:26,760 --> 00:21:29,100 could get your password, get whatever they want. 353 00:21:29,100 --> 00:21:31,160 The most, I mean, the ultimate target 354 00:21:31,160 --> 00:21:33,560 is to get the game account's credentials again. 355 00:21:34,240 --> 00:21:38,280 Thankful for Armonize team about this detailed analysis. 356 00:21:38,920 --> 00:21:41,780 The interesting part is NHEY, what is that? 357 00:21:43,840 --> 00:21:46,380 I search again, NHEY is, wow, 358 00:21:46,520 --> 00:21:48,220 it's an NHEY working group here. 359 00:21:49,100 --> 00:21:50,780 Oh, where's the cursor again? 360 00:21:51,520 --> 00:21:52,620 NHEY working group. 361 00:21:52,820 --> 00:21:58,160 The latest web trojan, web trojan generator, trojan, 362 00:21:59,200 --> 00:22:02,960 programming training course is very comprehensive. 363 00:22:04,580 --> 00:22:08,520 Then free of charge, all of them are IAM file, 364 00:22:08,740 --> 00:22:12,180 and also calling downloaded without money, okay? 365 00:22:12,440 --> 00:22:14,280 Then you could get it, you could play it, 366 00:22:14,380 --> 00:22:16,800 you could try to be in fact, yeah. 367 00:22:17,120 --> 00:22:22,380 So once you get it, you have bundle of the latest exploit 368 00:22:22,380 --> 00:22:26,140 you could choose, like a exploit supermarket, okay? 369 00:22:26,700 --> 00:22:28,540 Then you could pick up your choice, 370 00:22:28,540 --> 00:22:29,980 then you don't need to pay the money, 371 00:22:30,080 --> 00:22:31,340 but you get the return back. 372 00:22:32,720 --> 00:22:34,600 You get the script, your source code, 373 00:22:34,840 --> 00:22:37,680 you get the office data script, but you'd never know, 374 00:22:37,820 --> 00:22:39,660 but I just want to get the credentials. 375 00:22:40,980 --> 00:22:43,320 And you would like to bypass something like, 376 00:22:44,620 --> 00:22:46,040 where's the cursor again? 377 00:22:46,740 --> 00:22:49,780 Wow, your computer cursor sometimes disappear, man. 378 00:22:50,760 --> 00:22:53,740 You fix, 360, you bypass the 360. 379 00:22:53,940 --> 00:22:57,020 360 is a very famous anti-virus software in the mainland, 380 00:22:57,180 --> 00:22:57,540 okay? 381 00:22:59,160 --> 00:23:01,040 And then once you, a simple click, 382 00:23:01,580 --> 00:23:05,180 simple click, simple click, and then you get the files. 383 00:23:05,640 --> 00:23:09,380 And you get the different, I mean, the source code 384 00:23:09,380 --> 00:23:12,260 of the IE.html with the source code and shell code. 385 00:23:16,020 --> 00:23:19,120 So then we kind of took several of the main droppers, 386 00:23:19,160 --> 00:23:21,560 we just concentrated on an IE7, an IE6, 387 00:23:21,660 --> 00:23:25,100 the Aurora exploit as well as this is the XMLRPC overflow, 388 00:23:25,380 --> 00:23:27,980 or canonicalized overflow, and we just sort of looked at, 389 00:23:28,020 --> 00:23:28,520 there are actually a lot of things that we can do. 390 00:23:28,520 --> 00:23:30,260 There's actual technology in shell code development. 391 00:23:30,600 --> 00:23:32,640 And actually here you see it's fairly, it's clear, 392 00:23:32,800 --> 00:23:33,520 it's in clear text. 393 00:23:33,940 --> 00:23:35,900 All of their shell code is based upon a dropper. 394 00:23:35,960 --> 00:23:39,100 All it does is download another EXE from a website 395 00:23:39,100 --> 00:23:40,560 and execute it, quite simple. 396 00:23:41,180 --> 00:23:45,040 We can kind of see here that it's not altogether 397 00:23:45,040 --> 00:23:47,760 that strong, you have these weird spaces 398 00:23:47,760 --> 00:23:49,380 at the end of the shell code, these don't do anything. 399 00:23:49,800 --> 00:23:53,080 There's no further obfuscation past just the JavaScript 400 00:23:53,080 --> 00:23:55,160 obfuscation, because this was in a big blob of 401 00:23:55,880 --> 00:23:57,340 unencoded UTF strings. 402 00:23:58,980 --> 00:24:02,280 So then we see in the next iteration of this code base, 403 00:24:02,820 --> 00:24:04,340 it's the same thing, but it's much cleaner. 404 00:24:04,700 --> 00:24:06,220 It's gotten a little smaller. 405 00:24:06,300 --> 00:24:09,840 We went from 814 bytes of shell code to 612. 406 00:24:10,100 --> 00:24:13,500 But again, it's still very clear. 407 00:24:13,820 --> 00:24:16,000 You can follow this, you throw it in a hex editor 408 00:24:16,000 --> 00:24:17,400 and just see what it's going to do. 409 00:24:17,480 --> 00:24:19,400 You don't actually have to go any deeper than this 410 00:24:19,400 --> 00:24:20,420 with this type of shell code. 411 00:24:21,880 --> 00:24:23,780 And then they kind of dropped this new one on us. 412 00:24:23,920 --> 00:24:27,300 And so the timeline between these three, 413 00:24:28,520 --> 00:24:30,200 this is a couple of months between each one, 414 00:24:30,300 --> 00:24:31,780 and this last one was only a couple of months ago. 415 00:24:32,820 --> 00:24:35,840 And suddenly, and this only generates shell code. 416 00:24:35,960 --> 00:24:38,720 This doesn't tie into any of the other exploit packs 417 00:24:38,720 --> 00:24:41,800 that they have, because what you see here 418 00:24:41,800 --> 00:24:43,660 is just their general exploit pack. 419 00:24:44,280 --> 00:24:46,180 So you click the button and it'll actually generate 420 00:24:46,180 --> 00:24:48,960 a website that hosts up the individual exploits 421 00:24:48,960 --> 00:24:49,460 for those things. 422 00:24:50,840 --> 00:24:53,100 For this shell code, it's much larger. 423 00:24:53,320 --> 00:24:56,800 It's a little over 1,000 bytes here. 424 00:24:58,520 --> 00:24:58,960 It's already encoded. 425 00:24:59,200 --> 00:25:03,260 So they actually have a stub at the beginning 426 00:25:03,260 --> 00:25:04,900 of the shell code itself that decodes 427 00:25:04,900 --> 00:25:05,900 the rest of the shell code. 428 00:25:06,460 --> 00:25:08,960 And if that wasn't enough, so after we decode that, 429 00:25:09,020 --> 00:25:10,840 we can see the standard downloader here. 430 00:25:11,080 --> 00:25:13,060 It pulls down your actual exe. 431 00:25:13,520 --> 00:25:15,720 They also have an even more sophisticated structure 432 00:25:15,720 --> 00:25:18,560 inside of that that does continual obfuscation 433 00:25:18,560 --> 00:25:19,860 of actual strings. 434 00:25:20,120 --> 00:25:22,560 So for actually resolving of the DLL functions 435 00:25:22,560 --> 00:25:24,940 to do the downloader function and execute. 436 00:25:25,180 --> 00:25:28,000 So from the original point, which 437 00:25:28,000 --> 00:25:30,180 was about three months ago to about a month ago, 438 00:25:30,560 --> 00:25:34,340 their level of expertise in shell code drastically jumped. 439 00:25:34,560 --> 00:25:37,440 And this was just sort of what we wanted to expose here, 440 00:25:37,540 --> 00:25:40,400 is that their level of expertise in this area 441 00:25:41,040 --> 00:25:42,400 progresses fairly rapidly. 442 00:25:43,700 --> 00:25:45,660 And so here are just some more examples 443 00:25:45,660 --> 00:25:48,260 from their actual generated web pages. 444 00:25:48,780 --> 00:25:51,760 If you really want to look for them, you can look at them later. 445 00:25:52,640 --> 00:25:56,220 But the interesting thing, of course, in their actual sprays 446 00:25:56,220 --> 00:25:57,740 is all of the identification. 447 00:25:58,000 --> 00:25:59,000 These are the only identification markings you'd ever want 448 00:25:59,000 --> 00:25:59,800 in the whole wide world. 449 00:25:59,940 --> 00:26:01,440 Their QQ number, which is perfect. 450 00:26:01,680 --> 00:26:03,540 You can contact them, as Anthony says. 451 00:26:03,740 --> 00:26:04,960 Good support, yes, yes. 452 00:26:07,460 --> 00:26:13,880 And again, their obfuscation is more of an advertisement 453 00:26:13,880 --> 00:26:14,780 than obfuscation. 454 00:26:14,920 --> 00:26:18,980 Yes, it doesn't directly go to actual shell code immediately. 455 00:26:19,240 --> 00:26:22,160 But if you come across a web page that has Qt in it, 456 00:26:22,200 --> 00:26:22,860 how many times? 457 00:26:24,580 --> 00:26:26,240 So again, just more examples. 458 00:26:26,660 --> 00:26:27,280 Here's this. 459 00:26:27,280 --> 00:26:31,420 This is a fun one here, where it actually gives you 460 00:26:31,420 --> 00:26:35,140 a warning in Mandarin that you do not change the shell code 461 00:26:35,140 --> 00:26:36,780 in here in Notepad, because it'll break it 462 00:26:36,780 --> 00:26:38,860 due to the actual control lines. 463 00:26:39,100 --> 00:26:40,360 Which is, you know, that's nice of them. 464 00:26:40,440 --> 00:26:42,400 They want to make sure that you get a quality product, right? 465 00:26:42,540 --> 00:26:43,260 That's important. 466 00:26:45,640 --> 00:26:48,960 You know, again, they tested fully supported. 467 00:26:49,200 --> 00:26:49,700 Very good. 468 00:26:50,980 --> 00:26:52,400 And here's another fun one. 469 00:26:52,620 --> 00:26:56,340 We got a call out to HD in their page. 470 00:26:56,340 --> 00:26:59,580 And they obviously use Metasploit, they understand us. 471 00:26:59,740 --> 00:27:03,580 They actually, they research us and they keep track of what we're doing. 472 00:27:03,860 --> 00:27:05,580 I was talking about the Kaba stuff. 473 00:27:05,980 --> 00:27:06,880 Oh, Kaba? 474 00:27:07,000 --> 00:27:07,460 Oh, yeah. 475 00:27:07,560 --> 00:27:11,000 The other fun thing, I guess I'll let Anthony explain. 476 00:27:11,180 --> 00:27:15,480 Do you know anyone installed the Kapersky antivirus at home? 477 00:27:15,560 --> 00:27:16,260 Your computers? 478 00:27:16,940 --> 00:27:20,280 Actually, in Chinese, Mandarin is Kaba. 479 00:27:20,680 --> 00:27:24,440 And then, actually, Kaba is like Kapersky, you know? 480 00:27:24,860 --> 00:27:26,000 Actually, it's the... 481 00:27:26,340 --> 00:27:28,020 This signature is Kapersky. 482 00:27:28,340 --> 00:27:29,680 Then, he may say... 483 00:27:29,680 --> 00:27:31,940 He may like to dance to... 484 00:27:32,520 --> 00:27:38,300 I mean, like maybe the shellcode pinpoint for the Kapersky. 485 00:27:38,780 --> 00:27:39,000 Okay. 486 00:27:43,760 --> 00:27:44,320 Yep. 487 00:27:44,460 --> 00:27:45,320 Actually, it's... 488 00:27:45,320 --> 00:27:48,100 For the ghost, it's compromised the game account's credentials. 489 00:27:48,460 --> 00:27:50,380 And expert generator is free. 490 00:27:50,560 --> 00:27:52,100 And actually, the site is live. 491 00:27:52,300 --> 00:27:52,800 Okay? 492 00:27:52,860 --> 00:27:53,580 You've got the computers. 493 00:27:53,760 --> 00:27:55,580 Go there and try it. 494 00:27:55,760 --> 00:27:56,320 Okay? 495 00:27:57,040 --> 00:27:59,800 And they have got the sales hotline and are easily be reached. 496 00:28:00,560 --> 00:28:02,260 Apply QQ account right now. 497 00:28:06,800 --> 00:28:07,380 All right. 498 00:28:07,420 --> 00:28:07,540 Yeah. 499 00:28:07,560 --> 00:28:11,300 So, I find it interesting that in their shellcode, they target a specific antivirus company. 500 00:28:11,440 --> 00:28:12,520 That's kind of cool. 501 00:28:12,880 --> 00:28:19,460 So, what you're looking at on the screenshot is a collection of the ANHE exploit generators. 502 00:28:19,640 --> 00:28:20,800 There's about 20 of them or so. 503 00:28:21,020 --> 00:28:23,680 And they're all distributed in RAR files. 504 00:28:23,680 --> 00:28:29,160 And all of these RAR files basically come with like an advertisement page or many of them do. 505 00:28:29,600 --> 00:28:33,020 And in the advertisement page, it has their website. 506 00:28:33,280 --> 00:28:38,060 So, the ANHE guys also use the name QQQ for their team. 507 00:28:38,240 --> 00:28:41,260 I think they either change names or they use two names. 508 00:28:41,700 --> 00:28:50,160 But basically, when you download this tool, they provide you with a QQ address that you can contact if you need support or help on how to use their tool or maybe other Trojans. 509 00:28:51,620 --> 00:28:53,140 The other thing that's interesting is... 510 00:28:53,140 --> 00:29:02,460 If you look at the file times on the exploit generators themselves, often these file times are before that particular vulnerability was disclosed here in the U.S. 511 00:29:02,640 --> 00:29:11,720 So, what this means is that not only do they know about the zero day before it's published, but they have a fully functional exploit generator that anybody can use. 512 00:29:11,820 --> 00:29:17,200 It's literally one-click generation way before the time that the exploit is disclosed. 513 00:29:17,380 --> 00:29:23,120 So, that's to me kind of significant because it means that, you know, their O-day use is pretty easy. 514 00:29:23,140 --> 00:29:23,300 It's pretty advanced. 515 00:29:25,660 --> 00:29:34,280 So, we compared about 20 of these exploit generators to try to get an understanding of is, like, one guy coding them all or are they using similar styles or what's going on. 516 00:29:34,580 --> 00:29:39,200 And we noticed that they all use this DLL, skinppwt.l.dll. 517 00:29:40,540 --> 00:29:44,760 Almost all of them use a specific version of this and then one has a slightly different version. 518 00:29:45,060 --> 00:29:46,560 We didn't know what this was at first. 519 00:29:46,700 --> 00:29:49,400 It took some analysis to realize and I'll get to that in a second. 520 00:29:50,220 --> 00:29:53,120 So, what this shows is that they reuse the same DLL. 521 00:29:53,140 --> 00:30:02,740 So, we did a little just looking in the resources and these guys are really nice because they code their tools just like professional software. 522 00:30:02,940 --> 00:30:08,580 The resources have versioning information, even a copyright, which is kind of funny because China doesn't have copyrights. 523 00:30:11,780 --> 00:30:15,140 And they have a website of where this DLL comes from. 524 00:30:15,640 --> 00:30:21,500 So, you know, the nice thing is every time you get this exploit pack, you know exactly where you got it because the resources tell you. 525 00:30:23,140 --> 00:30:24,000 So, this is just another example. 526 00:30:28,140 --> 00:30:33,980 So, between the two DLLs that we found that come packaged with all of these, there's really not that many differences. 527 00:30:35,020 --> 00:30:39,680 They essentially have a very similar number of functions, imports and exports. 528 00:30:40,460 --> 00:30:44,180 A little bit of functionality has been added to one versus the other. 529 00:30:44,580 --> 00:30:49,240 And it turns out, as we reverse engineer this, that it's just a skin building program. 530 00:30:49,540 --> 00:30:53,120 If you noticed earlier, all of those screenshots of the different tools look very similar. 531 00:30:53,140 --> 00:30:54,180 Kind of the same. 532 00:30:54,420 --> 00:31:02,920 So, they've standardized on one GUI and they just keep reusing that GUI over and over again so that the people using the tool are familiar with it. 533 00:31:03,520 --> 00:31:08,080 So, we sort of tracked some information in these files back to this company here. 534 00:31:08,320 --> 00:31:12,320 This company has two names, Skin++ and UIPower. 535 00:31:12,580 --> 00:31:20,880 And it turns out this is a legitimate, you know, vendor that sells graphical development tools to tons of companies in China. 536 00:31:20,920 --> 00:31:23,120 Like all these big professional Huawei and other companies. 537 00:31:23,140 --> 00:31:25,540 Use this tool to build their applications. 538 00:31:26,300 --> 00:31:30,520 So, these guys either just stole this tool or they bought it and are using it to build their exploit packs. 539 00:31:34,660 --> 00:31:35,200 So, yeah. 540 00:31:35,220 --> 00:31:37,780 This is just some more screenshots of their resources. 541 00:31:42,140 --> 00:31:49,020 Another very popular in the China malware history is this Quakerz. 542 00:31:49,520 --> 00:31:50,620 It's a great pigeon. 543 00:31:51,100 --> 00:31:52,460 Actually, it's a very famous one. 544 00:31:55,080 --> 00:31:59,380 Because, you know, you could get it to get, I mean, the summary. 545 00:31:59,660 --> 00:32:06,080 Like the capture screen, keystrokes, still user accounts, password, download file, upload files, shutdown services. 546 00:32:06,540 --> 00:32:08,700 Then it is written in Turbo C. 547 00:32:09,000 --> 00:32:13,120 Actually, the source code is available somewhere else and you could search it. 548 00:32:13,540 --> 00:32:13,800 Okay. 549 00:32:13,980 --> 00:32:15,580 It's in archive with RAR. 550 00:32:15,780 --> 00:32:16,780 I got source code. 551 00:32:16,920 --> 00:32:17,720 Just drop me an email. 552 00:32:17,880 --> 00:32:18,640 I send you source code. 553 00:32:18,820 --> 00:32:23,040 If it is infected by any way, then I don't liable for your infection. 554 00:32:23,060 --> 00:32:23,120 Okay. 555 00:32:23,120 --> 00:32:23,320 Okay. 556 00:32:26,420 --> 00:32:27,700 Code we will, man. 557 00:32:28,560 --> 00:32:32,380 Then it is, I mean, but the time is, it is stopped. 558 00:32:32,520 --> 00:32:33,620 I mean, suspended officially. 559 00:32:33,920 --> 00:32:36,140 Because they get a company and sell it off. 560 00:32:36,280 --> 00:32:38,440 But they stopped it three years ago. 561 00:32:38,660 --> 00:32:40,360 However, there are many variants. 562 00:32:42,380 --> 00:32:47,040 And you find it here, for example, then you could choose. 563 00:32:48,280 --> 00:32:51,840 To add the packer or use the packer. 564 00:32:52,240 --> 00:32:53,100 Use UPS. 565 00:32:53,100 --> 00:32:54,360 UPS packer. 566 00:32:55,860 --> 00:32:58,700 And this is the screenshot of pond. 567 00:32:59,100 --> 00:32:59,680 Yep. 568 00:33:00,020 --> 00:33:01,520 Then you find the site. 569 00:33:02,940 --> 00:33:05,900 KuiGeZi.net is the official company site. 570 00:33:05,960 --> 00:33:06,740 But it is done already. 571 00:33:06,940 --> 00:33:07,120 Okay. 572 00:33:07,830 --> 00:33:10,000 And you will find the screenshot. 573 00:33:10,380 --> 00:33:11,960 Then capture screen. 574 00:33:12,520 --> 00:33:14,800 And capture the video and audio. 575 00:33:16,820 --> 00:33:21,600 And, well, then also, also like the open your camera, whatever. 576 00:33:23,100 --> 00:33:23,800 Is very complete. 577 00:33:27,560 --> 00:33:32,900 Yes, that's pretty significant to see a piece of malware that literally just has click buttons 578 00:33:32,900 --> 00:33:37,720 to turn on your audio mic and steal any audio that's in the room or turn on the video camera 579 00:33:37,720 --> 00:33:39,420 and take pictures of what's going on. 580 00:33:40,400 --> 00:33:41,520 Literally one click. 581 00:33:41,780 --> 00:33:43,860 So this tool has a few different components. 582 00:33:44,260 --> 00:33:49,620 There's the HClient.exe that's the main program that generates the server executable that 583 00:33:49,620 --> 00:33:51,000 you use to infect people with. 584 00:33:51,580 --> 00:33:52,860 When this program is run. 585 00:33:53,100 --> 00:33:55,200 It generates a config file called operate INI. 586 00:33:55,420 --> 00:33:57,300 And there are a few other files that come with it. 587 00:33:58,960 --> 00:34:01,580 So this one here is literally like the EULA. 588 00:34:02,560 --> 00:34:04,760 They have an official EULA for this back door. 589 00:34:05,140 --> 00:34:06,200 Which is kind of interesting. 590 00:34:08,820 --> 00:34:13,220 They have a disclaimer saying that, you know, they're not liable for any bad things that 591 00:34:13,220 --> 00:34:14,600 might happen if you use their software. 592 00:34:16,440 --> 00:34:18,440 And they call themselves Gray Pigeon Studio. 593 00:34:20,100 --> 00:34:20,640 All right. 594 00:34:20,700 --> 00:34:21,940 So they even have a change log. 595 00:34:21,940 --> 00:34:25,200 So you can track improvements to this back door as time goes on. 596 00:34:25,840 --> 00:34:28,160 And it's really pretty detailed product. 597 00:34:28,420 --> 00:34:30,820 They're doing this as professionally as they can. 598 00:34:32,460 --> 00:34:36,700 There's another file sort of buried down deep in the directory that's kind of interesting. 599 00:34:36,900 --> 00:34:39,780 And we're not we haven't been able to figure out what they do with this file because we 600 00:34:39,780 --> 00:34:41,040 haven't really seen it be read yet. 601 00:34:41,700 --> 00:34:48,860 But in this file is these huge lists of things like Earthlink, Genuity, Marlboro College, 602 00:34:49,200 --> 00:34:49,740 Spelman College. 603 00:34:49,900 --> 00:34:51,540 There's all these universities and companies. 604 00:34:51,540 --> 00:34:52,320 Hewlett Packard. 605 00:34:52,960 --> 00:34:54,820 Just listed in this dat file. 606 00:34:55,160 --> 00:34:58,360 On the other side is a bunch of other things that look like numbers. 607 00:34:59,160 --> 00:35:03,200 We actually started looking up some of these numbers and they're electronics parts numbers. 608 00:35:04,520 --> 00:35:08,720 So I'm not sure what this file is for but it comes packaged with this Gray Pigeon tool. 609 00:35:09,620 --> 00:35:10,620 Kind of interesting. 610 00:35:11,960 --> 00:35:12,500 All right. 611 00:35:12,680 --> 00:35:14,500 So now we're going to move on to the banquet of malware. 612 00:35:14,960 --> 00:35:18,360 We're basically going to cover a selection of different malware samples. 613 00:35:20,120 --> 00:35:24,860 So the first sample was actually found in an intrusion investigation and it's called 614 00:35:24,860 --> 00:35:25,560 SVO host. 615 00:35:26,600 --> 00:35:31,000 I've got some file details here which I'm not going to really read but you can grab 616 00:35:31,000 --> 00:35:32,400 the slides later and take a look at these. 617 00:35:32,500 --> 00:35:34,180 See if maybe you have this on your system. 618 00:35:35,480 --> 00:35:40,360 But actually believe it or not Clam AV picks this up as the exploit MS08-067. 619 00:35:41,200 --> 00:35:46,280 Which is because the actual exploit is packaged inside of the EXE itself. 620 00:35:46,380 --> 00:35:47,700 It can deploy that exploit. 621 00:35:48,360 --> 00:35:49,460 Yeah, for like lateral attack. 622 00:35:50,100 --> 00:35:55,020 So we de-obfuscated this, took a look deep into the exploit and found the string here, 623 00:35:55,080 --> 00:35:58,680 phantom, spelled in leet speak as well as an email address. 624 00:35:59,400 --> 00:36:02,800 So we started searching around and actually there's a Chinese security team called the 625 00:36:02,800 --> 00:36:03,800 phantom security team. 626 00:36:04,020 --> 00:36:06,340 So this tool is highly likely to have been written by this team. 627 00:36:06,560 --> 00:36:08,880 It looks like they've sort of given up the team here. 628 00:36:09,260 --> 00:36:14,440 But yeah, it's interesting that it's pretty easy to find who developed the tools if you 629 00:36:14,440 --> 00:36:15,000 find the tools. 630 00:36:15,900 --> 00:36:17,960 Another example is a tool that we have here. 631 00:36:17,960 --> 00:36:20,360 This tool wouldn't actually execute on my VM. 632 00:36:20,600 --> 00:36:21,480 I think it had VM detection. 633 00:36:22,220 --> 00:36:24,860 But it would execute enough that I could grab it in a debugger. 634 00:36:25,000 --> 00:36:29,760 And it actually titles itself with the website of the organization that built it, dark team. 635 00:36:33,000 --> 00:36:37,680 We have another tool here that is an SQL scanning tool. 636 00:36:37,960 --> 00:36:39,840 So you have a whole variety of options. 637 00:36:39,940 --> 00:36:40,580 It's really advanced. 638 00:36:40,880 --> 00:36:43,880 And we just went ahead and scanned ourselves with it to see what the output looks like. 639 00:36:44,460 --> 00:36:45,560 You put in the target. 640 00:36:45,780 --> 00:36:47,020 You put in some parameters. 641 00:36:47,020 --> 00:36:50,480 And you tell it what kind of scan you want to do and if you want to obfuscate your scan. 642 00:36:50,820 --> 00:36:53,180 And then it just attacks the target for you. 643 00:36:56,720 --> 00:36:59,540 So another tool that we found was actually packed with armadillo. 644 00:37:00,560 --> 00:37:02,880 It's just sort of your typical attack tool. 645 00:37:03,040 --> 00:37:04,260 It generates a lot of batch files. 646 00:37:04,980 --> 00:37:09,060 In the course of reversing and understanding a lot of the malware samples, what we found 647 00:37:09,060 --> 00:37:10,180 is they love using batch files. 648 00:37:10,340 --> 00:37:12,140 They scatter batch files all over the system. 649 00:37:12,800 --> 00:37:15,920 In this case, they use one called winnet.bat. 650 00:37:16,600 --> 00:37:17,000 It's a really good tool. 651 00:37:17,960 --> 00:37:22,600 And what that basically does is it generates an Internet link underneath winrar. 652 00:37:22,860 --> 00:37:25,700 So if you have winrar installed, it will stick this in there. 653 00:37:25,780 --> 00:37:28,080 If you don't, it will actually create this directory and put this here. 654 00:37:29,060 --> 00:37:33,460 And then, you know, add everything it needs to add to the registry to operate this and 655 00:37:33,460 --> 00:37:34,520 then start an executable. 656 00:37:34,920 --> 00:37:41,080 So we took a look at that, and what this Internet link does is it executes this program that 657 00:37:41,080 --> 00:37:42,380 drops a DLL on your system. 658 00:37:42,580 --> 00:37:45,760 The DLL happens to be named mchicken.zp.dll. 659 00:37:46,100 --> 00:37:47,000 If you remember, we used to call it mchicken.zp.dll. 660 00:37:47,020 --> 00:37:48,640 But we said what chicken was earlier. 661 00:37:51,740 --> 00:37:57,060 So it makes another startup.bat, which essentially injects this mchicken, sets it up as a service. 662 00:37:57,840 --> 00:37:58,780 And there you go. 663 00:37:58,880 --> 00:37:59,580 Your box is owned. 664 00:38:00,500 --> 00:38:05,980 So the next example, actually Clang Navy picks it up as Trojan Online Games, which fits 665 00:38:05,980 --> 00:38:09,680 with what Anthony was saying earlier, which is that the target of most of these attacks 666 00:38:09,680 --> 00:38:10,780 is to capture game accounts. 667 00:38:12,600 --> 00:38:14,420 This is another tool that we located. 668 00:38:14,520 --> 00:38:15,280 That's exploit. 669 00:38:15,560 --> 00:38:17,000 I mean, SQLite. 670 00:38:17,000 --> 00:38:17,560 It's a simple injection tool. 671 00:38:17,820 --> 00:38:23,880 It functions similar to the previous one, except it has way more functionality and is 672 00:38:23,880 --> 00:38:26,320 very useful and very easy to run. 673 00:38:27,520 --> 00:38:29,640 So we've got about five minutes left. 674 00:38:31,100 --> 00:38:35,880 Our conclusions are essentially the Chinese hacker community uses forums for communication 675 00:38:35,880 --> 00:38:40,140 as well as QQ versus here we use other methods. 676 00:38:40,580 --> 00:38:46,280 They very rapidly can deploy simple standard GUI tools for the latest zero days, even zero 677 00:38:46,280 --> 00:38:47,300 days we don't know about yet. 678 00:38:47,980 --> 00:38:52,760 And the tools are full of all kinds of identifying marks, as well as the output of those tools 679 00:38:52,760 --> 00:38:54,780 that we can sort of signature on or look for. 680 00:38:58,360 --> 00:39:02,880 And just like us, we have criminal hacker problems over there like we do here. 681 00:39:03,200 --> 00:39:05,200 We both suffer from the same kind of problems. 682 00:39:05,840 --> 00:39:10,740 And it's interesting to see how rapidly they jump in their shellcode sophistication. 683 00:39:10,980 --> 00:39:12,800 And the use of zero days is very prevalent. 684 00:39:13,160 --> 00:39:16,200 So we really want to do more collaboration like this. 685 00:39:16,220 --> 00:39:16,260 And we're going to do a lot of collaboration like this. 686 00:39:16,280 --> 00:39:17,920 Maybe have a China track in the future. 687 00:39:18,100 --> 00:39:22,500 Bring more researchers over from there to sort of help us understand where they're going 688 00:39:22,500 --> 00:39:23,100 in their community. 689 00:39:23,620 --> 00:39:26,960 And we found this to be very valuable collaboration between the two of us. 690 00:39:27,120 --> 00:39:29,020 And I'll let these guys comment if they have anything further. 691 00:39:31,660 --> 00:39:32,100 Yep. 692 00:39:32,380 --> 00:39:37,840 Actually, later on, there will be much more collaboration between our team than about 693 00:39:37,840 --> 00:39:38,340 malware. 694 00:39:38,960 --> 00:39:40,560 Do you want me to talk about it? 695 00:39:40,900 --> 00:39:41,340 No. 696 00:39:41,480 --> 00:39:42,000 We don't have time. 697 00:39:42,220 --> 00:39:42,660 Yep. 698 00:39:42,920 --> 00:39:45,620 Actually, I've got another slide about the downloaders. 699 00:39:45,620 --> 00:39:47,440 Of the China downloaders. 700 00:39:47,440 --> 00:39:49,640 But the time is insufficient right now then. 701 00:39:50,000 --> 00:39:53,520 Maybe I should put it on the web later and share with you guys. 702 00:39:53,720 --> 00:39:55,640 And also in the Q&A room. 703 00:39:55,740 --> 00:39:57,880 Then we could brief it to you more. 704 00:39:59,100 --> 00:39:59,540 Questions? 705 00:40:00,140 --> 00:40:00,780 Any questions? 706 00:40:04,280 --> 00:40:05,120 Thanks for waiting. 707 00:40:05,480 --> 00:40:05,820 Yep. 708 00:40:06,160 --> 00:40:06,740 Thank you. 709 00:40:06,940 --> 00:40:08,300 Thank you. 710 00:40:08,300 --> 00:40:08,460 Thank you.