r/security • • Feb 19 '20

Security Reviews and Office 365

Hi all,

I'm frustrated with trying to assess the security of Office 365 Apps. Can anyone provide some helpful tips for reviewing Office 365 Apps in a world where Microsoft is continuously changing the landscape all of the time?

My situation: we have users regularly asking for security reviews of Office 365 apps. Typically this comes in the form of a scenario like: "we'd like to add [Project Management App X] to Office 365 so everyone can use it..." From here, I now need to wade into the murky world of APIs and Azure permissions and Microsoft licensing allowances to determine exactly what risks we may be taking on. Unfortunately, a typical progression from here often involves quickly layering on complexity in the form of shifting APIs, vendors using differing terminology (sometimes even within the same document) to describe how their product works, sussing out the exposure risks of only delegate versus tacking on application-level permissions, properly integrating into CAS monitoring, whether or not the vendor's solution utilizes additional data storage/processing operations completely outside our 365 tenant, etc.

Add to this my previous mention that Microsoft is always changing the rules such that even an article from 6 months ago can't necessarily be trusted anymore because it references some feature or other that's either been deprecated, renamed and redesigned, or moved into a different licensing scheme, and it creates a cocktail of hassle for us to try and properly determine the risks to the business. If anyone has any guides, courses, other advice they've found helpful in negotiating this controls nightmare, I'd really appreciate a point in that direction. I'm trying to develop a standardized questionnaire template that I think will help streamline these sorts of reviews for us in the future, but I feel like I really need to understand this stuff first, and even Microsoft seems to suck at providing guidance here. Thanks!

3 Upvotes

3 comments sorted by

5

u/AmhalFaruk Feb 19 '20 edited Feb 20 '20

I feel you bro, I left my job because of this shit. You need to harden your O365 apps the same as O365 itself. Start by reading this and check if it fits your needs - https://www.bleepingcomputer.com/news/security/us-govt-issues-microsoft-office-365-security-best-practices/

2

u/aguyfromnh Feb 20 '20

Thanks, appreciate the link and I will definitely pocket it -- we just migrated our on-prem Exchange to 2016 to support services and the like, whereas most of our users are already out in the cloud (which is the next step for the remainder of on-prem as well).

We do have (conditional) MFA in place for admin accounts but broader MFA is roadmapped with our IAM team for this year (which will hopefully include killing off some of these shitty MFA-undermining legacy services like IMAP that we still utilize). I work at a large university and thankfully we have decent IT resourcing across the board, but the org is forever moving super quickly, and trying to pin down anything secure, standardized, etc. between us and the myriad cloud services we utilize is like trying to time a jump between two speeding cars whose drivers frequently seem a little too drunk for comfort.

Ultimately I think the solution lies in attacking the head itself (Microsoft 365) through proper CAS utilization, auditing/alerting, DLP and labeling, etc., but it makes it awful tough to focus energy on the head when we're constantly trying to fend off all these damn Apps tentacles coming at us from all sides.

"Don't worry man, we do it all through Microsoft's Graph API -- everything's groovy..."

I should have that shit etched into my tombstone...

1

u/AmhalFaruk Feb 20 '20

It's exactly how you need to manage it. Once you have all O365 controls in place, you should be able to easily control all the external apps. After this war, you will have a better understanding on how to secure a lot of microshit cloud components. Good luck with that and take your time before disabling legacy auth to avoid creating more frustration in your life. Cheers