Home
%3CLINGO-SUB%20id%3D%22lingo-sub-769772%22%20slang%3D%22en-US%22%3ERe%3A%20MDATP%20Streaming%20API%20-%20Public%20Preview%20-%20DIY%20example%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-769772%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20for%20this%20--%20just%20as%20a%20heads-up%2C%20the%20%22Interoperability%22%20component%20of%20the%20Microsoft%20Defender%20Security%20Center%20portal%20pictured%20in%20step%203%20is%20now%20called%20%22Partners%20%26amp%3B%20APIs%22.%20The%20icon%20of%20overlapping%20circles%20remains%20the%20same.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-770996%22%20slang%3D%22en-US%22%3ERe%3A%20MDATP%20Streaming%20API%20-%20Public%20Preview%20-%20DIY%20example%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-770996%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F54698%22%20target%3D%22_blank%22%3E%40Joe%20Stern%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3EI've%20updated%20the%20screenshot%20with%20our%20latest%20portal%20change.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%2C%3C%2FP%3E%0A%3CP%3EHaim%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-769427%22%20slang%3D%22en-US%22%3EMicrosoft%20Defender%20ATP%20Streaming%20API%20-%20Public%20Preview%20-%20DIY%20example%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-769427%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSTRONG%3EStream%20your%20advanced%20hunting%20events%20to%20your%20Azure%20storage%20account%20and%20control%20your%20data%20with%20Azure%20storage%20lifecycle%20rules%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%2048px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F83411i676D9EBFED18F1AA%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22image.png%22%20title%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%2010%20Minutes%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%2052px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F83412iF0578A9CAA1028F8%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22image.png%22%20title%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3ELow%20complexity%26nbsp%3B%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%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F123499iE5144F9407BCAC20%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22title.png%22%20title%3D%22title.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EOftentimes%2C%20organizations%20require%20better%20control%20over%20their%20raw%20data.%20Typical%20scenarios%20where%20increased%20control%20is%20needed%20include%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSPAN%3EData%20retention%20policies.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EBusiness%20needs%20for%20long%20term%20investigations.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EIntegration%20with%20other%20security%5CBig-data%20products.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSPAN%3ETo%20answer%20this%20need%2C%20Microsoft%20Defender%20ATP%20allows%20you%20to%20stream%20advanced%20hunting%20events%20to%20Azure%20Event%20Hubs%20or%20to%20an%20Azure%20storage%20account.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EIn%20this%20blog%2C%20I%20am%20going%20to%20demonstrate%20how%20you%20can%20easily%20stream%20your%20advanced%20hunting%20events%20to%20Azure%20storage%20account%20and%20set%20an%20Azure%20blob%20storage%20lifecycle%20rule%20to%20move%20old%20data%20to%26nbsp%3B%3CSTRONG%3Elow-cost%20storage%3C%2FSTRONG%3E.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22paragraph%22%20style%3D%22margin%3A%200in%3B%20margin-bottom%3A%20.0001pt%3B%20vertical-align%3A%20baseline%3B%22%3E%3CFONT%20size%3D%225%22%20color%3D%22%23666699%22%3E%3CSPAN%20class%3D%22normaltextrun%22%3E%3CSTRONG%3E%3CSPAN%20style%3D%22font-size%3A%2020.0pt%3B%20font-family%3A%20'Calibri%20Light'%2Csans-serif%3B%20color%3A%20%232f5496%3B%22%3ELet%E2%80%99s%26nbsp%3Bstart%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22eop%22%3E%3CSTRONG%3E%3CSPAN%20style%3D%22font-size%3A%2020.0pt%3B%20font-family%3A%20'Calibri%20Light'%2Csans-serif%3B%20color%3A%20%232f5496%3B%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThe%20following%20four%20simple%20steps%20will%20get%20you%20up%20and%20running%20with%20the%20required%20configurations%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSPAN%3EStep%201%3A%20Create%20a%20storage%20account%20in%20your%20Azure%20tenant.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EStep%202%3A%26nbsp%3BRegister%20to%20Microsoft.insights%20provider%20with%20your%20subscription.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EStep%203%3A%20Enable%20raw%20data%20streaming%20in%20Microsoft%20Defender%20ATP%20Portal.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EStep%204%3A%20Set%20an%20Azure%20blob%20lifecycle%20rule.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22paragraph%22%20style%3D%22margin%3A%200in%3B%20margin-bottom%3A%20.0001pt%3B%20vertical-align%3A%20baseline%3B%22%3E%3CSPAN%20class%3D%22normaltextrun%22%3E%3CSTRONG%3E%3CSPAN%20style%3D%22font-size%3A%2016.0pt%3B%20font-family%3A%20'Calibri%20Light'%2Csans-serif%3B%20color%3A%20%232f5496%3B%22%3EStep%201%20-%20Create%20a%20storage%20account%20in%20your%20Azure%20tenant%3A%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ETo%20create%20an%20Azure%20storage%20account%2C%20follow%20these%20steps%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3E%3CSPAN%3ESign%20in%20to%20the%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20portal%3C%2FA%3E%3CSPAN%3E.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EGo%20to%20%3CSTRONG%3EAll%20Services%20%26gt%3B%20Storage%20Account%3C%2FSTRONG%3E.%3C%2FSPAN%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F123500i65AC5D9535731670%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22storage%20accont.png%22%20title%3D%22storage%20accont.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EClick%20%3CSTRONG%3EAdd%3C%2FSTRONG%3E.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EIn%20the%20Create%20storage%20account%20form%20enter%20the%20following%3A%3CBR%20%2F%3E%3C%2FSPAN%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20629px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F123501i222D3F20F95A5371%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Create%20storage%20account.png%22%20title%3D%22Create%20storage%20account.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3CSPAN%3E1%20%E2%80%93%20Choose%20your%20Azure%E2%80%99s%20subscription.%20%3C%2FSPAN%3E%3CP%3E%3CSPAN%3E2%20%E2%80%93%20Choose%20the%20Resource%20Group%20you%20want%20to%20add%20the%20storage%20account%20to.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E3%20%E2%80%93%20Give%20your%20new%20storage%20account%20a%20name.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ELeave%20all%20other%20fields%20set%20to%20their%20default%20values%2C%20or%20you%20can%20use%20the%20tooltip%20for%20each%20configuration%20to%20find%20the%20meaning%20of%20each%20setting.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3ESelect%26nbsp%3B%3CSTRONG%3EReview%20%2B%20Create%20%3C%2FSTRONG%3Eto%26nbsp%3Breview%20your%20storage%20account%20settings%20and%20create%20the%20account.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3ESelect%20Create.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3ESave%20your%20new%20storage%20account%20resource%20ID%20(you%20will%20need%20it%20on%20Step%203)%3C%2FSPAN%3E%3CUL%3E%0A%3CLI%3E%3CSPAN%3EGo%20to%20%3CSTRONG%3EStorage%20account%20%26gt%3B%20%7Byour%20new%20storage%20account%20name%7D%20%26gt%3B%20Properties%3C%2FSTRONG%3E.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3ECopy%20the%20value%20in%20%E2%80%9Cstorage%20account%20resource%20ID%E2%80%9D%20textbox%20and%20save%20it%20in%20Step%203%3A%3C%2FSPAN%3E%3CSPAN%3EEnable%20Raw%20data%20streaming%20in%20Microsoft%20Defender%20ATP%20Portal.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F123502iFDDAD2C2A083C34F%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22storage%20account%20ID.png%22%20title%3D%22storage%20account%20ID.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22paragraph%22%20style%3D%22margin%3A%200in%3B%20margin-bottom%3A%20.0001pt%3B%20vertical-align%3A%20baseline%3B%22%3E%3CSPAN%20class%3D%22normaltextrun%22%3E%3CSTRONG%3EDone!%3C%2FSTRONG%3E%26nbsp%3BYou%20have%20successfully%20created%20a%20new%20storage%20account.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22paragraph%22%20style%3D%22margin%3A%200in%3B%20margin-bottom%3A%20.0001pt%3B%20vertical-align%3A%20baseline%3B%22%3E%3CSPAN%20class%3D%22normaltextrun%22%3E%3CSTRONG%3E%3CSPAN%20style%3D%22font-size%3A%2016.0pt%3B%20font-family%3A%20'Calibri%20Light'%2Csans-serif%3B%20color%3A%20%232f5496%3B%22%3EStep%202%3A%26nbsp%3BCreate%20a%20subscription%20to%20Microsoft.insights%20provider%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3ELog%20in%20to%20your%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fms.portal.azure.com%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20tenant%3C%2FA%3E.%3C%2FLI%3E%0A%3CLI%3EGo%20to%20%3CSTRONG%3ESubscriptions%20%26gt%3B%20%7BYour%20subscription%20name%7D%3C%2FSTRONG%3E.%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F123505i949EA4FF4D072EEC%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22subsription.png%22%20title%3D%22subsription.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3EGo%20to%20%3CSTRONG%3EResource%20Providers%3C%2FSTRONG%3E.%20Click%20on%26nbsp%3B%3CSTRONG%3EMicrosoft.insights%20%3C%2FSTRONG%3Eand%20select%20%3CSTRONG%3ERegister.%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F123506i366C5FDC2D30C462%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22subsription2.png%22%20title%3D%22subsription2.png%22%20%2F%3E%3C%2FSPAN%3E%3CP%20class%3D%22paragraph%22%20style%3D%22margin%3A%200in%3B%20margin-bottom%3A%20.0001pt%3B%20vertical-align%3A%20baseline%3B%22%3E%3CSPAN%20class%3D%22normaltextrun%22%3E%3CSTRONG%3EDone!%3C%2FSTRONG%3E%26nbsp%3BYou%20have%20successfully%20registered%20to%20%3CSTRONG%3EMicrosoft.insights%3C%2FSTRONG%3Eprovider.%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%20class%3D%22paragraph%22%20style%3D%22margin%3A%200in%3B%20margin-bottom%3A%20.0001pt%3B%20vertical-align%3A%20baseline%3B%22%3E%3CSPAN%20class%3D%22normaltextrun%22%3E%3CSTRONG%3E%3CSPAN%20style%3D%22font-size%3A%2016.0pt%3B%20font-family%3A%20'Calibri%20Light'%2Csans-serif%3B%20color%3A%20%232f5496%3B%22%3EStep%203%3A%20Enable%20Raw%20data%20streaming%20in%20Microsoft%20Defender%20ATP%20Portal%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3ELog%20in%20to%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fsecuritycenter.windows.com%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EMicrosoft%20Defender%20ATP%20portal%3C%2FA%3Ewith%20a%20%3CSTRONG%3EGlobal%20Admin%26nbsp%3B%3C%2FSTRONG%3Erole.%3C%2FLI%3E%0A%3CLI%3EGo%20to%20%3CSTRONG%3EInteroperability%20%26gt%3B%20Data%20export%20settings%26gt%3B%20Add%20data%20export%20settings%3C%2FSTRONG%3E.%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F124265i0967FD5F8333C0A5%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Enable%20data%20export-new.png%22%20title%3D%22Enable%20data%20export-new.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3EChoose%20a%20Name%20to%20your%20new%20settings.%3C%2FLI%3E%0A%3CLI%3ESelect%26nbsp%3B%3CSTRONG%3EForward%20events%20to%20Azure%20Storage.%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3EType%20your%26nbsp%3B%3CSTRONG%3EStorage%20Account%20Resource%20ID%3C%2FSTRONG%3Eyou%20saved%20at%20the%20end%20of%20Step%201.%3C%2FLI%3E%0A%3CLI%3EChoose%20the%20event%20type%20you%20want%20to%20forward.%3C%2FLI%3E%0A%3CLI%3EClick%20%3CSTRONG%3ESave%3C%2FSTRONG%3E.%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20631px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F123509iDEB5DDFABB32DB4A%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22add%20data%20export%20settings.png%22%20title%3D%22add%20data%20export%20settings.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%20class%3D%22paragraph%22%20style%3D%22margin%3A%200in%3B%20margin-bottom%3A%20.0001pt%3B%20vertical-align%3A%20baseline%3B%22%3E%3CSPAN%20class%3D%22normaltextrun%22%3E%3CSTRONG%3EDone!%3C%2FSTRONG%3E%26nbsp%3BYou%20have%20successfully%20enabled%20raw%20data%20steaming.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22paragraph%22%20style%3D%22margin%3A%200in%3B%20margin-bottom%3A%20.0001pt%3B%20vertical-align%3A%20baseline%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22paragraph%22%20style%3D%22margin%3A%200in%3B%20margin-bottom%3A%20.0001pt%3B%20vertical-align%3A%20baseline%3B%22%3E%3CSPAN%20style%3D%22font-family%3A%20'Segoe%20UI'%2Csans-serif%3B%20color%3A%20black%3B%22%3EIn%20about%205%20minutes%2C%20data%20will%20start%20to%20be%20written%20to%20the%20blob%20storage.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22paragraph%22%20style%3D%22margin%3A%200in%3B%20margin-bottom%3A%20.0001pt%3B%20vertical-align%3A%20baseline%3B%22%3E%3CSPAN%20style%3D%22font-family%3A%20'Segoe%20UI'%2Csans-serif%3B%20color%3A%20black%3B%22%3EYou%20can%20view%20your%20raw%20data%20files%20on%20Azure%20portal%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22paragraph%22%20style%3D%22margin%3A%200in%3B%20margin-bottom%3A%20.0001pt%3B%20vertical-align%3A%20baseline%3B%22%3E%3CSPAN%20style%3D%22font-family%3A%20'Segoe%20UI'%2Csans-serif%3B%20color%3A%20black%3B%22%3EGo%20to%20%3CSTRONG%3EStorage%20account%20%26gt%3B%20%7Byour%20new%20storage%20account%20name%7D%20%26gt%3B%20overview%20%26gt%3B%20Blobs.%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F123510i0FD716F96A19D13B%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22viewBlob.png%22%20title%3D%22viewBlob.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22paragraph%22%20style%3D%22margin%3A%200in%3B%20margin-bottom%3A%20.0001pt%3B%20vertical-align%3A%20baseline%3B%22%3E%3CSPAN%20style%3D%22font-family%3A%20'Segoe%20UI'%2Csans-serif%3B%20color%3A%20black%3B%22%3EYou%E2%80%99ll%20see%20that%20new%20file%20created%20for%20each%20event%20type%20on%20an%20hourly%20basis%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22paragraph%22%20style%3D%22margin%3A%200in%3B%20margin-bottom%3A%20.0001pt%3B%20vertical-align%3A%20baseline%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F123511iF4B3FCB897A4282E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22title.png%22%20title%3D%22title.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22paragraph%22%20style%3D%22margin%3A%200in%3B%20margin-bottom%3A%20.0001pt%3B%20vertical-align%3A%20baseline%3B%22%3E%3CSPAN%20style%3D%22font-family%3A%20'Segoe%20UI'%2Csans-serif%3B%20color%3A%20black%3B%22%3EThe%20schema%20of%20each%20row%20in%20each%20file%20in%20the%20blob%20is%20the%20following%20JSON%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CTABLE%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22623%22%3E%3CP%3E%3CSPAN%3E%7B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%22time%22%3A%20%22%22%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%22tenantId%22%3A%20%22%22%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%22category%22%3A%20%22%22%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%22properties%22%3A%20%7B%20%7D%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%7D%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%20class%3D%22paragraph%22%20style%3D%22margin%3A%200in%3B%20margin-bottom%3A%20.0001pt%3B%20vertical-align%3A%20baseline%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22paragraph%22%20style%3D%22margin%3A%200in%3B%20margin-bottom%3A%20.0001pt%3B%20vertical-align%3A%20baseline%3B%22%3E%3CSPAN%20class%3D%22normaltextrun%22%3E%3CSTRONG%3E%3CSPAN%20style%3D%22font-size%3A%2016.0pt%3B%20font-family%3A%20'Calibri%20Light'%2Csans-serif%3B%20color%3A%20%232f5496%3B%22%3EStep%204%3A%20Set%20Azure%20blob%20lifecycle%20rule%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22paragraph%22%20style%3D%22margin%3A%200in%3B%20margin-bottom%3A%20.0001pt%3B%20vertical-align%3A%20baseline%3B%22%3E%3CSPAN%20style%3D%22font-family%3A%20'Segoe%20UI'%2Csans-serif%3B%20color%3A%20black%3B%22%3EYou%20now%20have%20your%20data%20stored%20on%20your%20storage%20blob.%20Let%E2%80%99s%20create%20a%20rule%20that%20set%20the%20periods%20of%20time%20for%20each%20stage%20in%20our%20data%20lifecycle.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22paragraph%22%20style%3D%22margin%3A%200in%3B%20margin-bottom%3A%20.0001pt%3B%20vertical-align%3A%20baseline%3B%22%3E%3CSPAN%20style%3D%22font-family%3A%20'Segoe%20UI'%2Csans-serif%3B%20color%3A%20black%3B%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22paragraph%22%20style%3D%22margin%3A%200in%3B%20margin-bottom%3A%20.0001pt%3B%20vertical-align%3A%20baseline%3B%22%3E%3CSPAN%20style%3D%22font-family%3A%20'Segoe%20UI'%2Csans-serif%3B%20color%3A%20black%3B%22%3EI%20will%20demonstrate%20how%20I%20created%20a%20rule%20for%20the%20following%20lifecycle%20definition%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22paragraph%22%20style%3D%22margin%3A%200in%3B%20margin-bottom%3A%20.0001pt%3B%20vertical-align%3A%20baseline%3B%22%3E%3CSPAN%20class%3D%22normaltextrun%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F123512i8C68C028AA644372%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22backup%20lifecycle.png%22%20title%3D%22backup%20lifecycle.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EMove%20blob%20data%20from%20hot%20storage%20to%20cold%20storage%20after%2030%20days%20from%20last%20modification.%3C%2FLI%3E%0A%3CLI%3EMove%20blob%20data%20from%20cold%20storage%20to%20archive%20storage%20after%2090%20days%20from%20last%20modification.%3C%2FLI%3E%0A%3CLI%3EDelete%20blob%20data%20after%20365%20days%20from%20last%20modification.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EOpen%20%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Portal%3C%2FA%3E.%3C%2FLI%3E%0A%3CLI%3EGo%20to%20%3CSTRONG%3EStorage%20account%20%26gt%3B%20%7Byour%20new%20storage%20account%20name%7D%20%26gt%3B%20overview%20%26gt%3B%20Blob%3C%2FSTRONG%3E.%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F123513i5A64B45479F6EB22%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22viewBlob.png%22%20title%3D%22viewBlob.png%22%20%2F%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3EUnder%26nbsp%3B%3CSTRONG%3EBlob%20Service%3C%2FSTRONG%3E%2C%20select%26nbsp%3B%3CSTRONG%3ELifecycle%20management%20-%26gt%3B%20Add%20rule%3C%2FSTRONG%3E.%3CSTRONG%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F123514i5BDA0488400A3A09%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22blob%20lifecycle%20service%20menu.png%22%20title%3D%22blob%20lifecycle%20service%20menu.png%22%20%2F%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3EGive%20your%20new%20rule%20a%20name%20and%20check%20the%20setting%20you%20want%20to%20set%20in%20the%20rule.%3CSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20998px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F123515i526A9CE16A6A93A2%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22blob%20lifecycle%20rule.png%22%20title%3D%22blob%20lifecycle%20rule.png%22%20%2F%3E%3C%2FSPAN%3E%20%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3EClick%20%3CSTRONG%3EReview%20%2B%20add%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CSTRONG%3EDone!%3C%2FSTRONG%3E%26nbsp%3Byou%20have%20successfully%20created%20an%20Azure%20storage%20lifecycle%20rule%20for%20your%20raw%20Microsoft%20Defender%20ATP%20data.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20the%20next%20blog%2C%20we%20will%20demonstrate%20how%20to%20stream%20advanced%20hunting%20events%20to%20Azure%20Event%20Hubs.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%2C%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F138020%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3E%40Haim%26nbsp%3BGoldshtein%3C%2FA%3E%2C%20Security%20software%20engineer%2C%26nbsp%3BMicrosoft%20Defender%20ATP%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F183190%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3E%40Dan%20Michelson%3C%2FA%3E%2C%20Program%20Manager%2C%26nbsp%3BMicrosoft%20Defender%20ATP%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%40Ben%20Alfasi%2C%20Software%20engineer%2C%20Microsoft%20Defender%20ATP%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-769427%22%20slang%3D%22en-US%22%3E%3CP%3EHowto%20Stream%20your%20Microsoft%20Defender%20ATP%20data%20to%20external%20storage%20(preview).%3CBR%20%2F%3ERetain%2C%20correlate%20and%20process%20your%20cyber%20telemetry%20outside%20Microsoft%20Defender%20ATP.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F123511iF4B3FCB897A4282E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22title.png%22%20title%3D%22title.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-TEASER%3E
Microsoft

Stream your advanced hunting events to your Azure storage account and control your data with Azure storage lifecycle rules

image.png 10 Minutes

image.pngLow complexity 

 

title.png

Oftentimes, organizations require better control over their raw data. Typical scenarios where increased control is needed include:

 

  • Data retention policies.
  • Business needs for long term investigations.
  • Integration with other security\Big-data products.

To answer this need, Microsoft Defender ATP allows you to stream advanced hunting events to Azure Event Hubs or to an Azure storage account.

In this blog, I am going to demonstrate how you can easily stream your advanced hunting events to Azure storage account and set an Azure blob storage lifecycle rule to move old data to low-cost storage.

 

Let’s start 

The following four simple steps will get you up and running with the required configurations:

  • Step 1: Create a storage account in your Azure tenant.
  • Step 2: Register to Microsoft.insights provider with your subscription.
  • Step 3: Enable raw data streaming in Microsoft Defender ATP Portal.
  • Step 4: Set an Azure blob lifecycle rule.

Step 1 - Create a storage account in your Azure tenant:

To create an Azure storage account, follow these steps:

  1. Sign in to the Azure portal.
  2. Go to All Services > Storage Account.storage accont.png
  3. Click Add.
  4. In the Create storage account form enter the following:
    Create storage account.png

    1 – Choose your Azure’s subscription.

    2 – Choose the Resource Group you want to add the storage account to.

    3 – Give your new storage account a name.

       

    Leave all other fields set to their default values, or you can use the tooltip for each configuration to find the meaning of each setting.

     

  5. Select Review + Create to review your storage account settings and create the account.
  6. Select Create.
  7. Save your new storage account resource ID (you will need it on Step 3)
    • Go to Storage account > {your new storage account name} > Properties.
    • Copy the value in “storage account resource ID” textbox and save it in Step 3: Enable Raw data streaming in Microsoft Defender ATP Portal.

storage account ID.png

Done! You have successfully created a new storage account.

 

Step 2: Create a subscription to Microsoft.insights provider

  1. Log in to your Azure tenant.
  2. Go to Subscriptions > {Your subscription name}.
    subsription.png
  3. Go to Resource Providers. Click on Microsoft.insights and select Register.
    subsription2.png

    Done! You have successfully registered to Microsoft.insights provider.

Step 3: Enable Raw data streaming in Microsoft Defender ATP Portal

  1. Log in to Microsoft Defender ATP portal with a Global Admin role.
  2. Go to Interoperability > Data export settings> Add data export settings.
    Enable data export-new.png
  3. Choose a Name to your new settings.
  4. Select Forward events to Azure Storage.
  5. Type your Storage Account Resource ID you saved at the end of Step 1.
  6. Choose the event type you want to forward.
  7. Click Save.
    add data export settings.png

Done! You have successfully enabled raw data steaming.

 

In about 5 minutes, data will start to be written to the blob storage.

You can view your raw data files on Azure portal:

Go to Storage account > {your new storage account name} > overview > Blobs.

viewBlob.png

 

You’ll see that new file created for each event type on an hourly basis:

 

title.png

The schema of each row in each file in the blob is the following JSON:

{

        "time": ""

        "tenantId": ""

        "category": ""

        "properties": { }

}

 

Step 4: Set Azure blob lifecycle rule

You now have your data stored on your storage blob. Let’s create a rule that set the periods of time for each stage in our data lifecycle.

 

I will demonstrate how I created a rule for the following lifecycle definition:

backup lifecycle.png

  • Move blob data from hot storage to cold storage after 30 days from last modification.
  • Move blob data from cold storage to archive storage after 90 days from last modification.
  • Delete blob data after 365 days from last modification.

 

  1. Open Azure Portal.
  2. Go to Storage account > {your new storage account name} > overview > Blob.
  3. viewBlob.png
  4. Under Blob Service, select Lifecycle management -> Add rule.
    blob lifecycle service menu.png
  5. Give your new rule a name and check the setting you want to set in the rule.

    blob lifecycle rule.png
  6. Click Review + add

Done!  you have successfully created an Azure storage lifecycle rule for your raw Microsoft Defender ATP data.

 

In the next blog, we will demonstrate how to stream advanced hunting events to Azure Event Hubs.

 

Thanks, 

@Haim Goldshtein, Security software engineer, Microsoft Defender ATP   

@Dan Michelson, Program Manager, Microsoft Defender ATP   

@Ben Alfasi, Software engineer, Microsoft Defender ATP 

2 Comments
Occasional Contributor

Thanks for this -- just as a heads-up, the "Interoperability" component of the Microsoft Defender Security Center portal pictured in step 3 is now called "Partners & APIs". The icon of overlapping circles remains the same. 

Microsoft

Thank you @Joe Stern ,

I've updated the screenshot with our latest portal change.

 

Thanks,

Haim