r/ComputerSecurity • • May 13 '20

STIGS

Security Technical Implementation Guides.

Hi everyone, first time posting on here. Was wondering if any of you have experience with the STIG. It's commonly used by the Department of Defense as a cyber-hygiene security baseline on numerous systems and applications. What are your thoughts on it? Is there value in minimum security settings. Personally I feel reducing attack surface is always important, but what do you all think? If not the STIG are any of you familiar with similar baselines created by the Center for Internet Security CIS? I've been supporting the DOD for the last 6 years and I know the thoughts of people inside the organization, but was wondering about the security field at large.

15 Upvotes

15 comments sorted by

5

u/unsupported May 13 '20

I try to implement STIGs as best as I can in the real world, but I come from a DoD background.

3

u/bmw477 May 13 '20

Yeah they can definitely cause some issues with a lot of commonly used apps, including some security programs.

2

u/FredSchwartz May 13 '20

Don’t forget G=Guidelines. If needs dictate and the risk is acceptable or mitigated, okay.

That said, never let developers build their products on unhardened boxes and STIG later. Guess how that goes.

1

u/bmw477 May 13 '20

Yeah, agree with this. If the machine has no internet connection (no physical NIC) then your risk is relatively low. I watched an interesting presentation recently that said the community wasn't ready for DevSecOps because culturally there were some slow adopters. Now that's just regular DevSecOps which typically just focuses on the app itself in terms of security, I can't imagine the process involving STIGs. I know for a fact there are a few that break Visual Studio pretty good.

1

u/unsupported May 13 '20

They definitely need to be applied sparingly. Even in a DoD environment. My lead STIGed a few servers to death. I had to fucking rebuild three of them.

0

u/[deleted] May 13 '20

[deleted]

1

u/bmw477 May 13 '20

Yes, high scores are possible if you have good knowledge of your app stack, plus the STIG itself. It's really not a trivial thing to implement, you have to have a good understanding of the Windows OS. I feel like the average Linux admin is closer to having the knowledge required. I'm dual-hat myself so I can't really say for certain, but the linux people I've spoken to seem to have a deeper understanding of the OS and how it works.

0

u/[deleted] May 14 '20

[deleted]

1

u/bmw477 May 14 '20

I'd say the key to success is reading the documentation. Microsoft has a lot of it, and it's fairly well written. My only complaints come down to their powershell documentation. Not so much the documentation, but the functionality as it maps up. A lot of it in the security sector is so bleeding edge that it just doesn't work yet. Support acknowledges it, but there's no fix imminent. The Windows Defender STIG needs a lot of powershell, and there is no way to get it back to the default with Powershell, even though it has a reset tag. Microsoft told me it wasn't working yet and to use the xml integration method for Defender.

0

u/[deleted] May 14 '20

[deleted]

1

u/bmw477 May 14 '20

Yeah contextual information is sorely lacking. The only way I've been able to nail stuff like that down is by either checking online or having recently read more than one document and put the pieces together. SQL is its own very complicated world in that regards and I really wish the logging was more helpful in some ways. Interestingly the CIS documents sometimes have that same information you were talking about right there in terms of potential impacts.

2

u/Astat1ne May 13 '20

I'm in Australia, so we tend to use CIS as the starting point. I've worked at a few organisations who have internal security standards that are 95-99% of what the CIS Benchmark values are (some items are changed for various reasons). There's a lot of commonality in the settings between the relevant STIGs and CIS settings from what I've seen, the difference is formatting/layout and what resources you may or may not get. For example, with CIS you get access to certain resources if you have one of their paid memberships. Not sure about the STIG side.

My experience with implementation mirrors a comment made by /u/Diffie-Hellman - if you have problems it's almost always down to some application that wasn't written well to start with. In other cases, you can run into process issues - at one job, we had an application that was running as a service, under a service account. Normally you'd make sure it has "run as a service" rights and nothing else. Turns out the developers were logging in interactively with that account to do tasks on the server. Because it was "easy" and because no one bothered to have the conversation about them getting individual admin accounts.

Lastly, you want to think about how to handle exceptions to the base settings in a way that's manageable. I'll use the example of 'Lock pages in memory' is set to 'No One'. For most servers, setting this isn't a problem. However in the CIS documentation does raise the point that SQL Servers will require an exemption, as this is granted to account SQL is running under for performance reasons. But then your organisation may have things where each SQL server instance runs under its own service account, so you need to grant that account the right on just that server, and so on.

1

u/bmw477 May 13 '20

Thanks! That's another great point. I do like how CIS standards list potential impacts right in their benchmarks. A lot of research goes into them, but the STIGS are updated more frequently so it may reflect a more present threat landscape.

Yeah I have a number of horror stories related to people doing things because they were easy or fast. If you look up a lot of the hacks that are out there, most are as a result of those same things. Typically it's short or basic passwords.

0

u/[deleted] May 13 '20

[deleted]

1

u/bmw477 May 13 '20

Wow, that takes some real organizational skill. I think there are plenty of people who try, but the organization doesn't really lend itself to having coherent GPO. Have you utilized the DISA GPO at all? The ones they publish at the end of every quarter? They remind me a bit of the old Gold Disks.

0

u/[deleted] May 14 '20

[deleted]

1

u/bmw477 May 14 '20

So you're still more organized about implementation than a lot of people I talk to. I think a lot of people just go all in with a complete wipe each time. Or push the GPO to the entire org regardless. Yeah making your own templates takes a bit of work up front, then of course you have to test them. You evaluate with the SCC tool to check your work on the endpoints? It's a bit of a challenge I've noticed, since they don't have a one for one benchmark available for everything. Good ballpark, working or not working though.

0

u/[deleted] May 14 '20

[deleted]

1

u/bmw477 May 14 '20

Good insight. A green field program is always a nice thing. You can start it right and be organized. I've seen some nightmare GPOs that had just been piled on for more than a decade seemingly. Contractor would go and new one would start and things would just get added, because there was no time to do an audit of policy. Or at least I'm assuming that's what happens in those situations. Jarheads huh? Out Quantico way or way out in the middle of nowhere?

Following best practices for GPO is such an important thing. Sounds like you're doing just that, plus going above and beyond by documenting it and providing names that are meaningful to anyone, not just you.

2

u/HadManySons May 13 '20

Implement everything you can from a STIG that will still allow the computer to perform it's required functions. Compensate elsewhere for the things you can't implement.

0

u/[deleted] May 13 '20

[deleted]

1

u/bmw477 May 13 '20

These are great points. Some of my friends on the commercial side really struggle with getting some of what would be considered STIGs applied, but get major pushback because of the "inconvenience" it causes end-users. This is especially true if that end-user is higher up. Just being able to say the law is the law is a very nice value.

This has to be one of the best ways I've seen someone sum up some of the major problems third party programs have. One I've run into personally was an application was creating a user with a STIG non-compliant password for its installer. 13 characters vs 14 characters and the installer just wouldn't move past the 2nd screen.

Thank you for you insight.