start	end	text
5850	8270	And then I'm gonna show you the main folder of Hive
8270	10670	because I have a bunch of stuff that are interesting.
14220	17200	Well, first of all, you have there the binary of Hive.
17200	18660	Hive is running as a service.
18700	19960	And we have different things.
19960	23120	We have the sql database where everything is, literally.
23160	24560	And then we have different folders.
24560	25400	We have implants.
25400	28000	We have a staging where we are gonna save
28000	29740	all the created implants.
29740	32060	And inside that folder are gonna be the compiled implants.
32060	34340	It's gonna be also the Terraform plans.
37120	38000	Sorry?
40600	41800	Oh, yeah.
42200	44980	Well, it's a video, I don't know if...
44980	46200	Yeah, sorry.
47100	49280	I did not think about that, but you are right.
49280	53220	I don't think, you may not see as much.
54140	55460	But it's okay, we're gonna play mainly
55460	57140	with a graphical interface.
57140	60280	I am running right now the process of Hive
60280	64080	because I want to show that when you go to create an implant
64080	66520	the interface is what is...
66520	69140	Do you see the bottom line interface of Siesta Time?
69680	70400	More or less?
70400	73540	Okay, so this is a form for creating,
73540	74740	for crafting implants, okay?
74740	76240	So we just put the name.
76900	78900	We can put the time to the eye.
79160	81340	We can choose, this is the network model, right?
81340	82820	So we can choose between the difference
82820	84400	that I have already.
84540	85740	The ones that are working already
85740	88820	are HTTPS Go Paranoid and Gmail.
89460	92560	So there we're gonna pick up how the implant
92560	94180	is gonna address, literally.
96060	98760	We will have in the future other models
98760	100760	that we can pick up there.
100760	103500	But right now, HTTPS Go is the one that's working.
103540	105460	And now here, we can just add.
105460	107420	That's the different domains we have already
107420	110120	like saving or like Siesta Time framework.
110660	114080	And we can start to add as many as we like
114080	115500	for creating the implant.
115540	117980	So right now, I'm gonna add two different ones.
118200	122160	Each row is a VPC and a domain for this network model.
122160	125660	This means that we can provide in different VPC server
125660	128180	for like Amazon Azure, because it can be interesting
128180	131900	if we want to have like five or seven different credential
131900	134660	for Amazon or Azure, because we can make our implant
134660	137540	to maybe address to China, to US,
137540	141040	or maybe use Azure and Cloudflare, whatever.
141040	144060	There is like, we can put a lot of like diversity
144060	145480	here in the implant, right?
145480	147840	And domains, I'm gonna use my ST time one,
147840	150700	I think, or my ST time seven, ST time eight.
150700	152320	So we just click create.
152860	155160	And what's gonna happen in the background,
155160	158180	the job from the Electron UI is gonna be sent
158180	160560	to the Clango, and Clango is gonna send to Hive.
160640	162700	And now you're gonna see, if you see, sorry,
162700	164040	because I know it's very small,
164040	165760	that Hive is gonna start to compile everything.
165760	168760	There is like at least six compile goes going over there,
168760	170140	that they start to compile the implant
170140	173120	for the different platform that already have aware, right?
173120	175840	And that is gonna generate the binary inside Hive.
178020	179580	Sorry, if you don't see the source code,
179580	180900	you can check it later in the GitHub,
180900	184540	but literally here is, this is the string of the Clango.
184800	187540	And when I send the job, Hive is gonna choose
187540	189020	between the different option.
189080	192140	I'm gonna feed in the strings differently
192140	194220	to create the plan, okay?
196460	198760	So this is a plan for AWS.
198760	202140	We will have in the future plan for other like VPCs.
202140	203000	We will see.
203140	207720	And these are used the OSX for compile go.
207720	209240	And I know guys, what you're thinking,
209240	212580	crafting a string in OSX is literally a common injection.
212580	214580	I need to fix all the security vulnerabilities.
214580	218560	So, okay, this is the cross compilation of Golang.
218560	220800	We have the tags and we have the parameters.
220800	223060	The parameters is the JSON configuration,
223060	225560	because if we use a network module to use,
225560	228760	you know, like ports and domains,
228760	230140	we need some parameters,
230140	231520	while we are gonna use Gmail,
231520	234140	it will need like credential JSON and token JSON.
234140	235260	So in this compilation,
235260	237160	while heading to the implant, all the parameters
237700	240700	and the modules are the tags of Go
240700	243240	that let us to compile some class versus other ones.
243240	245500	So in that way, we can have modularity, right?
246560	250020	So these are the platforms that are like compliant right now.
250020	251580	We could do more maybe in the future.
251920	253260	And you can see on the top,
253260	256400	that is all is using like Golang encoding for JSON.
256400	258300	So everything is JSON in the tool.
258300	260220	I use JSON encoding because I mean,
260220	262500	Base64 is not enough for all the information
262500	263960	I need to send to them.
264400	266220	Also, because I kind of know web technology,
266220	267860	it's easier for me.
269400	272660	And this is the function that we generate the infrastructure.
272660	274940	I was talking about the strings I'm generating.
274940	276520	There is a lot of comments for all the debugging
276520	277900	I was doing recently.
283060	284360	So now I'm gonna show you,
284360	285940	this is the register battery option
285940	288040	of the graphical interface.
288040	290200	Here, we can like use add more credential
290200	292940	for different Amazon servers.
292940	295200	Like right now Azure is not working,
295200	297420	but for example, you choose Amazon AWS,
297420	298940	we have there all the information we need
298940	301100	for one instance of Amazon AWS,
301100	302260	and we can choose the region,
302260	304860	we can choose the MEI we're gonna use and everything.
308320	310840	I have right now two created,
311390	313660	and then the domain, similar way.
315600	318020	Now I have GoDaddy and Gmail.
320300	323160	We need to put the access key and everything for the domain
323620	326900	and for Gmail, similarly for the JSON and Crescent.
326900	328380	These are all the domains I have.
328380	331000	You can see that the one that say active,
331000	333680	they say no, that's the one that we can still use
333680	334680	for getting new implants,
334680	337640	because we have to spend some domains.
338200	339820	The graphical interface is gonna detect
339820	340980	that we have used them,
340980	342940	so it will not let us to create implants
342940	344120	with already working domains
344120	345860	because we are gonna like kill all redirectors
345860	347160	in that way, right?
347960	349940	We have the Gmail, we...
349940	352240	I'm gonna add here, because I want to do a POC here,
352240	354200	so my first Gmail account,
354200	355800	you know, these all are doing Gmail account
355800	357240	I have created just for the demo.
357360	359280	The third one is not working intentionally,
359280	360660	so now I'm gonna just add, you know,
360660	362580	the credential JSON and token JSON.
362680	364580	So you understand a little bit how this work,
364580	367600	the connection with Gmail is a OAuth connection, right?
367720	370780	So I just created my OAuth app in Gmail,
370780	373040	I just get my credential JSON and token JSON,
373040	375080	and with this, my implant and my redirector
375080	377740	are gonna be totally fine for regressing with it,
377740	379880	and sending all the payloads that I need.
381960	384300	So I'm creating this domain, we will use this domain later.
385400	388620	And here, I'm showing a little bit how,
388620	392040	you know, the Electron UI is sending the job
392040	394180	to the client goal, and this is literally
394180	395820	what we are gonna pass to the Hive,
395820	397460	and Hive is gonna process all that data
397460	399620	for add the domain, for example.
404010	408110	Here is all the job logs, and the error logs as well.
408110	410030	This is very interesting for them of reporting,
410030	411850	because everything we are doing right now,
411850	414110	everything is getting, like, safe.
414210	415710	So for generating the report later on,
415710	417370	you are gonna see that everything is safe.
420600	423080	So I'm showing a little bit here, the database.
423080	426940	This uses a SQL database, and everything you see there,
426940	428920	Hive is using a connection used to, like,
428920	431240	transfer all that on JSON, and send all that JSON
431240	433520	back to the graphical interface.
435960	437800	So here, we are gonna see in a while
437800	439980	that the implant is currently created.
440020	442640	You see, it took, like, a total of five minutes
442640	444060	to create the implant.
444240	445920	And there, in my Amazon account,
445920	449100	I have the first redirector already created.
449100	450160	I'm gonna call him red1.
450700	452300	And then, in a different region,
452300	455960	I have my next redirector already.
456260	458500	I'm gonna call him red2, because we're gonna play with this
458500	460100	when the implant is running, so you can see
460100	462200	that it's currently, like, performing, right?
465450	466970	Okay, this one is finished.
467870	469470	Let's go to the staging.
469530	472550	Okay, so we have seen we can create implants,
473490	475130	but stagings are very important,
475130	477330	because they will let us, like, do things,
477330	479150	like, for example, dropping our implants,
479150	481770	but also interacting with our session, like, faster.
482590	483970	So, right now, I have used, like,
483970	485910	three staging servers that works.
486070	487370	The Droplet, that is an Apache
487370	489670	with less-encrypted HTTPS certificate.
489670	490830	I have the Empire Handler
490830	493490	with HTTPS less-encrypted certificate.
493490	494990	I have Metasploit, as well.
495110	496450	We're gonna create a Droplet,
496450	497650	and we're gonna create an Empire,
497650	499030	and we're gonna create a Metasploit.
499030	501890	But, unfortunately, like, Empire, Metasploit,
501890	503690	you know, all the shell scripting to the load,
503690	505590	all, like, the dependencies take a time.
506450	508110	Similarly, here, we need to choose a domain
508110	510190	and a VPC for the Droplet.
510290	514050	We put the port, and we put the path
514050	515510	for, like, dropping our own implant,
515510	516950	and we just create the staging.
520640	522240	And then, similarly with Empire,
522240	524240	we choose Empire, we put the port,
524240	525580	and we just create it.
526100	528660	And in a time, I will say that in five or six minutes,
528660	531120	we'll see the staging number here, like, increasing
531680	533140	to, like, the number we have created
533140	534940	once it finishes to deploy.
540860	542220	Again, I'm showing the job.
542220	545040	I showed this before, so let's go a little bit ahead.
545460	547560	I'm gonna start to show you a little bit of things.
547640	548980	So, here is the source code.
549080	551740	Literally, Hive received that option, right?
551740	553780	Received, like, ah, okay, create me the Droplet.
553780	555780	And this is all the shell scripting that I am just doing
555780	558980	for installing the patch, to, like, sell,
558980	561980	signing the certificate with, like, lesson script.
562520	563960	That's Empire, that is just, like,
563960	565360	creating all the dependencies.
565720	569360	I'm gonna show you things, because what I have been telling
569360	571200	that the stagings that are running as a service,
571200	573160	Empire, and Metasploit, and also, like, Tunneling,
573160	576340	we're gonna see all that a little bit in internals as well.
577560	579960	So, let's see which one is our Droplet.
579960	581320	I think it's this one.
582040	583340	That is the Empire, okay?
583340	584620	We will interact with this later,
584620	585900	and that's the Droplet, right?
585900	586540	Perfect.
587480	590040	So, let's see, let's go ahead a little bit.
592520	594220	Yeah, I'm showing here why the domains,
594220	596820	they are now no active, because we have used them
596820	598980	for, like, the Empire, and the Droplet, and everything.
598980	599520	Okay?
601020	602660	So, let's go to the Droplet.
604060	605340	Here, I'm showing a little bit
605340	606760	how the staging folder works,
606760	608160	and this is similar to the implants.
608400	610500	We do see that I have received to create a staging,
610500	613260	this is the Defcon Empire that I have just created.
613360	615380	It has inside, use the Terraform binary,
615380	619000	the plan for deploying the redirector, the keys,
619000	620640	and all the service that I am installing
620640	622400	in the target staging server.
629410	634650	This is the plan of Terraform that my Hive has created.
634670	636830	And there is, with all the parameters,
636830	637930	the keys, and everything.
646050	652390	So, now I'm checking if the Droplet is working.
655190	657590	This is still not, so I'm gonna advance a little bit.
657590	658930	Let's see when it's prepared.
663010	665530	Okay, I think now it's gonna appear.
670480	671660	It take a time.
671660	673560	Now we have the Droplet already created.
673560	678560	So, now in the job log, say that it's created successful,
678560	681040	so just like refresh, and we have here the Droplet.
681280	683860	So, this is all automatic, the operator doesn't need
683860	685900	to know all this process I'm showing you guys.
685900	688360	So, now we need to check which is the path,
688360	689800	because in that path we can drop
689800	691520	all the implants we have created.
697840	700280	So let's just check which is the right path.
702960	704800	I'm checking, the interesting is not the path
704800	706360	we grow when we create the staging, right?
706360	708620	So, we are gonna put now Defcon,
708620	711000	that is the one that we have in the parameters there.
711120	713880	Defcon 27, and this will be the right path
713880	714860	for dropping our implants.
714860	717120	We can change this, because if we want
717120	720260	to put a long hash to hide our implants,
720260	722280	and anyone is messing with them, right?
722600	725380	And we will now drop the implant we just created before.
725840	728600	So, we go to implants, we check which kind of attack
728600	729480	we want to perform.
729480	730960	Right now it's just working drop implant.
730960	732860	Obviously, I say HTA, because in the future
732860	736080	we may like to automate the creation of IHTA
736080	737780	for dropping somewhere.
739020	742700	We choose the architecture, we choose the operating system,
742700	745600	put the name for the file we want to use,
745600	748960	we perform the attack, and then in a while,
748960	751440	when we see in the job logs that it's successful,
751440	754620	we have our drop implant in the staging server.
758120	761980	So now, we can just send a phishing email,
761980	763380	or whatever, and combine someone
763380	764960	to load the implant in some house.
764960	767640	It's a very basic attack, but it's one of the most basic
767640	769360	one that the Red Teamers could use.
776470	778130	So now in the video, I use advances
778130	779470	because Empire is taking a time.
779470	781130	I want to show the Empire right now.
786270	788290	Okay, so now we have working the Empire.
788370	791650	I'm gonna show you how we can connect through the operator.
791870	793630	So we just go to the handlers.
794290	795790	On the staging server, now we have
795790	796950	list for Empire over there.
796950	799370	We just interact with it, and client go,
799370	800850	and that's the reason why I have a client go,
800850	801850	because I can do like this.
801850	803990	I can just open a non-shared terminal,
803990	805810	and we have over there the Empire handler.
805810	808350	We can just go ahead and interact with anything
808350	810450	that is dropping on that Empire handler.
810470	813610	And remember, we are in our operator device.
813610	815590	We don't interact with the staging at all.
815590	817770	We just click a button from the graphical interface.
817770	819670	We have our Empire shared from now.
819750	821730	This is using Reptile over a process
821730	823670	that is running in the staging server.
829300	830740	And now in the end of the video,
830740	832420	you start to create the Metasploit.
832420	834100	But I just cut this video because Metasploit
834100	836100	take a time to create, so I just go to the next one
836100	838280	and show you that the Metasploit is working as well.
838300	839440	We have three staging here,
839440	841480	because I have the Metasploit already created.
842140	845060	And it works, as you can see, with ST time three,
845060	845880	I think, nine.
847900	850260	So then I just go to the handlers,
850260	853280	go to the Metasploit, and you see interact,
853280	855320	and I have the Metasploit handler over there.
855720	857680	The same as Empire, just clicking a button,
857680	860740	I have the non-shared, and the Metasploit working already.
860860	862900	As a service in a staging server that I can kill
862900	864520	whatever I want to kill it.
867580	869420	I'm doing a little bit of internals here,
869420	871280	to show you a little bit what's going on
871280	872280	inside the staging server.
872280	874400	So I'm gonna SSH into the Empire,
874400	876960	I'm gonna show you the service I created for it.
880410	882450	Let's see if you can see it, more or less.
882450	884410	Okay, so that one is the service,
884410	888390	it's literally the Metasploit handler running as a service,
888390	890350	and everything that is being typed in the handler
890350	892070	is saving in a log file.
892070	894430	And we'll use it later on for the reporting.
894430	897110	So you can see very well, but it's just like
897110	900070	the command for running the Empire handlers,
900070	901530	not anything else.
901570	904890	And then I'm going to Hive, because I have another service
904890	909770	that is with the remote tunneling with the staging.
910270	912570	So the operators can connect to it.
912570	915370	Wait a minute, it's here.
920300	923420	Okay, so in Hive, each time we create a staging,
923420	925620	Hive is gonna create a self-service in Hive,
925620	928920	and the name of the service is gonna be the staging name,
928920	932060	and it's just doing remote tunneling to the staging,
932060	933500	and opening a new port on Hive,
933500	934940	so operators can just connect to Hive
934940	938380	and interact with the staging in an invisible way
938380	940680	without interacting directly with the staging server.
942800	945360	Okay, so let's go to the fun part.
945940	947160	The implants, okay?
948060	951820	Let's test first the implant we did create before.
954980	956500	Because, okay, you are saying,
956500	958040	okay, you have been telling all the features,
958040	960780	but we want to see how the shells came back, right?
960860	963200	So remember, we have the droplet, we have the Empire,
963200	964500	we have the Metasploit.
964500	968700	So now, let's run a one-liner into this Linux box.
969340	970500	And with this one-liner,
970500	973260	that is literally just downloading the implant,
973260	976680	giving execution permissions, and executing it,
976680	979100	I just, like, will let Vcheeto run.
979580	981800	And this is in debugging mode.
982000	983780	If you can see, sorry for the delay again,
983780	985200	but this, literally, we can see
985200	987420	that the implant is starting to flow.
987440	989600	It's just reaching back the first redirector.
989600	993460	The first redirector is sttime, sttime7,
993460	995540	and we see the authentication header.
995540	999360	It's literally the implant ID, or that process implant ID,
999360	1000780	and the token that we generated
1000780	1002120	on the creation of the implant.
1002120	1005700	This way, we can check for relying attacks and all that.
1005700	1008420	So our implant is kind of, more or less, secure.
1008460	1011120	We're gonna see that we just got one Vcheeto there.
1012160	1013680	And then we just go to the ID
1013680	1015840	that corresponds to the infection.
1015840	1017700	We have all the checking information,
1017700	1019040	and we have also the redirector
1019040	1021240	that is attached to that infectation.
1021500	1023660	And we can do here different things now, right?
1023660	1026460	We have the interact button, that literally,
1026460	1029140	that is an extern that is sending jobs to hive,
1029140	1031520	and this is the job console I was talking about.
1031520	1033520	Right now, I just have exec,
1033520	1035360	that is just running a shell into the implant,
1035360	1037200	which we'll change that in the future,
1037200	1039220	but that's the modularity of the tool, right?
1039540	1041820	We send the job, we receive it,
1041820	1045140	but I want to show you guys more interesting thing.
1045180	1047540	So, you know, we can send jobs,
1047540	1050960	we receive it, that will be logged in the hive,
1050960	1052960	but we want to do post-exploitation, right?
1052960	1055180	So we just open our Empire handler,
1055180	1057660	we go to our Vcheeto, and we say,
1057660	1060380	okay, I want to inject a shell,
1060380	1063020	so let's just inject Empire.
1063980	1066140	And this is working through the redirectors, okay?
1066140	1068540	I send the job, let's inject Empire,
1068540	1071140	I am the same user interface, and I use wait,
1071900	1075660	and without directly interacting with the staging,
1075660	1078460	I do receive the Empire shell,
1078460	1081080	and I can just do my post-exploitation session
1081080	1083480	as much as I like without problems.
1083920	1086380	When I finish with the post-exploitation session,
1086380	1088680	I can just kill the staging,
1088680	1090780	and that's okay to go in the blue team,
1090780	1092500	say, okay, this server was doing weird thing,
1092500	1094160	it already doesn't exist anymore.
1094160	1097060	But my implant is still silent on the machine.
1098920	1102220	This is like the log for the normal jobs
1102220	1103760	that we can send to the Vcheetos.
1107320	1109440	I am testing now, you see my redirector,
1109440	1112260	I'm gonna kill it, and see how the implant
1112260	1115100	is transparently swapping from the first redirector
1115100	1117700	to the second one I did create for the implant,
1117700	1120260	and it's gonna continue working transparently.
1120260	1121120	Here, the redirector is saying,
1121120	1122680	where is my redirector, where is my redirector,
1122680	1124040	at least four times, and now it's swapping
1124040	1125280	to the next redirector.
1126480	1129280	And I can still work with it, sending jobs
1129280	1130680	is gonna work without problem,
1130680	1133000	because it still has a redirector attached,
1133000	1135520	that you see, it has changed to ST time eight
1135520	1137640	when it was ST time seven before.
1141170	1143310	And now let's go to the, a little bit,
1143310	1146430	what I think that is the meat of the talk.
1147190	1149970	We are gonna do the same, but using Gmail.
1149970	1152270	And particularly, we're gonna use Gmail draft
1152270	1153670	for doing the same, okay?
1153670	1156070	So literally, give me one string,
1156070	1157630	and you will be my redirectors.
1157630	1159410	So every company around there,
1159410	1161230	if it provides you a string,
1161230	1163350	you can use Egress with it, okay?
1167630	1170530	So this is another implant that I did create before,
1170530	1172030	because I was not to spend all the time
1172030	1173750	for creating another implant, right?
1173990	1176770	So we have here, Defcon Gmail,
1176770	1178730	is literally using two accounts.
1180870	1184070	Gmail, the one that we have, with the credential JSON,
1184070	1185510	I'm talking JSON, another one.
1185510	1186670	It's what I've just been checking out
1186670	1188150	with the first Gmail account.
1188830	1191570	We can see the same, we put it on a liner,
1191570	1193630	it's gonna download the binary, it's gonna execute it,
1193630	1195550	but instead of connecting with the HTTPS
1195550	1197550	to the redirector on my domain,
1197550	1199710	it's literally sending emails to Gmail.
1199910	1203330	Okay, that's the subject of the email that he's sending.
1203330	1205070	And if we go to the email account,
1205070	1206870	we can check that in draft.
1207610	1211750	We have just the draft, the subject is the ID
1211750	1214230	of the implant, and the body will be the JSON
1214230	1216190	where we send the payloads.
1216330	1218030	And what the blue thing is gonna see?
1218030	1220890	Oh, my employee is connecting to Gmail, nice!
1222290	1224830	So I think that this could be silent,
1224830	1227350	this is just a model of a lot we can create.
1227550	1229950	And I'm gonna do the same that I did with HTTPS Go,
1229950	1232170	I'm gonna just interact with it,
1232170	1235410	I'm gonna type some commands in the command line
1235410	1239690	of 60 time, and I'm gonna interact and send my empire shell,
1239690	1241150	and everything is working through Gmail,
1241150	1243310	don't forget about that, and it's totally transparent
1243310	1244710	for the operator again.
1244970	1248610	So let's interact with it, let's get our empire again,
1248610	1250950	and let's just inject the empire shell.
1252250	1255010	We have seen this already, so let's go.
1258440	1261740	So let's inject it, we choose the staging server
1261740	1263580	we want to use for the injection,
1265120	1267300	and this is just a launch, it's not a real injection yet,
1267300	1269240	but we can change that with the models.
1270680	1273880	So here we are gonna reserve our staging through Gmail.
1275280	1277660	Here we have, we receive the shell,
1277660	1279500	the implant is still running using Gmail,
1279500	1282560	but we are just processing our post-exploitation session
1283180	1284520	with the staging server.
1289540	1291160	I'm gonna go back to the Gmail account
1291160	1292820	so you see what's going on there, right?
1293240	1296700	We can see in the subject, that's just JSON,
1296700	1297820	that is just sending through,
1297820	1299640	the implant is sending back to the ready,
1299640	1302640	it's sending, the implant is sending this to Gmail,
1302640	1304420	the redirector we have deployed is connecting
1304420	1306040	to the Gmail as well, and then the redirector
1306040	1307520	is sending back the job to Hive.
1307520	1313060	So these are only two hops from the implant to the Hive.
1313480	1317380	So they could maybe cancel the offer to Gmail account,
1317380	1319240	but it still will be working with the next Gmail account
1319240	1320440	we can provide.
1321220	1323220	And I am not using any crazy technology,
1323220	1326800	use the Gmail APIs that Google is providing
1326800	1332580	for querying the draft and modifying the draft.
1335840	1337400	So yeah, these are the implants.
1340920	1343600	Persistence, or unfortunately I don't have it yet,
1344920	1348340	but let's go with the important part that we all love,
1348340	1349820	right, the reporting thing.
1350820	1354220	We forgot about this, but let's make clear,
1354220	1356340	like this is the most important for the Blue Team,
1356340	1358680	and it's important that everything we are doing,
1358680	1360640	we're reporting it, and we're like recording it,
1360640	1362720	we need to know what we have done, right?
1363160	1365280	So I'm gonna show the last video,
1365280	1368200	I think it's maybe the most important one,
1368200	1369240	and it's the shorter.
1369440	1372180	So let's go to the report that we have done a lot of things.
1372180	1374660	We have created implants, we have created droppers,
1374660	1378060	we have sent commands, we have interacted with two shells,
1378060	1382000	we have like, add new domains, we have done a lot of things.
1382000	1383640	So let's just create a report.
1384500	1386040	Hype is gonna receive this job,
1386040	1387980	it's gonna timestamp what we are doing,
1387980	1392160	and once the report is created, we can just download it.
1392300	1394420	And right now it's very primitive strings,
1394420	1397400	but in the future we may create a more clean report
1397400	1400980	with XML or something, so we can see things better.
1401060	1403380	So now I create the report, I'm gonna list that report,
1403380	1406620	it's called Plutin Help.
1406820	1409740	We download the report, and it will download directly
1409740	1412590	to the folder of the operator, and we can just like,
1413500	1415660	watch it, and it's not very organized right now,
1415660	1418320	but those are all the commands we have been sending to Hype.
1418320	1421980	And it's per-user basic, and most importantly,
1421980	1423940	we have all the interactive shell over there,
1423940	1425380	that is per-user basic as well,
1425380	1427440	so for every interactive session we have,
1427440	1429420	we can see what we have been doing.
1429740	1432700	Everything is recorded in reports, okay?
1433460	1434620	I have a question for you.
1434620	1435040	Yeah.
1435040	1440600	As far as exfiltration into Gmail.
1440600	1441000	Yeah.
1441000	1451160	What about like a...
1451160	1452600	So you say for exfiltrate data
1452600	1454540	from the internal company outside, right?
1454680	1459280	For the moment I don't have modules targeting exfiltration,
1459280	1461040	but we can create a new staging server
1461040	1462880	that instead of being called Empire,
1462880	1464400	Handler, or like Droplet,
1464400	1467100	which will call himself FXF exfiltration.
1467100	1468220	I was thinking about like,
1468220	1469680	why not use Facebook or Instagram
1469680	1472040	for like doing stenography over image
1472040	1473300	and then exfiltrate everything?
1473300	1476120	We could add a new staging for doing that.
1476340	1478220	I just need help for the commit to the GitHub,
1478220	1480020	because there is a lot of work there, right?
1480020	1481780	But we can do it, and we could have this framework
1481780	1483040	for doing everything, right?
1487600	1491900	So the EPA, I think it led you to do most of the things,
1491900	1493420	like I did choose draft,
1493420	1495940	because I did not want my implant erroneously
1495940	1498140	like sending an email or something like that.
1498140	1499460	That wouldn't be really fun, right?
1499460	1501380	And draft are kind of the same as message,
1501380	1502920	but they just keep a static there.
1502920	1504880	And if you don't call gmail send,
1504880	1507600	the information is gonna stay there.
1508100	1510460	But maybe gmail is providing you more APIs
1510460	1511940	that I don't know that could look like
1511940	1513420	more interesting thing.
1513460	1515160	I mean, right now, the fact you are using gmail
1515160	1517460	in terms of network regression,
1517460	1518780	the blue thing is what I just seen
1518780	1521680	that there is a computer that is connecting to a gmail.
1522120	1524740	And if they do deep packet inspection,
1524740	1526480	okay, they do deep packet inspection,
1526480	1528880	they are gonna see how many gmail from the company.
1529540	1531900	Maybe they can query now Vichito's thing.
1531900	1533540	That's the reason why Vichito is made.
1533540	1536120	Now they can detect Vichito by maybe querying that string.
1536120	1538260	But we can create a new model that uses gmail,
1538260	1539620	but in a different way, right?
1539680	1541920	And then blue team will detect with our first implant,
1541920	1544800	but the second one that we just have, maybe not.
1545560	1548480	We can, as a red team, we can use a new very cool thing.
1548500	1550000	We can have successful operation,
1550000	1551220	help our blue team to detect,
1551220	1552900	but then we can help the rest of the blue teams
1552900	1554060	to detect that as well.
1554060	1556400	We don't need to be selfish on our operation, right?
1556400	1558300	That's how security industry works.
1566690	1568330	So future work.
1568870	1571030	I mean, this is a very baby project,
1571030	1573410	has tons of bugs, tons of security vulnerabilities,
1573410	1574850	I need to fix a lot of them.
1575490	1578170	But you know, the more things we have,
1578170	1581490	the more strength we can give to the framework.
1581710	1585130	I have seen a lot of things to add in the future.
1585790	1588550	Obfuscation, new kill chain attacks.
1588550	1590990	I mean, using Google Analytics to address,
1590990	1592410	it will be cool, right?
1592650	1595930	Like, how many embed devices use Google Analytics?
1596230	1599030	And how many string will Analytics is providing to us?
1599090	1601130	We can perfectly address with it.
1601330	1603890	It's just, I need to study the API, that's all.
1604770	1607470	A lot of things to do, and I really ask for help here.
1608010	1609190	That's everything.
1609570	1612010	Thank you so much for making this possible
1612010	1613890	and make part of DEF CON.
1614750	1618050	This is more than a talk to show what I have done,
1618050	1620490	it's more a talk for like, call for commits.
1620710	1622810	I would really like people to like,
1622810	1624770	come into the GitHub, say me Alvaro,
1624770	1627470	you know, like this cool new module could be added.
1627570	1630150	Let's do this tool, amazing, right?
1630150	1631850	Let's use it all together.
1632130	1633970	And let's not forget that this,
1633970	1636610	even if it looks very offensive,
1636610	1638010	is for helping the blue team,
1638010	1640930	because it's our last thing to do.
1640930	1642030	It's the most important thing to do
1642030	1643750	and the last thing that we finish in doing.
1644050	1645530	That's everything, that's the repository,
1645530	1648550	everything is up, and question time.
1659000	1660540	I'm gonna post the slides,
1660540	1662520	the video I think is gonna be posted as well.
1662660	1664900	I will use my GitHub account, my Twitter,
1664900	1666980	everything is gonna be online.
1666980	1668700	And the tool is already ready to use,
1668700	1671040	has a lot of bugs, but you can use it and see,
1671040	1673220	you know, you see something that is really horrible,
1673220	1674040	we can fix it.
1681890	1683610	You can add your domains, totally.
1683610	1685490	You can add how many domains you like.
1685530	1686150	That's the...
1686150	1687930	The name, the name of the domain.
1688150	1689850	Well, when you register a domain,
1689850	1691190	you are kind of using that, right?
1691190	1691790	You can...
1691790	1694190	I have still no added subdomains to it,
1695030	1697150	but because I have not seen as many potential
1697150	1698310	in terms of, like, silent,
1698310	1699430	because when you use a domain,
1699430	1700670	they block that domain chain,
1700670	1702910	and then all the subdomains will go ahead, right?
1703070	1704490	But we could use that.
1704490	1707130	Everything you think that could be added, we can do it.
1708030	1710030	Right now, it's just adding your domain,
1710030	1711270	and that's all with your credential,
1711270	1713010	you can change the IP for that domain.
1714450	1716870	But we could think of a new model for domains,
1716870	1718430	with new, different ones, right?
1719950	1720750	Thank you.
1720750	1721550	Yeah, you're welcome.
1721610	1722690	How come you went with Electron
1722690	1724650	instead of just a web app,
1724650	1726410	or just a usual browser interface?
1727850	1729230	I did choose Electron,
1729230	1732670	because I want it to be cross-platform, kind of.
1732670	1734150	Right now, it's just working on Linux,
1734150	1735990	but also, like, I wanted...
1735990	1739650	I know that a normal web page can be cross-platform as well,
1740030	1740810	but I don't know.
1740810	1742810	I like it to do things like the thing I did.
1742810	1745070	Like, I can click a button,
1745070	1746950	and then, I mean, I could, like...
1746950	1748610	It's true, I could do that in the same way
1748610	1750070	with a web browser.
1750230	1751510	I don't know, I chose Electron because
1751510	1753830	I wanted to learn about that technology as well,
1753830	1755430	and I think it looks nice, too.
1755490	1757770	But everything, I think, can be perfectly made
1757770	1759190	without just a web browser.
1759550	1761230	I don't know, just a technology decision.
1761290	1762210	We can swap that.
1762210	1764110	It's just, like, HTML, CSS,
1764110	1765830	we can just, like, change that to a browser.
1765830	1767350	In fact, we can even create a new, like,
1767350	1768830	user interface that uses a browser.
1769030	1769570	There is no...
1769570	1773370	We just, like, need to send and receive information
1773370	1774930	from the client, though, so.
1775830	1776890	Thank you for the idea.
1777330	1780310	I was just curious if you had a particular reason
1780310	1783830	for a particular library running that needed Electron.
1783830	1784230	No, no.
1784230	1786970	We can do perfectly with web technologies, everything, yeah.
1786970	1788870	I don't feel there is a blocker for that.
1789690	1790050	No.
1790250	1794050	What have you done so far?
1794050	1795570	Well, I...
1795570	1797370	All the ones that exist already,
1797370	1799450	but I have not, like, spending as much time
1799450	1802450	with things like TCPIP, because...
1802450	1805430	I mean, if a lot of, like...
1805430	1807350	I mean, there is a lot of libraries with TCPIP.
1807350	1808790	I'm not gonna do better than them.
1808790	1811350	But also because I do feel that most of the aggression
1811350	1813690	nowadays is only through the HTTPS.
1813690	1816350	So I say, okay, I start with HTTPS right away,
1816350	1817910	and the next network model I'm gonna create
1817910	1819710	is gonna be, like, one step ahead.
1819710	1822150	I do feel it's using, like, software as a service, right?
1822150	1824430	So every software as a service that you can imagine,
1824430	1825370	we can use it.
1831790	1833410	We can use Slack, perfectly.
1837770	1838130	Every...
1839950	1840310	Everything...
1840310	1840970	Well, we can...
1840970	1842010	Yeah, we can not use...
1842610	1844390	I mean, everything will hit you in a stream.
1844390	1846710	I thought about Gmail for one simple reason,
1846710	1848050	because I did not have as much time.
1848050	1850690	I was using Go, and the Gmail API is amazing.
1850770	1852130	You can do a lot of things through Go.
1853130	1853670	Sorry?
1853670	1855250	Is it not a lot of people blogging?
1855250	1856170	Oh, yeah, exactly.
1856170	1859370	Also, for the most silent, but Slack will work as well.
1859370	1861130	Like, again, everything...
1861130	1862810	Every company or software as a service
1862810	1865550	that give you for free the ability to, like,
1865550	1868190	interact with it and pass it a stream,
1868190	1869870	it will be working for aggression.
1869870	1872890	You will need to think a little bit better
1872890	1873910	how you are doing it,
1873910	1876510	but it's perfectly, like...
1876510	1877930	You just need a place to...
1877930	1879950	Yeah, you need a place just to put information, yeah.
1880630	1882230	Can be images, too.
1882230	1883570	I was thinking about Instagram.
1883590	1885710	How cool would it be, like, just uploading,
1886170	1887810	you know, the same photo of David Hussle
1887810	1889330	for, like, in Instagram.
1889410	1892170	Anything that's popular and has a good API.
1892390	1893990	Exactly, that's the idea.
1894310	1896530	And we can, like, work on it.
1896630	1898870	I definitely, I'm gonna be supporting this tool
1898870	1899850	as much as I can.
1899850	1901630	I'm trying to get it better.
1901630	1903630	Now, I'm gonna focus a lot in bug fixing,
1903630	1905530	because, I mean, everything works,
1905530	1907710	but, like, sometimes the implant does something weird,
1907710	1909790	and the implant is very important at worst code,
1909790	1911110	because if the implant fails,
1911670	1913150	what's this about, right?
1913690	1914630	So, yeah.
1918450	1919470	Yeah, I was...
1919470	1921990	I would want to talk about that, like...
1921990	1924630	I mean, ideally, I should create my own, like,
1924630	1926850	interactive console, right?
1926850	1928730	But it's a lot of job.
1928730	1931530	It's a lot of low-level things that I still doesn't know.
1931530	1934370	I know, like, basic Windows API, maybe OSX.
1934370	1936470	Yesterday, they did a very good talk about Swift.
1936470	1938050	We could, like, use that source code
1938050	1939910	to create our, like, Swift implant,
1939910	1942890	and just use the Golang Swift library to do it.
1942890	1944530	If this exists, I think, yes.
1945510	1948930	So, yeah, like, the implant requires a lot of heads,
1948930	1950350	or, like, system programming,
1950350	1951930	and I would love to have those people
1951930	1954150	working on it, too, like, having this, right?
1954590	1957130	And now, the models that they run are jobs
1957130	1958630	that are very, like...
1958630	1960130	that are very, like, simple.
1960130	1961970	They are just calling Golang OSX,
1961970	1965130	and any simple ADR is gonna detect that.
1965350	1969370	But if we change OSX for, like, the real, you know,
1969370	1972150	Windows or, like, OSX APIs or Linux API,
1972150	1974050	for, like, just listing for LS,
1974050	1975570	instead of, like, calling LS in the shell,
1975570	1977030	we just create our own LS,
1977030	1978950	copying some source code that is around there.
1979530	1980930	And ADR, we need to do better,
1980930	1983370	because the more we blend in with the rest of the software
1983370	1985410	in the computer, the better, right?
1985610	1987330	So, that's the objective.
1987550	1989310	But having this already made is useful,
1989310	1991530	because if the blue team want us to be detected,
1991530	1992870	we just, like, swap the implant,
1992870	1994770	we would choose this one, that is the first one,
1994770	1996510	and they will detect that, we're like,
1996510	1998850	oh, we detect something, that's nice, right?
2000470	2001450	So, yeah.
2002990	2003750	Good?
2003950	2004350	Okay.
2004350	2006310	If there are no other questions...
2006310	2007150	Thank you.
2010270	2011070	Thank you.
