SlideShare a Scribd company logo
1 of 15
Troubleshooting Network Inspection System (NIS) on Forefront TMG 2010 Yuri Diogenes | Senior Technical Writer Microsoft Windows iX IT PRO Security Team http://blogs.technet.com/yuridiogenes
NIS: Powered by GAPA Generic Application Protocol Analyzer A framework and platform for safe and rapid low level protocol parsers development Supports extensibility and layering Enables creating parsing based “rules” for checking and applying specific conditions (signatures)
The NIS Architecture Design Time GAPAL (GAPA Language) Compiler Signatures &  Protocol Parsers Protocol Parsers Signatures Microsoft Update Run Time Telemetry & Portal NIS Engine Network Interception 3
NIS Value Proposition Protections against exploitation of known vulnerabilities Avg survival time of un-patched Win XP <20 Min Only ~2% of windows machine have no insecure program installed  Zero-Day-Protection:  Close the vulnerability window between security patch announcement and deployment  Respond to newly discovered vulnerabilities
NIS Events Logged in the Windows Application Event Log
Signatures for Testing HTML test signature: Access http://www.contoso.com/testNIS.aspx?testValue=1!2@34$5%6^[{NIS-Test-URL}]1!2@34$5%6^ SMB test signature: Copy file C0AABD79-351B-4c98-8AE7-69F4279FEF54.txt to a remote share
NIS Alerts A dashboard for detection information
Troubleshooting NISWrong Detection False negative detection Isolate the signature that is causing problem Confirm that is not blocking a suspicious traffic Validate Collect Netmon traces Contact Microsoft False positive detection Isolate the signature that is causing problem Confirm that is blocking a valid traffic Temporary set the signature to Detect Only (or disable) Contact Microsoft
Troubleshooting NISHigh CPU High utilization on wspsrv.exe Use Process Monitor for initial assessment Collect Perfmon (before and while issue is happening Collect user mode dump from wspsrv.exe Verify if trace is enabled under HKLMOFTWAREicrosoftetwork Inspection SystemPPomponentsAPA or NIS
Troubleshooting NISReviewing the Dump Look for patterns Check for Critical Sections Review threads that are locked in Critical Sections Check if most of threads are from GapaEngine
Troubleshooting NISSignature Update Flow TMG Job Scheduler Windows Update UpdateAgent Updateagent.exe %windir%empSA_updateagent.log WSUS Windows Update API %windir%indowsUpdate.log
Troubleshooting NISSignature Update NIS signature uses regular Windows update mechanism (BITS) Are you using WSUS or WU?
Troubleshooting NISSignature Update Review TMG Update Center for initial troubleshooting Review %windir%indowsUpdate.log
Troubleshooting NISSignature Update Registry key settings: HKLMOFTWAREicrosoftpcIS LatestSnapshotVersion - contain the version of the most recent update LatestSnapshotFilepath - contain the full file path of the most  recent signature set file ReinstallApplicableUpdate – control whether to force re-installation of the latest update (TMG COM control this on force full update option)
Troubleshooting NIS on TMG 2010

More Related Content

Viewers also liked

Copyright crash course part 4
Copyright crash course part 4Copyright crash course part 4
Copyright crash course part 4gsalas10
 
Veterans & Military Families Focus Area
Veterans & Military Families Focus AreaVeterans & Military Families Focus Area
Veterans & Military Families Focus Areaserviceresources
 
Html5fun@東京 Bootstrapにアニメーションを付けよう
Html5fun@東京 Bootstrapにアニメーションを付けようHtml5fun@東京 Bootstrapにアニメーションを付けよう
Html5fun@東京 Bootstrapにアニメーションを付けようMasayuki Abe
 
Концепция проекта Optimal Management
Концепция проекта Optimal ManagementКонцепция проекта Optimal Management
Концепция проекта Optimal ManagementAndrey Sukhobokov
 
Jaarverslag 2011/2012
Jaarverslag 2011/2012Jaarverslag 2011/2012
Jaarverslag 2011/2012dewittenberg
 
Services & Products of Optimal Management
Services & Products of Optimal ManagementServices & Products of Optimal Management
Services & Products of Optimal ManagementAndrey Sukhobokov
 
Diversity of global comics the arab world
Diversity of global comics the arab worldDiversity of global comics the arab world
Diversity of global comics the arab worldlpendse
 
Why mincore() returns different value of stat ?
Why mincore() returns different value of stat ?Why mincore() returns different value of stat ?
Why mincore() returns different value of stat ?Hiroaki Kubota
 
Hist 141 california and the civil war
Hist 141   california and the civil warHist 141   california and the civil war
Hist 141 california and the civil warflip7rider
 
Hist 141 modern latin america
Hist 141   modern latin americaHist 141   modern latin america
Hist 141 modern latin americaflip7rider
 
AdMore Introduction
AdMore IntroductionAdMore Introduction
AdMore IntroductionRussAdmore
 
関デジセミナー20130710
関デジセミナー20130710関デジセミナー20130710
関デジセミナー20130710Masayuki Abe
 
Best Gift Presentation Fmcg 2012
Best Gift Presentation Fmcg 2012Best Gift Presentation Fmcg 2012
Best Gift Presentation Fmcg 2012Igor Kovanov
 

Viewers also liked (18)

Copyright crash course part 4
Copyright crash course part 4Copyright crash course part 4
Copyright crash course part 4
 
บทที่ 2 ทวีชัย
บทที่ 2 ทวีชัยบทที่ 2 ทวีชัย
บทที่ 2 ทวีชัย
 
Education Focus Area
Education Focus AreaEducation Focus Area
Education Focus Area
 
Veterans & Military Families Focus Area
Veterans & Military Families Focus AreaVeterans & Military Families Focus Area
Veterans & Military Families Focus Area
 
Html5fun@東京 Bootstrapにアニメーションを付けよう
Html5fun@東京 Bootstrapにアニメーションを付けようHtml5fun@東京 Bootstrapにアニメーションを付けよう
Html5fun@東京 Bootstrapにアニメーションを付けよう
 
Концепция проекта Optimal Management
Концепция проекта Optimal ManagementКонцепция проекта Optimal Management
Концепция проекта Optimal Management
 
Jaarverslag 2011/2012
Jaarverslag 2011/2012Jaarverslag 2011/2012
Jaarverslag 2011/2012
 
Services & Products of Optimal Management
Services & Products of Optimal ManagementServices & Products of Optimal Management
Services & Products of Optimal Management
 
Diversity of global comics the arab world
Diversity of global comics the arab worldDiversity of global comics the arab world
Diversity of global comics the arab world
 
Why mincore() returns different value of stat ?
Why mincore() returns different value of stat ?Why mincore() returns different value of stat ?
Why mincore() returns different value of stat ?
 
Hist 141 california and the civil war
Hist 141   california and the civil warHist 141   california and the civil war
Hist 141 california and the civil war
 
Hist 141 modern latin america
Hist 141   modern latin americaHist 141   modern latin america
Hist 141 modern latin america
 
Job roles
Job roles Job roles
Job roles
 
AdMore Introduction
AdMore IntroductionAdMore Introduction
AdMore Introduction
 
Hool
HoolHool
Hool
 
The simpsons
The simpsonsThe simpsons
The simpsons
 
関デジセミナー20130710
関デジセミナー20130710関デジセミナー20130710
関デジセミナー20130710
 
Best Gift Presentation Fmcg 2012
Best Gift Presentation Fmcg 2012Best Gift Presentation Fmcg 2012
Best Gift Presentation Fmcg 2012
 

Recently uploaded

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 

Recently uploaded (20)

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 

Troubleshooting NIS on TMG 2010

  • 1. Troubleshooting Network Inspection System (NIS) on Forefront TMG 2010 Yuri Diogenes | Senior Technical Writer Microsoft Windows iX IT PRO Security Team http://blogs.technet.com/yuridiogenes
  • 2. NIS: Powered by GAPA Generic Application Protocol Analyzer A framework and platform for safe and rapid low level protocol parsers development Supports extensibility and layering Enables creating parsing based “rules” for checking and applying specific conditions (signatures)
  • 3. The NIS Architecture Design Time GAPAL (GAPA Language) Compiler Signatures & Protocol Parsers Protocol Parsers Signatures Microsoft Update Run Time Telemetry & Portal NIS Engine Network Interception 3
  • 4. NIS Value Proposition Protections against exploitation of known vulnerabilities Avg survival time of un-patched Win XP <20 Min Only ~2% of windows machine have no insecure program installed Zero-Day-Protection: Close the vulnerability window between security patch announcement and deployment Respond to newly discovered vulnerabilities
  • 5. NIS Events Logged in the Windows Application Event Log
  • 6. Signatures for Testing HTML test signature: Access http://www.contoso.com/testNIS.aspx?testValue=1!2@34$5%6^[{NIS-Test-URL}]1!2@34$5%6^ SMB test signature: Copy file C0AABD79-351B-4c98-8AE7-69F4279FEF54.txt to a remote share
  • 7. NIS Alerts A dashboard for detection information
  • 8. Troubleshooting NISWrong Detection False negative detection Isolate the signature that is causing problem Confirm that is not blocking a suspicious traffic Validate Collect Netmon traces Contact Microsoft False positive detection Isolate the signature that is causing problem Confirm that is blocking a valid traffic Temporary set the signature to Detect Only (or disable) Contact Microsoft
  • 9. Troubleshooting NISHigh CPU High utilization on wspsrv.exe Use Process Monitor for initial assessment Collect Perfmon (before and while issue is happening Collect user mode dump from wspsrv.exe Verify if trace is enabled under HKLMOFTWAREicrosoftetwork Inspection SystemPPomponentsAPA or NIS
  • 10. Troubleshooting NISReviewing the Dump Look for patterns Check for Critical Sections Review threads that are locked in Critical Sections Check if most of threads are from GapaEngine
  • 11. Troubleshooting NISSignature Update Flow TMG Job Scheduler Windows Update UpdateAgent Updateagent.exe %windir%empSA_updateagent.log WSUS Windows Update API %windir%indowsUpdate.log
  • 12. Troubleshooting NISSignature Update NIS signature uses regular Windows update mechanism (BITS) Are you using WSUS or WU?
  • 13. Troubleshooting NISSignature Update Review TMG Update Center for initial troubleshooting Review %windir%indowsUpdate.log
  • 14. Troubleshooting NISSignature Update Registry key settings: HKLMOFTWAREicrosoftpcIS LatestSnapshotVersion - contain the version of the most recent update LatestSnapshotFilepath - contain the full file path of the most recent signature set file ReinstallApplicableUpdate – control whether to force re-installation of the latest update (TMG COM control this on force full update option)