start	end	text
0	3940	This next talk is presented by the Packet Hacking Village.
4200	7940	And it is absolutely my pleasure to introduce to you...
7940	9960	well, I'm not going to... don't clap yet...
9960	11620	Mr. Pete Hay.
11700	16820	Pete Hay is Principal Security Strategist...
16820	20640	oh, I'm sorry, Strategist at SimSpace.
21300	25800	Yeah, he's also the founder of the CyberReport.
25800	27760	Got it? Okay.
27760	31900	And Pete's presentation is on the importance of arts and craft.
32740	34760	By the way, I will have to say...
35420	37320	arts and craft is becoming a lost art.
37320	39400	I would imagine you're going to be mentioning that.
39560	40240	Sadly.
40240	41580	Absolutely the truth, yes.
41580	42680	In ThreatOps.
42680	45540	And it is now my absolute pleasure to introduce to you...
45540	46500	Pete Hay!
48300	49580	Thank you very much.
49580	55660	I will be your guide on this next exploration of arts and crafts in ThreatOps.
55660	60060	The topic comes from my personal experience, my background.
60060	61540	I have to do the about me.
61540	66500	I don't think I get paid all of that nothing that I get paid for doing this if I don't show you this.
66940	71840	My background is I am a recovering Navy sailor.
72460	74480	That's going perfectly. Excellent.
74480	76240	The live demo gods are angry.
78720	81340	And then I spent a bunch of time teaching after that.
81340	83820	I taught JCAC, a couple of other places like that.
83820	91080	And one of the things that struck me and this concept of arts and crafts started resonating as I was teaching.
91080	97020	Because one of the things that's so important for learning something is having a visual medium for delivering your concepts.
97140	102040	And to be completely honest, I am terrible at drawing.
102200	105860	And my students, I'd draw something up there and be like, yeah, that's a laptop over there.
105860	107480	And they'd say, it is?
107760	108900	And I'd say, yes, I promise.
108900	111420	But look, they didn't hire me for my arts and crafts skills.
111420	113220	And I said that for years kind of as a joke.
113220	117560	And what I realized is getting better at arts and crafts is something I desperately needed.
117560	120280	Because it's such an information-dense medium.
120440	123260	So on top of that, I'm, like I said, a teacher.
123260	124380	I'm neurodivergent.
124380	129940	And you're probably going to see a little bit of that come into play as I'm mentally up here saying, slow down.
129980	131180	Slow down.
131420	135660	And also, I really like the visual medium for that reason.
135660	138680	Because not everybody learns the same way.
138680	148600	When you're neurodivergent, you're increasingly aware that other people might also diverge from the...
148600	152140	I don't want to think too hard about that.
152140	155600	But other people may not interact with the world the same way that you do.
156000	160040	And so for that reason, I want to teach audibly as I'm speaking.
160040	161620	I want to demonstrate visually.
161620	164280	I want to give people repetition, hands-on.
164280	172580	And the combination of those mediums means that there's going to be a greater throughput or a greater baud rate of data transfer and more success along the way.
172580	175060	So that's where this concept of arts and crafts.
175120	178120	And then because you're all captive, I'm going to show you pictures of my cute family.
178240	179960	And tough. You've got to deal with it.
179960	180940	So there we go.
181740	182120	All right.
182120	185560	So Arthur Brisbane said, a picture is worth a thousand words.
185560	192600	And I think that's the core concept that we're talking about today is the density of information that you can put in a visual medium.
192600	197960	And so my follow-on is, well, how many words then is a good diagram actually worth?
198060	207340	The reality is what I'm going to try to show you today is we can convey a great deal of information in a good diagram.
207480	218360	And I'm going to be using the medium of threat intelligence and incident response and incident reports as a way of conveying that we can condense that information down and make it more accessible to people.
218360	224920	And what I really like about it, and again, this kind of goes back to both the teaching and the neurodivergence, is not everyone is an expert in everything.
225120	228280	And you'll be shocked to hear that I am also not an expert in everything.
228460	236740	And so when you get a great picture, a great diagram, a great analogy, that helps lower the barrier of entry.
236800	241500	And it's one of the things that I've really enjoyed watching change over the time that I've been in cyber.
241500	248220	There was a time where there was a lot of elitism and kind of not invented here, we're red teamers or whatever, whatever, whatever.
248480	250840	And I feel like that's changing for the better.
250840	253880	And so I'm really excited to share this with you.
254380	258260	So my concept is, first of all, diagrams.
258320	262000	Diagrams are an essential part of cybersecurity knowledge management.
262200	265140	Most diagrams focus on a single domain though.
265140	270780	So I have some examples up here that I've taken out of Cisco reports and one of them is from a Mandiant report.
270780	274520	And what you have is Cisco has this great timeline.
274520	278840	Like what's the history of the APT that we might be looking at there?
278920	285140	The one that I really like from Mandiant, it is actually useful, but what I love about it is, the second one there,
285140	292460	is that is the history of the different tooling that APT 43 has used historically.
292560	298100	And if I didn't explain that to you, there would be essentially no way to glean that from the image.
298100	302500	And it's there, it's useful, it needs words surrounding it.
302900	308080	And if that's what you're looking for, it can be very useful and very informative.
308460	315580	But one of the things that bothers me about this a lot, and I know Mandiant is down there, so don't rat me out.
315580	320740	But the X and Y axis don't mean anything in that diagram.
320740	327620	And that bothers me to a great deal because there's nothing to contextualize the visual medium to help me understand what I'm looking at.
327620	334620	And then finally, we have an example of what I think is a very good diagram from a Talos report on...
334620	342400	and I'm actually a new unknown actor that's attacking Ukrainian and Polish government entities.
342400	347660	And what they're showing is the timeline of the behavior of a piece of malware.
347660	354340	That initially, at the first stage, it is some kind of lure, whether it be PowerPoint or Excel.
354340	360900	And then from there, you get different outputs. And the idea is they're showing you a flow, a logical flow of what takes place.
360960	364280	I like some of these things. I dislike some of these things.
364280	370720	And so what I've tried to do is put it together in a way where we can use the X and Y axes effectively.
371080	373920	And here's the thing. There's a risk with that.
373920	378760	And as we know, there's a rule that there must be an XKCD that covers this concept.
378780	380020	There is.
380020	384220	There are 14 competing standards. I think I've shown you three of them.
385660	392280	So obviously, I'm the guy to create the new one, the one standard to rule them all.
392680	394780	And what's the outcome of that?
396500	398000	15 competing standards.
398000	402560	So my goal is not actually... I've had this in mind from the beginning.
402560	405020	So my goal is not to create the one perfect standard.
405020	412380	What I want to do is, like so many things, I want to give you a tool that you can put in your repertoire and break it out at the correct time.
412580	417240	I think you'll find that what I'm showing you is really, really good for things like executive summaries.
417540	420100	Maybe if you're familiar with the term bottom line up front.
420300	422800	That sort of thing. This visualization is going to do that.
422800	429880	And then the beauty of it is, depending on how you present it, you can actually put a lot more information for people to zoom in closer and get more detail.
429900	431500	So we'll go over that in just a moment.
431500	434520	Everybody ready? Loose? Good? Me too.
434980	439680	All right. So how do we organize the data? First of all, great question. Very glad you asked. Appreciate it.
439780	442780	You all are really on top of it. And I appreciate your engagement.
443860	446320	So what I'm doing, I call this a threat matrix.
446860	452460	Mostly because it sounds cool and because I'm going to use a lot of geometry, not geography. That would be different.
453140	457760	Geometry related terms and it kind of seemed to go together, so deal with it.
458240	460840	I've spent some time in marketing. I'm sorry. I apologize.
460840	465120	So the matrix idea is we have two axes.
465520	470600	And on the first one, I'm going to use, excuse me, on the X axis, a timeline.
470600	474560	Why a timeline? Because shockingly, it's not there on lots of things.
474560	481360	So we kind of have it in threat intelligence in terms of fate, like Mandiant, threat attack life cycle.
481540	486060	We have, I see a lot of people looking like this. I apologize. There's a better view coming soon.
486400	487720	Save your necks.
487720	495380	But we have this idea of maybe, we want to say tactics, right? The columns in the MITRE ATT&CK framework.
495900	501700	And there is kind of a sequencing, kind of a timeline, but it's not guaranteed to be accurate.
501700	509100	And when we want to understand actual behaviors, actual TTPs associated with a threat actor, we need sequencing.
509100	514400	And time is the method that I chose for sequencing the behaviors of a threat actor in this case.
515880	520820	So first of all, the X axis timeline, like I said, and I have a couple of examples.
520820	523660	This is what an attack's timeline looks like in a Talos report.
523840	527800	There's another example of a timeline in terms of looking at a single binary.
527920	530800	And I think I mentioned earlier that they tend to be domain focused.
530800	535640	So in this case, the domain is history. In this case, the domain is the behavior of a given binary.
535860	541060	And over here, you have a completely illegible layer of the MITRE ATT&CK framework,
541060	543420	which is both the strength and the weakness of the framework.
543500	547320	It can cover a lot of things. On the other hand, it also covers a lot of things.
547320	549180	So it takes up a lot of space, right?
550000	552060	So there are at times...
553040	555240	Apparently, I need to just stop pacing. I don't know.
556720	561840	I'm going to generate some kind of tick as I try and figure out what I have to do to make that not turn black.
562020	567060	So the idea being that there is a lot of information conveyed there, but there's not a...
567060	570060	You'll notice in the MITRE ATT&CK layers, there is no...
570700	573140	The hip bone is connected to the thigh bone.
573140	576140	Technique A leads directly into technique B.
576460	582420	And so when we're talking about detection engineering or designing TTP-related detections or responses,
582420	585400	though the techniques are valuable and important,
585400	592480	it is difficult to put them together and have them coalesce into a response action or a detection that one can employ.
593120	597940	And so, again, I'm proposing using time or sequencing, however you prefer to think of it,
597940	600440	as a manner of conveying that visually.
601780	605180	And then, of course, yep, timeline. There we go.
607020	611240	The other thing I have is the y-axis, which I'm calling artifact planes.
611820	615560	The idea being I want to cluster things based on where you find them.
615980	621480	So I started with host, network, in terms of the planes.
621480	624000	You can subdivide them to your heart's content.
624300	629180	I'm not going to stop you. There's no, you know, artifact plane police, I promise.
629580	634200	But my thought is I've divided them into places where I commonly find things,
634200	636620	internal and external network artifacts.
636840	641000	On a host, you might have things that are resident in memory and have other things that are resident on disk.
641000	642800	So I subdivide that way.
642820	647220	You could do cloud. You could have, like, network, compute, store,
647220	651660	all locations that you would have logs or artifacts indicating behaviors.
651840	654080	Because that's the core. We want to get to the artifacts related to the behaviors
654080	656820	and visually represent all of the above.
657360	660360	All right. So then we break those down into nodes.
660840	664460	What are the nodes? Well, it's the thing that relates to it.
664480	671220	The really important thing is commonly when you have a log, it relates to a thing.
671460	674080	And you have, so for instance, I'll use Sysmon.
674080	679060	We have lots of different event IDs that indicate the behavior of a process.
679240	681800	But we don't coalesce that down into the process.
681800	684520	The process did this, the process did that, the process did that.
684520	686500	The process related with something in this way.
686500	690580	And that's what I'm proposing we actually graphically represent up there, I promise.
692180	692800	See?
695080	697020	So what sorts of nodes do we have?
697020	700100	Well, you see, there's an email up there, and I used an email picture for this.
700100	703640	You could draw boxes as well. And if I were drawing, I assure you, I would.
703640	707720	Sometimes I'll do circles. They kind of even look like circles when I draw them.
708160	713700	So whatever it is you want to represent, there's a medium, there's a manner that you can represent it.
713700	719820	So examples, file servers, host, endpoint, infrastructure, email, attachments, links, web servers, domains.
719820	721620	Those are all things you might find in the network.
721880	726260	In the host, you might find a host, by the way. Those exist.
726260	730060	We should know stuff about them. Addressing, domain names, et cetera.
730060	732020	IP addresses, MACs.
732520	738100	Then on that host, there may be processes, user context, registry files, name pipes, et cetera.
738100	740120	Fair enough? Following along?
740120	742240	Cool, cool, cool. We'll get to the fun stuff soon, I promise.
743720	746080	All right. Network plane.
746600	751640	Another couple of things that I've done here is one of the things I realized as I was looking at this in terms of artifacts,
751640	753740	there are certain places where you get a lot of artifacts.
753860	757160	And I don't really want to draw a line for every single artifact.
757280	758900	That's where I drew these triangles.
758900	761620	I'm trying to represent the relationship.
761700	765980	So if in one being a C2 session, essentially over time...
766940	768540	Sorry, my hands got big there.
768540	772360	Over time, that process communicated with a single endpoint.
772360	774980	So it's kind of like many connections to one endpoint.
774980	777320	That's what that shape of the triangle is trying to represent.
777900	781560	On the other hand, we're talking about enumeration on the local network.
781560	786520	So again, you'll notice that's all combined in the internal network artifact plane.
786520	788460	It's finding multiple hosts.
788460	793280	And it's one host scanning multiple endpoints, multiple IPs, et cetera.
793320	795840	Different shaped triangle. Fair enough.
795980	799220	I love how you're all coming along with me because you basically have no choice.
800500	801840	All right. Host plane.
801840	803240	Same kind of idea.
803240	806760	I subdivided it into memory and file system artifacts.
806760	809940	You notice I put the registry on the line between the two because, you know,
809940	812020	sometimes it's in memory, sometimes it's on disk.
812020	813360	That made sense to me.
813400	814260	Do what you want.
814260	816560	You can represent these things however you wish, right?
818680	820540	No artifact police here.
821160	824520	And again, we have processes, files being written to disk,
824520	828480	and you can see the writes, reads, loads, et cetera, being the lines connecting them.
830280	832300	All right. How do I use it?
832520	834580	Again, y'all are really on top of things.
834580	836180	I appreciate it. Great question.
836880	839000	I really appreciate you being here with me for this.
840320	843840	So I've actually got a couple of use cases, and I'm going to stop pacing now
844400	846640	and sit down and walk through them with you.
847020	849120	Just so you know, I'm going to use Miro for a lot of this
849120	852480	because, again, you remember the part where I covered I'm bad at drawing,
852480	854460	so we're going to let the computer draw for me.
854880	857480	So what I'm going to do is I'm going to sit down, I'm going to swipe over to Miro,
857480	859780	and I'm going to walk through Royal Ransomware,
860400	862960	and that one we're going to actually dive a little bit into the weeds.
863320	865700	It's going to be literally function level.
865920	867540	There will be assembly on there.
867540	870860	And the beauty of it is I don't have to memorize all of it,
870860	872700	so I'm going to show you how to use comments and things like that
872700	875520	to make it really, really easy to operationalize that threat intelligence,
875520	879260	to show the flow of the program, the binary in that case.
879540	882840	For Talos, the Talos report, it's Euro Trooper,
882840	886820	and we're going to examine how it is that Euro Trooper conducts themselves.
886820	889480	We're actually going to visually see their behaviors,
889480	891280	and we're actually going to talk about a use case
891960	895620	where with Euro Trooper, they have a single dependency,
895620	899220	though they have multiple lures and fishing techniques,
899220	904020	they have a single central point when it comes to their getting from stage 1 to stage 2.
904160	907960	And if I were designing detections and response actions,
907960	909580	this is what I would target.
909740	912830	And I think it becomes very visually obvious,
913180	916340	and it's funny because sometimes I think threat intel,
916340	920260	operationalizing threat intel and designing behavior-based hunts and response actions
920260	922340	is viewed as difficult,
922340	927540	and in this case, you're going to see identifying what needs to be hunted on or responded to
927540	929500	becomes pretty easy visually.
930060	932520	And then finally, I've got two more things,
932520	934740	and we'll kind of see how we're doing on time on that,
934740	939220	but there's a new attacker against Ukraine and Poland.
939220	941240	That report came out from Talos last week,
941240	944080	and I wanted to do something really, really fresh,
944080	947920	mostly because I was doing it anyway, and I thought it would be fun to share with you,
947920	950880	and show you how the visualization comes together.
950880	954820	And the thing that's interesting about this one is Talos hasn't really finished their report.
954820	958460	They did kind of an initial report, and we can show you what we know up to that point,
958460	960900	and then we see the dropper in the second stage,
960900	964360	and then they're kind of like, well, we haven't really done all the analysis beyond this,
964360	970160	but we get the ability to defend because, again, there's that chain of dependency.
970160	971900	And if you can break that chain of dependency,
972700	979700	then you have a viable technique kind of irrespective of what follows in stage three and four of this attack.
979700	981940	There's also something that really bothers me.
981940	987480	You hear this phrase commonly that the defender has to be right all the time,
987480	989620	and the attacker only has to be right once.
989700	992720	And my good friend Bobby is sitting right over there, and he's a red teamer.
992720	998940	And I've heard him cuss a lot at certain times, and that's because it's not that easy for red team.
998940	1000600	They don't have to just be right once.
1000600	1006960	There are a lot of things that have to go right in order for an exploit operation to be successful.
1006960	1013160	And so really what we're going to do is we're going to try and identify those connections that are vulnerable to a defense action
1013160	1017240	and kind of kick the chair out from underneath them and make Bobby start cussing again,
1017240	1020680	which is a good thing any time I can make it happen.
1021540	1026460	And then if we may be able to get into examining using this for incident response,
1026460	1027920	we'll just see how that goes with time.
1028500	1029840	All right, buckle up.
1029920	1036940	So with Royal Ransomware, what I've done here is, and again, I want to make sure that nobody is thinking I'm telling you,
1036940	1039740	I'm doing research for myself. This is not. This came from a Talos report.
1039900	1042220	The link is in the attachments on this.
1042700	1047760	What I am doing is I am standing on the backs of giants in this, and I'm just trying to make it more accessible to others.
1048520	1052580	So first thing I do is I add a comment that has the link to the content.
1052580	1054440	This is where you can find the original research.
1054560	1056220	You're more than welcome to look it up yourself.
1056920	1061160	And again, that's going to kind of back up everything that I have to say about this going on.
1061160	1067740	So you'll notice we have three planes here, local network, host memory artifacts, and host file system artifacts.
1067980	1074860	And it's kind of quiet outside of the host memory artifacts until we get to the point where the ransomware starts encrypting,
1074860	1076400	and then it gets real busy real quick.
1076680	1077980	So we'll start.
1078240	1080300	What is the method? Well, it's phishing.
1080480	1084560	We don't have a lot of detail on how it happens because there are a lot of different Royal campaigns,
1084560	1087460	and so I'm not going to belabor the point on how that might get there.
1087460	1092420	We're going to start with an executable, getting written to disk, getting clicked on.
1092420	1095180	You'll notice the parent process here is explorer.exe.
1095180	1098780	That means one of you people clicked on it.
1100160	1101160	Somebody did.
1101580	1104560	And then we have Royal ransomware running on the system, right?
1105540	1108080	Because, again, does it really matter how it got there?
1108100	1114060	In this case, at this point, we are trying to look at the function level, how this ransomware actually behaves.
1114060	1117180	Not as important to know how it got there when that's what we're examining.
1117540	1120220	So the first thing we have, we start exploring functions.
1120220	1122460	And you'll notice there's a lot of detail here.
1122460	1123880	So I put it in comments.
1124060	1127680	Why? Because if I wanted to do an overview, I can zoom out right here and say,
1127680	1131080	all right, it does a couple of things, and then it tries to delete the shadow file.
1131080	1132540	That's what's happening down here.
1132660	1137540	One of the really interesting things that happens is this function calls command.exe,
1137540	1139340	tries to delete the shadow file.
1139340	1143380	The command line is very specific, very signatureable, very defendable.
1143380	1149140	And by the way, Royal isn't the only malware family that tries to delete the shadow file in the exact same way.
1149380	1156760	So if you were to use this technique, if you were to build a defense against an executable running command,
1156760	1160140	trying to delete the shadow file with this exact set of switch options,
1160140	1162860	which is probably a little hard for you all to read down there,
1162860	1167840	but that's Windows system 32 vs. admin.exe delete shadows all quiet,
1167840	1173400	you would not only successfully defend against Royal ransomware, but other ransomware families as well.
1173400	1175880	This is one of those points of coalescence.
1176040	1182680	Why? Because ransomware has to delete shadow files in order to be successful in preventing restoration, right?
1183000	1186900	So, shockingly, there are a finite number of ways to do that,
1186900	1191340	and this is an excellent place to identify and focus defenses around.
1191820	1199660	Next, we could get into this and talk about every single aspect of what each function is doing,
1199660	1205640	and I'm not going to do this for this talk, because the talk is not about Royal ransomware as excited as I would get about diving into that,
1205640	1207160	because again, it's not my research.
1207280	1211200	What I'm doing here is showing you how you can convey what is taking place.
1211440	1216500	So first of all, at one point, it splits into an encryption slash network thread,
1216500	1219580	and then it starts scanning the network for other vulnerable machines,
1219580	1221480	other machines that it could potentially encrypt.
1221480	1224960	I think we can all agree that's pretty bad, and we would like to prevent that.
1225280	1230380	The other thing that happens is it spins up separate multithreaded note writing.
1230380	1234000	It has to write its ransom notes, and it multithreads that as well.
1235120	1239620	And then finally, it actually starts enumerating SMB shares,
1239620	1241920	which again is an identifiable behavior.
1241940	1245260	You could build time-based detections on SMB enumeration.
1245260	1252460	You could take a look at how many SMB requests an individual process is doing at a given time.
1252460	1255060	It almost doesn't matter. The point is we know it does this.
1255060	1259000	It's something that it probably shouldn't be doing, especially in that limited user context,
1259000	1261200	and we could build a detection around this pretty simply.
1262440	1275240	The next thing it does is when it finds those machines that have SMB shares that it can do encryption of,
1276220	1279140	You'll notice it's multithreaded. None of that is surprising.
1279280	1285740	And again, I have details broken out on exactly what you can find for every single function that's present and what it's doing.
1286220	1288800	If you want to go to that depth, you absolutely can.
1288800	1292180	If you want to talk over it from a broad level, you can do that as well.
1292360	1295120	And then finally, we get to the tail end, and what do you see?
1295120	1299860	You'll notice again those triangles. I put them in red because they're very bad here.
1299860	1304320	Again, a highly effective communication medium, right? Red equals bad.
1305620	1309420	So here what we see is locally lots of read-writes.
1309780	1312400	Is that something we could do from a detection standpoint?
1312400	1317840	Like read-writes, using crypto libraries, those sorts of things over and over again?
1317840	1319080	Yes, absolutely.
1319420	1322940	And you know, it's funny, I was talking to some guys from Halcyon.ai,
1322940	1326340	and that's one of the many things that they do to prevent ransomware.
1326340	1328140	That's the bread and butter of their business.
1328640	1336480	Same thing, those remote read-writes with crypto involved, probably a bad thing as well.
1336740	1342340	So again, the point being that if I needed to explain in general what royal ransomware does,
1342340	1346120	whether it be at a function level, I can do this function level.
1346120	1349800	If I wanted to, I could collapse each of these functions down into a descriptor,
1349800	1353340	like hey, this is what's happening, this binary is reaching out and touching the network,
1353340	1357060	it's doing some SMB enumeration, it's doing some local file writing and encryption.
1357060	1360940	All of those aspects can be communicated effectively with the method.
1361560	1362940	That's the whole point.
1363960	1367760	So next, I'm going to take a look at the Eurotrooper.
1367820	1371440	And I apparently zoomed way, way in on Eurotrooper.
1371440	1375720	I really like Eurotrooper because we're now talking about a campaign.
1376080	1377600	What's the campaign look like?
1377600	1381320	Well, what I've tried to do here is give you that thousand foot view.
1381320	1385880	Enough details to understand what's going on, not so much detail that people start nodding off.
1387300	1388680	So far, so good.
1389080	1392780	All right, so in this, the campaign starts with a phishing email.
1393020	1395160	And in this case, there is something very specific.
1395160	1399380	They call it noda.rar, this campaign, use that over and over again.
1399760	1403040	We'll pause now for a word from our sponsor, Panasonic.
1404680	1405460	All right.
1407380	1410080	And now, so what happens?
1410080	1413120	Noda.rar gets downloaded, I put Outlook here, does it really matter?
1413120	1414920	No, it could be anybody, don't care.
1415360	1418940	Email, email client, noda.rar gets written.
1418940	1421100	You notice I've drawn this very long.
1421100	1424220	The reason I've drawn it very long is things are happening sequentially.
1424220	1426380	That file is being accessed.
1426480	1430180	And what you actually see is a write, you see a read, and then much later on you see a delete.
1430180	1435700	So I made the file long because, again, I'm just trying to show sequencing and who's doing what and when.
1436800	1440560	So we have, again, 7-zip with the parent process of Explorer.
1440560	1443700	That means that, again, Phyllis clicked on it.
1444320	1447000	And, you know, poor Phyllis, she didn't know any better.
1447000	1448720	She's just trying to do her job out there.
1449220	1451320	And now a link file has been downloaded.
1451320	1462860	And because of the lure, and this one is, again, targeting, if I recall correctly, targeting largely Ukraine and Poland and, you know, no idea who it might be.
1462940	1468960	But, you know, some people have been targeting them with a number of different rats in recent days, shockingly.
1468960	1475980	And this has a commonality in all of their campaigns, and it is a link file.
1476120	1479660	That they use a link file, and that link file is going to launch Mishta.
1481220	1487580	And Mishta is going to, once again, and you'll notice parent process of Explorer yet again.
1487580	1489260	So, again, a click on the link file.
1489380	1495800	Mishta is going to reach out to the Internet and download, and you'll notice I do have the actual domain here.
1495800	1499500	Because this is from the actual threat intelligence.
1499940	1504140	That they're going to that particular domain, I see laptops opening, I might not, but your call.
1505160	1512200	That's the domain they go to, and from there they download an HTA file, which is going to provide instructions for Mishta for what it's going to do next.
1512200	1515320	Then it's going to follow those, execute those instructions.
1515440	1522060	And those instructions include downloading, spawning a PowerShell process that's going to download file.pdf.
1522060	1524980	This particular campaign downloaded from the same place.
1524980	1533680	The next thing that's going to happen is another separate PowerShell process is going to launch, and it's going to download this lsax.exe.
1533680	1541700	And then another PowerShell executable will launch, and that will delete the noda.rar.
1542020	1547200	So, here's my point about points of congruence and about things coalescing.
1547200	1554060	There is a dependency for everything right of this on essentially that link file and Mishta.
1554060	1556800	And in particular, Mishta touching the Internet.
1557280	1562680	So, if I were a defender, I might look at whoever's running my enterprise IT and say,
1562680	1570040	Hey, y'all use Mishta to touch the Internet for any reason? No? Good.
1570120	1572860	And we're going to deploy a response action that's going to disallow it.
1572860	1574480	Lots of different ways of doing that.
1577920	1580380	I feel haunted, I'm going to be honest with you.
1581280	1582880	So, there are lots of different ways of doing that.
1582880	1588420	The point being that the entire Euro Trooper campaign is dependent upon that one thing.
1588420	1591820	Kick out that leg of the milk stool and the whole thing comes crashing down.
1592060	1593420	Plus, it's funny.
1594580	1596180	All right, so what else happens?
1596640	1597620	What else happens?
1597620	1602620	Well, the PowerShell is going to download and execute that lsax.
1602820	1609240	And lsax is going to reach out and download a servicehost.exe and spawn that as a child process.
1610700	1612020	SpoolServe.exe.
1612020	1614120	And SpoolServe is going to launch.
1614300	1616900	And SpoolServe is going to do some C2.
1616900	1620300	And that's where you actually get to your final stage of your implant.
1620300	1625800	And you get actual APT-like behavior with C2, XFIL, etc.
1626000	1631580	Point being, there's an incredible dependency in this particular campaign on one thing.
1631580	1633980	And that one thing being link files and Mishta.
1633980	1640040	And between those two, you can do a combination of network defenses, host defenses saying,
1640040	1642600	hey, Mishta.exe is not allowed to touch the internet.
1642600	1646040	You could say we're not allowing link files to launch Mishta.
1646040	1650800	There are all kinds of different ways that one could go about defending against this particular campaign.
1651040	1652900	And I want to emphasize this.
1652900	1659920	That doesn't involve copying and pasting the IOCs that I have in this report into various tools.
1659920	1661100	Fair enough?
1661420	1662220	Cool.
1662220	1666340	I see some nodding. It's always good.
1666380	1668860	And it wasn't off this time. It's excellent.
1669640	1678600	All right. And then the last thing I want to talk to you about, like I mentioned, is this new report that I saw.
1678600	1682500	Again, I used comments pretty heavily to show where the original source was.
1682500	1686800	This is another Cisco Talos blog that was out, I think, the 7th of August.
1686800	1694920	In this, what I really like about this one is there are a couple of different ways this can go.
1695100	1703560	And so what I'm going to show you is multiple campaigns with minimal difference in actual overall behavior,
1703560	1708320	despite having different hashes, different files, different lures, et cetera.
1708320	1711900	So in this case, their lure is this is targeting Ukraine and Poland,
1711900	1717300	and they've got PPTs targeting Ukraine, military orgs specifically,
1717300	1722620	and then there are Excel lures from the Ukraine State Treasury.
1722800	1731620	So two different lures, different behaviors, kind of, but if you actually look at how it executes, pretty similar.
1731620	1734600	So we have now a mail client downloading and writing the file.
1734600	1736980	It doesn't really matter which file it is. It's written to disk.
1736980	1739700	And both of them contain VBA script.
1739700	1744220	So that VBA is going to, it actually contains a lot of information.
1744220	1748080	So as PowerPoint or Excel, doesn't really matter which one, again,
1748080	1750500	whichever one it is, it's going to start running that VBA,
1750500	1754860	unless, of course, you all have policies in place to prohibit those sorts of things.
1755740	1756820	Good talk.
1757240	1760660	So then that runs, and it does two writes.
1760720	1762740	There's no download in this case.
1762740	1767920	By the way, here's another use of a link file, again, targeted against Ukraine.
1767920	1771940	Would we maybe say maybe there's some familiarity there, maybe there's some commonality?
1771940	1775120	Who knows? It might just be people not wanting to rob from the poor.
1775120	1779980	If link files are being successful, and, you know, Will Ferrell is saying, you know,
1779980	1784360	so hot right now, then we jump in on that action and go with what works.
1784980	1787060	That was my meme reference. I promised one.
1787940	1793460	So link file, and then the other thing that is, again, contained within that VBA in a data blob,
1793460	1797880	it's actually broken up so you won't find the binary if they're scanning for the binaries,
1797960	1802480	a couple of different blobs to make up the binary, which is an executable or DLL.
1803180	1810900	That is, they then use redsurf32.exe or run DLL32.exe to launch that,
1810900	1814660	and whichever one it is downloads an image.
1814660	1816500	By the way, I'm going to zoom in right here.
1816500	1823760	This is the actual image that on the end of that image, and it's not steganography, guys.
1824060	1826980	I know some of us are excited because we're like, finally, it's here.
1826980	1830680	It's just data on the end of the image. It's not, you know, encapsulated in the image.
1830680	1832740	It's just extra data on the end of the JPEG.
1833020	1835240	But it contains a binary.
1835800	1840120	That binary is going to download, decrypt, and run.
1840580	1842400	Sorry, back to our sponsor.
1843020	1845480	It's going to download, decrypt, and run in memory.
1846420	1848860	And here's the really interesting part.
1849740	1852860	Cisco's like, anyway, we're kind of done with our analysis at this point.
1852860	1856680	And if you read their blog, they're like, that's because our decryptor broke on this.
1856680	1861180	So we know from some other reporting and some callbacks,
1861180	1867120	we're pretty sure that what follows up is either Cobalt Strike or Agent Tesla.
1867540	1874300	But we can't prove that, so they actually stopped their early threat bulletin at that point
1874300	1876980	until they could prove more, which I, A, respect.
1876980	1881380	And, B, I'm very grateful they didn't wait until they had it perfect to spit this out.
1881420	1883380	Because people have to defend.
1883520	1886200	And guess what? We've got enough here to do some defense.
1886440	1889980	Because what's our point of congruence?
1890620	1893420	It's the VBA running in PowerShell or Excel.
1893420	1895560	It doesn't really matter which one it is.
1895560	1901340	Or you could say it's that it's register 32 or run DLL 32 downloading from the Internet.
1901340	1905240	Another thing that's highly signatureable and highly preventable.
1905820	1909900	So this is at the core of my concept, and it looks like I do have enough time,
1909900	1913100	so I'll go actually take a look at this from an incident response standpoint.
1913980	1919260	That means I was talking faster, and that means that the neurodivergence was in full effect.
1919260	1922100	So I'm glad that everybody's still here with me.
1922580	1926600	So let's go ahead and take a look at what this looks like in an incident response.
1926600	1931160	So first of all, you may be asking, what happens if there are multiple hosts compromised?
1931160	1934120	Great question. It can be handled a bunch of different ways.
1934160	1939020	This is one example where I showed on the timeline multiple hosts being compromised.
1939020	1941600	There's actually a third host down below, but I couldn't figure out a good way
1941600	1944760	to make it even slightly legible and on a single pane.
1946280	1948800	And you'll notice that the timeline still continues.
1948800	1952300	The hosts can continue their behavior, but there are multiple hosts compromised.
1952300	1957480	The other thing from an incident response, and you may be thinking it's odd
1957480	1959860	that I'm tying incident response and threat intel together,
1959860	1964200	but what I would point out is that threat intel is just somebody else's incident response, right?
1964480	1968360	That's just not yours, which is ideal. It's a great place to learn from.
1968520	1971960	In fact, I think many would argue it's better to learn from others' mistakes than their own.
1971960	1974680	That's not my method, but many people employ that.
1976280	1979740	So in this case, we start from the initial alert.
1979740	1984560	So in this case, an initial alert would be process injection taking place.
1984700	1989240	In this case, I've got really good example names, so I'm just calling it Trojan.exe.
1989240	1991040	It's just a placeholder for Trojan.
1991140	1994860	And we've got services.exe being injected into.
1994880	1999000	From this point, we now need to figure out what has happened, right?
1999000	2002700	So bear with me and imagine that not everything is populated here right now.
2002700	2004980	We're actually conducting an incident response.
2005060	2009280	So you basically have two directions you can move, left and right, from that alert.
2009280	2011760	I'm moving back to source and trying to figure out where it is.
2011760	2014920	I'm moving forward and trying to scope the effects that I experienced.
2015480	2017880	Either one is fine with me. They both have their benefits.
2017880	2019920	If you go backwards, you can kick off threat hunts.
2019920	2026560	That may be more effective in defending your business continuity operations from the risk and prevent it from spreading.
2026560	2031420	One of my favorite things is if this is sitting in an inbox and we're part of a campaign,
2032000	2035600	I get that in this case, poor Phyllis. I hope nobody here is named Phyllis.
2035600	2038060	That's not them. It's other Phyllis. Different Phyllis.
2038060	2043160	But this poor person has clicked on this link and we now have an incident going on.
2043160	2049360	But I'd sure like to know if it's sitting in 30 more inboxes and I've got 30 more potential incidents sitting in my email.
2049360	2059500	So we might prioritize going backwards to origin and finding artifacts that we can remove to protect our business more effectively.
2059760	2065140	Conversely, you may be concerned about what is the scope of this and we need to triage what's happening right now.
2065160	2067600	I've seen playbooks that emphasize both.
2067600	2070380	I've seen playbooks that emphasize one over the other.
2070540	2076900	I've seen playbooks that say you should have one analyst go one direction and one analyst go the other way and, you know, meet in the middle, right?
2077480	2081840	All of those, I think they're good arguments in favor of and that's not my talk today.
2081900	2086620	So what we're going to do is we're just going to walk through what it looks like to go backwards first and then I'll go forward second.
2086840	2091680	So going backwards, I'm going to say, listen, I've got a process. I know it's doing something that we find suspicious.
2091680	2097220	I need to scope it and I want to know where it came from, which means I'm looking for the create process.
2097220	2102800	Whether that be Sysmon Event ID 1 or CrowdStrike or whatever, it doesn't really matter.
2102800	2103940	I need to know where it came from.
2104040	2107260	Who's its parent process? In this case, we find that it's Explorer.
2107260	2109980	All right, great. Now, where did the file come from, the image load?
2111000	2113380	Well, that's Trojan.exe sitting on disk.
2113380	2116660	What do you think I'm going to follow up next? All right, where did it come from on disk?
2116760	2117800	What is it doing?
2118860	2121100	And we're going to look at, what are we going to do?
2121100	2125740	We now have a file name and a path and a location.
2125940	2130420	And so we have a new query that we can run and say, where's the file write?
2130420	2133600	What is the parent process on the file write? What's the command line on that? Et cetera.
2133600	2137360	In this case, we're blaming it on Outlook again, and that's where it came from.
2137360	2141240	Now, I have the ability to, am I going to go into email logs?
2141240	2142840	Are we going to look at this in network traffic?
2142960	2147620	Am I going to say, no, I'm a host analyst and I'm going to call a grown-up and have them do that on the email side of things?
2147620	2152480	All of those are, again, viable based on whatever your organization does and how you implement it.
2152640	2156580	So, the diagram, but the diagram still gets populated.
2156580	2167460	And the beauty is, when we have the file, we now have something discreet and huntable to determine if we've got, again, 20 more incipient incidents sitting in our enterprise that we don't know about.
2167740	2173860	I think one of the big challenges facing, this is a personal opinion, so you can take it, it's worth the paper it's written on.
2173860	2179160	But I think one of the big challenges we have is much too much of cybersecurity is linear.
2179160	2183220	We're waiting for a full report before a threat hunt gets kicked off.
2183220	2186920	We're waiting for IOCs to be generated before detection engineering occurs.
2186920	2198660	One of the things I really like about if you are capturing your artifacts in a diagram like that, it means that when your SOC supervisor, who has, in my opinion, the hardest job I can think of,
2198660	2206440	because you've got all these people, all these different things going on, and you're trying to figure out what's in a person's head, knowledge management is extremely difficult in this industry.
2207240	2217980	You now have a method for looking over their shoulder and getting an understanding of where they are currently looking at this incident, how well scoped it is, maybe even how far along they are.
2217980	2224000	Can you task another person to help them out and say, hey, you know what, ignore that network stuff, I've got a guy, we'll hook that up.
2224000	2230760	These are the sorts of ways that it can be beneficial to an enterprise in live, in use.
2231520	2234180	You'll notice they have run key persistence.
2234540	2242260	That's one of those things that we might want to look at in general, just we know that Trojan.exe, what all did it do?
2242260	2248360	Look for event ID3, network connections, where was anything downloaded, a second stage, et cetera.
2248360	2250220	These are all actions we can take.
2250220	2256700	And the cool thing is if we find that second stage download, now we've got yet another IOC we can pass over to detection engineering.
2256700	2270300	And we can go ahead and, again, if there are 30 more of these sitting in 30 more inboxes, if we do nothing more than deny list secondary.infection.com, I hope you already have that blocked.
2270620	2278580	But we can deny list that, and so even if somebody does click on that in an inbox, now there's no second stage, hopefully.
2278580	2284000	And you should be able to, again, lower the risk profile of your organization.
2284880	2286900	So now let's talk about going forward.
2286900	2296020	As we go forward, I think one of the more challenging parts of an investigation is when you do move forward, because when you go backwards, it's like a Sudoku.
2296020	2301780	There are only so many artifacts, and everything has to happen, and everything has to mean something.
2301780	2307840	So you're kind of filling in the blanks in the Sudoku, saying, well, I know this, and so the hip bone's connected to the thigh bone.
2307840	2308880	So where's the thigh bone?
2308880	2309420	What does it look like?
2309420	2310920	I know how to write my query for that.
2311120	2317360	When you talk about what's coming next, there are kind of an infinite number of things that a binary can do.
2317420	2323300	But we know certain things are higher risk factors, higher risk thresholds than others.
2323300	2325320	So we're going to look for network connection.
2325320	2325920	Why?
2325920	2327480	Because C2 is likely.
2327480	2329600	We're going to look for X fill, because it's likely.
2329600	2334020	We're going to look for file writes.
2334020	2341540	We're going to look for, like I said, multiple file writes, read writes, close, and encryption.
2342720	2346640	So this is where I think the analytic art very much comes in.
2346720	2352580	And the beauty is, as you start populating this, you now have the ability to say, oh, I've looked for this.
2352580	2357200	Somebody can come look over your shoulder and be like, hey, man, did you look for network connections?
2357240	2358100	Like, oh, you know what?
2358100	2359240	No, I'm a host guy.
2359240	2361060	I didn't think about that network-y stuff.
2361060	2362280	I could probably look into that.
2362280	2363480	Let me do that.
2363480	2367240	It gives you, again, a visual medium to communicate.
2367520	2376480	I think in cybersecurity, where a lot of the challenge lies is in that coordination, collaboration, delegation, and prioritization.
2376760	2386160	And this gives you an information-dense medium to convey your status and to seek out help from that SME when you need it, to enable collaboration.
2386160	2388060	As somebody says, no, no, no, you know what?
2388500	2390180	I'll take the network stuff.
2390260	2392140	He's going to take the email stuff.
2392140	2395560	She's going to do the forward triage.
2395560	2397340	And you're going to run it back to source.
2398140	2402300	That's the purpose of how I would use this in an incident response.
2402680	2414420	And, again, I just want to point out that the beauty of it is, when you find those connections and if you see an exploit being thrown across the wire, let's say, for lateral movement, that's something that takes place.
2414420	2417560	I have it here in the internal network as an IOC.
2417560	2420880	The CVE is something that you could track and document.
2421040	2424620	And then the beauty is you can say, all right, now I do need help.
2424660	2426620	I'm going to break glass, pull lever, and say, you know what?
2426620	2427740	We've got lateral movement.
2427960	2433060	I'm going to keep running this one to ground because we want to stop this from spreading any further.
2433060	2449160	But I'm going to need Josh to jump in and Jamie to jump in to hunt on these machines to do the incident investigation on those machines while we task other people to do further hunting and work better to collaborate and coordinate as we defend our enterprise.
2449320	2453040	So that is at the core of how I use it.
2453040	2455060	I added a couple of acknowledgments.
2455480	2458480	First of all, like I said, this is not my research.
2459040	2461040	This comes from threat intel.
2461040	2470560	One of the things that I want to point out and part of the reason why I like doing it this way is I actually have open on another tab some of these reports.
2470960	2473440	And they are not short.
2474020	2476060	Some of them are very, very long.
2476740	2481900	And especially like this Euro Trooper one, there are very few pretty, pretty pictures, and I like those.
2482600	2487120	And so I can scroll and scroll and scroll or you can do what most people do.
2487120	2490620	I believe that when you use threat intel, you do one of three things.
2490620	2497460	The first thing is you pop it open and you read the executive summary and you say, oh, not what I'm interested in and move on.
2497540	2499360	Or you got enough out of it and you move on.
2499580	2503180	The second thing you do is what I do, which is scroll down and look for the picture.
2503840	2507700	So I'm going to scroll down and this is the one I particularly like.
2507880	2510180	And I'll jump in and be like, is that interesting enough?
2510440	2510660	Good.
2510660	2512320	I didn't have to read that boring executive summary.
2512320	2512860	I see nodding.
2512860	2513900	That's always a good sign.
2514260	2516220	Anyone who agrees with me, I, of course, think is brilliant.
2516220	2518980	So you can nod and I'll be like, man, sharp crowd.
2518980	2522900	And then the final thing is perhaps the most common thing.
2522900	2524060	And what's that going to be?
2525660	2526620	There it is.
2526620	2528460	Scroll to the bottom and look for the IOCs, right?
2529140	2530600	And let's see.
2530600	2532620	Oh, look, there's a GitHub repository right there.
2532620	2536620	I'm going to jump in, copy and paste like a gentleman, and move on with my day.
2537680	2548000	This is really long, but it only took me about 25 minutes to turn this report into the visual that I showed you of Euro Trooper, which is this one right here.
2550840	2554200	I really like being able to consume Intel this way.
2554200	2562060	In terms of teaching an executive or briefing an executive committee or senior leadership or a new person saying, you know what?
2562060	2562700	This is what we saw.
2562700	2563840	This happened to us.
2563840	2564760	Rough day.
2565300	2569780	And now we've got a repository of information for that new person.
2569780	2581800	And like I said, knowledge management, we have a very strong verbal history in terms of oral tradition in terms of how we pass on knowledge.
2581820	2587700	And this gives us an opportunity to move it into another medium so that we can convey it.
2587700	2589780	And as people come in, they can learn.
2589800	2592860	We can kind of train up the next generation of defenders.
2593180	2597240	And as we all know, a generation in cyber is like, you know, 45 minutes, right?
2597860	2601180	Anyway, I'm going to stop here and take questions.
2601180	2604100	If anybody wants to jump in, there's a microphone right there.
2604100	2604900	Thank you.
2605840	2609460	And now comes my favorite part, which is stump the chump.
2609460	2610120	So I'm in.
