So your Microsoft 365 tenant has been compromised by a malicious app!
Here's a step by step guide to block access to the app and remove it from your tenant -Bkmk this!
1️⃣ Go to Microsoft Entra → Enterprise Apps
2️⃣ Select the compromised app
3️⃣ Permissions → Review Permissions
Select 'This app is malicious and I'm compromised'
Follow the recommendations to
✅ Disable the app
Then run the PowerShell scripts that is generated to
✅ Require user assignment
✅ Revoke all permissions
✅ Invalidate refresh tokens of users with access to the app
What are HAR files?
A HAR file is a recording of your current session & includes all web traffic including secrets & tokens.
Admins usually share these files with customer support when troubleshooting issues.
Here's a thread on how you can handle .har files safely.
🧵⬇️
Exporting HAR files
There are a few ways to record your session to create HAR files. You might need to use different tools depending on what you are recording.
→ Browser
Every modern browser lets you export an HAR file of the current tab's session from the Network tab.
→ Desktop
Sometimes you might need to troubleshoot a non-browser-based app, for example a desktop app like Outlook or a CLI or PowerShell script.
Your admins are usually asked to use an app like Fiddler that adds a system proxy to capture all the web traffic on the desktop.
How many of your users have access to your customer's credit card data❓️
Why not apply the forced expiry to the subset of users that actually handle credit card data?
If a user doesn't have the required MFA set up, these settings will interrupt the user at the time of sign in and guide them to set up the auth methods.