{"course":{"productid":24068,"modality":6,"active":true,"language":"en","title":"Cloud Application Security in C# for Azure","productcode":"CASEC-CAZ","vendorcode":"CY","vendorname":"Cydrill","fullproductcode":"CY-CASEC-CAZ","courseware":{"has_ekit":false,"has_printkit":true,"language":""},"url":"https:\/\/portal.flane.ch\/course\/cydrill-casec-caz","objective":"<ul>\n<li>Getting familiar with essential cyber security concepts<\/li><li>Understand cloud security specialties<\/li><li>Understanding Web application security issues<\/li><li>Detailed analysis of the OWASP Top Ten elements<\/li><li>Putting Web application security in the context of C#<\/li><li>Going beyond the low hanging fruits<\/li><li>Managing vulnerabilities in third party components<\/li><li>Learn to deal with cloud infrastructure security<\/li><li>Identify vulnerabilities and their consequences<\/li><li>Learn the security best practices in C#<\/li><li>Input validation approaches and principles<\/li><li>Understanding how cryptography can support application security<\/li><li>Learning how to use cryptographic APIs correctly in C#<\/li><li><\/li><\/ul>","essentials":"<p>General C# and Web development<\/p>","audience":"<p>C# developers working on Web applications and Azure<\/p>","contents":"<ul>\n<li>Cyber security basics<\/li><li>The OWASP Top Ten<\/li><li>Cloud infrastructure security<\/li><li>API security<\/li><li>JSON security<\/li><li>XML security<\/li><li>Denial of service<\/li><li>Cryptography for developers<\/li><li>Wrap up<\/li><\/ul>","outline":"<p><strong>DAY 1 <\/strong><\/p>\n<p><strong>Cyber security basics<\/strong>\n<\/p>\n<ul>\n<li>What is security?<\/li><li>Threat and risk<\/li><li>Cyber security threat types<\/li><li>Consequences of insecure software\n<ul>\n<li>Constraints and the market<\/li><li>The dark side<\/li><\/ul><\/li><li>Cloud security basics\n<ul>\n<li>Cloud infrastructure basics<\/li><li>Cloud architectures and security<\/li><li>The Cloud Cube Model<\/li><li>Attack surface in the cloud<\/li><\/ul><\/li><li>Cloud data security\n<ul>\n<li>Data confidentiality and integrity in the cloud<\/li><li>Data privacy in the cloud<\/li><li>Compliance considerations<\/li><\/ul><\/li><li>Cloud deployment security\n<ul>\n<li>Hardening cloud deployments<\/li><li>Security of jump boxes<\/li><li>Serverless computing and security<\/li><\/ul><\/li><li>Cloud security standards and best practices\n<ul>\n<li>SOC compliance<\/li><li>CSA controls<\/li><li>Other standards<\/li><\/ul><\/li><\/ul><p><strong>The OWASP Top Ten<\/strong>\n<\/p>\n<ul>\n<li>OWASP Top 10 &ndash; 2017<\/li><li>A1 - Injection\n<ul>\n<li>Injection principles<\/li><li>Injection attacks<\/li><li>SQL injection\n<ul>\n<li>SQL injection basics<\/li><li>Lab &ndash; SQL injection<\/li><li>Attack techniques<\/li><li>Content-based blind SQL injection<\/li><li>Time-based blind SQL injection<\/li><\/ul><\/li><li>NoSQL injection\n<ul>\n<li>NoSQL injection specialties<\/li><li>NoSQL injection in MongoDB<\/li><li>NoSQL injection in CosmosDB<\/li><\/ul><\/li><li>SQL injection best practices\n<ul>\n<li>Input validation<\/li><li>Parameterized queries<\/li><li>Lab &ndash; Using prepared statements<\/li><li>Additional considerations<\/li><li>Case study &ndash; Hacking Fortnite accounts<\/li><li>SQL injection protection and ORM<\/li><\/ul><\/li><li>Parameter manipulation\n<ul>\n<li>CRLF injection\n<ul>\n<li>Log forging<\/li><li>Log forging &ndash; best practices<\/li><li>HTTP response splitting<\/li><li>Header checking in ASP.NET<\/li><\/ul><\/li><li>HTTP parameter manipulation\n<ul>\n<li>HTTP parameter pollution<\/li><li>Variable shadowing<\/li><li>Value shadowing<\/li><\/ul><\/li><\/ul><\/li><li>Code injection\n<ul>\n<li>OS command injection\n<ul>\n<li>Lab &ndash; Command injection<\/li><li>OS command injection best practices<\/li><li>Avoiding command injection with the right APIs<\/li><li>Lab &ndash; Command injection best practices<\/li><li>Case study &ndash; Command injection via ping<\/li><\/ul><\/li><\/ul><\/li><li>Script injection<\/li><li>Dangerous file inclusion<\/li><\/ul><\/li><\/ul><p><strong>DAY 2 <\/strong><\/p>\n<p><strong>The OWASP Top Ten<\/strong>\n<\/p>\n<ul>\n<li>A2 - Broken Authentication\n<ul>\n<li>Authentication\n<ul>\n<li>Authentication basics<\/li><li>Multi-factor authentication<\/li><li>Multi-factor authentication best practices<\/li><li>Authentication weaknesses - spoofing<\/li><li>Spoofing on the Web<\/li><li>Case study &ndash; PayPal 2FA bypass<\/li><li>User interface best practices<\/li><\/ul><\/li><\/ul><\/li><li>Single sign-on (SSO)\n<ul>\n<li>Single sign-on concept<\/li><li>OAuth2\n<ul>\n<li>OAuth2 basics<\/li><li>OAuth2 in practice<\/li><li>Best practices<\/li><li>Configuration best practices<\/li><li>Case study &ndash; Stealing SSO tokens from Epic Games accounts<\/li><\/ul><\/li><li>SAML\n<ul>\n<li>SAML basics<\/li><li>SAML profiles<\/li><li>SAML security<\/li><\/ul><\/li><\/ul><\/li><li>Password management\n<ul>\n<li>Inbound password management\n<ul>\n<li>Storing account passwords<\/li><li>Password in transit<\/li><li>Lab &ndash; Is just hashing passwords enough?<\/li><li>Dictionary attacks and brute forcing<\/li><li>Salting<\/li><li>Adaptive hash functions for password storage<\/li><li>Lab &ndash; Using adaptive hash functions in C#<\/li><li>Password policy<\/li><li>NIST authenticator requirements for memorized secrets<\/li><li>Password hardening<\/li><li>Using passphrases<\/li><li>Password change<\/li><li>Password recovery issues<\/li><li>Password recovery best practices<\/li><li>Lab &ndash; Password reset weakness<\/li><li>Case study &ndash; The Ashley Madison data breach<\/li><li>The dictionary attack<\/li><li>The ultimate crack<\/li><li>Exploitation and the lessons learned<\/li><li>Password database migration<\/li><li>(Mis)handling null passwords<\/li><\/ul><\/li><li>Outbound password management\n<ul>\n<li>Hard coded passwords<\/li><li>Best practices<\/li><li>Lab &ndash; Hardcoded password<\/li><li>Protecting sensitive information in memory<\/li><li>Challenges in protecting memory<\/li><li>Storing sensitive data in memory<\/li><li>Lab &ndash; Using secret-handling classes in C#<\/li><\/ul><\/li><\/ul><\/li><li>Session management\n<ul>\n<li>Session management essentials<\/li><li>Why do we protect session IDs &ndash; Session hijacking<\/li><li>Session fixation<\/li><li>Session invalidation<\/li><li>Session ID best practices<\/li><li>Cross-site Request Forgery (CSRF)\n<ul>\n<li>Lab &ndash; Cross-site Request Forgery<\/li><li>CSRF best practices<\/li><li>CSRF defense in depth<\/li><li>Lab &ndash; CSRF protection with tokens<\/li><\/ul><\/li><li>Cookie security\n<ul>\n<li>Cookie security best practices<\/li><li>Cookie attributes<\/li><\/ul><\/li><\/ul><\/li><li>A3 - Sensitive Data Exposure\n<ul>\n<li>Information exposure<\/li><li>Exposure through extracted data and aggregation<\/li><li>Case study &ndash; Strava data exposure<\/li><li>System information leakage\n<ul>\n<li>Leaking system information<\/li><\/ul><\/li><li>Information exposure best practices<\/li><\/ul><\/li><li>A4 - XML External Entities (XXE)\n<ul>\n<li>DTD and the entities<\/li><li>Entity expansion<\/li><li>External Entity Attack (XXE)\n<ul>\n<li>File inclusion with external entities<\/li><li>Server-Side Request Forgery with external entities<\/li><li>Lab &ndash; External entity attack<\/li><li>Case study &ndash; XXE vulnerability in SAP Store<\/li><li>Preventing XXE<\/li><li>Lab &ndash; Prohibiting DTD<\/li><\/ul><\/li><\/ul><\/li><\/ul><p><strong>DAY 3<\/strong><\/p>\n<p><strong>The OWASP Top Ten<\/strong>\n<\/p>\n<ul>\n<li>A5 - Broken Access Control\n<ul>\n<li>Access control basics<\/li><li>Failure to restrict URL access<\/li><li>Confused deputy\n<ul>\n<li>Insecure direct object reference (IDOR)<\/li><li>Lab &ndash; Insecure Direct Object Reference<\/li><li>Case study &ndash; Authorization bypass on Facebook<\/li><li>Authorization bypass through user-controlled keys<\/li><li>Lab &ndash; Horizontal authorization<\/li><\/ul><\/li><li>File upload\n<ul>\n<li>Unrestricted file upload<\/li><li>Good practices<\/li><li>Lab &ndash; Unrestricted file upload<\/li><\/ul><\/li><\/ul><\/li><li>A7 - Cross-site Scripting (XSS)\n<ul>\n<li>Cross-site scripting basics<\/li><li>Cross-site scripting types\n<ul>\n<li>Persistent cross-site scripting<\/li><li>Reflected cross-site scripting<\/li><li>Client-side (DOM-based) cross-site scripting<\/li><li>Lab &ndash; Stored XSS<\/li><li>Lab &ndash; Reflected XSS<\/li><li>Case study &ndash; XSS in Fortnite accounts<\/li><\/ul><\/li><li>XSS protection best practices\n<ul>\n<li>Protection principles - escaping<\/li><li>XSS protection APIs<\/li><li>Request validation in ASP.NET<\/li><li>Further XSS protection techniques<\/li><li>Lab &ndash; XSS fix \/ stored<\/li><li>Lab &ndash; XSS fix \/ reflected<\/li><li>Additional protection layers<\/li><li>Client-side protection principles<\/li><\/ul><\/li><\/ul><\/li><li>A8 - Insecure Deserialization\n<ul>\n<li>Serialization and deserialization challenges<\/li><li>Integrity &ndash; deserializing untrusted streams<\/li><li>Integrity &ndash; deserialization best practices<\/li><li>Property Oriented Programming (POP)\n<ul>\n<li>Creating payload<\/li><li>Summary &ndash; POP best practices<\/li><li>Lab &ndash; Creating a POP payload<\/li><li>Lab &ndash; Using the POP payload<\/li><\/ul><\/li><\/ul><\/li><li>A9 - Using Components with Known Vulnerabilities\n<ul>\n<li>Using vulnerable components<\/li><li>Assessing the environment<\/li><li>Hardening<\/li><li>Untrusted functionality import<\/li><li>Importing JavaScript<\/li><li>Lab &ndash; Importing JavaScript<\/li><li>Case study &ndash; The British Airways data breach<\/li><li>Vulnerability management\n<ul>\n<li>Patch management<\/li><li>Vulnerability management<\/li><li>Bug bounty programs<\/li><li>Vulnerability databases<\/li><li>Vulnerability rating &ndash; CVSS<\/li><li>Lab &ndash; Finding vulnerabilities in third-party components<\/li><li>DevOps, the build process and CI \/ CD<\/li><li>Dependency checking in C#<\/li><li>Lab &ndash; Detecting vulnerable components<\/li><\/ul><\/li><\/ul><\/li><li>A10 - Insufficient Logging &amp; Monitoring\n<ul>\n<li>Logging and monitoring principles<\/li><li>Insufficient logging<\/li><li>Case study &ndash; Plaintext passwords at Facebook<\/li><li>Logging best practices<\/li><li>Monitoring best practices<\/li><\/ul><\/li><\/ul><p><strong>Web application security beyond the Top Ten<\/strong>\n<\/p>\n<ul>\n<li>Client-side security<\/li><li>Same Origin Policy<\/li><li>Tabnabbing<\/li><li>Lab &ndash; Reverse tabnabbing<\/li><li>Frame sandboxing\n<ul>\n<li>Cross-Frame Scripting (XFS) attack<\/li><li>Lab - Clickjacking<\/li><li>Clickjacking beyond hijacking a click<\/li><li>Clickjacking protection best practices<\/li><li>Lab &ndash; Using CSP to prevent clickjacking<\/li><\/ul><\/li><\/ul><p><strong>DAY 4<\/strong><\/p>\n<p><strong>Cloud infrastructure security<\/strong>\n<\/p>\n<ul>\n<li>Container security\n<ul>\n<li>Container security concerns<\/li><li>Containerization, virtualization, and security<\/li><li>Attack surface of container technologies<\/li><li>Container security tools<\/li><li>Docker security\n<ul>\n<li>Docker and security<\/li><li>Docker security features<\/li><li>Common Docker security mistakes<\/li><li>Docker security best practices<\/li><li>Hardening Docker<\/li><li>Lab &ndash; Static analysis of Docker image<\/li><\/ul><\/li><li>Kubernetes security\n<ul>\n<li>The Kubernetes architecture and security<\/li><li>Common Kubernetes security mistakes<\/li><li>Securing Kubernetes hosts<\/li><li>Best practices for Kubernetes access control<\/li><li>Building secure Kubernetes images<\/li><li>Secure deployment of Kubernetes containers<\/li><li>Protecting Kubernetes deployments at runtime<\/li><li>Lab &ndash; Scanning a Kubernetes image for vulnerabilities<\/li><\/ul><\/li><\/ul><\/li><li>Azure security\n<ul>\n<li>Security considerations for Azure\n<ul>\n<li>Azure and security<\/li><li>Azure security features<\/li><li>The Azure shared responsibility model<\/li><li>Azure cloud compliance<\/li><li>Azure hardening<\/li><li>Security tools for Azure<\/li><\/ul><\/li><li>Identity and access management (IAM)\n<ul>\n<li>Identity and access management in Azure<\/li><li>Azure Active Directory<\/li><li>Multi-factor authentication with Azure<\/li><li>Azure RBAC<\/li><li>Azure Active Directory Federation Services<\/li><li>Azure Shared Access Signatures (SAS)<\/li><\/ul><\/li><li>Data security\n<ul>\n<li>Data security in Azure<\/li><li>Storing cryptographic keys in Azure<\/li><li>Protecting data in transit<\/li><li>Protecting data at rest<\/li><\/ul><\/li><li>Detection and monitoring\n<ul>\n<li>Utilizing Azure monitoring for security<\/li><li>The Azure Application Gateway WAF<\/li><li>The Azure Security Center<\/li><\/ul><\/li><\/ul><\/li><\/ul><p><strong>API security<\/strong>\n<\/p>\n<ul>\n<li>Input validation\n<ul>\n<li>Input validation principles<\/li><li>Blacklists and whitelists<\/li><li>Data validation techniques<\/li><li>Lab &ndash; Input validation<\/li><li>What to validate &ndash; the attack surface<\/li><li>Where to validate &ndash; defense in depth<\/li><li>When to validate &ndash; validation vs transformations<\/li><li>Output sanitization<\/li><li>Encoding challenges<\/li><li>Unicode challenges<\/li><li>Lab &ndash; Encoding challenges<\/li><li>Validation with regex<\/li><\/ul><\/li><li>Integer handling problems\n<ul>\n<li>Representing signed numbers<\/li><li>Integer visualization<\/li><li>Integer overflow<\/li><li>Lab &ndash; Integer overflow<\/li><li>Signed \/ unsigned confusion<\/li><li>Case study &ndash; The Stockholm Stock Exchange<\/li><li>Lab &ndash; Signed \/ unsigned confusion<\/li><li>Integer truncation<\/li><li>Best practices\n<ul>\n<li>Upcasting<\/li><li>Precondition testing<\/li><li>Postcondition testing<\/li><li>Using big integer libraries<\/li><li>Integer handling in C#<\/li><li>Lab &ndash; Checked arithmetics<\/li><\/ul><\/li><\/ul><\/li><\/ul><p><strong>JSON security<\/strong>\n<\/p>\n<ul>\n<li>JSON validation<\/li><li>JSON injection<\/li><li>Dangers of JSONP<\/li><li>JSON\/JavaScript hijacking<\/li><li>Best practices<\/li><li>Case study &ndash; ReactJS vulnerability in HackerOne<\/li><\/ul><p><strong>DAY 5<\/strong><\/p>\n<p><strong>API security<\/strong>\n<\/p>\n<ul>\n<li>Input validation\n<ul>\n<li>Files and streams\n<ul>\n<li>Path traversal<\/li><li>Lab &ndash; Path traversal<\/li><li>Path traversal-related examples<\/li><li>Additional challenges in Windows<\/li><li>Virtual resources<\/li><li>Path traversal best practices<\/li><li>Lab &ndash; Path canonicalization<\/li><\/ul><\/li><li>Unsafe reflection\n<ul>\n<li>Reflection without validation<\/li><li>Lab &ndash; Unsafe reflection<\/li><\/ul><\/li><\/ul><\/li><\/ul><p><strong>XML security<\/strong>\n<\/p>\n<ul>\n<li>XML validation<\/li><li>XML injection\n<ul>\n<li>XPath injection<\/li><li>Blind XPath injection<\/li><\/ul><\/li><\/ul><p><strong>Denial of service<\/strong>\n<\/p>\n<ul>\n<li>Denial of Service<\/li><li>Flooding<\/li><li>Resource exhaustion<\/li><li>Sustained client engagement<\/li><li>Denial of service problems in C#<\/li><li>Infinite loop<\/li><li>Economic Denial of Sustainability (EDoS)<\/li><li>Algorithm complexity issues\n<ul>\n<li>Regular expression denial of service (ReDoS)\n<ul>\n<li>Lab &ndash; ReDoS in C#<\/li><li>Dealing with ReDoS<\/li><li>Hash table collision\n<ul>\n<li>How do hash tables work?<\/li><li>Hash collision in case of hash tables<\/li><\/ul><\/li><\/ul><\/li><\/ul><\/li><\/ul><p><strong>Cryptography for developers<\/strong>\n<\/p>\n<ul>\n<li>Cryptography basics<\/li><li>Crypto APIs in C#<\/li><li>Elementary algorithms\n<ul>\n<li>Hashing\n<ul>\n<li>Hashing basics<\/li><li>Hashing in C#<\/li><li>Lab &ndash; Hashing in C#<\/li><\/ul><\/li><\/ul><\/li><li>Confidentiality protection\n<ul>\n<li>Symmetric encryption\n<ul>\n<li>Block ciphers<\/li><li>Modes of operation<\/li><li>Modes of operation and IV &ndash; best practices<\/li><li>Symmetric encryption in C#<\/li><li>Symmetric encryption in C# with streams<\/li><li>ProtectedData and ProtectedMemory<\/li><li>Lab &ndash; Symmetric encryption in in C#<\/li><\/ul><\/li><li>Asymmetric encryption<\/li><li>Combining symmetric and asymmetric algorithms<\/li><\/ul><\/li><li>Integrity protection\n<ul>\n<li>Message Authentication Code (MAC)\n<ul>\n<li>Calculating HMAC in C#<\/li><li>Lab &ndash; Calculating MAC in C#<\/li><\/ul><\/li><li>Digital signature\n<ul>\n<li>Lab &ndash; Digital signature with ECDSA in C#<\/li><\/ul><\/li><\/ul><\/li><li>Public Key Infrastructure (PKI)\n<ul>\n<li>Some further key management challenges<\/li><li>Certificates\n<ul>\n<li>Certificate management &ndash; best practices<\/li><\/ul><\/li><\/ul><\/li><li>Transport security\n<ul>\n<li>Transport security weaknesses<\/li><li>The TLS protocol\n<ul>\n<li>TLS basics<\/li><li>TLS features (changes in v1.3)<\/li><li>The handshake in a nutshell (v1.3)<\/li><li>TLS best practices<\/li><li>TLS authentication best practices<\/li><li>HTTP Strict Transport Security (HSTS)<\/li><li>Lab &ndash; Setting HSTS in C#<\/li><\/ul><\/li><\/ul><\/li><\/ul><p><strong>Wrap up<\/strong>\n<\/p>\n<ul>\n<li>Secure coding principles\n<ul>\n<li>Principles of robust programming by Matt Bishop<\/li><li>Secure design principles of Saltzer and Schr&ouml;der<\/li><\/ul><\/li><li>And now what?\n<ul>\n<li>Software security sources and further reading<\/li><li>.NET and C# resources<\/li><\/ul><\/li><\/ul>","summary":"<p>Your cloud application written in C# works as intended, so you are done, right? But did you consider feeding in incorrect values? 16Gbs of data? A null? An apostrophe? Negative numbers, or specifically -1 or -231? Because that&#039;s what the bad guys will do &ndash; and the list is far from complete.<\/p>\n<p>The cloud has become a critical aspect of online services. No matter which model you&#039;re using (SaaS, PaaS, IaaS), part of your service is now operated by someone else. This may look like a net positive, but it also greatly expands the attack surface and brings in several new risks that may not be obvious. Have you configured all security settings correctly? Are you prepared for supply chain attacks? How can you protect the confidentiality of user data in the cloud? And most importantly: can the bad guys use your exposure to their advantage?<\/p>\n<p>Handling security needs a healthy level of paranoia, and this is what this course provides: a strong emotional engagement by lots of hands-on labs and stories from real life, all to substantially improve code hygiene. Mistakes, consequences, and best practices are our blood, sweat and tears.<\/p>\n<p>The curriculum goes through the common Web application security issues following the OWASP Top Ten but goes far beyond it both in coverage and the details.<\/p>\n<p>All this is put in the context of C#, and extended by core programming issues, discussing security pitfalls of the C# language and the Azure cloud platform.<\/p>\n<p>So that you are prepared for the forces of the dark side.<\/p>\n<p>So that nothing unexpected happens.<\/p>\n<p>Nothing.<\/p>","objective_plain":"- Getting familiar with essential cyber security concepts\n- Understand cloud security specialties\n- Understanding Web application security issues\n- Detailed analysis of the OWASP Top Ten elements\n- Putting Web application security in the context of C#\n- Going beyond the low hanging fruits\n- Managing vulnerabilities in third party components\n- Learn to deal with cloud infrastructure security\n- Identify vulnerabilities and their consequences\n- Learn the security best practices in C#\n- Input validation approaches and principles\n- Understanding how cryptography can support application security\n- Learning how to use cryptographic APIs correctly in C#\n-","essentials_plain":"General C# and Web development","audience_plain":"C# developers working on Web applications and Azure","contents_plain":"- Cyber security basics\n- The OWASP Top Ten\n- Cloud infrastructure security\n- API security\n- JSON security\n- XML security\n- Denial of service\n- Cryptography for developers\n- Wrap up","outline_plain":"DAY 1 \n\nCyber security basics\n\n\n\n- What is security?\n- Threat and risk\n- Cyber security threat types\n- Consequences of insecure software\n\n- Constraints and the market\n- The dark side\n- Cloud security basics\n\n- Cloud infrastructure basics\n- Cloud architectures and security\n- The Cloud Cube Model\n- Attack surface in the cloud\n- Cloud data security\n\n- Data confidentiality and integrity in the cloud\n- Data privacy in the cloud\n- Compliance considerations\n- Cloud deployment security\n\n- Hardening cloud deployments\n- Security of jump boxes\n- Serverless computing and security\n- Cloud security standards and best practices\n\n- SOC compliance\n- CSA controls\n- Other standards\nThe OWASP Top Ten\n\n\n\n- OWASP Top 10 \u2013 2017\n- A1 - Injection\n\n- Injection principles\n- Injection attacks\n- SQL injection\n\n- SQL injection basics\n- Lab \u2013 SQL injection\n- Attack techniques\n- Content-based blind SQL injection\n- Time-based blind SQL injection\n- NoSQL injection\n\n- NoSQL injection specialties\n- NoSQL injection in MongoDB\n- NoSQL injection in CosmosDB\n- SQL injection best practices\n\n- Input validation\n- Parameterized queries\n- Lab \u2013 Using prepared statements\n- Additional considerations\n- Case study \u2013 Hacking Fortnite accounts\n- SQL injection protection and ORM\n- Parameter manipulation\n\n- CRLF injection\n\n- Log forging\n- Log forging \u2013 best practices\n- HTTP response splitting\n- Header checking in ASP.NET\n- HTTP parameter manipulation\n\n- HTTP parameter pollution\n- Variable shadowing\n- Value shadowing\n- Code injection\n\n- OS command injection\n\n- Lab \u2013 Command injection\n- OS command injection best practices\n- Avoiding command injection with the right APIs\n- Lab \u2013 Command injection best practices\n- Case study \u2013 Command injection via ping\n- Script injection\n- Dangerous file inclusion\nDAY 2 \n\nThe OWASP Top Ten\n\n\n\n- A2 - Broken Authentication\n\n- Authentication\n\n- Authentication basics\n- Multi-factor authentication\n- Multi-factor authentication best practices\n- Authentication weaknesses - spoofing\n- Spoofing on the Web\n- Case study \u2013 PayPal 2FA bypass\n- User interface best practices\n- Single sign-on (SSO)\n\n- Single sign-on concept\n- OAuth2\n\n- OAuth2 basics\n- OAuth2 in practice\n- Best practices\n- Configuration best practices\n- Case study \u2013 Stealing SSO tokens from Epic Games accounts\n- SAML\n\n- SAML basics\n- SAML profiles\n- SAML security\n- Password management\n\n- Inbound password management\n\n- Storing account passwords\n- Password in transit\n- Lab \u2013 Is just hashing passwords enough?\n- Dictionary attacks and brute forcing\n- Salting\n- Adaptive hash functions for password storage\n- Lab \u2013 Using adaptive hash functions in C#\n- Password policy\n- NIST authenticator requirements for memorized secrets\n- Password hardening\n- Using passphrases\n- Password change\n- Password recovery issues\n- Password recovery best practices\n- Lab \u2013 Password reset weakness\n- Case study \u2013 The Ashley Madison data breach\n- The dictionary attack\n- The ultimate crack\n- Exploitation and the lessons learned\n- Password database migration\n- (Mis)handling null passwords\n- Outbound password management\n\n- Hard coded passwords\n- Best practices\n- Lab \u2013 Hardcoded password\n- Protecting sensitive information in memory\n- Challenges in protecting memory\n- Storing sensitive data in memory\n- Lab \u2013 Using secret-handling classes in C#\n- Session management\n\n- Session management essentials\n- Why do we protect session IDs \u2013 Session hijacking\n- Session fixation\n- Session invalidation\n- Session ID best practices\n- Cross-site Request Forgery (CSRF)\n\n- Lab \u2013 Cross-site Request Forgery\n- CSRF best practices\n- CSRF defense in depth\n- Lab \u2013 CSRF protection with tokens\n- Cookie security\n\n- Cookie security best practices\n- Cookie attributes\n- A3 - Sensitive Data Exposure\n\n- Information exposure\n- Exposure through extracted data and aggregation\n- Case study \u2013 Strava data exposure\n- System information leakage\n\n- Leaking system information\n- Information exposure best practices\n- A4 - XML External Entities (XXE)\n\n- DTD and the entities\n- Entity expansion\n- External Entity Attack (XXE)\n\n- File inclusion with external entities\n- Server-Side Request Forgery with external entities\n- Lab \u2013 External entity attack\n- Case study \u2013 XXE vulnerability in SAP Store\n- Preventing XXE\n- Lab \u2013 Prohibiting DTD\nDAY 3\n\nThe OWASP Top Ten\n\n\n\n- A5 - Broken Access Control\n\n- Access control basics\n- Failure to restrict URL access\n- Confused deputy\n\n- Insecure direct object reference (IDOR)\n- Lab \u2013 Insecure Direct Object Reference\n- Case study \u2013 Authorization bypass on Facebook\n- Authorization bypass through user-controlled keys\n- Lab \u2013 Horizontal authorization\n- File upload\n\n- Unrestricted file upload\n- Good practices\n- Lab \u2013 Unrestricted file upload\n- A7 - Cross-site Scripting (XSS)\n\n- Cross-site scripting basics\n- Cross-site scripting types\n\n- Persistent cross-site scripting\n- Reflected cross-site scripting\n- Client-side (DOM-based) cross-site scripting\n- Lab \u2013 Stored XSS\n- Lab \u2013 Reflected XSS\n- Case study \u2013 XSS in Fortnite accounts\n- XSS protection best practices\n\n- Protection principles - escaping\n- XSS protection APIs\n- Request validation in ASP.NET\n- Further XSS protection techniques\n- Lab \u2013 XSS fix \/ stored\n- Lab \u2013 XSS fix \/ reflected\n- Additional protection layers\n- Client-side protection principles\n- A8 - Insecure Deserialization\n\n- Serialization and deserialization challenges\n- Integrity \u2013 deserializing untrusted streams\n- Integrity \u2013 deserialization best practices\n- Property Oriented Programming (POP)\n\n- Creating payload\n- Summary \u2013 POP best practices\n- Lab \u2013 Creating a POP payload\n- Lab \u2013 Using the POP payload\n- A9 - Using Components with Known Vulnerabilities\n\n- Using vulnerable components\n- Assessing the environment\n- Hardening\n- Untrusted functionality import\n- Importing JavaScript\n- Lab \u2013 Importing JavaScript\n- Case study \u2013 The British Airways data breach\n- Vulnerability management\n\n- Patch management\n- Vulnerability management\n- Bug bounty programs\n- Vulnerability databases\n- Vulnerability rating \u2013 CVSS\n- Lab \u2013 Finding vulnerabilities in third-party components\n- DevOps, the build process and CI \/ CD\n- Dependency checking in C#\n- Lab \u2013 Detecting vulnerable components\n- A10 - Insufficient Logging & Monitoring\n\n- Logging and monitoring principles\n- Insufficient logging\n- Case study \u2013 Plaintext passwords at Facebook\n- Logging best practices\n- Monitoring best practices\nWeb application security beyond the Top Ten\n\n\n\n- Client-side security\n- Same Origin Policy\n- Tabnabbing\n- Lab \u2013 Reverse tabnabbing\n- Frame sandboxing\n\n- Cross-Frame Scripting (XFS) attack\n- Lab - Clickjacking\n- Clickjacking beyond hijacking a click\n- Clickjacking protection best practices\n- Lab \u2013 Using CSP to prevent clickjacking\nDAY 4\n\nCloud infrastructure security\n\n\n\n- Container security\n\n- Container security concerns\n- Containerization, virtualization, and security\n- Attack surface of container technologies\n- Container security tools\n- Docker security\n\n- Docker and security\n- Docker security features\n- Common Docker security mistakes\n- Docker security best practices\n- Hardening Docker\n- Lab \u2013 Static analysis of Docker image\n- Kubernetes security\n\n- The Kubernetes architecture and security\n- Common Kubernetes security mistakes\n- Securing Kubernetes hosts\n- Best practices for Kubernetes access control\n- Building secure Kubernetes images\n- Secure deployment of Kubernetes containers\n- Protecting Kubernetes deployments at runtime\n- Lab \u2013 Scanning a Kubernetes image for vulnerabilities\n- Azure security\n\n- Security considerations for Azure\n\n- Azure and security\n- Azure security features\n- The Azure shared responsibility model\n- Azure cloud compliance\n- Azure hardening\n- Security tools for Azure\n- Identity and access management (IAM)\n\n- Identity and access management in Azure\n- Azure Active Directory\n- Multi-factor authentication with Azure\n- Azure RBAC\n- Azure Active Directory Federation Services\n- Azure Shared Access Signatures (SAS)\n- Data security\n\n- Data security in Azure\n- Storing cryptographic keys in Azure\n- Protecting data in transit\n- Protecting data at rest\n- Detection and monitoring\n\n- Utilizing Azure monitoring for security\n- The Azure Application Gateway WAF\n- The Azure Security Center\nAPI security\n\n\n\n- Input validation\n\n- Input validation principles\n- Blacklists and whitelists\n- Data validation techniques\n- Lab \u2013 Input validation\n- What to validate \u2013 the attack surface\n- Where to validate \u2013 defense in depth\n- When to validate \u2013 validation vs transformations\n- Output sanitization\n- Encoding challenges\n- Unicode challenges\n- Lab \u2013 Encoding challenges\n- Validation with regex\n- Integer handling problems\n\n- Representing signed numbers\n- Integer visualization\n- Integer overflow\n- Lab \u2013 Integer overflow\n- Signed \/ unsigned confusion\n- Case study \u2013 The Stockholm Stock Exchange\n- Lab \u2013 Signed \/ unsigned confusion\n- Integer truncation\n- Best practices\n\n- Upcasting\n- Precondition testing\n- Postcondition testing\n- Using big integer libraries\n- Integer handling in C#\n- Lab \u2013 Checked arithmetics\nJSON security\n\n\n\n- JSON validation\n- JSON injection\n- Dangers of JSONP\n- JSON\/JavaScript hijacking\n- Best practices\n- Case study \u2013 ReactJS vulnerability in HackerOne\nDAY 5\n\nAPI security\n\n\n\n- Input validation\n\n- Files and streams\n\n- Path traversal\n- Lab \u2013 Path traversal\n- Path traversal-related examples\n- Additional challenges in Windows\n- Virtual resources\n- Path traversal best practices\n- Lab \u2013 Path canonicalization\n- Unsafe reflection\n\n- Reflection without validation\n- Lab \u2013 Unsafe reflection\nXML security\n\n\n\n- XML validation\n- XML injection\n\n- XPath injection\n- Blind XPath injection\nDenial of service\n\n\n\n- Denial of Service\n- Flooding\n- Resource exhaustion\n- Sustained client engagement\n- Denial of service problems in C#\n- Infinite loop\n- Economic Denial of Sustainability (EDoS)\n- Algorithm complexity issues\n\n- Regular expression denial of service (ReDoS)\n\n- Lab \u2013 ReDoS in C#\n- Dealing with ReDoS\n- Hash table collision\n\n- How do hash tables work?\n- Hash collision in case of hash tables\nCryptography for developers\n\n\n\n- Cryptography basics\n- Crypto APIs in C#\n- Elementary algorithms\n\n- Hashing\n\n- Hashing basics\n- Hashing in C#\n- Lab \u2013 Hashing in C#\n- Confidentiality protection\n\n- Symmetric encryption\n\n- Block ciphers\n- Modes of operation\n- Modes of operation and IV \u2013 best practices\n- Symmetric encryption in C#\n- Symmetric encryption in C# with streams\n- ProtectedData and ProtectedMemory\n- Lab \u2013 Symmetric encryption in in C#\n- Asymmetric encryption\n- Combining symmetric and asymmetric algorithms\n- Integrity protection\n\n- Message Authentication Code (MAC)\n\n- Calculating HMAC in C#\n- Lab \u2013 Calculating MAC in C#\n- Digital signature\n\n- Lab \u2013 Digital signature with ECDSA in C#\n- Public Key Infrastructure (PKI)\n\n- Some further key management challenges\n- Certificates\n\n- Certificate management \u2013 best practices\n- Transport security\n\n- Transport security weaknesses\n- The TLS protocol\n\n- TLS basics\n- TLS features (changes in v1.3)\n- The handshake in a nutshell (v1.3)\n- TLS best practices\n- TLS authentication best practices\n- HTTP Strict Transport Security (HSTS)\n- Lab \u2013 Setting HSTS in C#\nWrap up\n\n\n\n- Secure coding principles\n\n- Principles of robust programming by Matt Bishop\n- Secure design principles of Saltzer and Schr\u00f6der\n- And now what?\n\n- Software security sources and further reading\n- .NET and C# resources","summary_plain":"Your cloud application written in C# works as intended, so you are done, right? But did you consider feeding in incorrect values? 16Gbs of data? A null? An apostrophe? Negative numbers, or specifically -1 or -231? Because that's what the bad guys will do \u2013 and the list is far from complete.\n\nThe cloud has become a critical aspect of online services. No matter which model you're using (SaaS, PaaS, IaaS), part of your service is now operated by someone else. This may look like a net positive, but it also greatly expands the attack surface and brings in several new risks that may not be obvious. Have you configured all security settings correctly? Are you prepared for supply chain attacks? How can you protect the confidentiality of user data in the cloud? And most importantly: can the bad guys use your exposure to their advantage?\n\nHandling security needs a healthy level of paranoia, and this is what this course provides: a strong emotional engagement by lots of hands-on labs and stories from real life, all to substantially improve code hygiene. Mistakes, consequences, and best practices are our blood, sweat and tears.\n\nThe curriculum goes through the common Web application security issues following the OWASP Top Ten but goes far beyond it both in coverage and the details.\n\nAll this is put in the context of C#, and extended by core programming issues, discussing security pitfalls of the C# language and the Azure cloud platform.\n\nSo that you are prepared for the forces of the dark side.\n\nSo that nothing unexpected happens.\n\nNothing.","skill_level":"Intermediate","version":"1.0","duration":{"unit":"d","value":5,"formatted":"5 days"},"pricelist":{"List Price":{"GB":{"country":"GB","currency":"EUR","taxrate":20,"price":3750},"SI":{"country":"SI","currency":"EUR","taxrate":20,"price":3750},"DE":{"country":"DE","currency":"EUR","taxrate":19,"price":3750},"IT":{"country":"IT","currency":"EUR","taxrate":20,"price":3750},"NL":{"country":"NL","currency":"EUR","taxrate":21,"price":3750},"BE":{"country":"BE","currency":"EUR","taxrate":21,"price":3750},"FR":{"country":"FR","currency":"EUR","taxrate":19.6,"price":3750},"AT":{"country":"AT","currency":"EUR","taxrate":20,"price":3750},"MK":{"country":"MK","currency":"EUR","taxrate":null,"price":3750},"GR":{"country":"GR","currency":"EUR","taxrate":null,"price":3750},"HU":{"country":"HU","currency":"EUR","taxrate":20,"price":3750}}},"lastchanged":"2026-01-12T11:34:09+01:00","parenturl":"https:\/\/portal.flane.ch\/swisscom\/en\/json-courses","nexturl_course_schedule":"https:\/\/portal.flane.ch\/swisscom\/en\/json-course-schedule\/24068","source_lang":"en","source":"https:\/\/portal.flane.ch\/swisscom\/en\/json-course\/cydrill-casec-caz"}}