Azure Network Security Hygiene with Traffic Analytics

Published Apr 26 2021 12:00 AM 3,036 Views
Microsoft

Hello, dear readers! My name is Hélder Pinto and I am sharing here some tips about how to leverage NSG Flow Logs and Traffic Analytics to improve your Azure network security hygiene and, at the end, simplify your NSG rules and, more importantly, uncover security vulnerabilities.

 

Introduction

 

Traffic Analytics is an Azure-native service that allows you to get insights about the Azure Virtual Network flows originated by or targeted to your applications. For example, identifying network activity hot spots, security threats or network usage patterns is made very easy by navigating over the several ready-made Traffic Analytics dashboards. This service depends on the Flow Logs generated by the network activity evaluated by Network Security Group (NSG) rules. Whenever a network flow tries to go from A to B in your network, it generates a log for the NSG rule that allows/denies the flow. Traffic Analytics is not enabled by default and you must turn it on for each NSG. You can read more details about Traffic Analytics here.

 

Traffic Analytics dashboards are built on top of the logs that are collected at least every hour into a Log Analytics workspace. If you drill down some of its charts, you’ll notice that everything depends on the AzureNetworkAnalytics_CL custom log table. Of course, these flow logs can be used for other purposes besides feeding Traffic Analytics dashboards. In this article, I’ll demonstrate how to leverage Traffic Analytics logs to improve your Azure network security hygiene and, at the end, simplify your NSG rules and, more importantly, uncover security vulnerabilities.

 

The problem

 

When managing NSGs, inbound/outbound rules are added/updated as new services are onboarded into the Virtual Network. Sometimes, rules are changed temporarily to debug a failing flow. Meanwhile, services and network interfaces are decommissioned, temporary rules are not needed anymore, but too frequently NSG rules are not updated after those changes. As time goes by, it is not uncommon to find NSG rules for which we don’t know the justification at all or, in many cases, containing IP address-based sources/destinations that are not easy to identify. As a result, motivated by the fear of breaking something, we let those rules hanging around.

 

This negligence in network security hygiene sometimes originates vulnerabilities that have a dire impact in your Azure assets. Some examples:

 

  • An outbound allow rule for Azure SQL that is not needed anymore and that can be exploited for data exfiltration.
  • A deny rule that is never hit because someone inserted a permissive allow rule with higher priority.
  • An RDP allow rule for a specific source/destination that is never hit because, again, someone added a higher priority rule that suppresses its effect.

 

Even if some unneeded NSG rule is innoxious, it is a general best practice to keep your Azure resources as optimized and clean as possible – the cleaner your environment, the more manageable it is.

 

NSG Optimization Workbook

 

Based on Azure Resource Graph and on the AzureNetworkAnalytics_CL Log Analytics table generated by Traffic Analytics, I built an Azure Monitor workbook that helps you spot NSG rules that haven’t been used for a given period, i.e., good candidates for cleanup or maybe a symptom that something is wrong with your NSG setup.

 

The workbook starts by showing you:

 

  • which NSGs do not have Traffic Analytics enabled – this means no visibility over their flows.
  • which NSGs have been inactive, i.e., not generating any flow logs – maybe these NSGs were associated to subnets or network interfaces that were decommissioned.

 

Workbook tiles with a summary of Traffic Analytics state in all NSGsWorkbook tiles with a summary of Traffic Analytics state in all NSGs

 

Workbook tile listing NSGs that have not been generating flow logs (inactive)Workbook tile listing NSGs that have not been generating flow logs (inactive)

 

If you scroll down a bit more, you’ll also get details about NSG rules that have been inactive for the period specified as parameter. These rules are not generating NSG Flow Logs and this may be a symptom of some misconfiguration or, at least, of some lack of security hygiene.

 

Workbook tile with a list of NSG rules that have not been used by network trafficWorkbook tile with a list of NSG rules that have not been used by network traffic

 

If you select a rule from the list, you get statistics about other rules in the same NSG that are generating flows, which may give you a hint for the reason why that rule has not generated any log lately.

 

Workbook tile with the statistics for all the NSG rules that have generating traffic for the NSG where the inactive rule sits inWorkbook tile with the statistics for all the NSG rules that have generating traffic for the NSG where the inactive rule sits in

 

Deploying the Workbook

 

The NSG Optimization workbook can be found at the address below:

 

https://github.com/helderpinto/azure-wellarchitected-toolkit/blob/main/security/workbooks/nsg-optimi...

 

For instructions on how to setup a workbook, check the Azure Monitor documentation. Once in Azure Monitor Workbooks, you must create a new Workbook and, in edit mode, click on the Advanced Editor button (see picture below) and replace the gallery template code by the one you find in the GitHub URL above. After applying the workbook code, you should see the dashboard described in this article. The workbook looks quite simple but the logic behind is somewhat complex and, depending on the volume of your NSG Flow Logs and on the NSG activity time range you chose, it may take a while to fully load each table. Don’t forget to save your workbook!

 

Screenshot of the Workbooks user interface for creating a new workbook from existing codeScreenshot of the Workbooks user interface for creating a new workbook from existing code

 

 

Screenshot of the Workbooks user interface for applying and saving a new workbook from existing codeScreenshot of the Workbooks user interface for applying and saving a new workbook from existing code

 

Conclusion

 

As we saw in this article, keeping a good network security hygiene may save you from troubles. Some of these potential issues come out of unneeded or obsolete network security rules defined in your NSGs. The NSG Optimization Workbook here described will help you uncover NSGs or NSG rules that have not been used over a specific time range, based on Traffic Analytics logs. An NSG rule that has not generated flow logs is probably a symptom of some misconfiguration. So, go turn on Traffic Analytics, deploy the NSG Optimization Workbook and give a start to your NSG spring cleanup! :smiling_face_with_smiling_eyes:

1 Comment
Microsoft

It is a useful tool for Azure Network Admin.

%3CLINGO-SUB%20id%3D%22lingo-sub-2282377%22%20slang%3D%22en-US%22%3EAzure%20Network%20Security%20Hygiene%20with%20Traffic%20Analytics%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2282377%22%20slang%3D%22en-US%22%3E%3CP%3E%3CEM%3EHello%2C%20dear%20readers!%20My%20name%20is%20H%C3%A9lder%20Pinto%20and%20I%20am%20sharing%20here%20some%20tips%20about%20how%20to%20leverage%20NSG%20Flow%20Logs%20and%20Traffic%20Analytics%20to%20improve%20your%20Azure%20network%20security%20hygiene%20and%2C%20at%20the%20end%2C%20simplify%20your%20NSG%20rules%20and%2C%20more%20importantly%2C%20uncover%20security%20vulnerabilities.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--492882695%22%20id%3D%22toc-hId--492019908%22%20id%3D%22toc-hId--492019908%22%20id%3D%22toc-hId--492019908%22%3E%3CSPAN%3EIntroduction%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ETraffic%20Analytics%20is%20an%20Azure-native%20service%20that%20allows%20you%20to%20get%20insights%20about%20the%20Azure%20Virtual%20Network%20flows%20originated%20by%20or%20targeted%20to%20your%20applications.%20For%20example%2C%20identifying%20network%20activity%20hot%20spots%2C%20security%20threats%20or%20network%20usage%20patterns%20is%20made%20very%20easy%20by%20navigating%20over%20the%20several%20ready-made%20Traffic%20Analytics%20dashboards.%20This%20service%20depends%20on%20the%20Flow%20Logs%20generated%20by%20the%20network%20activity%20evaluated%20by%20Network%20Security%20Group%20(NSG)%20rules.%20Whenever%20a%20network%20flow%20tries%20to%20go%20from%20A%20to%20B%20in%20your%20network%2C%20it%20generates%20a%20log%20for%20the%20NSG%20rule%20that%20allows%2Fdenies%20the%20flow.%20Traffic%20Analytics%20is%20not%20enabled%20by%20default%20and%20you%20must%20turn%20it%20on%20for%20each%20NSG.%20You%20can%20read%20more%20details%20about%20Traffic%20Analytics%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fnetwork-watcher%2Ftraffic-analytics%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ETraffic%20Analytics%20dashboards%20are%20built%20on%20top%20of%20the%20logs%20that%20are%20collected%20at%20least%20every%20hour%20into%20a%20Log%20Analytics%20workspace.%20If%20you%20drill%20down%20some%20of%20its%20charts%2C%20you%E2%80%99ll%20notice%20that%20everything%20depends%20on%20the%20%3CEM%3EAzureNetworkAnalytics_CL%3C%2FEM%3E%20custom%20log%20table.%20Of%20course%2C%20these%20flow%20logs%20can%20be%20used%20for%20other%20purposes%20besides%20feeding%20Traffic%20Analytics%20dashboards.%20In%20this%20article%2C%20I%E2%80%99ll%20demonstrate%20how%20to%20leverage%20Traffic%20Analytics%20logs%20to%20improve%20your%20Azure%20network%20security%20hygiene%20and%2C%20at%20the%20end%2C%20simplify%20your%20NSG%20rules%20and%2C%20more%20importantly%2C%20uncover%20security%20vulnerabilities.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1994630138%22%20id%3D%22toc-hId-1995492925%22%20id%3D%22toc-hId-1995492925%22%20id%3D%22toc-hId-1995492925%22%3E%3CSPAN%3EThe%20problem%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EWhen%20managing%20NSGs%2C%20inbound%2Foutbound%20rules%20are%20added%2Fupdated%20as%20new%20services%20are%20onboarded%20into%20the%20Virtual%20Network.%20Sometimes%2C%20rules%20are%20changed%20temporarily%20to%20debug%20a%20failing%20flow.%20Meanwhile%2C%20services%20and%20network%20interfaces%20are%20decommissioned%2C%20temporary%20rules%20are%20not%20needed%20anymore%2C%20but%20too%20frequently%20NSG%20rules%20are%20not%20updated%20after%20those%20changes.%20As%20time%20goes%20by%2C%20it%20is%20not%20uncommon%20to%20find%20NSG%20rules%20for%20which%20we%20don%E2%80%99t%20know%20the%20justification%20at%20all%20or%2C%20in%20many%20cases%2C%20containing%20IP%20address-based%20sources%2Fdestinations%20that%20are%20not%20easy%20to%20identify.%20As%20a%20result%2C%20motivated%20by%20the%20fear%20of%20breaking%20something%2C%20we%20let%20those%20rules%20hanging%20around.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThis%20negligence%20in%20network%20security%20hygiene%20sometimes%20originates%20vulnerabilities%20that%20have%20a%20dire%20impact%20in%20your%20Azure%20assets.%20Some%20examples%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSPAN%3EAn%20outbound%20allow%20rule%20for%20Azure%20SQL%20that%20is%20not%20needed%20anymore%20and%20that%20can%20be%20exploited%20for%20data%20exfiltration.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EA%20deny%20rule%20that%20is%20never%20hit%20because%20someone%20inserted%20a%20permissive%20allow%20rule%20with%20higher%20priority.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EAn%20RDP%20allow%20rule%20for%20a%20specific%20source%2Fdestination%20that%20is%20never%20hit%20because%2C%20again%2C%20someone%20added%20a%20higher%20priority%20rule%20that%20suppresses%20its%20effect.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EEven%20if%20some%20unneeded%20NSG%20rule%20is%20innoxious%2C%20it%20is%20a%20general%20best%20practice%20to%20keep%20your%20Azure%20resources%20as%20optimized%20and%20clean%20as%20possible%20%E2%80%93%20the%20cleaner%20your%20environment%2C%20the%20more%20manageable%20it%20is.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-187175675%22%20id%3D%22toc-hId-188038462%22%20id%3D%22toc-hId-188038462%22%20id%3D%22toc-hId-188038462%22%3E%3CSPAN%3ENSG%20Optimization%20Workbook%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EBased%20on%20Azure%20Resource%20Graph%20and%20on%20the%20%3CEM%3EAzureNetworkAnalytics_CL%3C%2FEM%3E%20Log%20Analytics%20table%20generated%20by%20Traffic%20Analytics%2C%20I%20built%20an%20Azure%20Monitor%20workbook%20that%20helps%20you%20spot%20NSG%20rules%20that%20haven%E2%80%99t%20been%20used%20for%20a%20given%20period%2C%20i.e.%2C%20good%20candidates%20for%20cleanup%20or%20maybe%20a%20symptom%20that%20something%20is%20wrong%20with%20your%20NSG%20setup.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThe%20workbook%20starts%20by%20showing%20you%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSPAN%3Ewhich%20NSGs%20do%20not%20have%20Traffic%20Analytics%20enabled%20%E2%80%93%20this%20means%20no%20visibility%20over%20their%20flows.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3Ewhich%20NSGs%20have%20been%20inactive%2C%20i.e.%2C%20not%20generating%20any%20flow%20logs%20%E2%80%93%20maybe%20these%20NSGs%20were%20associated%20to%20subnets%20or%20network%20interfaces%20that%20were%20decommissioned.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22hspinto_0-1619171138689.jpeg%22%20style%3D%22width%3A%20735px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F274937i14D281E8290EC692%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22hspinto_0-1619171138689.jpeg%22%20alt%3D%22Workbook%20tiles%20with%20a%20summary%20of%20Traffic%20Analytics%20state%20in%20all%20NSGs%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EWorkbook%20tiles%20with%20a%20summary%20of%20Traffic%20Analytics%20state%20in%20all%20NSGs%3C%2FSPAN%3E%3C%2FSPAN%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-center%22%20image-alt%3D%22hspinto_1-1619171138695.png%22%20style%3D%22width%3A%20354px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F274938i64718B115D6B48EB%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22hspinto_1-1619171138695.png%22%20alt%3D%22Workbook%20tile%20listing%20NSGs%20that%20have%20not%20been%20generating%20flow%20logs%20(inactive)%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EWorkbook%20tile%20listing%20NSGs%20that%20have%20not%20been%20generating%20flow%20logs%20(inactive)%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EIf%20you%20scroll%20down%20a%20bit%20more%2C%20you%E2%80%99ll%20also%20get%20details%20about%20NSG%20rules%20that%20have%20been%20inactive%20for%20the%20period%20specified%20as%20parameter.%20These%20rules%20are%20not%20generating%20NSG%20Flow%20Logs%20and%20this%20may%20be%20a%20symptom%20of%20some%20misconfiguration%20or%2C%20at%20least%2C%20of%20some%20lack%20of%20security%20hygiene.%3C%2FSPAN%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-center%22%20image-alt%3D%22hspinto_2-1619171138706.png%22%20style%3D%22width%3A%20539px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F274939iED282532EEF245A4%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22hspinto_2-1619171138706.png%22%20alt%3D%22Workbook%20tile%20with%20a%20list%20of%20NSG%20rules%20that%20have%20not%20been%20used%20by%20network%20traffic%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EWorkbook%20tile%20with%20a%20list%20of%20NSG%20rules%20that%20have%20not%20been%20used%20by%20network%20traffic%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EIf%20you%20select%20a%20rule%20from%20the%20list%2C%20you%20get%20statistics%20about%20other%20rules%20in%20the%20same%20NSG%20that%20are%20generating%20flows%2C%20which%20may%20give%20you%20a%20hint%20for%20the%20reason%20why%20that%20rule%20has%20not%20generated%20any%20log%20lately.%3C%2FSPAN%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-center%22%20image-alt%3D%22hspinto_3-1619171138723.png%22%20style%3D%22width%3A%20686px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F274941iF81EC8B098CE781E%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22hspinto_3-1619171138723.png%22%20alt%3D%22Workbook%20tile%20with%20the%20statistics%20for%20all%20the%20NSG%20rules%20that%20have%20generating%20traffic%20for%20the%20NSG%20where%20the%20inactive%20rule%20sits%20in%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EWorkbook%20tile%20with%20the%20statistics%20for%20all%20the%20NSG%20rules%20that%20have%20generating%20traffic%20for%20the%20NSG%20where%20the%20inactive%20rule%20sits%20in%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1620278788%22%20id%3D%22toc-hId--1619416001%22%20id%3D%22toc-hId--1619416001%22%20id%3D%22toc-hId--1619416001%22%3E%3CSPAN%3EDeploying%20the%20Workbook%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThe%20NSG%20Optimization%20workbook%20can%20be%20found%20at%20the%20address%20below%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fhelderpinto%2Fazure-wellarchitected-toolkit%2Fblob%2Fmain%2Fsecurity%2Fworkbooks%2Fnsg-optimization.json%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fhelderpinto%2Fazure-wellarchitected-toolkit%2Fblob%2Fmain%2Fsecurity%2Fworkbooks%2Fnsg-optimization.json%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EFor%20instructions%20on%20how%20to%20setup%20a%20workbook%2C%20check%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-monitor%2Fvisualize%2Fworkbooks-overview%23getting-started%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20Monitor%20documentation%3C%2FA%3E.%20Once%20in%20Azure%20Monitor%20Workbooks%2C%20you%20must%20create%20a%20new%20Workbook%20and%2C%20in%20edit%20mode%2C%20click%20on%20the%20Advanced%20Editor%20button%20(see%20picture%20below)%20and%20replace%20the%20gallery%20template%20code%20by%20the%20one%20you%20find%20in%20the%20GitHub%20URL%20above.%20After%20applying%20the%20workbook%20code%2C%20you%20should%20see%20the%20dashboard%20described%20in%20this%20article.%20The%20workbook%20looks%20quite%20simple%20but%20the%20logic%20behind%20is%20somewhat%20complex%20and%2C%20depending%20on%20the%20volume%20of%20your%20NSG%20Flow%20Logs%20and%20on%20the%20NSG%20activity%20time%20range%20you%20chose%2C%20it%20may%20take%20a%20while%20to%20fully%20load%20each%20table.%20Don%E2%80%99t%20forget%20to%20save%20your%20workbook!%3C%2FSPAN%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-center%22%20image-alt%3D%22hspinto_4-1619171138726.png%22%20style%3D%22width%3A%20942px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F274940i3C8EB088841A865C%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22hspinto_4-1619171138726.png%22%20alt%3D%22Screenshot%20of%20the%20Workbooks%20user%20interface%20for%20creating%20a%20new%20workbook%20from%20existing%20code%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EScreenshot%20of%20the%20Workbooks%20user%20interface%20for%20creating%20a%20new%20workbook%20from%20existing%20code%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22hspinto_5-1619171138746.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F274942i1147D7EDB2B70766%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22hspinto_5-1619171138746.png%22%20alt%3D%22Screenshot%20of%20the%20Workbooks%20user%20interface%20for%20applying%20and%20saving%20a%20new%20workbook%20from%20existing%20code%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EScreenshot%20of%20the%20Workbooks%20user%20interface%20for%20applying%20and%20saving%20a%20new%20workbook%20from%20existing%20code%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-867234045%22%20id%3D%22toc-hId-868096832%22%20id%3D%22toc-hId-868096832%22%20id%3D%22toc-hId-868096832%22%3E%3CSPAN%3EConclusion%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EAs%20we%20saw%20in%20this%20article%2C%20keeping%20a%20good%20network%20security%20hygiene%20may%20save%20you%20from%20troubles.%20Some%20of%20these%20potential%20issues%20come%20out%20of%20unneeded%20or%20obsolete%20network%20security%20rules%20defined%20in%20your%20NSGs.%20The%20NSG%20Optimization%20Workbook%20here%20described%20will%20help%20you%20uncover%20NSGs%20or%20NSG%20rules%20that%20have%20not%20been%20used%20over%20a%20specific%20time%20range%2C%20based%20on%20Traffic%20Analytics%20logs.%20An%20NSG%20rule%20that%20has%20not%20generated%20flow%20logs%20is%20probably%20a%20symptom%20of%20some%20misconfiguration.%20So%2C%20go%20turn%20on%20Traffic%20Analytics%2C%20deploy%20the%20NSG%20Optimization%20Workbook%20and%20give%20a%20start%20to%20your%20NSG%20spring%20cleanup!%20%3Asmiling_face_with_smiling_eyes%3A%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2282377%22%20slang%3D%22en-US%22%3E%3CP%3ESharing%20some%20tips%20about%20how%20to%20leverage%20NSG%20Flow%20Logs%20and%20Traffic%20Analytics%20to%20improve%20your%20Azure%20network%20security%20hygiene%20and%2C%20at%20the%20end%2C%20simplify%20your%20NSG%20rules%20and%2C%20more%20importantly%2C%20uncover%20security%20vulnerabilities.%20Custom%20workbook%20included.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22azure-network-security-hygiene-with-traffic-analytics-fig01a.jpg%22%20style%3D%22width%3A%20735px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F274936iE8A5A6C6C1BFE454%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22azure-network-security-hygiene-with-traffic-analytics-fig01a.jpg%22%20alt%3D%22azure-network-security-hygiene-with-traffic-analytics-fig01a.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2282377%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EHelderPinto%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2357006%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20Network%20Security%20Hygiene%20with%20Traffic%20Analytics%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2357006%22%20slang%3D%22en-US%22%3E%3CP%3EIt%20is%20a%20useful%20tool%20for%20Azure%20Network%20Admin.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Co-Authors
Version history
Last update:
‎Apr 26 2021 12:00 AM
Updated by: