%3CLINGO-SUB%20id%3D%22lingo-sub-1719976%22%20slang%3D%22en-US%22%3EThe%20Case%20of%20a%20Compromised%20Exchange%20Online%20User%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1719976%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHi%20Everyone%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EZoheb%20here%20again%20with%20my%20colleague%20Simon%20Woolley%20from%20the%20beautiful%20city%20of%20Dubai%20and%20today%20we%20will%20be%20sharing%20some%20details%20on%20how%20we%20helped%20one%20of%20our%20SMC%20customer%20find%20a%20compromised%20user%20and%20remediate%20the%20impact.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20haven%E2%80%99t%20read%20the%201%3CSUP%3Est%3C%2FSUP%3E%20blog%20which%20covers%20the%20background%20do%20give%20it%20a%20read%20now%20before%20continuing%20here.%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fcore-infrastructure-and-security%2Fhow-the-microsoft-mission-critical-team-helped-secure-aad%2Fba-p%2F1564619%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3EHow%20the%20Microsoft%20Mission%20Critical%20Team%20helped%20secure%20AAD%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ELet%20me%20continue%20our%20story%20about%26nbsp%3BProtecting%20the%20compromised%20user.%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CU%3E%26nbsp%3B%3C%2FU%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CU%3EThe%20Problem%3A%3C%2FU%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOur%20customer%20got%20alerted%20through%20Azure%20AD%20Risky%20Sign%20in%20Activity%20that%20the%20user%20is%20in%20high%20Risk%20and%20has%20done%20impossible%20travel.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20was%20an%20important%20user%20in%20the%20organization%20as%20he%20was%20from%20the%20CFO%20office.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CU%3EThe%20Solution%3A%3C%2FU%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20customer%E2%80%99s%20security%20team%20reached%20out%20to%20SMC%20to%20check%20why%20we%20are%20seeing%20such%20impossible%20travel%20alerts%20for%20this%20specific%20user.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESMC%20team%20checked%20and%20found%20that%20most%20of%20the%20Risky%20Sign%20ins%20were%20from%20multiple%20Geographies%20for%20Exchange%20Online%2C%20we%20made%20this%20user%20change%20password%20and%20enforced%20MFA.%3C%2FP%3E%0A%3CP%3ESee%20this%20blog%20to%20know%20%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fidentity-protection%2Fhowto-identity-protection-investigate-risk%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EHow%20To%20Identity%20Investigate%20Risk%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorZoheb%20Shaikh_0%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22p1.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F222554iE4FA6E1D9B450BC5%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22p1.png%22%20alt%3D%22p1.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBased%20on%20the%20Sign%20in%20activities%20we%20were%20able%20to%20see%20Success%20in%20many%20of%20the%20Risky%20Sign%20in%20activities%2C%20unfortunately%20the%20customer%20did%20not%20have%20any%20%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fcore-infrastructure-and-security%2Frisky-business-in-azure-ad%2Fba-p%2F1564669%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3EIdentity%20Protection%3C%2FA%3E%3C%2FSPAN%3E%20enabled%20till%20then.%20To%20further%20investigate%20the%20issue%2C%20we%20involved%20the%20customer%20messaging%20team%20and%20Microsoft%20Incident%20Response%20team.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESimon%20found%20that%20several%20actions%20had%20been%20taken%20in%20this%20user's%20mailbox%2C%20indicating%20that%20the%20users'%20Identity%20had%20been%20compromised%20and%20was%20being%20used%20to%20gather%20additional%20credentials.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20attacker%20actions%20included%20the%20following%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EThis%20user%20had%20sent%20emails%20to%20multiple%20users%20in%20the%20organization%20with%20a%20link%20to%20a%20malicious%20website.%3C%2FLI%3E%0A%3CLI%3EA%20new%20forwarding%20rule%20had%20been%20created%20to%20forward%20mail%20to%20an%20external%20address.%3C%2FLI%3E%0A%3CLI%3EA%20new%20inbox%20rule%20had%20been%20created%20to%20move%20items%20to%20RSS%20Subscriptions%2C%20and%20mark%20the%20mails%20as%20read.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EGoing%20back%20further%20we%20noted%20that%20a%20week%20before%20this%20the%20user%20had%20clicked%20on%20a%20URL%20that%20was%20determined%20by%20ATP%20to%20be%20malicious.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBasically%2C%20the%20attacker%20tried%20to%20compromise%20multiple%20users.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOur%20immediate%20response%20to%20this%20issue%20consisted%20of%20the%20following.%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EWe%20changed%20the%20user%20password.%3C%2FLI%3E%0A%3CLI%3EWe%20enforced%20MFA%20on%20the%20user%20account.%3C%2FLI%3E%0A%3CLI%3ERemoved%20the%20inbox%20rule%20using%20Exchange%20PowerShell%20commands.%3C%2FLI%3E%0A%3CLI%3ERemoved%20the%20forwarding%20address.%3C%2FLI%3E%0A%3CLI%3EUsed%20eDiscovery%20to%20find%20and%20remove%20the%20malicious%20mail%20from%20internal%20mailboxes.%3C%2FLI%3E%0A%3CLI%3EReviewed%20all%20users%20that%20had%20clicked%20the%20URL%2C%20changed%20their%20passwords%2C%20and%20enforced%20MFA.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EReference%20for%20detailed%20information%20on%20similar%20remediation%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-365%2Fsecurity%2Foffice-365-security%2Fdetect-and-remediate-outlook-rules-forms-attack%3Fview%3Do365-worldwide%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-365%2Fsecurity%2Foffice-365-security%2Fdetect-and-remediate-outlook-rules-forms-attack%3Fview%3Do365-worldwide%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-365%2Fsecurity%2Foffice-365-security%2Fresponding-to-a-compromised-email-account%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-365%2Fsecurity%2Foffice-365-security%2Fresponding-to-a-compromised-email-account%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBeing%20part%20of%20the%20Microsoft%20Mission%20Critical%20Solution%20team%2C%20we%20always%20go%20above%20and%20beyond%20to%20support%20our%20customers.%20The%20first%20step%20is%20always%20to%20quickly%20resolve%20the%20reactive%20issue%2C%20then%20identify%20the%20Root%20Cause%2C%20and%20finally%20through%20our%20Proactive%20Delivery%20Methodology%2C%20making%20sure%20this%20does%20not%20happen%20again.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20this%20case%20we%20helped%20our%20SMC%20customer%20identify%20the%20cause%20and%20gave%20all%20necessary%20recommendations%20to%20avoid%20any%20future%20certificate%20issues.%20Below%20are%20the%20reasons%20this%20issue%20occurred%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CU%3EDetailed%20long-term%20solution%20%3C%2FU%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CU%3E%26nbsp%3B%3C%2FU%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CU%3EIdentity%20Protection%3C%2FU%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EEnforced%20MFA%20through%20an%20Identity%20Protection%20Policy%20based%20on%20the%20users%20Risk%20level.%3C%2FP%3E%0A%3CP%3EEnabled%20MFA%20for%20any%20user%20not%20using%20a%20trusted%20IP.%3C%2FP%3E%0A%3CP%3ESee%20the%20blog%20below%20for%20more%20information%20on%20how%20we%20implemented%20this.%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fcore-infrastructure-and-security%2Frisky-business-in-azure-ad%2Fba-p%2F1564669%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3ERisky%20Business%20in%20AzureAD%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CU%3EAzure%20Logic%20App%3C%2FU%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EWe%20developed%20a%20logic%20app%20in%20Azure%20that%20triggered%20when%20a%20user%20clicks%20on%20a%20malicious%20link.%3C%2FP%3E%0A%3CP%3EThis%20logic%20app%20then%20performs%20the%20following%20actions.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ESend%20the%20user%20a%20message%20in%20Teams%20to%20alert%20them%20that%20they%20had%20clicked%20a%20malicious%20link.%20This%20is%20a%20backup%20as%20the%20mailbox%20may%20be%20compromised%20and%20the%20user%20may%20not%20receive%20mail.%3C%2FLI%3E%0A%3CLI%3ESend%20the%20user%20an%20email%20to%20alert%20them.%3C%2FLI%3E%0A%3CLI%3ESend%20a%20mail%20to%20the%20security%20team%20for%20additional%20review.%3C%2FLI%3E%0A%3CLI%3ESend%20a%20mail%20to%20the%20Helpdesk%20to%20log%20a%20call.%3C%2FLI%3E%0A%3CLI%3ESend%20a%20mail%20to%20the%20Messaging%20team%20for%20further%20investigation.%3C%2FLI%3E%0A%3CLI%3EAdd%20the%20user%20to%20a%20Security%20group%20which%20has%20MFA%20enforced%20through%20conditional%20access%20policies.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CU%3EAnti-Spam%20Settings%3C%2FU%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3ECreated%20a%20new%20outbound%20antispam%20policy%20to%20limit%20the%20number%20of%20recipients%20per%20hour%20internally%2C%20externally%20and%20a%20total%20number%20of%20recipients%20per%20day.%20This%20is%20to%20limit%20the%20scope%20of%20compromise.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EUsers%20that%20need%20to%20send%20more%20had%20to%20provide%20a%20business%20case%20and%20are%20added%20to%20a%20group%20to%20enforce%20MFA%20and%20this%20group%20was%20assigned%20to%20an%20outbound%20anti-spam%20policy%20with%20higher%20limits.%3C%2FP%3E%0A%3CP%3EPlease%20see%20this%20blog%20for%20more%20details%20on%20%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-365%2Fsecurity%2Foffice-365-security%2Frecommended-settings-for-eop-and-office365-atp%3Fview%3Do365-worldwide%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Erecommended%20settings%20for%20eop%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20resulted%20in%20a%20drastic%20reduction%20in%20the%20number%20of%20risky%20users%20and%20risky%20sign-ins.%20Additionally%20we%20helped%20implement%20a%20process%20of%20investigation%20and%20remediation%20of%20these%20at-%20risk%20accounts%20from%20the%20service%20desk%20to%20the%20internal%20security%20department.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENOTE%3A%20The%20features%20and%20guidelines%20implemented%20in%20this%20case%20were%20specific%20to%20this%20customer%E2%80%99s%20requirements%20and%20environment%2C%20so%20this%20is%20not%20a%20%E2%80%9CGeneral%E2%80%9D%20guideline%20to%20enable%20any%20of%20the%20mentioned%20features.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ERegards%2C%3C%2FP%3E%0A%3CP%3ESimon%20%26amp%3B%20Zoheb%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1719976%22%20slang%3D%22en-US%22%3E%3CP%3EZoheb%20here%20again%20with%20my%20colleague%20Simon%20Woolley%20from%20the%20beautiful%20city%20of%20Dubai%20and%20today%20we%20will%20be%20sharing%20some%20details%20on%20how%20we%20helped%20one%20of%20our%20SMC%20customer%20find%20a%20compromised%20user%20and%20remediate%20the%20impact.%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1719976%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EZohebShaikh%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1741161%22%20slang%3D%22en-US%22%3ERe%3A%20The%20Case%20of%20a%20Compromised%20Exchange%20Online%20User%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1741161%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F182068%22%20target%3D%22_blank%22%3E%40Zoheb%20Shaikh%3C%2FA%3E%3C%2FP%3E%3CP%3EMonitoring%20and%20alerting%20is%20the%20best%20tool%20for%20the%20IT%20team!%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMay%20you%20please%20share%20the%20Logic%20App%20you%20created%20to%20alert%20the%20user%20and%20the%20IT%20team%3F%26nbsp%3B%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1748437%22%20slang%3D%22en-US%22%3ERe%3A%20The%20Case%20of%20a%20Compromised%20Exchange%20Online%20User%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1748437%22%20slang%3D%22en-US%22%3E%3CP%3EYes%2C%20I%20think%20I%20agree%20with%20Rmartinez1427%20about%20the%20Logic%20App%20flow%20content.%3C%2FP%3E%0A%3CP%3EIt%20sounds%20like%20the%20Logic%20App%20has%20to%20relied%20on%26nbsp%3B%20Endpoint%20Protection%20and%20Identity%20Protection%20to%20get%20it%20true%20positive%20alert.%3C%2FP%3E%0A%3CP%3EPlease%20advise.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1748623%22%20slang%3D%22en-US%22%3ERe%3A%20The%20Case%20of%20a%20Compromised%20Exchange%20Online%20User%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1748623%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F408331%22%20target%3D%22_blank%22%3E%40TanTran%3C%2FA%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F818421%22%20target%3D%22_blank%22%3E%40Rmartinez1427%3C%2FA%3E%26nbsp%3Bthanks%20for%20sharing%20your%20thoughts%2C%20we%20plan%20to%20publish%20this%20in%20upcoming%20blogs..%3C%2FP%3E%3C%2FLINGO-BODY%3E
Microsoft

 

Hi Everyone,

 

Zoheb here again with my colleague Simon Woolley from the beautiful city of Dubai and today we will be sharing some details on how we helped one of our SMC customer find a compromised user and remediate the impact.

 

If you haven’t read the 1st blog which covers the background do give it a read now before continuing here.

How the Microsoft Mission Critical Team helped secure AAD

 

Let me continue our story about Protecting the compromised user.

 

The Problem:

 

Our customer got alerted through Azure AD Risky Sign in Activity that the user is in high Risk and has done impossible travel.

 

This was an important user in the organization as he was from the CFO office.

 

The Solution:

 

The customer’s security team reached out to SMC to check why we are seeing such impossible travel alerts for this specific user.

 

SMC team checked and found that most of the Risky Sign ins were from multiple Geographies for Exchange Online, we made this user change password and enforced MFA.

See this blog to know How To Identity Investigate Risk

 

p1.png

 

Based on the Sign in activities we were able to see Success in many of the Risky Sign in activities, unfortunately the customer did not have any Identity Protection enabled till then. To further investigate the issue, we involved the customer messaging team and Microsoft Incident Response team.

 

Simon found that several actions had been taken in this user's mailbox, indicating that the users' Identity had been compromised and was being used to gather additional credentials.

 

The attacker actions included the following:

  • This user had sent emails to multiple users in the organization with a link to a malicious website.
  • A new forwarding rule had been created to forward mail to an external address.
  • A new inbox rule had been created to move items to RSS Subscriptions, and mark the mails as read.

 

Going back further we noted that a week before this the user had clicked on a URL that was determined by ATP to be malicious.

 

Basically, the attacker tried to compromise multiple users.

 

Our immediate response to this issue consisted of the following.

  • We changed the user password.
  • We enforced MFA on the user account.
  • Removed the inbox rule using Exchange PowerShell commands.
  • Removed the forwarding address.
  • Used eDiscovery to find and remove the malicious mail from internal mailboxes.
  • Reviewed all users that had clicked the URL, changed their passwords, and enforced MFA.

 

 

Reference for detailed information on similar remediation

https://docs.microsoft.com/en-us/microsoft-365/security/office-365-security/detect-and-remediate-out...

https://docs.microsoft.com/en-us/microsoft-365/security/office-365-security/responding-to-a-compromi...

 

 

Being part of the Microsoft Mission Critical Solution team, we always go above and beyond to support our customers. The first step is always to quickly resolve the reactive issue, then identify the Root Cause, and finally through our Proactive Delivery Methodology, making sure this does not happen again.

 

In this case we helped our SMC customer identify the cause and gave all necessary recommendations to avoid any future certificate issues. Below are the reasons this issue occurred:

 

 

Detailed long-term solution

 

Identity Protection

Enforced MFA through an Identity Protection Policy based on the users Risk level.

Enabled MFA for any user not using a trusted IP.

See the blog below for more information on how we implemented this.

Risky Business in AzureAD

 

Azure Logic App

We developed a logic app in Azure that triggered when a user clicks on a malicious link.

This logic app then performs the following actions.

 

  • Send the user a message in Teams to alert them that they had clicked a malicious link. This is a backup as the mailbox may be compromised and the user may not receive mail.
  • Send the user an email to alert them.
  • Send a mail to the security team for additional review.
  • Send a mail to the Helpdesk to log a call.
  • Send a mail to the Messaging team for further investigation.
  • Add the user to a Security group which has MFA enforced through conditional access policies.

 

Anti-Spam Settings

Created a new outbound antispam policy to limit the number of recipients per hour internally, externally and a total number of recipients per day. This is to limit the scope of compromise.

 

Users that need to send more had to provide a business case and are added to a group to enforce MFA and this group was assigned to an outbound anti-spam policy with higher limits.

Please see this blog for more details on recommended settings for eop

 

This resulted in a drastic reduction in the number of risky users and risky sign-ins. Additionally we helped implement a process of investigation and remediation of these at- risk accounts from the service desk to the internal security department.

 

NOTE: The features and guidelines implemented in this case were specific to this customer’s requirements and environment, so this is not a “General” guideline to enable any of the mentioned features.

 

Regards,

Simon & Zoheb

4 Comments
Occasional Visitor

@Zoheb Shaikh

Monitoring and alerting is the best tool for the IT team! 

 

May you please share the Logic App you created to alert the user and the IT team? 

Thanks!

Microsoft

Yes, I think I agree with Rmartinez1427 about the Logic App flow content.

It sounds like the Logic App has to relied on  Endpoint Protection and Identity Protection to get it true positive alert.

Please advise.

Microsoft

@TanTran @Rmartinez1427 thanks for sharing your thoughts, we plan to publish this in upcoming blogs..

Senior Member

Great Read, Thanks for Sharing! cant wait to read the published logic app :)