start	end	text
0	7020	Hi, everyone. I'm Tanya. And okay, so my previous job, I was like a web app pen tester. And
7020	12040	then I started working at Microsoft, and they let me do whatever I want to Azure, which
12040	15880	is really cool. And I realized that everyone I know is like, can you show me how to do
15980	20880	a pen test in Azure? And I was like, maybe I should write a talk. So then I met my friend
20880	27100	Terry. Terry's an AWS hero. And she can just shatter the crap out of anything. She's amazing.
27100	29920	And I was like, do you want to write a talk with me? And then she actually said yes.
29920	34720	So she's not here, because she got offered so much money that she had to go do something
34720	39320	else. And I have to say, if I got offered that much money, I'd probably go too. But
39320	43920	anyway, so she's really amazing. And we wrote this talk together. Okay, so where are we
43920	47240	going? Oh, yeah, I have to stand still. What are we going to talk about today? So we're
47240	50440	going to talk about doing it yourself. We're going to talk about doing a security assessment
50440	56040	yourself before calling a pen tester. So usually, when someone like me or someone like Terry,
56040	61760	who's been like networking forever, they go in, like it's the basics that aren't done.
61760	65240	People aren't even ready for the pen test. And so I want to show you all the stuff that
65240	70200	because if I come in, and then like everyone, if the security is like here, then you're
70200	74700	not getting your money out of me. Does that make sense? So I want you to be able to do
74700	78340	this much yourself. So when I come in, you're like, you have to earn that paycheck. Okay,
78340	81800	so here's the mandatory about me slide. This is the one where like we prove that we're
81800	87580	qualified to do our talk. I like punk rock. And I'm Tonya Janka. On the internet, I'm
87580	94480	SheXPurple. I work at that startup company. I don't know if you've heard of us. I'm a
94960	99800	developer advocate, which means I get to do my hobby, and then they give me money. I'm
99800	104340	totally obsessed with OWASP. It's ridiculous. I'm part of WOSEC, Women of Security. So if
104760	107780	you're a woman and you want to make more female friends that work in security, you can talk
107780	112740	to me. And oh, also, I speak French in case anyone wants to ask questions in French if
112740	118700	you're shy. This is Terry. Terry's awesome. I'm Terry's biggest fan. She's a badass cloud
118700	122580	hacker. I want to like put over top of this just badass cloud hacker. And she's like, no,
122580	127900	Tonya, just remain calm. She's a lot more serious and like very professional when she
127900	133200	presents. And I'm the silly one. So she's been programming forever. She is so basically
133200	139260	she does cloud security training and testing. And she has a wealth of experience that's just
139260	143880	out of this world. And I learn from her every time I see her. So what is a security
143880	148780	assessment? It's not a pen test, slightly different. So we find all the vulnerabilities and
148780	153380	gaps and then try to help you fix them. Right? So we're going to do a lot of scanning. We're
153380	156920	going to talk to people. We're going to, if you'll let us, look at like an architecture
156920	161200	review. We might threat model things. And then at the end, just the same as a pen test, we
161200	166620	give you a report, except for like, it's just, I don't know. I prefer security assessments,
166620	172220	but pen tests are cooler. Um, okay. So as a pen test, so similar to a security assessment,
172220	178620	except for you burn everything down. It excludes, it includes exploitation, pivoting to
178620	184040	other areas. Um, there may be targets, objectives, like things you're supposed to steal.
184640	189180	Basically you're trying to prove the systems can be broken into. Um, Terry's way better at
189180	193020	this than I am. I'm more like, I'm going to help you set up really good policies and do this
193020	197920	and do that. And she's more like, ah, and then everything's on fire. Um, but you still have to
197920	202960	do a report. There's no getting around it. Okay. So why would you want to do it yourself?
203400	209340	Why? Why would you? Because like, we're expensive. Pen testers are expensive. Also like
209860	215360	almost no places have their own pen testers on staff. Like unless you work out a big startup
215360	221200	like I do, you can't usually afford like a team of pen testers. You also want to have like not the
221200	224180	same pen tester come every time because you want a fresh set of eyes, but a security
224180	227980	assessment, you can do that yourself. So let's, we're going to go through a big list of
227980	232500	things that I want you to go look at if you have Azure. Okay. So who here uses Azure?
233180	239540	Awesome. Okay. I want all of you to have good experiences because then my boss will think I'm
239540	245060	cool. No, because I want you to be secure. Okay. So I want you to be able to do all these
245060	250360	things before you bother to call a pen tester. So I can save you money. And because I, I
250360	255580	just, I want the internet to be safe. The end. Okay. So first thing, do not test the
255580	261500	average, the Azure fabric. You don't want Microsoft to be angry at you. You don't. I
261500	266120	don't either. So that means the infrastructure, the fabric of the cloud, like that's the
266120	273120	thing that is us that makes us unhappy. Um, so you do not, so none of the cloud providers
273120	278460	now demand that you tell them in advance if you're doing, um, like if you're going to do a
278460	282360	pen test, but you should. It's just so much easier because if we see something, we might
282360	287700	just be like, no. Right? Because we're trying to protect all the people. And if what you're
287700	292660	doing is kind of like out of the blue and weird, we might not understand that. And so if you
292660	296360	tell us you're coming, you don't need permission. You're just like, hey, tomorrow I'm going to
296460	302340	make a mess. Thank you. We'll watch out for that. Okay. So here are things that are out of
302340	306100	scope. So there's a lot of things I'm not going to cover in this talk. Sometimes after talk,
306100	308360	people will be like, you didn't cover this. I'm like, yeah, that's not what the talk was
308360	312840	about. So I'm going to give you a list because I only basically talk about AppSec all the
312840	317740	time. So we're not going to talk about DevOps security. We're not going to talk about
317740	321920	application security, API security, password management, physical security, enterprise
321920	326300	security. We're just going to talk about if you were going to assess the security of your
326300	329880	Azure implementation, how would you do it? Or if you're a consultant and you're going to do
329880	334680	it for someone else. We're only going to cover that. There's also going to be, after this
334680	343240	slide, no more rick rolling. That's the last one. Okay. So let's do this. Okay. So the first
343240	348400	thing you want to do is define the scope of your assessment. Right? Guess what's bad?
348400	353720	It's testing a thing you're not supposed to, and then your boss getting pissed. Especially if
353720	357680	you're a consultant. This is way, way more important if you're a consultant. Because
359820	364120	you don't want to piss off your clients. If you work there full time, they know you and know
364120	369260	your intentions. But if you're a consultant, you're on the thin ice all the time. I know. I've
369260	373820	been one. So you want to talk about, like, is data part of this? Is application security a part
373820	377700	of this? Because some of them think that it is and some of them think it's not. And I assure
377700	381320	you, everyone has a different opinion. I've learned. Because sometimes they're like, oh, but
381320	386440	you're also going to fish our employees? I'm like, no. What? You don't want me for that. They'll
386440	391240	be like, that was Tanya. Everyone has different skill set, right? So definitely in this,
391240	396040	network security is part of it. Access control is going to be a part of it. You need to make
396040	400900	sure that each thing is you want to make sure also that they're not like, hey, you were
400900	404780	supposed to test that and you didn't. Right? So you want to make sure everyone's on the same
404780	412820	page. Also, often they want to talk about methodology. I've seen a lot of people point to
412820	419500	that appendix or methodology web page and copy and paste it. I'm like, no. I try to explain to
419500	423940	them what I'm going to do with real words that they understand and then actually write it into
423940	428800	an appendix so that they know. Because I just want them to be comfortable and I'd rather spend a bit
428800	435280	more time. But that's me. Okay. So also, are you going to only do cloud stuff or are you going to
435280	441340	do internal stuff? Or do they have a multi-cloud instance? So a lot of what is happening right now,
441340	445840	I'm not sure if you're aware, but so a lot of people are so super-duper-duper in bed with one
445840	450040	cloud provider, they realize, like, that is a lot of eggs in only one basket. And so what they're
450040	453840	doing is they're doing two clouds and they have them talk to each other. They have secure stuff
453840	460480	in between. And they monitor them both. Are both clouds in scope? You definitely want to make sure
460480	464780	that you know that before you get in trouble. You also want to know if you're supposed to
464780	469500	test the incident handling or not. Make sure the incident team knows you're coming.
470680	475120	Everyone... you know that. Okay. So you want to make sure that each thing that is or is not in
475120	481400	scope. Okay. Here's the scope of our assessment. So we made this talk because I was, like,
481400	487380	trying to... so I have, like, this little show with my friend Nancy and Francisca and Nicole.
487900	493540	And basically... so we just, like, live stream us being nerdy. And so I really wanted to have
493540	502100	Terry on. So I was, like, let's do a pen test of our website. So we did one. So we did one
502100	509020	of devslop.co. That's my open source project's website. It's ugly, I know. And so we did also
509020	516420	my entire Azure subscription at that moment. We did the SQL database for the app. The network.
516420	521660	Stuff I was supposed to have deleted from previous demos but had forgotten. And the VMs. And there
521660	526360	would have been containers, but I didn't have any. So ha-ha, Terry couldn't get them. We didn't
526360	530840	test the web app itself. Because we already do that on the show all the time. So that's our scope
530840	536300	that we set. And we made a video just as an FYI. And we wrote a bunch of articles, which I'll share
536300	541380	at the end. So you can see, like, in detail all the steps we did and demos and stuff. So that...
541380	544300	and then there's, like, a checklist that's written down for you. So just so you know,
544300	548300	I'm not going to leave you hanging. Okay. So the very first thing that Azure will...
548300	556420	so Azure will nag you. It will tell you, like, this is bad. So the very first thing that it always
556420	561100	tells you is, like, go... so go check that every single subscription has multi-factor authentication
561100	569100	on. This is the keys to your kingdom. This is the keys to everything ever. So it will give you 50
569100	574980	Azure security points. It will congratulate you and be happy. It will nag you constantly if you
574980	584020	don't do it. Because MFA, multi-factor authentication, is so important. I was supposed
584020	590060	to wear a T-shirt on stage, but they didn't have my size. But anyway, so I made a video about how
590060	594020	to do that. So on the bottom, a bunch of these things are going to have links. And it's either
594020	597720	an article or a video about how to do the thing that I'm talking about. Because, again, I don't
597720	601480	want to leave you hanging. Sometimes I find it frustrating. I go to a technical talk, and then
601480	606360	oh, that's cool. How do I do that? Or I look it up, and there's, like, 50 pages. I'm like,
606360	609780	which one is the one I should look at? This is the one I think you should look at?
610560	615560	But anyway, so number one is that you should do that. I don't know if anyone follows me online,
615560	619820	but I've been hassling the crap out of all... so I'm from Canada. That's why I say aboot.
623220	628940	Yeah. Like, I don't think that it's weird. But anyway, so we only have six banks in Canada,
629320	635840	where I hear you have at least ten. And so, like, only one of them uses multi-factor
635840	640080	authentication. And I'm like, yo, I gave you all my money. I really want to be secure. So
640080	643800	I've been just hassling them over and over. And so I wrote an article about multi-factor
643800	648040	authentication. And I'm just... it's really, really important. And so this is just very
648040	653160	dear to my heart that I want us to protect all of our customers. Okay. Next. So identity and
653160	658140	access management. So you want to make sure that you have roles set up. You can make your own
658140	663220	custom roles. Almost everyone does. Like, if you're an enterprise. If you're a startup,
663220	666140	whatever. If you have six people, you don't need to make your own roles. But if you have, like,
666140	669880	20,000 people, you're probably going to have things that are very special for you. You want
669880	675280	to make sure people have the right roles. So if I'm a DBA, I should have database owner access.
675280	680760	But I'm not a DBA. So I should not have it. And Azure actually always complains to me about it.
680760	685980	Saying you shouldn't have DBA owner, Tanya. I'm like, I know. So you want to go and verify those.
685980	690760	You can set those in policies within Azure. You can create your own custom policies.
691360	696580	When I used to think of policies, what I thought of was because I worked for the Canadian government,
696580	702980	and it would be, like, a website of, like, white, like, space and then black text that would just
702980	709160	go on endlessly. And it would be boring and I wouldn't understand what it meant.
709560	714620	But when we say policy here, what we mean is it's like a list of rules that are kind of true or
714620	720360	false that you've set. And then it goes and it checks for you in real time and says that guy
720360	727120	doesn't have MFA on. That website's available via HTTP. No. And so it tells you all the policies
727120	732260	that you've broken. And so that's what we mean when we say policy. So I don't know about you,
732260	737780	but when I hear policy, I think of a lot of text. You also want to make sure that you're doing least
737780	743160	privilege. So, again, don't give Tanya database owner access because she's not a DBA.
744620	748460	Another thing you want to verify is that you're using service accounts when you should use service
748460	754600	accounts. So if I am a person that is using our network, I am. I'm Tanya Jank on the network.
754600	759840	But when I make the Dev Slop app and it needs to talk to my database, it shouldn't be Tanya's
759840	766080	credentials. Because what if I quit? Right? Or, like, what if I become evil? Okay. What if I quit?
767240	772600	And so the idea is that then you have this service principle or a service account that does this.
772600	777340	You should never be having your apps call things with some developer's credentials.
777340	782660	That's very dangerous. That also means that that developer has superpowers. You don't want that.
782660	787360	You want to see Tanya did this, but the Dev Slop database made this request. And that they're
787360	794220	separate. So when you look at logs, they make sense. Okay. These apply to everything in Azure.
794220	800620	You can set up a thing for literally everything. Because that's how it works. This can work in
800620	807440	multi-cloud situations. So if you extend Azure AD onto your premises or into, like, let's say AWS
807440	814680	or GCP, it will monitor all the things there. So you can have it do all the stuff there. Or you
814680	821600	can use a different identity system within Azure. It also works for Azure stack. So Azure stack is,
821600	824980	like, where you have your own data center and you're, like, no way I'm putting that in Azure,
824980	830080	but I really like Azure, so we're going to bring Azure home. And so then here's, like,
830080	837640	so we have this thing called Microsoft Learn, which are basically free lessons. And so I made
837640	842700	one. I did not make this one. But it's basically they're around, like, 45 minute to an hour, like,
842700	848780	walk through with sandboxes so you can try things and play with them. And so I made one. It's, like,
848780	854520	five security things developers need to do before they push to prod. But so basically, like, we have
854520	860920	one on most of the things because we want you to do it right. Okay. This is a Terry slide. So
860920	868360	pretend I'm being very serious. Okay. So account structure and governance. So this is probably
868360	873920	different than in your home data center if you have an on premise site or if you have an on
873920	879680	premise data center. So everything goes down kind of like this. You can have this top view where you
879680	887000	see everything. Right? Or if you're me, pretty close to the bottom. And so I can only see me
887000	890840	and then, like, my teammates because that's how we've arranged it. Of course, I was, like, I should
890840	895040	do security for our whole team. They're, like, please remain calm. No, you cannot look in your
895040	902040	coworkers subscriptions. But anyway, so you want to make sure that you have policies and that they
902040	905780	cover everything. You want to make sure that people only have access to the things they're
905780	910740	supposed to. For instance, you don't want me being able to add security to everyone else's apps
910740	916220	without their permission. All these things. So first accounts, management groups, subscriptions,
916220	923380	and resource groups. Resource groups are like a directory or a folder in Windows. They're not,
923380	927640	like, a real thing. They're not, like, it's not, like, a network security group. It is not
927640	931920	protected. It's just, like, oh, I'm going to put all the things for this project in this bucket.
931920	937000	But everything can see everything else. Just to be clear, those are not security borders. Those
937000	942080	are just for organizational purposes. So please don't assume that when you put something in a
942080	948100	resource group. Okay. But you can give permissions to resource groups. Okay. So who's heard of SIS?
948100	953860	The security for, yeah, center for security, uh, internet security. It's, like, crowd sourced
953860	958820	security knowledge, which is really, really, really cool. And they have, um, best practices,
958820	964340	benchmarks, and, um, there's so much cool stuff. So a whole bunch of people, so, like, we contribute
964340	970740	to it. And we also benefit from it. And lots and lots of governments do, especially in the United
970740	979520	States. Okay. So SIS is kind of famous for their 20 critical controls. Um, so when we were creating
979520	985480	all these policies in Azure, and by we, I mean, like, they did the hard work. Um, one of the
985480	989760	things they decided to do is, like, oh, like, what if you could just check if you're following the SIS
989760	994740	benchmarks? What if you could just check to see if you're HIPAA compliant? So we've added, I don't
994740	998580	know if I have a screenshot of that, but, um, we've added a thing where you can just go check, and
998580	1003640	it'll tell you one by one if you are or are not compliant to these, and it'll point you to where
1003640	1008920	you're not compliant, and you can click it, and you can go down, and once the lecture's over, then
1008920	1013900	you can go fix it. I don't know, I think that's pretty cool, because, um, I like it when I get
1013900	1018880	point, rather than, like, you have a lot of vulnerabilities in the app, I like to have it be,
1018880	1025140	like, this virtual machine does not have this enabled, or this one's missing this patch. I like
1025140	1030860	it to be really specific. Okay, so here's some sample controls. Um, inventory and control of
1030860	1035960	software assets. Who has a perfect list of every single app that is in their cloud or on-prem?
1036140	1042660	Yeah, exactly, right? So this will tell you, um, so this is an assessment, and then there's
1042660	1047280	controlled use of administrative privileges. Guess who doesn't get administrative privileges
1047280	1060320	at work? I know, right? Only C-level executives need that. Okay, so, um, on top of, so it, oh,
1060320	1065560	here it is, is here's where it will assess CIS benchmarks. So we have one for Azure, Exchange
1065560	1071720	Server, IIS, etc. A lot of companies do this, because we want you to follow best practices.
1071720	1076640	So we want to make it easy, so you can go and download the CIS benchmark and have, like, this
1076640	1081460	checklist of things to check. But like I said, in Azure, it's automated, um, so you can go through
1081460	1086020	and then click on it, and it'll tell you. Okay, another thing you can do is you can download
1086020	1092580	images that are already hardened and set to this. That's cool. I'm lazy. I don't want to do things
1092580	1098220	twice. If someone else is going to do it for me, that's awesome. So we have, I believe, 126 as of
1098220	1105400	May when we made this slide. Not bad, right? Okay, so one more. Example control. So ensure
1105400	1111340	that restricted access to Azure AD administrative portal is set to yes. So then it actually gives
1111340	1117280	you the exact, here it is, step-by-step, like, what menu you click on, exactly where you go.
1120400	1123840	Microsoft is Microsoft, right? It's going to be, like, glossy. We want to hold your hand. We want
1123840	1127680	to make sure, you know what I mean? Like, it's not like an open source project where it's, like,
1127680	1131580	you just have to download these 25 other things and compile them yourself and then also just,
1131580	1135800	you know what I mean? Like, I don't know. So we're really, we want you to get to the end.
1136240	1141860	Okay, so then, so my favorite part and the thing that you should probably look at right after you
1141860	1146940	ensure MFA is turned on is that you should just go to the security center. I have a link at the
1146940	1151880	bottom. So I'm not, I'm not doing a demo. One, because I don't have time. And two, because I'm
1151880	1157660	afraid of the internet here. And I was just like, I am not willing to sign in and use my, I'm just
1157660	1164360	not willing to do that on this. Sorry. No offense. It's not you. It's all people now in this room.
1165400	1169520	But so this is like the start of what it looks like. And there's three sections. So the first
1169520	1174600	one at the top, you can see policy and compliance. So we have a secure score. What is a secure
1174600	1180340	score? I know people are like, oh, gamification, blah, blah, blah. When I worked in like a,
1180340	1184400	not in a SOC, but like I was on the incident response team and like the enterprise security
1184400	1189460	team, it was really hard for me to show my boss I was doing a good job. Because he would only see
1189460	1195000	me when there was an incident or not at all. Right? So then like if he didn't see me for a
1195000	1199000	month, it's like, oh, is Tanya even working? And then when he would see me, my name was a
1199000	1206180	swear word. And so here I can say like, look, I went from 48 to 550. Like I've done, I've checked
1206180	1211200	off these things. So you can see like your mark go up of when you improve different things. And
1211200	1215240	it also helps you know like what the biggest bang is for your buck. Like if we give you five
1215240	1221140	points, it's a low priority. If we give you 50 points, that's the highest you can get and that's
1221140	1228340	for turning on multi-factor authentication. And so then also regulatory compliance, so ISO 27001,
1228340	1232740	et cetera. So you click on those and as best we can, we're going to tell you where you've done
1232840	1239120	a good job or not. Okay. This is the part where you can figure out who is or is not covered by
1239120	1244220	Azure Security Center. So there's like a free version and then there's like the paid version.
1244220	1249120	I work there. So I have the paid version. The free version is completely awesome. And then
1249120	1253500	the paid version is like even better. Basically you get a bunch of extra tools that we made.
1253560	1258700	And you want to make sure that at least the purple is at 100% or the blue. You do not want
1258700	1265700	any in the gray of not covered. It's free. Come on. So you don't want anything to not at least
1265700	1271440	give you like the list of things you're missing, right? Okay. Oh, and I have like little links at
1271440	1275520	the bottom to all of these because, um, I felt I didn't have enough time to explain all of them.
1275520	1282680	And I'm so worried. How much time do I have? Okay. Sorry. Okay. I better move it. All right.
1282680	1287760	So, um, this is where you set security policies. Those are the things like the checklist will
1287760	1294520	basically like one of the things, for instance, I want, I only want my apps to be available via
1294520	1303100	HTTPS. I do not want HTTP to be available external anymore. That's my personal policy slash
1303100	1308620	that's what Microsoft also wants. Um, and so, and, and so like that is one of the things that would
1308620	1314820	be in my custom policy. So you can set your policies here. Okay. So cloud security, zero
1314820	1321300	trust. You can do zero trust in your own data center. However, okay. Who's here has heard of
1321300	1328720	zero trust? Okay. Yeah. So the idea is, is what we used to do is we would have firewalls. We call
1328720	1333700	it zoning or network security groups. And it's just a firewall and everything inside. It's like,
1333700	1339400	you're probably okay. We're all in the data zone. Everything's probably fine. But then if a bad
1339400	1344960	person, a malicious actor got in, then they could just pivot to any, any of the other ones and get
1344960	1352620	all of the things. But now with zero trust, you're just nothing trusts anything. And the reason why
1352620	1358080	this is important is because of pivoting. And if you do it for everything, it's a lot easier. I'm
1358080	1362560	going to show you like a way that you can do it in Azure. Um, we have like a couple automatic
1362560	1366340	things. So you can do this in regards to ports. You can do this in regards to firewalls. You can
1366340	1373200	do this in regards to your apps. Okay. Terry made this graphic. She, I told her to print pictures
1373200	1380320	or stickers of it. I love it. I want a sticker on my laptop. Hacker's heart, flat networks. Okay.
1380320	1388860	So, um, don't have a flat network. That's what this slide means. Basically like good points for
1388860	1393960	good network design. Basically follow best practices of networking in the cloud, right?
1393960	1400160	Like some things don't change when you move to the cloud. Okay. Next. Um, has anyone seen this
1400160	1407780	article? Um, wrote it and it's about how basically there's a vulnerability on confluence where
1407780	1416320	everyone just left something open. And then he managed to report on over 50, um, uh, bug, uh,
1416320	1422800	bug bounties in like just a few hours. And he was really happy. And so sometimes if you find one
1422800	1427180	vulnerability, you can just go to all of the bug bounties and get the money. And he did that.
1427180	1432500	And it's just a lesson for all of us that we need to make sure everything is following zero trust.
1432880	1439900	Okay. Network security groups, also known as firewalls. It's just like zoning and that's what
1439900	1449860	we call it in Canada. Um, okay. So yes, we should, um, uh, basically what we used to do is we used
1449860	1453920	to have most of the ports open instead. Now we have all the ports closed except for the one you
1453920	1458740	need. And is the next one zero trust? No. Okay. Nevermind. I'm going to tell you more about
1458740	1465060	closing ports in a second. Another cool thing, another cool feature is network watcher. And
1465060	1469020	then there's a section and it's really small and it's highlighted there on the left. And I know
1469020	1475480	it's hard to see, but it says effective security rules. So the network will, it's like Wireshark
1475480	1479980	kind of, but for Azure and it's part of it. And so you can watch everything as it goes back and
1479980	1485400	forth. Um, but then there's like a special security sections where we just highlight that.
1485680	1490600	It also, so like, let's say that this is what your app looks like. Then you can go in there and
1490600	1495900	I know it's hard to see because it's small, but it will actually map it all out for you visually,
1495900	1501020	which is pretty sweet. No more sitting there with Visio for 10 hours trying to make this.
1502240	1509520	Oh my gosh. Um, so Azure makes its own firewall. We basically make one of everything now except
1509520	1516040	for password managers. Um, so we have a firewall. It's just like a regular firewall, except it's
1516040	1521200	from us. Um, and you can use it to set up least privileges rules. You can put it around storage
1521200	1530280	accounts, logging, always turn on the logging, right? No heads nodding. Um, so you can turn
1530280	1537540	on logging and then, um, you should turn on monitoring. Okay. Next VPN, virtual private
1537540	1542420	network. We also have one of those. I feel like Terry's slides are so much prettier than mine.
1542420	1547520	This is a Terry slide. So this is what it looks like. Um, but we also have something slightly
1547520	1552000	different in Azure called Azure express route. So what a lot of people are doing is they have,
1552000	1556920	so no one's like, oh, tomorrow we went to the cloud. Like we went in one day. It usually takes
1557060	1563580	a few years and basically the new things go there and a transformation or migration takes months to
1563580	1570280	years. Right? So in the meantime, we have express route, which is a VPN in between you, um, and
1570280	1577360	Azure. And it also makes sure that you go really, really, really, really fast. Okay. Next bastion
1577360	1582300	host. So who here has heard of a bastion host? Okay. Who here calls it jump box? Cause that's
1582300	1588140	what I call it. And Terry and I are both like, what are you talking about? Okay. So it's also
1588220	1594440	a jump box. So you can have the box that you go into from outside the network and then you hop,
1594440	1599680	you jump to the other or you bastion, you jump to the other boxes. Right? But instead of that,
1599820	1603500	a thing that you can do now is called just in time, which I'll explain in a minute.
1604360	1609860	Okay. I'm going to talk about a couple of things that are only available in Azure,
1610660	1619820	called something else from the other cloud providers. Awesome. Okay. So adaptive application
1619820	1627820	controls. That's wait listing. Just in time VM access that is instead of a jump box,
1627820	1633320	network hardening, um, which is not in preview anymore. It's out now. Uh, it just tells you like,
1633320	1637020	this is bad. You should change this. It just helps you harden your network. It's really cool
1637020	1641420	file integrity monitoring, which I feel goes really well with the first one, wait listing.
1641540	1647100	So if any of the core files within your system changes, it tells you right away because something
1647100	1652340	bad's happening. So, oh yeah. So we're going to talk about that one first. Oh, and that one too.
1652900	1657540	I recorded lots of demos and then realized that I had less time. Okay.
1658480	1664720	Just in time is like a zero trust for ports. So it closes all of your ports. Um, that's one of
1664720	1669940	my apps called, or one of my virtual machines is called Dev Slop D check and it's part of the
1669940	1675900	Dev Slop project and I have OS app installed on it. And so I have all the ports closed 100% of
1675900	1680020	the time. If I want to use one of the ports, I have to make a request. Let's see if I have,
1680020	1687560	yeah. So I request access and then I tell it how long I want it for. So port, um, eight, eight,
1687560	1693500	or three, three, eight, nine. So I want to RDP into it. So I click on, I say only my IP address.
1693500	1698580	So it means I have to have used multi-factor authentication to get into the Azure portal.
1698580	1703980	And then I have to have like access to go into there. Then I turn it on and then it's on for
1703980	1709320	only three hours and you have to be coming from my IP to get in. And then there's a 64 bit random
1709320	1715500	character password that you have to do. So between all of that, even though I live stream, I'll go
1715500	1720620	in and I'll be live streaming. No one's come in. Pretty good, eh? So instead of a bastion host,
1720620	1727780	I do that. Adaptive application controls, whitelisting, um, is basically, so again,
1727780	1733220	on the same virtual machine, I have OWASP zap installed, which is a hacker tool, right? Like
1733220	1738240	I could do malicious things if I were malicious with it. So I really don't want anyone else using
1738240	1743200	it. So I have whitelisting turned on when what that means is system things can run on the virtual
1743200	1749340	machine because it's windows. So the basic windows stuff and zap and the zap API, because I call it
1749340	1755280	and nothing else can run on there. So if someone tries to install something on it, it won't run.
1755280	1760100	And if someone tries to change one of the core system files, it will alert me and that won't
1760100	1765000	run because of file integrity monitoring. So together, it means my VM's pretty damn safe,
1765000	1771240	especially with all the ports closed. Yes. Um, okay. So another thing that I like to do is, so
1771700	1777300	Azure will set up alerts. I don't know, uh, if I have time to tell the story of Azure telling on
1777300	1784000	me my second week at Microsoft, like, okay, no, I don't. And so anyway, it will give you alerts
1784000	1790520	that are really great. Um, so you can turn on threat protection, which will stop things and
1790520	1798300	also alert you for storage. Um, and also for your databases. It's, um, it's not a web application
1798300	1805560	firewall. It's at the network level. Next, a WAF, a web application firewall that is at the
1805560	1811240	application level as opposed to the network level. Who here has heard of a WAF? Awesome.
1811340	1818600	So guess what? We make one. So here we have the WAF application firewall rules and they call them
1818600	1824340	the OWASP rules, but they're actually the core rule set rules, which is an OWASP project. And
1824340	1829440	you can have level 2.7 or you can have level 3. Obviously you want the new one. Who's like, oh,
1829440	1838540	give me the old rules. No one. Anyway. Okay. So network watcher, not only, um, can you see, um,
1838540	1844640	all sorts of things going back and forth, like you can watch the flow of traffic. So yeah, there's
1844640	1848360	some, there's some Wireshark for us. I was going to say, doesn't this look like, oh, that is
1848360	1855100	Wireshark. You're like, is this Terry's slide? I can't tell. Um, okay. So there's a whole bunch of
1855100	1862280	network tools, including, so there's intrusion prevention, intrusion detection, um, there's DLP,
1862280	1867480	there's DNS, there's firewalls and WAF. So firewall network level. Oh, two minutes. Okay.
1867480	1875680	There's stuff. We also make a SIM. Sorry. We also make a SIM. It's called Sentinel. And there's a
1875680	1881800	company named Sentinel one, and we're not the same thing, but they're also cool. Um, and then we also
1881800	1887480	have advanced data security. So you can classify your data. So, you know, when there's an incident,
1887480	1895680	if it's the end of the world, or if like you can go get a snack. Um, and we'll also, we have, we can
1895680	1900780	run automatic VAs all the time. Okay. So I'm really sorry, but I only have two minutes and I'm just
1900780	1905080	going to skip to the end where we do the checklist with you. Okay. So here are the things I need you
1905080	1911420	to go check. And then you can go watch this online after. Set your scope, only, only check things in
1911420	1918200	scope. Verify account structure, identity, access control. All the same best practices apply, it's just
1918200	1924880	different settings, right? You already know all of that. Set an Azure policy. And then if someone is
1924880	1931820	not obeying it, go buy them donuts and ask them nicely. And then after, go check. Turn on Azure
1931820	1937520	Security Center. So after you turn on MFA, turn on Azure Security Center, at least on the free level.
1937520	1943840	It's free. And then just go through and do all the recommendations and fix them. Use the cloud
1943840	1949000	native features. So there's threat detection, adaptive application controls, file integrity
1949000	1956300	monitoring, just in time. And now there's network security hardening. And follow the network best
1956300	1963020	practices. Like they all still apply. So network security groups, routes, access, network watcher,
1963020	1971020	firewalls, express route, jump boxes. Make sure you're on top of your alerts. A thing that you can do
1971020	1976260	is you can like go through and start customizing them so it stops alerting you on things that are
1976260	1982780	annoying. There's a lot less alerts in here than there are on other sims I've used. Because we know
1982780	1987680	ourselves. As opposed to when you plug in a different sim, you have to teach it for a long time. Oh, I'm
1987680	1997640	so done. I'm done. I'm done now. I'm done. Okay. So what did we learn today other than we're done?
1997640	2005320	We learned this. And here's the resources. Just take a picture of this. That's it. Thank you!
