%3CLINGO-SUB%20id%3D%22lingo-sub-1357610%22%20slang%3D%22en-US%22%3ERe%3A%20Demystifying%20attack%20surface%20reduction%20rules%20-%20Part%202%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1357610%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F79119%22%20target%3D%22_blank%22%3E%40Antonio%20Vasconcelos%3C%2FA%3E%2C%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F168296%22%20target%3D%22_blank%22%3E%40Rob%20Mallicoat%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EOverview%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EIt%20is%20not%20in%20anyone's%20best%20interest%20to%20have%20rules%20enabled%20in%20Audit%20mode%20for%20very%20long%20-%20so%20what%20we%20are%20trying%20to%20achieve%20is%20get%20a%20good%20set%20of%20base%20rules%20that%20are%20somewhat%20typical%20in%20most%20organizations%20so%20that%20these%20ASR%20and%20Exploit%20Guard%20rules%20can%20be%20added%20from%20day%20one%20to%20speed%20up%20the%20maturity%2Fadoption%2Fsecurity%20of%20the%20solution.%20The%20way%20we%20are%20looking%20at%20this%20is%20twofold%3A%3C%2FP%3E%3COL%3E%3CLI%3EGet%20a%20list%20of%20typical%20exclusions%20that%20can%20be%20added%20to%20ASR%2FExploitGuard%20and%20add%20them%20as%20we%20enable%20Audit%20mode%26nbsp%3B%20%26nbsp%3B%3C%2FLI%3E%3CLI%3EIdentify%20outliers%20that%20are%20typically%20not%20encountered%20within%20the%20first%20week%20and%20simply%20change%20from%20Audit%20to%20Enabled%3C%2FLI%3E%3CLI%3EBy%20this%20method%20we%20are%20effectively%20starting%20to%20improve%20from%20both%20ends%20of%20the%20extreme%20and%20working%20thru%20the%20rules%20to%20get%20to%20an%20adequate%20hardened%20position%20in%20a%20responsible%20manner%20ASAP%3C%2FLI%3E%3C%2FOL%3E%3CP%3EJust%20checking%20on%20some%20aspects%20of%20the%20ASR%20Rules%3F%3C%2FP%3E%3CP%3E%3CSTRONG%3EGUID's%20for%20Rules%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EThe%20GUID%E2%80%99s%20used%20are%20just%20for%20the%20rule%20base%20on%20the%20client%20-%20it%20seems%20that%20the%20GUID%20string%20to%20reference%20the%20rules%20from%20inside%20Intune%20are%20different%2C%20I%20noticed%20this%20after%20creating%20a%20security%20baseline%20for%20Win%2010%20MDATP%20and%20then%20exporting%20it%20from%20Intune%20and%20realised%20that%20none%20of%20the%20GUID%E2%80%99s%20appear%20to%20have%20any%20match%20-%20is%20this%20due%20to%20the%20differences%20between%20client%20and%20Intune%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20was%20hoping%20to%20create%20a%20preferred%20benign%20%E2%80%9Caudit%E2%80%9D%20starting%20point%20for%20customers%2C%20and%20then%20progressively%20work%20up%20more%20secure%20baselines%20that%20would%20act%20as%20templates%20for%20customers%2C%20now%20I%20am%20doubting%20how%20this%20might%20be%20achieved%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EStrange%20Logs%3F%20from%20ExploitGuard%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EAlso%20noted%20that%20there%20is%20some%20curious%20anomalies%20where%20we%20are%20seeing%20a%20series%20of%207%20tasks%20based%20on%20powershell%20but%20creating%20logging%20into%20%E2%80%9CC%3A%5CProgramData%5CMicrosoft%5CWindows%20Defender%20Advanced%20Threat%20Protection%5CDataCollection%5C5999.4564940.0.4521659%5Cfd772071-9b1d-4ce0-b9ec-96334db59905.ps1%E2%80%9D%26nbsp%3B%20and%20this%20seems%20to%20represent%2010%25%20of%20the%2010%2C000%20logs%20exported%20via%20the%20MDATP%20Console%20-%20but%20it%20did%20very%20much%20look%20like%20some%20efforts%20of%20the%20MDATP%20client%20behavior%3F%3C%2FP%3E%3CP%3EThe%20reason%20for%20highlighting%20this%20is%20I%20can%20see%20evidence%20of%20the%20exact%20same%20behavior%20in%20two%20tenants.%3C%2FP%3E%3CP%3E%3CSTRONG%3EQuestion%3A%3C%2FSTRONG%3E%20Is%20this%20normal%20behaviour%20for%20the%20MDATP%20Client%20-%20if%20so%2C%20why%20do%20we%20need%20to%20now%20create%20an%20ASR%20Rule%20to%20reduce%20the%20noise%3F%3C%2FP%3E%3CP%3ESurely%20this%20is%20something%20that%20should%20baked%20into%20the%20installation%20by%20default%3F%20I%20am%20making%20an%20assumption%20that%20this%20is%20benign%20and%20can%20be%20safely%20ignored%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFull%20listing%20of%20command%20line%20entry%3A%3C%2FP%3E%3CPRE%3Epowershell.exe%20-ExecutionPolicy%20Bypass%20-NoProfile%20-NonInteractive%20-Command%20%22%26amp%3B%20%7B%24OutputEncoding%20%3D%20%5BConsole%5D%3A%3AOutputEncoding%20%3D%5BSystem.Text.Encoding%5D%3A%3AUTF8%3B%24scriptFileStream%20%3D%20%5BSystem.IO.File%5D%3A%3AOpen('C%3A%5CProgramData%5CMicrosoft%5CWindows%20Defender%20Advanced%20Threat%20Protection%5CDataCollection%5C5999.4564940.0.4521659%5Cfd772071-9b1d-4ce0-b9ec-96334db59905.ps1'%2C%20%5BSystem.IO.FileMode%5D%3A%3AOpen%2C%20%5BSystem.IO.FileAccess%5D%3A%3ARead%2C%20%5BSystem.IO.FileAccess%5D%3A%3ARead)%3B%24calculatedHash%20%3D%20Get-FileHash%20'C%3A%5CProgramData%5CMicrosoft%5CWindows%20Defender%20Advanced%20Threat%20Protection%5CDataCollection%5C5999.4564940.0.4521659%5Cfd772071-9b1d-4ce0-b9ec-96334db59905.ps1'%20-Algorithm%20SHA256%3Bif%20(!(%24calculatedHash.Hash%20-eq%20'258a27019b0ed2b15c067fe83a56c6a24738d678e9bcd0ccc159a033d2d7c898'))%20%7B%20exit%20323%3B%7D%3B%20.%20'C%3A%5CProgramData%5CMicrosoft%5CWindows%20Defender%20Advanced%20Threat%20Protection%5CDataCollection%5C5999.4564940.0.4521659%5Cfd772071-9b1d-4ce0-b9ec-96334db59905.ps1'%20%7D%22%3C%2FPRE%3E%3CP%3EHope%20this%20makes%20sense%2C%20regards%2C%3C%2FP%3E%3CP%3EDave%20C%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1326565%22%20slang%3D%22en-US%22%3EDemystifying%20attack%20surface%20reduction%20rules%20-%20Part%202%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1326565%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20again%20and%20welcome%20to%20the%20second%20part%20in%20our%20blog%20series%20on%20demystifying%20attack%20surface%20reduction%20(ASR)%20rules.%20This%20blog%20post%20is%20focused%20on%20how%20to%20configure%20Microsoft%20Defender%20ATP%20ASR%20rules%20and%20how%20to%20work%20your%20way%20through%20exclusions.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20follow%20the%20blog%20series%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fmicrosoft-defender-atp%2Fbg-p%2FMicrosoftDefenderATPBlog%2Flabel-name%2FDemystifying%2520ASR%2520rules%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3Ehere%3C%2FA%3E%20to%20read%20all%20the%20posts%20on%20this%20topic.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1357090904%22%20id%3D%22toc-hId--1357090904%22%20id%3D%22toc-hId--1357090904%22%20id%3D%22toc-hId--1357090904%22%20id%3D%22toc-hId--1357090904%22%20id%3D%22toc-hId--1357090904%22%20id%3D%22toc-hId--1357090904%22%20id%3D%22toc-hId--1357090904%22%20id%3D%22toc-hId--1357090904%22%3E%3CSTRONG%3EWe%20went%20through%20the%20Whys%20and%20the%20What%E2%80%99s.%20Let%E2%80%99s%20cover%20the%20How%E2%80%99s!%3C%2FSTRONG%3E%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%224%22%3E%3CSTRONG%3E%231%20How%20can%20I%20configure%2Fenable%20ASR%20rules%3F%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3EAs%20you%20might%20have%20guessed%2C%20the%20answer%20is%3A%20it%20depends!%20And%20that%E2%80%99s%20because%20there%20are%20multiple%20ways%20to%20configure%20ASR%20rules.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAny%20of%20these%20methods%20will%20work%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fsecurity%2Fthreat-protection%2Fmicrosoft-defender-atp%2Fenable-attack-surface-reduction%23intune%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%20noopener%20noreferrer%22%3EMicrosoft%20Intune%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fsecurity%2Fthreat-protection%2Fmicrosoft-defender-atp%2Fenable-attack-surface-reduction%23mdm%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%20noopener%20noreferrer%22%3EMobile%20Device%20Management%20(MDM)%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fsecurity%2Fthreat-protection%2Fmicrosoft-defender-atp%2Fenable-attack-surface-reduction%23sccm%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%20noopener%20noreferrer%22%3EMicrosoft%20Endpoint%20Configuration%20Manager%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fsecurity%2Fthreat-protection%2Fmicrosoft-defender-atp%2Fenable-attack-surface-reduction%23group-policy%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%20noopener%20noreferrer%22%3EGroup%20Policy%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fsecurity%2Fthreat-protection%2Fmicrosoft-defender-atp%2Fenable-attack-surface-reduction%23powershell%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%20noopener%20noreferrer%22%3EPowerShell%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThrough%20any%20of%20the%20above%20methods%2C%20you%E2%80%99ll%20be%20able%20to%20set%20all%20the%20possible%20states%20of%20an%20ASR%20rule%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3ENot%20configured%3C%2FSTRONG%3E%3A%20Disable%20the%20ASR%20rule%20(%3CSTRONG%3Eequals%20to%200%3C%2FSTRONG%3E)%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EBlock%3C%2FSTRONG%3E%3A%20Enable%20the%20ASR%20rule%20(%3CSTRONG%3Eequals%20to%201%3C%2FSTRONG%3E)%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EAudit%3C%2FSTRONG%3E%3A%20Evaluate%20how%20the%20ASR%20rule%20would%20impact%20your%20organization%20if%20enabled%20(%3CSTRONG%3Eequals%20to%202%3C%2FSTRONG%3E)%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3ERegardless%20of%20the%20method%20that%20you%20choose%2C%20the%20principles%20that%20we%E2%80%99ve%20pointed%20out%20before%20still%20stand.%3C%2FP%3E%0A%3CP%3EOur%20recommendation%20is%20to%20start%20the%20rule%20in%20audit%20mode.%20This%20will%20allow%20you%20to%20review%20logs%20and%20reports%20to%20analyze%20the%20rule%E2%80%99s%20impact%20and%20give%20you%20the%20opportunity%20to%20create%20any%20exclusions%20for%20your%20line-of-business%20apps%2C%20for%20example%2C%20before%20turning%20the%20rule%20on%20in%20block%20mode%2C%20or%20scrapping%20it%20entirely.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOne%20of%20the%20easiest%20ways%20to%20start%20testing%20ASR%20rules%20is%20by%20leveraging%20the%20available%20Windows%20Defender%20PowerShell%20cmdlet%26nbsp%3B%3CSTRONG%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fdefender%2Fset-mppreference%3Fview%3Dwin10-ps%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%20noopener%20noreferrer%22%3ESet-MPPreference%3C%2FA%3E%3C%2FSTRONG%3E%3CEM%3E.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBut%20before%20showing%20you%20how%20to%20use%20the%20above%20cmdlet%2C%20let%20us%20first%20talk%20about%20ASR%20rules%20GUIDs.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThroughout%20the%20various%20configuration%20channels%20for%20ASR%20rules%2C%20you%E2%80%99ll%20notice%20that%20some%20of%20those%2C%20like%20GPO%20and%20PowerShell%2C%20will%20require%20you%20to%20specifically%20define%20which%20rule%20to%20enable%20(e.g.%20%E2%80%9CValue%20name%E2%80%9D).%3C%2FP%3E%0A%3CP%3EThe%20way%20we%20allow%20you%20to%20do%20so%2C%20is%20by%20referencing%20the%20actual%20rule%20Globally%20Unique%20Identifier%20(GUID).%3C%2FP%3E%0A%3CP%3EThe%20complete%20list%20of%20rule%20name%20to%20GUID%20mapping%20is%20available%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fsecurity%2Fthreat-protection%2Fmicrosoft-defender-atp%2Fattack-surface-reduction%23attack-surface-reduction-rules%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%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EUse%20these%20GUIDs%20when%20manually%20setting%20ASR%20rules%20via%20GPO%20and%2For%20PowerShell.%20We%E2%80%99ll%20go%20through%20a%20couple%20of%20examples%20in%20this%20blog%20post.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ESet-MPPreference%20example%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CEM%3ESet-MPPreference%20-AttackSurfaceReductionRules_Ids%20D3E037E1-3EB8-44C8-A917-57927947596D%20-AttackSurfaceReductionRules_Actions%201%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22set_MPPreference_1.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F185739i6BC3F0BA43673237%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22set_MPPreference_1.png%22%20alt%3D%22set_MPPreference_1.png%22%20%2F%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3EThe%20above%20command%20will%20enable%20the%20ASR%20rule%2C%20%E2%80%9CBlock%20JavaScript%20or%20VBScript%20from%20launching%20downloaded%20executable%20content%E2%80%9D%2C%20in%20block%20mode.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20then%20use%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fdefender%2Fget-mppreference%3Fview%3Dwin10-ps%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%20noopener%20noreferrer%22%3E%3CSTRONG%3EGet-MPPreference%3C%2FSTRONG%3E%3C%2FA%3E%20cmdlet%20to%20check%20the%20rule%E2%80%99s%20status%20and%20if%20it%E2%80%99s%20been%20successfully%20applied%20(more%20info%20about%20reporting%20and%20checking%20rules%20state%20will%20be%20available%20in%20future%20blog%20posts!).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENow%20let%E2%80%99s%20go%20to%20Group%20Policy%20and%20try%20to%20do%20the%20same%20as%20above.%3C%2FP%3E%0A%3CP%3EOpen%20the%20Group%20Policy%20Management%20Console%2C%20if%20you%E2%80%99re%20configuring%20this%20via%20Active%20Directory%2C%20or%20Group%20Policy%20Edit%2C%20if%20testing%20lo%3CFONT%20size%3D%223%22%3Ecally%20in%20an%20endpo%3C%2FFONT%3Eint.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENavigate%20through%20%3CSTRONG%3EComputer%20Configuration%20%26gt%3B%20Administrative%20Templates%20%26gt%3B%20Windows%20Components%20%26gt%3B%20Windows%20Defender%20Antivirus%20%26gt%3B%20Windows%20Defender%20Exploit%20Guard%20%26gt%3B%20Attack%20Surface%20Reduction%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22GPO1.png%22%20style%3D%22width%3A%20654px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F185740i7E7197217BEA2BC8%2Fimage-dimensions%2F654x355%3Fv%3D1.0%22%20width%3D%22654%22%20height%3D%22355%22%20title%3D%22GPO1.png%22%20alt%3D%22GPO1.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%3CSTRONG%3ENote%3A%3C%2FSTRONG%3E%20Please%20be%20aware%20that%20Microsoft%20rebranded%20Windows%20Defender%20Antivirus%20to%20%3CSTRONG%3EMicrosoft%20Defender%20Antivirus%3C%2FSTRONG%3E%20in%2020H1.%20Previous%20versions%20of%20Windows%2010%20will%20still%20reference%20*Windows%20Defender*.%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%223%22%3EOpen%20the%20%3CSTRONG%3EConfigure%20Attack%20Surface%20Reduction%20rules%3C%2FSTRONG%3E%20policy%20and%20add%20the%20and%20the%20action%20value.%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22GPO2.png%22%20style%3D%22width%3A%20490px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F185745i1A42E1435B40E9EB%2Fimage-dimensions%2F490x284%3Fv%3D1.0%22%20width%3D%22490%22%20height%3D%22284%22%20title%3D%22GPO2.png%22%20alt%3D%22GPO2.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAs%20for%20Intune%20and%20Configuration%20Manager%2C%20both%20platforms%20already%20have%20a%20built-in%20list%20of%20ASR%20rules%3B%20therefore%2C%20you%20don%E2%80%99t%20need%20to%20know%20the%20GUIDs%2C%20nor%20what%20each%20action%20value%20represents.%20It%E2%80%99s%20as%20simple%20as%20choosing%20which%20actions%20you%20want%20to%20set%20for%20the%20rule%20you%20want%20to%20enable.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere%20is%20a%20screenshot%20of%20the%20ASR%20rules%20list%20available%20in%20Intune.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Intune1.png%22%20style%3D%22width%3A%20429px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F185746i69B8E80EE57CE775%2Fimage-dimensions%2F429x557%3Fv%3D1.0%22%20width%3D%22429%22%20height%3D%22557%22%20title%3D%22Intune1.png%22%20alt%3D%22Intune1.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EASR%20rules%20can%20be%20found%20in%20Intune%20Device%20Configuration.%20Create%20a%20new%20profile%20and%20select%20%3CSTRONG%3EWindows%2010%20Endpoint%20Protection%3C%2FSTRONG%3E%20as%20a%20platform%20and%20%3CSTRONG%3EEndpoint%20Protection%3C%2FSTRONG%3E%20under%20profile.%26nbsp%3BAttack%20Surface%20Reduction%20rules%20will%20be%20available%20under%26nbsp%3B%3CSTRONG%3EMicrosoft%20Defender%20Exploit%20Guard%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EA%20similar%20view%20can%20be%20found%20in%20Configuration%20Manager%2C%20within%20Endpoint%20Protection%2C%26nbsp%3Bwithin%20Endpoint%20Protection%2C%20Windows%20Defender%20Exploit%20Guard.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22SCCM1.png%22%20style%3D%22width%3A%20589px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F185749i2E287BB4C936A266%2Fimage-dimensions%2F589x534%3Fv%3D1.0%22%20width%3D%22589%22%20height%3D%22534%22%20title%3D%22SCCM1.png%22%20alt%3D%22SCCM1.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20note%20that%20Microsoft%20brought%20together%20Intune%20and%20Configuration%20Manager%20under%20a%20unified%20platform%20that%20is%20called%20Microsoft%20Endpoint%20Manager.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20more%20information%2C%20please%20refer%20to%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmem%2Fendpoint-manager-overview%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%20noopener%20noreferrer%22%3EMicrosoft%20Endpoint%20Manager%20Overview%3C%2FA%3E.%20We%20also%20recommend%20you%20to%20have%20a%20look%20at%20a%20Ignite%202019%20session%2C%20named%20%E2%80%9C%3CA%20href%3D%22https%3A%2F%2Fmyignite.techcommunity.microsoft.com%2Fsessions%2F81687%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%20noopener%20noreferrer%22%3EEndpoint%20security%20management%26nbsp%3B%20with%20Microsoft%20Defender%20ATP%20and%20Microsoft%20Endpoint%20Manager%3C%2FA%3E%E2%80%9D.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAs%20of%20March%202020%2C%20Microsoft%20Endpoint%20Manager%20made%20available%20a%20new%20policy%20experience%20focused%20on%20Endpoint%20Security%20in%20public%20preview.%20From%20an%20ASR%20rules%20configuration%20perspective%2C%20there%20are%20no%20substantial%20changes%2C%20just%20make%20sure%20that%20you%20become%20acquainted%20with%20the%20new%20policy%20experience%20and%20configuration%20flows%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22MEM2.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F185751i1E5E532437DE5907%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22MEM2.png%22%20alt%3D%22MEM2.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOne%20last%2C%20but%20very%20important%20observation%20is%20that%20not%20all%20ASR%20rules%20are%20available%20in%20Configuration%20Manager%20and%20Intune.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20leverage%20other%20configuration%20mechanisms%2C%20such%20as%20GPO%2C%20or%20features%20within%20Configuration%20Manager%20and%20Intune%2C%20such%20as%20Configuration%20Packages%20or%20PowerShell%20scripts%2C%20to%20enable%20rules%20that%20are%20not%20available%20in%20the%20default%20built-in%20list.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere%20is%20the%20list%20of%20rules%20that%20are%20not%20available%20out-of-the-box%20in%20Configuration%20Manager%20and%2For%20Intune%3A%3C%2FP%3E%0A%3CTABLE%20width%3D%22636%22%3E%0A%3CTHEAD%3E%0A%3CTR%3E%0A%3CTD%3E%3CP%3E%3CSTRONG%3ERule%20name%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%3E%3CP%3E%3CSTRONG%3EGUID%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22131%22%3E%3CP%3E%3CSTRONG%3ENot%20available%20in%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTHEAD%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%3E%3CP%3EBlock%20persistence%20through%20WMI%20event%20subscription%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%3E%3CP%3Ee6db77e5-3df2-4cf1-b95a-636979351e5b%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22131%22%3E%3CP%3EIntune%20and%20SCCM%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3E%3CP%3EBlock%20process%20creations%20originating%20from%20PSExec%20and%20WMI%20commands%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%3E%3CP%3Ed1e49aac-8f56-4280-b9ba-993a6d77406c%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22131%22%3E%3CP%3ESCCM%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3E%3CP%3EBlock%20Adobe%20Reader%20from%20creating%20child%20processes%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%3E%3CP%3E7674ba52-37eb-4a4f-a9a1-f0f9a1619a2c%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22131%22%3E%3CP%3ESCCM%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3E%3CP%3EBlock%20Office%20communication%20application%20from%20creating%20child%20processes%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%3E%3CP%3E26190899-1602-49e8-8b27-eb1d0a1ce869%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22131%22%3E%3CP%3ESCCM%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%224%22%3E%3CSTRONG%3E%232%20How%20do%20ASR%20rules%20exclusions%20work%3F%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3EFirst%2C%20let%E2%80%99s%20start%20with%20the%20fact%20that%20for%20ASR%20rules%20%E2%80%94%20if%20you%20add%20one%20exclusion%2C%20it%20will%20affect%20every%20ASR%20rule!%20The%20reason%20for%20this%20is%20simple%3A%20performance%20and%20reliability.%20Therefore%2C%20be%20very%20cautious%20when%20adding%20exclusions%2C%20since%20they%20will%20affect%20all%20the%20mitigations%20that%20you%20have%20enabled.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESecond%2C%20%3CEM%3Enot%20all%20rules%20support%20exclusions.%3C%2FEM%3E%26nbsp%3BSince%20for%20some%20rules%2C%20it%20wouldn't%20make%20sense%20to%20allow%20exclusions%2C%20and%20for%20others%20it%20would%20be%20impractical%20to%20do%20so.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ERight%20now%2C%20all%20but%202%20specific%20rules%20do%20not%20support%20exclusions.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CTABLE%3E%0A%3CTHEAD%3E%0A%3CTR%3E%0A%3CTD%3E%3CP%3E%3CSTRONG%3ERule%20name%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%3E%3CP%3E%3CSTRONG%3EGUID%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%3E%3CP%3E%3CSTRONG%3EFile%20%26amp%3B%20folder%20exclusions%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTHEAD%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%3E%3CP%3EBlock%20JavaScript%20or%20VBScript%20from%20launching%20downloaded%20executable%20content%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%3E%3CP%3ED3E037E1-3EB8-44C8-A917-57927947596D%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%3E%3CP%3ENot%20supported%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3E%3CP%3EBlock%20persistence%20through%20WMI%20event%20subscription%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%3E%3CP%3Ee6db77e5-3df2-4cf1-b95a-636979351e5b%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%3E%3CP%3ENot%20supported%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20check%20the%20table%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fsecurity%2Fthreat-protection%2Fmicrosoft-defender-atp%2Fattack-surface-reduction%23attack-surface-reduction-rules%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%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%2C%20for%20the%20latest%20updates%20and%20more%20detailed%20information%20on%20the%20ASR%20rules%20that%20support%20exclusions.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThird%2C%20ASR%20rules%20exclusions%20support%20wildcards%2C%20paths%20and%20environmental%20variables.%20However%2C%20keep%20in%20mind%20that%20ASR%20rules%20are%20collectively%20a%20%3CSTRONG%3Esystem%3C%2FSTRONG%3E%20%3CSTRONG%3Econtext%3C%2FSTRONG%3E%20component.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20means%20that%20ASR%3CEM%3E%20rules%20are%20not%20aware%20of%20user%20context%3C%2FEM%3E%2C%20so%20it%E2%80%99s%20not%20possible%20to%20add%20user%20profile%20folders%20to%20exclusions%20using%20environmental%20variables.%20If%20you%20try%20to%20use%20an%20environment%20variable%20like%20%3CSTRONG%3E%25USERPROFILE%25%3C%2FSTRONG%3E%20in%20an%20exclusion%2C%20the%20result%20will%20be%20%E2%80%9C%3CSTRONG%3EC%3A%5CWindows%5CSystem32%3C%2FSTRONG%3E%E2%80%9D.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EImportant%20notes%20on%20ASR%20rules%20exclusions%20(including%20wildcards%20and%20env.%20variables)%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%231%20%3C%2FSTRONG%3EASR%20rules%20exclusions%20are%20independent%20from%20Defender%20AV%20exclusions%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%232%3C%2FSTRONG%3E%26nbsp%3BWildcards%20cannot%20be%20used%20to%20define%20a%20drive%20letter%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%233%3C%2FSTRONG%3E%26nbsp%3BIf%20you%20want%20to%20exclude%20more%20than%20one%20folder%2C%20in%20a%20path%2C%20use%20multiple%20instances%20of%20%5C*%5C%20to%20indicate%20multiple%20nested%20folders%20(e.g.%20c%3A%5CFolder%5C*%5C*%5CTest)%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%234%3C%2FSTRONG%3E%20Currently%2C%20%3CU%3EMicrosoft%20Endpoint%20Configuration%20Manager%3C%2FU%3E%20*%3CSTRONG%3Edoes%20not%3C%2FSTRONG%3E*%20%3CU%3Esupport%20wildcards%3C%2FU%3E%20(*%20or%20%3F)%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%235%26nbsp%3B%3C%2FSTRONG%3EIf%20you%20want%20to%20exclude%20a%20file%2C%20that%20contains%20random%20characters%20(think%20automated%20file%20generation)%2C%20you%20can%20use%20the%20%3F%20symbol%20(e.g.%20C%3A%5CFolder%5Cfileversion%3F.docx)%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%236%26nbsp%3B%3C%2FSTRONG%3EASR%20exclusions%20in%20%3CU%3EGroup%20Policy%3C%2FU%3E%20*%3CSTRONG%3Edo%20not%3C%2FSTRONG%3E*%20%3CU%3Esupport%20quotes%3C%2FU%3E%20(the%20engine%20will%20natively%20handle%20long%20path%2C%20spaces%2C%20etc.%2C%20so%20no%20need%20to%20use%20quotes)%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%237%3C%2FSTRONG%3E%26nbsp%3BASR%20rules%20run%20under%20NT%20AUTHORITY%5CSYSTEM%20account%2C%20so%20environmental%20variables%20are%20limited%20to%20machine%20variables.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAs%20for%20wildcards%2C%20it%E2%80%99s%20important%20to%20understand%20how%20Microsoft%20Defender%2C%20overall%2C%20accepts%20and%20expects%20its%20usage.%20More%20information%20on%20how%20to%20use%20wildcards%20in%20ASR%20rules%20is%20available%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fsecurity%2Fthreat-protection%2Fwindows-defender-antivirus%2Fconfigure-extension-file-exclusions-windows-defender-antivirus%23use-wildcards-in-the-file-name-and-folder-path-or-extension-exclusion-lists%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%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFinally%2C%20Microsoft%20Defender%20ATP%20engineers%20made%20sure%20that%20OS%20components%20and%20several%20legitimate%203%3CSUP%3Erd%3C%2FSUP%3E%20party%20apps%20play%20nice%20with%20ASR%20rules.%20So%2C%20several%20exclusions%20are%20already%20built%20in.%20However%2C%20we%20still%20advise%20customers%20to%20initially%20enable%20ASR%20rules%20in%20audit%20mode%20to%20determine%20any%20possible%20impact%20they%20might%20have%20on%20your%20organization.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%224%22%3E%3CSTRONG%3E%233%20How%20do%20I%20know%20what%20I%20need%20to%20exclude%3F%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3EOne%20of%20the%20most%20important%20points%20to%20keep%20in%20mind%20when%20working%20with%20exclusions%20is%20that%20%3CSTRONG%3E%3CEM%3Edifferent%20ASR%20rules%20will%20have%20different%20protection%20flows%3C%2FEM%3E%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ELooking%20at%20all%20ASR%20rules%20events%20in%20the%20same%20way%20might%20trick%20you%20into%20excluding%20the%20wrong%20data%20point.%20Always%20take%20a%20step%20back%20and%20think%20about%20what%20the%20ASR%20rule%20you%20are%20configuring%20protects%20against%2C%20and%20how%20the%20actual%20execution%20flow%20pans%20out.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere%20are%20a%20couple%20of%20examples%20of%20how%20to%20exclude%20processes%20or%20files%20in%20ASR%20rules.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CU%3E%3CFONT%20size%3D%223%22%20color%3D%22%23666699%22%3E%3CSTRONG%3EBlock%20credential%20stealing%20from%20Windows%20Local%20Security%20Authority%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FU%3E%3C%2FP%3E%0A%3CP%3EReading%20directly%20from%20Local%20Security%20Authority%20Subsystem%20(LSASS)%20process%20can%20be%20a%20security%20risk%2C%20since%20it%20might%20expose%20corporate%20credentials.%3C%2FP%3E%0A%3CP%3EThis%20rule%20prevents%20untrusted%20processes%20from%20having%20direct%20access%20to%20LSASS%20memory.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20way%20that%20it%20works%2C%20whether%20in%20audit%20or%20block%20mode%2C%20is%20quite%20simple.%20Whenever%20a%20process%20tries%20to%20use%20the%20%3CEM%3EOpenProcess()%3C%2FEM%3E%20function%20to%20access%20LSASS%2C%20with%20an%20access%20right%20of%20PROCESS_VM_READ%2C%20the%20rule%20will%20%26nbsp%3Bspecifically%20block%20that%20access%20right%20(%3CSTRONG%3Eand%20only%20that%20access%20right!%3C%2FSTRONG%3E).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22lsass1.png%22%20style%3D%22width%3A%20735px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F185755i58BF0DB77157208C%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22lsass1.png%22%20alt%3D%22lsass1.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ELooking%20at%20the%20above%20example%2C%20if%20you%20really%20had%20to%20create%20an%20exception%20for%20the%20process%20that%20the%20access%20right%20was%20blocked%2C%20adding%20the%20filename%20along%20with%20full%20path%20would%20exclude%20it%20from%20being%20blocked%20and%20subsequently%20allowed%20to%20access%20LSASS%20process%20memory.%20The%20value%20of%200%20means%20that%20ASR%20rules%20will%20ignore%20this%20file%2Fprocess%20and%20not%20block%2Faudit%20it.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22GPO3.png%22%20style%3D%22width%3A%20488px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F185756iCC3445CB5C2C07E3%2Fimage-dimensions%2F488x320%3Fv%3D1.0%22%20width%3D%22488%22%20height%3D%22320%22%20title%3D%22GPO3.png%22%20alt%3D%22GPO3.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20note%20that%20if%20a%20given%20process%20is%20audited%20or%20blocked%20by%20this%20specific%20ASR%20rule%2C%20it%20doesn%E2%80%99t%20necessarily%20mean%20that%20the%20process%20itself%20will%20crash%20or%20the%20application%20won%E2%80%99t%20work.%20Unfortunately%2C%20very%20often%2C%20developers%20will%20produce%20subpar%20code%2C%20which%20means%20that%20a%20given%20process%20might%20ask%20for%20PROCESS_VM_READ%2C%20when%20it%20doesn%E2%80%99t%20need%20it.%20If%20you%20want%20to%20further%20deep%20dive%20into%20this%20topic%2C%20we%20recommend%20you%20having%20a%20look%20at%20the%20%E2%80%9C%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fwindows-it-pro-blog%2Finterpreting-exploit-guard-asr-audit-alerts%2Fba-p%2F228366%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3EInterpreting%20Exploit%20Guard%20ASR%20audit%20alerts%3C%2FA%3E%E2%80%9D%20blog%20post%2C%20from%20our%20friend%20Chris%20Jackson.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--666529430%22%20id%3D%22toc-hId--666529430%22%20id%3D%22toc-hId--666529430%22%20id%3D%22toc-hId--666529430%22%20id%3D%22toc-hId--666529430%22%20id%3D%22toc-hId--666529430%22%20id%3D%22toc-hId--666529430%22%20id%3D%22toc-hId--666529430%22%20id%3D%22toc-hId--666529430%22%3E%3CFONT%20size%3D%223%22%20color%3D%22%23666699%22%3E%3CU%3E%3CSTRONG%3EBlock%20Office%20applications%20from%20creating%20child%20processes%3C%2FSTRONG%3E%3C%2FU%3E%3C%2FFONT%3E%3C%2FH3%3E%0A%3CP%3EThe%20name%20of%20this%20rule%20says%20it%20all.%20The%20rule%20prevents%20applications%20such%20as%20Word%20or%20PowerPoint%20from%20launching%20child%20processes.%20Launching%20another%20process%20from%20an%20Office%20app%20is%20a%20common%20method%20used%20by%20cyber%20criminals%20to%20gain%20access%20to%20a%20command%20line%20or%20a%20PowerShell%20console%20and%20advance%20their%20attack.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ELooking%20at%20the%20flow%20of%20this%20rule%2C%20it%20naturally%20makes%20sense%20to%20only%20exclude%20child%20processes%20that%20are%20attempting%20to%20be%20launched%2C%20rather%20than%20excluding%20%3CEM%3EWINWORD.EXE%3C%2FEM%3E%20or%20%3CEM%3EPOWERPOINT.EXE%3C%2FEM%3E%20process%20altogether.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22event2.png%22%20style%3D%22width%3A%20639px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F185759i218D74FF370B4176%2Fimage-dimensions%2F639x249%3Fv%3D1.0%22%20width%3D%22639%22%20height%3D%22249%22%20title%3D%22event2.png%22%20alt%3D%22event2.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EFrom%20the%20above%20screenshot%2C%20we%20can%20see%20that%20this%20ASR%20rule%20blocked%20%3CEM%3EWINWORD.EXE%3C%2FEM%3E%20from%20launching%20another%20process%2C%20called%20%3CEM%3Ecmd.exe%3C%2FEM%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENow%2C%20imagine%20that%20%3CEM%3Ecmd.exe%3C%2FEM%3E%20was%20a%20legitimate%20line-of-business%20app.%20The%20next%20step%20would%20be%20to%20add%20that%20filename%20along%20with%20its%20full%20path%20to%20the%20configuration%20mechanism%20of%20choice%20to%20exclude%20it%20from%20being%20blocked%2C%20and%20re-run%20the%20test%20to%20see%20if%20the%20exclusion%20successfully%20took%20effect.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ELet%20us%20call%20the%20process%20we%20want%20to%20exclude%20%3CEM%3Etest.exe%3C%2FEM%3E%20for%20our%20next%20example.%20Simply%20adding%20%3CEM%3Etest.exe%3C%2FEM%3E%20(along%20with%20its%20full%20path%20name)%20into%20the%20exclusion%20policy%20will%20allow%20%3CEM%3EWINWORD.EXE%3C%2FEM%3E%20to%20launch%20that%20application%2C%20as%20a%20child%20process.%20The%20value%20of%200%20means%20that%20ASR%20rules%20will%20ignore%20this%20file%2Fprocess%20and%20not%20block%2Faudit%20it.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22GPO4.png%22%20style%3D%22width%3A%20473px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F185760i0E36923BAE9CCE3D%2Fimage-dimensions%2F473x310%3Fv%3D1.0%22%20width%3D%22473%22%20height%3D%22310%22%20title%3D%22GPO4.png%22%20alt%3D%22GPO4.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20note%20that%20%3CSTRONG%3Eadding%20exclusions%20like%20%3CEM%3Ecmd.exe%3C%2FEM%3E%20or%20%3CEM%3Epowershell.exe%3C%2FEM%3E%20would%20completely%20compromise%20the%20security%20of%20your%20endpoints%3C%2FSTRONG%3E%2C%20since%20it%20would%20not%20block%20threats%20from%20leveraging%20Office%20Apps%20to%20run%20malicious%20macros%2C%20for%20example.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAlways%20make%20sure%20to%20think%20twice%20about%20what%20you%20are%20excluding%2C%20so%20that%20you%E2%80%99re%20not%20diminishing%20your%20endpoint%20security.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThat%20is%20it%20for%20our%20second%20blog%20post%20on%20demystifying%20ASR%20rules!%20We%20hope%20this%20is%20helpful%20and%20feel%20free%20to%20ask%20any%20questions.%20Stay%20tuned%20for%20the%20next%20one%20and%20make%20sure%20to%20check%20out%20all%20the%20blogs%20in%20this%20series%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fmicrosoft-defender-atp%2Fbg-p%2FMicrosoftDefenderATPBlog%2Flabel-name%2FDemystifying%2520ASR%2520rules%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESee%20you%20soon!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAnt%C3%B3nio%20Vasconcelos%20and%20Rob%20Mallicoat%3C%2FP%3E%0A%3CP%3EProgram%20Managers%26nbsp%3B%40%20Microsoft%20Defender%20ATP%20Product%20Group%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1326565%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22title_image3.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F185763i66260B11C3A18F75%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22title_image3.jpg%22%20alt%3D%22title_image3.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EAn%20A%20to%20Z%20guide%2C%20to%20help%20you%20understand%20what%20are%20Attack%20Surface%20Reduction%20(ASR)%20rules%20and%20how%20to%20successfully%20adopt%20it.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1326565%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAttack%20Surface%20Reduction%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDemystifying%20ASR%20rules%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1361885%22%20slang%3D%22en-US%22%3ERe%3A%20Demystifying%20attack%20surface%20reduction%20rules%20-%20Part%202%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1361885%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F129396%22%20target%3D%22_blank%22%3E%40David%20Caddick%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%231%20Please%20use%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmem%2Fintune%2Fdeveloper%2Fgraph-apis-used-by-intune-device-configuration-windows%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ethis%3C%2FA%3E%20as%20a%20reference%20for%20using%20Graph%20API%20to%20configure%20ASR%20settings%3C%2FP%3E%0A%3CP%3E%232%20You%20can%20export%20the%20object%20(template%20that%20you%20create)%20and%20import%20it%20into%20another%20tenant%20(using%20the%20Graph%20API%20or%20an%20off%20the%20shelve%20utility%20to%20do%20so)%3C%2FP%3E%0A%3CP%3E%233%20ASR%20rules%20ID's%20are%20valid%20only%20for%20Defender%20AV.%20Intune%20has%20ID's%20for%20it's%20own%20objects.%20As%20long%20as%20the%20CSP%20gets%20the%20correct%20setting%2C%20it%20honestly%20doesn't%20matter%20which%20ID's%20Intune%20uses%20for%20it's%20URIs.%3C%2FP%3E%0A%3CP%3E%234%20The%20PowerShell%20FP%20is%20a%20know%20issue%20and%20it's%20being%20fixed.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAs%20for%20you%20strategy%20on%20exclusions.%20All%20looks%20good.%20Just%20one%20extra%20tidbit.%20Don't%20try%20to%20apply%201%20golden%20policy%20to%20100%25%20of%20an%20organization.%20Exceptions%20and%20edge%20cases%20will%20appear%2C%20and%20it's%20much%20simpler%20to%20have%20those%20in%20a%20separate%20policy%20item%2C%20then%20just%20trying%20to%20adapt%201%20single%20policy%20for%20every%20possible%20scenario%20(exclusion%2C%20app%20compact%2C%20etc.).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHth%2C%3C%2FP%3E%0A%3CP%3EAnt%C3%B3nio.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1372035%22%20slang%3D%22en-US%22%3ERe%3A%20Demystifying%20attack%20surface%20reduction%20rules%20-%20Part%202%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1372035%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F129396%22%20target%3D%22_blank%22%3E%40David%20Caddick%3C%2FA%3E%26nbsp%3BHey!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%231%20Security%20Baselines%20are%20just%20that.%20They%20should%20serve%20as%20a%20foundation%20for%20other%20policies%2Fsettings%20to%20be%20applied.%3C%2FP%3E%0A%3CP%3E%232%20Security%20Baselines%20won't%20sport%20every%20existing%20settings%20for%20a%20given%20category%2C%20including%20ASR%20rules.%3C%2FP%3E%0A%3CP%3E%233%20As%20with%20any%20other%20Security%20Baseline%20that%20we've%20released%20in%20the%20past%20(e.g.%20GPO)%2C%20they%20won't%20provide%20recommendations%20on%20exclusions%20or%20custom%20settings.%20These%20should%20be%20part%20of%20what%20the%20Customer%20defines%20on%20top%20of%20the%20baselines.%3C%2FP%3E%0A%3CP%3E%234%20Use%20the%20Endpoint%20Protection%20ASR%20rules%20object%20(Preview)%20or%20create%20a%20custom%20policy%20that%20can%20be%20re-used%20wherever%20needed.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHth%2C%3C%2FP%3E%0A%3CP%3EAnt%C3%B3nio.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1420549%22%20slang%3D%22en-US%22%3ERe%3A%20Demystifying%20attack%20surface%20reduction%20rules%20-%20Part%202%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1420549%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F79119%22%20target%3D%22_blank%22%3E%40Antonio%20Vasconcelos%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20the%20great%20work!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWould%20this%20mean%2C%20that%20we%20don't%20need%20to%20disable%20all%20the%20macros%20in%20the%20Office%20Trust%20Center%20anymore%2C%20if%20we%20put%20all%20the%20ASR%20Rules%20in%20place%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBest%20regards%3C%2FP%3E%3CP%3EMartin%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1439865%22%20slang%3D%22en-US%22%3ERe%3A%20Demystifying%20attack%20surface%20reduction%20rules%20-%20Part%202%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1439865%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all%2C%20can%20anyone%20explain%20why%20I%20am%20seeing%20ASR%20alerts%20in%20MDATP%20console%20for%20just%20about%20all%20our%20machines%20but%20only%20have%20rules%20in%20place%20on%20a%20couple%20of%20test%20machines%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22asr.PNG%22%20style%3D%22width%3A%20200px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F196460i5C195436F14CB4B9%2Fimage-size%2Fsmall%3Fv%3D1.0%26amp%3Bpx%3D200%22%20title%3D%22asr.PNG%22%20alt%3D%22asr.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20doesnt%20seem%20right%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1365775%22%20slang%3D%22en-US%22%3ERe%3A%20Demystifying%20attack%20surface%20reduction%20rules%20-%20Part%202%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1365775%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F79119%22%20target%3D%22_blank%22%3E%40Antonio%20Vasconcelos%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EJust%20clarifying%20some%20feedback%20on%20Item%20%231%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20creating%20the%20Security%20Baseline%20profile%20in%20Intune%20-%20this%20looks%20simple%20enough%20via%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%2F%23blade%2FMicrosoft_Intune_Workflows%2FSecurityBaselineMenu%2FsecurityBaselines%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fportal.azure.com%2F%23blade%2FMicrosoft_Intune_Workflows%2FSecurityBaselineMenu%2FsecurityBaselines%3C%2FA%3E%3C%2FP%3E%3CP%3EBut%20once%20I%20review%20the%20settings%20under%20Microsoft%20Defender%20it%20is%20easy%20to%20see%20how%20this%20can%20be%20changed%20to%20either%20Audit%20mode%20or%20Block%20but%20what%20I%20wasn't%26nbsp%3Bseeing%20is%20how%20to%20add%20the%20ASR%20Exclusion%20rules%20once%20they%20have%20been%20identified%20by%20running%20in%20Audit%20mode%3F%20(here%20there%20are%20only%2010%20rules)%3CBR%20%2F%3E%3CBR%20%2F%3EI%20then%20went%20back%20and%20reread%20the%20instructions%20at%20-%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fsecurity%2Fthreat-protection%2Fmicrosoft-defender-atp%2Fenable-attack-surface-reduction%23group-policy%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fsecurity%2Fthreat-protection%2Fmicrosoft-defender-atp%2Fenable-attack-surface-reduction%23group-policy%3C%2FA%3E%26nbsp%3Band%20realised%20that%20I%20needed%20to%20create%20a%20new%20%22Endpoint%20Protection%22%20profile%20under%20Device%20Configuration%20profiles%20(here%20are%20the%20full%2015%20rules)%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%2F%23blade%2FMicrosoft_Intune_DeviceSettings%2FDeviceConfigMainMenuViewModel%2FdeviceConfiguration%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fportal.azure.com%2F%23blade%2FMicrosoft_Intune_DeviceSettings%2FDeviceConfigMainMenuViewModel%2FdeviceConfiguration%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20please%20be%20aware%20that%20it%20looks%20like%20the%20ASR%20Rules%20are%20surfacing%20in%20two%20locations%20in%20Intune%20-%20and%20it's%20under%20the%20Security%20Baseline%20where%20it%20appears%20to%20be%20incomplete%20where%20there%20is%20no%20place%20to%20submit%20the%20Exclusion%20Files%2FPaths%3F%20It%20might%20be%20that%20this%20area%20is%20still%20a%20%22Work%20in%20Progress%22%20but%20the%20Security%20Baseline%20would%20appear%20to%20be%20a%20more%20natural%20home%20for%20these%20settings%20perhaps%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E

Hello again and welcome to the second part in our blog series on demystifying attack surface reduction (ASR) rules. This blog post is focused on how to configure Microsoft Defender ATP ASR rules and how to work your way through exclusions.

 

You can follow the blog series here to read all the posts on this topic.

 

We went through the Whys and the What’s. Let’s cover the How’s!

 

#1 How can I configure/enable ASR rules?

As you might have guessed, the answer is: it depends! And that’s because there are multiple ways to configure ASR rules.

 

Any of these methods will work:

 

Through any of the above methods, you’ll be able to set all the possible states of an ASR rule:

  • Not configured: Disable the ASR rule (equals to 0)
  • Block: Enable the ASR rule (equals to 1)
  • Audit: Evaluate how the ASR rule would impact your organization if enabled (equals to 2)

Regardless of the method that you choose, the principles that we’ve pointed out before still stand.

Our recommendation is to start the rule in audit mode. This will allow you to review logs and reports to analyze the rule’s impact and give you the opportunity to create any exclusions for your line-of-business apps, for example, before turning the rule on in block mode, or scrapping it entirely.

 

One of the easiest ways to start testing ASR rules is by leveraging the available Windows Defender PowerShell cmdlet Set-MPPreference.

 

But before showing you how to use the above cmdlet, let us first talk about ASR rules GUIDs.

 

Throughout the various configuration channels for ASR rules, you’ll notice that some of those, like GPO and PowerShell, will require you to specifically define which rule to enable (e.g. “Value name”).

The way we allow you to do so, is by referencing the actual rule Globally Unique Identifier (GUID).

The complete list of rule name to GUID mapping is available here.

 

Use these GUIDs when manually setting ASR rules via GPO and/or PowerShell. We’ll go through a couple of examples in this blog post.

 

Set-MPPreference example:

 

Set-MPPreference -AttackSurfaceReductionRules_Ids D3E037E1-3EB8-44C8-A917-57927947596D -AttackSurfaceReductionRules_Actions 1

set_MPPreference_1.png

The above command will enable the ASR rule, “Block JavaScript or VBScript from launching downloaded executable content”, in block mode.

 

You can then use the Get-MPPreference cmdlet to check the rule’s status and if it’s been successfully applied (more info about reporting and checking rules state will be available in future blog posts!).

 

Now let’s go to Group Policy and try to do the same as above.

Open the Group Policy Management Console, if you’re configuring this via Active Directory, or Group Policy Edit, if testing locally in an endpoint.

 

Navigate through Computer Configuration > Administrative Templates > Windows Components > Windows Defender Antivirus > Windows Defender Exploit Guard > Attack Surface Reduction

 

GPO1.png

 

Note: Please be aware that Microsoft rebranded Windows Defender Antivirus to Microsoft Defender Antivirus in 20H1. Previous versions of Windows 10 will still reference *Windows Defender*.

 

Open the Configure Attack Surface Reduction rules policy and add the and the action value.

GPO2.png

 

As for Intune and Configuration Manager, both platforms already have a built-in list of ASR rules; therefore, you don’t need to know the GUIDs, nor what each action value represents. It’s as simple as choosing which actions you want to set for the rule you want to enable.

 

Here is a screenshot of the ASR rules list available in Intune.

 

Intune1.png

ASR rules can be found in Intune Device Configuration. Create a new profile and select Windows 10 Endpoint Protection as a platform and Endpoint Protection under profile. Attack Surface Reduction rules will be available under Microsoft Defender Exploit Guard.

 

A similar view can be found in Configuration Manager, within Endpoint Protection, within Endpoint Protection, Windows Defender Exploit Guard.

 

SCCM1.png

 

Please note that Microsoft brought together Intune and Configuration Manager under a unified platform that is called Microsoft Endpoint Manager.

 

For more information, please refer to Microsoft Endpoint Manager Overview. We also recommend you to have a look at a Ignite 2019 session, named “Endpoint security management  with Microsoft Defender ATP and Microsoft Endpoint Manager”.

 

As of March 2020, Microsoft Endpoint Manager made available a new policy experience focused on Endpoint Security in public preview. From an ASR rules configuration perspective, there are no substantial changes, just make sure that you become acquainted with the new policy experience and configuration flows:

 

MEM2.png

 

One last, but very important observation is that not all ASR rules are available in Configuration Manager and Intune.

 

You can leverage other configuration mechanisms, such as GPO, or features within Configuration Manager and Intune, such as Configuration Packages or PowerShell scripts, to enable rules that are not available in the default built-in list.

 

Here is the list of rules that are not available out-of-the-box in Configuration Manager and/or Intune:

Rule name

GUID

Not available in

Block persistence through WMI event subscription

e6db77e5-3df2-4cf1-b95a-636979351e5b

Intune and SCCM

Block process creations originating from PSExec and WMI commands

d1e49aac-8f56-4280-b9ba-993a6d77406c

SCCM

Block Adobe Reader from creating child processes

7674ba52-37eb-4a4f-a9a1-f0f9a1619a2c

SCCM

Block Office communication application from creating child processes

26190899-1602-49e8-8b27-eb1d0a1ce869

SCCM

 

 

#2 How do ASR rules exclusions work?

First, let’s start with the fact that for ASR rules — if you add one exclusion, it will affect every ASR rule! The reason for this is simple: performance and reliability. Therefore, be very cautious when adding exclusions, since they will affect all the mitigations that you have enabled.

 

Second, not all rules support exclusions. Since for some rules, it wouldn't make sense to allow exclusions, and for others it would be impractical to do so.

 

Right now, all but 2 specific rules do not support exclusions.

 

Rule name

GUID

File & folder exclusions

Block JavaScript or VBScript from launching downloaded executable content

D3E037E1-3EB8-44C8-A917-57927947596D

Not supported

Block persistence through WMI event subscription

e6db77e5-3df2-4cf1-b95a-636979351e5b

Not supported

 

Please check the table here, for the latest updates and more detailed information on the ASR rules that support exclusions.

 

Third, ASR rules exclusions support wildcards, paths and environmental variables. However, keep in mind that ASR rules are collectively a system context component.

 

This means that ASR rules are not aware of user context, so it’s not possible to add user profile folders to exclusions using environmental variables. If you try to use an environment variable like %USERPROFILE% in an exclusion, the result will be “C:\Windows\System32”.

 

Important notes on ASR rules exclusions (including wildcards and env. variables):

 

#1 ASR rules exclusions are independent from Defender AV exclusions

#2 Wildcards cannot be used to define a drive letter

#3 If you want to exclude more than one folder, in a path, use multiple instances of \*\ to indicate multiple nested folders (e.g. c:\Folder\*\*\Test)

#4 Currently, Microsoft Endpoint Configuration Manager *does not* support wildcards (* or ?)

#5 If you want to exclude a file, that contains random characters (think automated file generation), you can use the ? symbol (e.g. C:\Folder\fileversion?.docx)

#6 ASR exclusions in Group Policy *do not* support quotes (the engine will natively handle long path, spaces, etc., so no need to use quotes)

#7 ASR rules run under NT AUTHORITY\SYSTEM account, so environmental variables are limited to machine variables.

 

As for wildcards, it’s important to understand how Microsoft Defender, overall, accepts and expects its usage. More information on how to use wildcards in ASR rules is available here.

 

Finally, Microsoft Defender ATP engineers made sure that OS components and several legitimate 3rd party apps play nice with ASR rules. So, several exclusions are already built in. However, we still advise customers to initially enable ASR rules in audit mode to determine any possible impact they might have on your organization.

 

 

#3 How do I know what I need to exclude?

One of the most important points to keep in mind when working with exclusions is that different ASR rules will have different protection flows.

 

Looking at all ASR rules events in the same way might trick you into excluding the wrong data point. Always take a step back and think about what the ASR rule you are configuring protects against, and how the actual execution flow pans out.

 

Here are a couple of examples of how to exclude processes or files in ASR rules.

 

Block credential stealing from Windows Local Security Authority

Reading directly from Local Security Authority Subsystem (LSASS) process can be a security risk, since it might expose corporate credentials.

This rule prevents untrusted processes from having direct access to LSASS memory.

 

The way that it works, whether in audit or block mode, is quite simple. Whenever a process tries to use the OpenProcess() function to access LSASS, with an access right of PROCESS_VM_READ, the rule will  specifically block that access right (and only that access right!).

 

lsass1.png

Looking at the above example, if you really had to create an exception for the process that the access right was blocked, adding the filename along with full path would exclude it from being blocked and subsequently allowed to access LSASS process memory. The value of 0 means that ASR rules will ignore this file/process and not block/audit it.

 

GPO3.png

 

Please note that if a given process is audited or blocked by this specific ASR rule, it doesn’t necessarily mean that the process itself will crash or the application won’t work. Unfortunately, very often, developers will produce subpar code, which means that a given process might ask for PROCESS_VM_READ, when it doesn’t need it. If you want to further deep dive into this topic, we recommend you having a look at the “Interpreting Exploit Guard ASR audit alerts” blog post, from our friend Chris Jackson.

 

Block Office applications from creating child processes

The name of this rule says it all. The rule prevents applications such as Word or PowerPoint from launching child processes. Launching another process from an Office app is a common method used by cyber criminals to gain access to a command line or a PowerShell console and advance their attack.

 

Looking at the flow of this rule, it naturally makes sense to only exclude child processes that are attempting to be launched, rather than excluding WINWORD.EXE or POWERPOINT.EXE process altogether.

 

event2.png

From the above screenshot, we can see that this ASR rule blocked WINWORD.EXE from launching another process, called cmd.exe.

 

Now, imagine that cmd.exe was a legitimate line-of-business app. The next step would be to add that filename along with its full path to the configuration mechanism of choice to exclude it from being blocked, and re-run the test to see if the exclusion successfully took effect.

 

Let us call the process we want to exclude test.exe for our next example. Simply adding test.exe (along with its full path name) into the exclusion policy will allow WINWORD.EXE to launch that application, as a child process. The value of 0 means that ASR rules will ignore this file/process and not block/audit it.

 

GPO4.png

 

Please note that adding exclusions like cmd.exe or powershell.exe would completely compromise the security of your endpoints, since it would not block threats from leveraging Office Apps to run malicious macros, for example.

 

Always make sure to think twice about what you are excluding, so that you’re not diminishing your endpoint security.

 

That is it for our second blog post on demystifying ASR rules! We hope this is helpful and feel free to ask any questions. Stay tuned for the next one and make sure to check out all the blogs in this series here.

 

See you soon!

 

António Vasconcelos and Rob Mallicoat

Program Managers @ Microsoft Defender ATP Product Group

6 Comments
Frequent Contributor

Hi @Antonio Vasconcelos, @Rob Mallicoat ,

 

Overview:

It is not in anyone's best interest to have rules enabled in Audit mode for very long - so what we are trying to achieve is get a good set of base rules that are somewhat typical in most organizations so that these ASR and Exploit Guard rules can be added from day one to speed up the maturity/adoption/security of the solution. The way we are looking at this is twofold:

  1. Get a list of typical exclusions that can be added to ASR/ExploitGuard and add them as we enable Audit mode   
  2. Identify outliers that are typically not encountered within the first week and simply change from Audit to Enabled
  3. By this method we are effectively starting to improve from both ends of the extreme and working thru the rules to get to an adequate hardened position in a responsible manner ASAP

Just checking on some aspects of the ASR Rules?

GUID's for Rules:

The GUID’s used are just for the rule base on the client - it seems that the GUID string to reference the rules from inside Intune are different, I noticed this after creating a security baseline for Win 10 MDATP and then exporting it from Intune and realised that none of the GUID’s appear to have any match - is this due to the differences between client and Intune?

 

I was hoping to create a preferred benign “audit” starting point for customers, and then progressively work up more secure baselines that would act as templates for customers, now I am doubting how this might be achieved?

 

Strange Logs? from ExploitGuard:

Also noted that there is some curious anomalies where we are seeing a series of 7 tasks based on powershell but creating logging into “C:\ProgramData\Microsoft\Windows Defender Advanced Threat Protection\DataCollection\5999.4564940.0.4521659\fd772071-9b1d-4ce0-b9ec-96334db59905.ps1”  and this seems to represent 10% of the 10,000 logs exported via the MDATP Console - but it did very much look like some efforts of the MDATP client behavior?

The reason for highlighting this is I can see evidence of the exact same behavior in two tenants.

Question: Is this normal behaviour for the MDATP Client - if so, why do we need to now create an ASR Rule to reduce the noise?

Surely this is something that should baked into the installation by default? I am making an assumption that this is benign and can be safely ignored?

 

Full listing of command line entry:

powershell.exe -ExecutionPolicy Bypass -NoProfile -NonInteractive -Command "& {$OutputEncoding = [Console]::OutputEncoding =[System.Text.Encoding]::UTF8;$scriptFileStream = [System.IO.File]::Open('C:\ProgramData\Microsoft\Windows Defender Advanced Threat Protection\DataCollection\5999.4564940.0.4521659\fd772071-9b1d-4ce0-b9ec-96334db59905.ps1', [System.IO.FileMode]::Open, [System.IO.FileAccess]::Read, [System.IO.FileAccess]::Read);$calculatedHash = Get-FileHash 'C:\ProgramData\Microsoft\Windows Defender Advanced Threat Protection\DataCollection\5999.4564940.0.4521659\fd772071-9b1d-4ce0-b9ec-96334db59905.ps1' -Algorithm SHA256;if (!($calculatedHash.Hash -eq '258a27019b0ed2b15c067fe83a56c6a24738d678e9bcd0ccc159a033d2d7c898')) { exit 323;}; . 'C:\ProgramData\Microsoft\Windows Defender Advanced Threat Protection\DataCollection\5999.4564940.0.4521659\fd772071-9b1d-4ce0-b9ec-96334db59905.ps1' }"

Hope this makes sense, regards,

Dave C

@David Caddick 

 

#1 Please use this as a reference for using Graph API to configure ASR settings

#2 You can export the object (template that you create) and import it into another tenant (using the Graph API or an off the shelve utility to do so)

#3 ASR rules ID's are valid only for Defender AV. Intune has ID's for it's own objects. As long as the CSP gets the correct setting, it honestly doesn't matter which ID's Intune uses for it's URIs.

#4 The PowerShell FP is a know issue and it's being fixed.

 

As for you strategy on exclusions. All looks good. Just one extra tidbit. Don't try to apply 1 golden policy to 100% of an organization. Exceptions and edge cases will appear, and it's much simpler to have those in a separate policy item, then just trying to adapt 1 single policy for every possible scenario (exclusion, app compact, etc.).

 

Hth,

António.

Frequent Contributor

Thanks @Antonio Vasconcelos 

 

Just clarifying some feedback on Item #1

 

For creating the Security Baseline profile in Intune - this looks simple enough via:
https://portal.azure.com/#blade/Microsoft_Intune_Workflows/SecurityBaselineMenu/securityBaselines

But once I review the settings under Microsoft Defender it is easy to see how this can be changed to either Audit mode or Block but what I wasn't seeing is how to add the ASR Exclusion rules once they have been identified by running in Audit mode? (here there are only 10 rules)

I then went back and reread the instructions at - https://docs.microsoft.com/en-us/windows/security/threat-protection/microsoft-defender-atp/enable-at... and realised that I needed to create a new "Endpoint Protection" profile under Device Configuration profiles (here are the full 15 rules)

https://portal.azure.com/#blade/Microsoft_Intune_DeviceSettings/DeviceConfigMainMenuViewModel/device... 

 

So please be aware that it looks like the ASR Rules are surfacing in two locations in Intune - and it's under the Security Baseline where it appears to be incomplete where there is no place to submit the Exclusion Files/Paths? It might be that this area is still a "Work in Progress" but the Security Baseline would appear to be a more natural home for these settings perhaps?

 

@David Caddick Hey!

 

#1 Security Baselines are just that. They should serve as a foundation for other policies/settings to be applied.

#2 Security Baselines won't sport every existing settings for a given category, including ASR rules.

#3 As with any other Security Baseline that we've released in the past (e.g. GPO), they won't provide recommendations on exclusions or custom settings. These should be part of what the Customer defines on top of the baselines.

#4 Use the Endpoint Protection ASR rules object (Preview) or create a custom policy that can be re-used wherever needed.

 

Hth,

António.

Regular Visitor

Hi @Antonio Vasconcelos 

Thanks for the great work!

 

Would this mean, that we don't need to disable all the macros in the Office Trust Center anymore, if we put all the ASR Rules in place?

 

Best regards

Martin

Contributor

Hi all, can anyone explain why I am seeing ASR alerts in MDATP console for just about all our machines but only have rules in place on a couple of test machines?

 

asr.PNG

 

It doesnt seem right?