20 minSeason 1, episode 33

NSA and CISA Red and Blue Teams Share Top Ten Cybersecurity Misconfigurations

With Chris Romeo, Izar Tarandach, and Matt Coles

Infrastructure, identity & resilience

Matt, Chris, and Izar discuss the recently published "NSA and CISA Red and Blue Teams Share Top Ten Cybersecurity Misconfigurations." They review each point and critically analyze the document's content, pointing out areas where the terminology might be misleading or where the emphasis should be shifted.

Episode title image: NSA and CISA Red and Blue Teams Share Top Ten Cybersecurity Misconfigurations

Listen to the conversation

About this episode

Matt, Chris, and Izar discuss the recently published "NSA and CISA Red and Blue Teams Share Top Ten Cybersecurity Misconfigurations." They review each point and critically analyze the document's content, pointing out areas where the terminology might be misleading or where the emphasis should be shifted. As they work through the top ten list, several trends and larger conversations appear out of the individual points.

The trio delves into the nuances of system configurations, emphasizing the risks associated with default settings that expose insecure protocols. Systems should not provide options that are inherently insecure! They also touch upon the challenges of network segmentation in the era of software-defined networking and the implications of poor patch management. They highlight the importance of understanding the difference between configuration problems and design flaws, particularly in password management and storage.

The discussion provides insights into the complexities of cybersecurity and the challenges of ensuring that systems are both user-friendly and secure. The dynamic exchange underscores the importance of continuous learning and adaptation in the ever-evolving field of cybersecurity.

Helpful Links:

NSA and CISA Red and Blue Teams Share Top Ten Cybersecurity Misconfigurations
     https://www.cisa.gov/news-events/cybersecurity-advisories/aa23-278a


Follow AI Security Table:

➜ Home: https://securitytable.ai/

➜ X: https://x.com/AISecurityTable

➜ LinkedIn: https://www.linkedin.com/company/ai-security-table/

➜ YouTube: https://www.youtube.com/@AISecurityTable

Transcript · 20 min conversation

0:10Chris Romeo Hey folks, welcome to another episode of the security table. This is an abridged episode because we're going to talk really fast about something and have kind of a shorter episode here. Joined by Izar and Matt and myself, Chris Romeo, we're always around the security table and we're going to jump right in. So I am looking at this NSA and CISA red and blue team share top 10 cybersecurity misconfigurations. Let's pick up with number one and get into it. So default configurations of software and applications. Do we, are we in favor of these or are we against?

0:47Matt Coles Well, so,

0:47Izar Tarandach If you don't configure it right, then it's a misconfiguration, then, uh, yeah, I guess it's pretty much on the top ten.

0:53Matt Coles Well, but I mean, this is, if we have, if we talk about a default configuration, this is making an assumption that the default is bad and therefore, but, but you could say the same thing about everything on this list. If this is your default,

1:06Izar Tarandach Oh, no, no, no, no, wait, wait, they go to default credentials, meaning basically the misconfiguration here is that you are not changing the default passwords, which we know that absolutely nobody ever does, everybody immediately goes and puts a safe, good password instead of the default.

1:24Chris Romeo I mean, that's why with default credentials, you don't let people, you don't give them the choice. There is no default credential. You don't have one. You have them set a password when they're configuring the device or whatever. I wasn't going to name any names. It was supposed to be without

1:39Izar Tarandach I didn't, I just had a thing

1:41Chris Romeo yeah, you have a little sneeze

1:43Matt Coles so on this list, there is no default. I mean, unless you're talking about, about credential hygiene or not, there is no default credentials explicitly on this list.

1:53Izar Tarandach yeah,

1:54Matt Coles But number one is a summary line. It doesn't really need to be its own number, because they have put 11 on this list. If your default configuration is insecure, of course it's going to be number one.

2:08Chris Romeo Yeah.

2:08Matt Coles but all of these other things are also,

2:11Chris Romeo missing. They're, they're mixing default credentials here with poor credential hygiene at number nine. So it doesn't make sense. Why are these not combined? Why would you have two separate things here?

2:20Matt Coles well, so poor credential hygiene could be two things. misconfiguration of your password policies. Or it could be lack of your runtime behaviors around looking at compromised credentials. So in one case it's a configuration, in the other case it's not a configuration. So it's kind of a misleading item on this list.

2:39Chris Romeo Okay.

2:40Izar Tarandach one, one is what one is having the, the, the fact that you shouldn't be able to keep the default past setup. And the second one is you really should choose a good password and you should store it right.

2:56Chris Romeo how about

2:57Izar Tarandach the thing that, just before we go there, the thing that I have a problem with here is that we start with default configurations, which is a big thing, and then we funnel into credentials and permissions, which is a very, very, a much smaller subset than default configurations.

3:13Chris Romeo yeah. Yeah, they talk about service level permissions as well. But look at two. I think we're gonna love two. It's basically the E in STRIDE.

3:21Izar Tarandach I do, I do, but uh, I don't think it's a misconfiguration. I think it's usually more of a design thing

3:27Chris Romeo Ooh, good point. Let's unpack that a little bit. So why, why is this a design problem and not a misconfiguration?

3:35Izar Tarandach because it, it Putting, putting it, I, I think that lumping it together as a misconfiguration under this title basically means you are, you are using accounts that have way too much, too, way too much privileges than they should. Right. Which is not exactly a problem of a problem of separation. It's a problem of the way that you design your system and you are giving one, one account the ability of being everything, rather than saying we have this set of accounts that's admin accounts and we have this set of accounts that's user accounts.

4:12Chris Romeo I think we have a context problem. We're looking at this through the lens of AppSec and software and ProdSec people. I just took a closer look. This says top 10 cybersecurity misconfigurations. So they're not specifically talking about design, like designing a web app. They're talking about excessive account privileges and elevated service account permissions that would be part of an operating Windows network in an enterprise.

4:36Matt Coles Yeah, so let's talk about that

4:38Izar Tarandach Aren't those applications?

4:39Matt Coles Well, so think about number one, think about number one in that context then. Leaving the default configuration is the problem, right? by not changing the configuration to a secure state. If it requires elevating security, and I will just, and this is a lightning round here, but, you know, just think about the, the CISA Secure by Design, Secure by Default guidelines that came out recently in updated form. Secure by Default means come secure. And you have to weaken security. We talk about loosening guides, but most of the time come products and application applications and software are shipped in a default configuration is insecure and leaving it in that insecure configuration state puts it the

5:23Matt Coles number one on this list. Number two is likewise. Those things often ship with an administrative account. That administrative account may be the only account that's that's installed by default. And people will use it for operations when they shouldn't. They should create, they should create an additional account, non privileged, to be used for, for general purpose or something that's view only for, for metrics and reporting purposes or, or whatever. And you should be separation of the, the application should enforce separation of duties and users of those applications should reinforce that.

5:59Chris Romeo All right. So let's look at three. I don't get this one. Insufficient

6:03Izar Tarandach four, actually,

6:05Matt Coles What, you don't get this at all? How do you, how do you, you can't measure what you don't know, right? You can't defend what you don't have

6:11Chris Romeo yeah, but isn't everything encrypted in the world we live in now? How is, how can you monitor anything on a network that's not

6:17Izar Tarandach Oh, no, no, no, no, no, no,

6:17Chris Romeo just a bunch of TLS going back

6:18Matt Coles packet inspection,

6:19Izar Tarandach no, no, no, you can,

6:19Matt Coles TLS offloading.

6:21Izar Tarandach you can monitor for, for, uh, streams are not predicted in your threat model. So I know that these two things are expected to talk, but if I see A talking to Z, all of a sudden, oh wait, that's not supposed to happen.

6:36Matt Coles Right. But also with TLS offloading and deep packet inspection, I mean, once you're, yes, we're supposed to be in a world of zero trust, right, where systems are going to be on island unto themselves. But traditionally, you know, there's a network boundary where you may terminate TLS at the network boundary and then everything within it can be deep packet inspected and monitored for the traffic. And if you don't do that, then you're potentially leaving yourself at risk.

7:02Chris Romeo I mean, can you do that at the speed of an enterprise network though? Can you, I mean, we're talking

7:09Izar Tarandach if you use mirror traffic,

7:11Chris Romeo in a 10 gig connection, you can decrypt all of that TLS traffic

7:16Matt Coles With hardware, with hardware decryption. Yeah, yeah. With hardware decryption. Absolutely.

7:20Izar Tarandach you can.

7:22Chris Romeo Okay. Wow.

7:23Izar Tarandach But the thing

7:24Chris Romeo The world of computing has gotten further.

7:26Izar Tarandach that, the thing that's sort of bothering me here is that we jumped from configuration of actual stuff and how you use stuff to all of a sudden on three and four we are looking at networks.

7:41Chris Romeo And This is designed too. It

7:43Izar Tarandach And many times it's not the same people who do both things. So who's the public for this thing here?

7:48Matt Coles I guess it's misleading. It's misleading because it's not a configuration. It's, it's,

7:53Chris Romeo It is. It is a configuration. Be when, because you could, I mean, whenever, whenever you de, whenever you de you designed, when you go to implement it, it is, you are configuring your network monitoring tools in an insufficient way.

8:07Izar Tarandach Well, you configure it because it has to be configured to be, to be of use, but it's not a configuration problem of the environment or the system or the whatever. Fair.

8:17Matt Coles We're nit-picking on words at this point.

8:19Chris Romeo Yeah, let's, let's keep, but to your earlier point about design, there is a design element to, if you properly design your network monitoring, you don't have insufficient network monitoring. And so

8:31Matt Coles And by the way, and by the way, for four, with software defined networking, this is absolutely a configuration issue,

8:37Chris Romeo and four, just for the record, is lack of network segmentation.

8:41Matt Coles right? So having

8:42Izar Tarandach could be architecture.

8:44Matt Coles it is, it is an architecture and it may

8:47Izar Tarandach architecture now is configuration.

8:51Matt Coles oh, we could have an episode alone on that one.

8:53Izar Tarandach I dare you. I dare you to go to an architect and say What you do is configuration. I dare you,

8:59Chris Romeo Yeah, you're, you're change management now, friend. That's what you do. It's

9:03Matt Coles Wait, isn't that, isn't that Dev, isn't that DevOps? Isn't that what DevOps and DevSecOps is all about?

9:08Chris Romeo What?

9:09Izar Tarandach And he just said the quiet part loud.

9:13Chris Romeo Well, there's another dollar in the swear jar from. from Matt Coles,

9:17Matt Coles at least I didn't say pane of glass.

9:20Chris Romeo or ShiftLeft, or any of my other,

9:22Matt Coles Single pane

9:23Chris Romeo of the other words that cause pain.

9:26Matt Coles right. So poor patch management. Number five, not a configuration per se, unless it's automatic updates we're talking about.

9:34Chris Romeo Oh, I see what you're saying.

9:35Izar Tarandach oh, oh, speaking of the word jar, so, is this one talking about SBOMs? Is it SBOM time?

9:44Chris Romeo Please no. Please stop.

9:48Matt Coles Please

9:52Izar Tarandach already? Wait, do we have insufficient DAST anywhere?

9:56Chris Romeo Oh man, this is... Okay, so poor patch management, lack of regular patching, use of unsupported operating systems. To your point, this isn't a configuration unless it's an automated thing. This is just a point, this isn't the top 10 misconfigurations, it's the top 10 problems

10:13Izar Tarandach Yeah, true,

10:15Chris Romeo It's a la so the, the, the misconfiguration would be a lack of automated patch management. Cause that's something you could change. You could turn it on or turn it off. Alright, good. Six, bypass of system access controls. Wait a minute.

10:28Matt Coles I'm not entirely sure this is a configuration issue. This is a, this is an active attack kind of thing,

10:32Izar Tarandach yeah, I would say that having system access controls is the configuration or misconfiguration,

10:39Chris Romeo look at the first sentence there. That's a threat. The first sentence is a threat. A malicious actor can bypass system access controls by compromising alternate authentication methods in an environment. I

10:48Matt Coles okay, so there's the config, there's the configuration problem, right? If you, if, and it goes back to number one, if you have a default, if the system's default configuration exposes insecure protocols and you leave them open, you're at risk to this threat. Right? Number two, the second sentence here, if a malicious actor can collect hashes. Well, how do they collect hashes? You've left Lanman in your, in your system, right? Or NTLM or whatever.

11:11Chris Romeo And that you're saying that's the lack, that's the configuration problem or the

11:14Matt Coles a configuration problem, right? So you've missed configuration. You've left insecure protocols in place.

11:20Izar Tarandach the whole item is just listing ways of bypassing authentication.

11:25Matt Coles Yeah, but they, they should, they should have taken the, the statements and turned 'em around in, in terms of, as a systems, as a system designer and a system deployer don't leave insecure configurations because they'll allow malicious actors to do X, Y, Z. That's how it probably should have been stated. That's, I think, what they intended to say. But, but what they did was they, they took the attack first and not the, not the cause.

11:47Chris Romeo Yeah. So then seven, weaker misconfigured MFA methods.

11:54Matt Coles Oh.

11:55Chris Romeo But listen where they start here. Misconfigured smart cards or tokens. Generally government or DoD networks. So not really that applicable to the average enterprise. Like we don't use smart cards anywhere. At least I don't know anyone who uses smart cards.

12:10Matt Coles Uh, some companies, well yeah, okay, maybe primarily in government or DoD, but I, you know, have high security environments that do use this, use smart cards. It's not unheard of, and people use YubiKeys and other FIDO tokens all the time.

12:24Chris Romeo I mean, that's not a smart card though, right? A YubiKeys,

12:27Matt Coles It's a token.

12:28Chris Romeo they're talking

12:28Izar Tarandach a token, it's a...

12:29Chris Romeo They're talking about CAC cards here from,

12:31Matt Coles They are. CAC and PIV, right,

12:33Izar Tarandach are talking about tokens as well, so you could think about FIDO and all that

12:37Matt Coles So if you have a, if you have a, a Google Titan, or if you have a, uh, uh, a YubiKeys, right? Those are, those are access tokens. Those are tokens that are in scope here. What's interesting though, is they don't start with not having MFA in the first place. They start with the assumption that you have MFA and it's insecurely configured, not, you don't have MFA.

12:58Chris Romeo Well, that

12:59Matt Coles one.

12:59Chris Romeo Not having MFA, to our earlier discussion would not be a misconfiguration.

13:02Izar Tarandach Exactly, yeah,

13:03Chris Romeo be a design problem. So they, they kind of followed the

13:05Matt Coles unless it was a configuration option that you could enable MFA that you didn't.

13:09Chris Romeo I see.

13:10Izar Tarandach are assuming that you have it, but it's misconfigured.

13:12Matt Coles That's

13:13Chris Romeo All right. Now eight, we go back to network.

13:15Izar Tarandach No, no, wait, wait, wait, but before we go there, then they jump to lack of phishing resistant MFA.

13:20Matt Coles Which is a configuration problem again.

13:23Izar Tarandach is the configuration or is design of the MFA, perhaps the MFA solution is not good enough.

13:28Matt Coles That's true if you have one to choose from, but if you have multiples to choose from, and you don't enable, again, the strongest one available,

13:37Izar Tarandach Oh, oh, no, sorry. On, on upon reading. They seem to be addressing, uh, MFA over SMS because they say that exploitation of Signaling System 7 protocol vulnerabilities and SIM swap techniques is the problem.

13:51Matt Coles right,

13:52Chris Romeo So we agree with that. I mean, we agree

13:54Matt Coles if you have the option, if you have an option of using one that

13:56Izar Tarandach not a misconfiguration,

13:58Matt Coles unless it's an option,

14:00Chris Romeo Which a lot of times it is an option. A lot of times it is an option these days between push

14:05Izar Tarandach But again, wait.

14:06Chris Romeo and text based,

14:09Izar Tarandach If you have a choice between A or B, is that a misconfiguration if you choose the weaker of them? Or is it a bad design choice?

14:21Chris Romeo SMS based, or secure by default. So

14:23Matt Coles it's a bad default. It's a bad default, which means it's a design. It's a configuration choice and it's a bad design in that you're giving a poor choice.

14:34Chris Romeo Yeah,

14:35Matt Coles It's.

14:35Izar Tarandach OK, you convinced me.

14:37Chris Romeo all right, 8. Insufficient ACLs on network shares and services. So now we're back to the network again.

14:42Matt Coles Yeah, this is a configuration problem that most definitely you've set the wrong ACLs.

14:46Chris Romeo we're just we're just we're saying this is a misconfig and we're moving on.

14:50Matt Coles Yep.

14:51Chris Romeo All right, 9 says poor credential hygiene.

14:56Izar Tarandach that's basically bad configuration of human persons because,

15:02Matt Coles Well, this is, this is password. If you're using passwords and you're not using MFA or if you're using MFA with passwords and you have crackable passwords, that means you've set a weak password policy. Right? You haven't used 20 characters with symbols, alphanumeric and spaces.

15:17Izar Tarandach Wait, wait, wait, we know that those policies are not all that they are hyped up to be, right?

15:23Chris Romeo Yeah, I'm, I

15:23Matt Coles But if you enforce a strong password policy...

15:25Chris Romeo Mean, what is the new, it's NIST 800-63, right? 800-63 redefines password policies as, as what they should be in a proper

15:35Matt Coles Long, easy to remember, but hard to guess passphrases that don't change frequently.

15:39Chris Romeo Not changeable, unless there's been a breach, you don't have to change them.

15:41Izar Tarandach And here they say that it's, if it's shorter than 15 characters, then it's bad.

15:47Matt Coles And clear text password disclosure. We talked about this earlier with use of insecure protocols that expose credentials on the wire. Right? But what, what's, I guess that's, that's the, that's the choosing of a bad credential that can be easily guessed or reusing credentials and exposing it through insecure configurations. That's ultimately what it's getting to.

16:13Izar Tarandach But again, is this a configuration thing? I mean, the only configuration that I can think of in here is the size of the password, or the choice of hashing

16:22Chris Romeo yeah,

16:23Izar Tarandach method

16:24Chris Romeo there's, there's so much more they could have done. Like even just referencing 800-63 is. The current standard of what I think of as the best practice. Um, I don't, I don't think, I mean, if somebody is in this day and age, if they're allowing short passwords and non complex passwords, then, shame on them...

16:46Matt Coles And then, and then they're, and then they talk about password stealth held in clear text. So this is not a configuration issue, right? This is not

16:52Izar Tarandach configuration.

16:53Chris Romeo That's a design problem. They,

16:54Izar Tarandach I don't know any system that says would you like to store your passwords in clear text. Oh, okay, I'm going to configure it this way. Yay! Let's hope for the good things.

17:03Chris Romeo All right, we got to pick up 10 here. Unrestricted code execution. So there's a, there's a condition at the top though. If unverified programs are allowed to execute on hosts, a threat actor, Oh, it sounds like a threat, can run arbitrary malicious payloads within a network.

17:17Matt Coles Yeah. In my opinion, I don't know how you can say that this is a configuration issue unless you're running EDR,

17:23Chris Romeo Well, can you, can you somehow force, like on Windows, can you, is there a configuration setting to only run things that are trusted binaries?

17:33Izar Tarandach you, you need stuff on top of it.

17:36Matt Coles No, but you can't, you can have Windows fail to run without prompting for UAC. You could, right, or whatever it's called now.

17:43Chris Romeo Yeah, they had a what, because it was their safe list. Didn't they build a safe list feature years ago for

17:48Matt Coles If it's not digitally signed, if it's not digitally signed, you can,

17:51Izar Tarandach and the certificate is good,

17:53Matt Coles can do, you can do group policies to prevent this.

17:56Izar Tarandach but unless it is a very, and I could be wrong here because I'm not a Windows person, but unless it's a very limited account. You can just click on run it anyway.

18:06Matt Coles Oh yeah, if you're, if you're running as admin, so you're running with elevated privileges, that goes back to the running with elevated privileges discussion,

18:12Chris Romeo Enterprise application environment, not everybody has admin, right? And so, and I think that's where they're going. Now, I don't know why you would turn off those protections in a Windows environment. Why would you turn off all of these things about safe listing applications based on signatures of binaries and things like

18:32Izar Tarandach Because Joe from accounting absolutely needs to be able to run that flash thing that he has from 95. So they have to lower the barriers and give him more

18:46Chris Romeo I guess. Not in my world. Not in my network. I won't allow it. So, all right. Well, that was a fun little quick pass through the NSA, CISA, Red and Blue teams share top 10 cybersecurity misconfigurations. I think we kind of had some fun going through there and pointing out some things. Izar's got the

19:09Izar Tarandach it has to be said, it has to be said that we value the effort. We like that it came out and, uh, we just think that it could be a bit more, I don't know, focused, defined,

19:24Chris Romeo Could be tuned up a little bit to truly make it so that it's clear how everything is a misconfiguration.

19:31Izar Tarandach right. And the mitigations have good stuff. There's a lot to learn in there as well and they have good references. So I think that all in all, 3 out of 5 for the effort.

19:43Chris Romeo yeah, yeah. And it's, you know, they're, they're moving, they're moving the industry forward. It may not be perfect. Nobody's ever going to be perfect and that's okay. Cause there is no perfect security. Um, there is only reasonable security and some of this is reasonable and we'll leave it with that. Thanks folks.

Transcript supplied by Buzzsprout. It may contain transcription errors.

View the original transcript on Buzzsprout

Originally published as The Security Table. Part of the AI Security Table archive.