Python Security

SEC-132 (3 Days)
5.0 out of 5 (6 reviews)  

Request Pricing

Secure Python Coding Training Overview

This Python Security training class teaches attendees how to address the most critical security issues when developing Python applications. Participants learn about the OWASP Top 10 vulnerabilities and how to address them in their code. The course also covers significant security issues for Python code in general and explores JSON security and security testing.

Location and Pricing

Most Accelebrate courses are taught as private, customized training for 3 or more attendees at our clients' sites worldwide. In addition, we offer live, private online classes for teams who may be in multiple locations or wish to save on travel costs. Please visit our client list for organizations for whom we have delivered onsite training. To receive a customized proposal and price quote for private on-site or online training, please contact us.

Secure Python Coding Training Objectives

All students will:

  • Understand Web application security issues
  • Analyze the OWASP Top Ten elements
  • Put Web application security in the context of Python
  • Go beyond the low hanging fruits
  • Handle security challenges in your Python code
  • Identify vulnerabilities and their consequences
  • Learn the security best practices in Python
  • Understand security testing methodology and approaches
  • Get familiar with common security testing techniques and tools

Secure Python Coding Training Outline

Expand All | Collapse All | Printer-Friendly

Introduction
Cybersecurity Basics
  • What is security?
  • Threat and risk
  • Cybersecurity threat types
  • Consequences of insecure software
  • Constraints and the market
  • The dark side
The OWASP Top Ten (Part I)
  • OWASP Top 10 – 2017
  • Injection
    • Injection principles
    • Injection attacks
    • SQL injection
  • SQL injection best practices
    • Input validation
    • Parameterized queries
    • Additional considerations
    • Case study – Hacking Fortnite accounts
    • Testing for SQL injection
  • SQL injection and ORM
    • Parameter manipulation
    • CRLF injection
    • Code injection
    • Injection best practices
  • Broken authentication
    • Authentication basics
    • Authentication weaknesses
    • Spoofing on the Web
    • Testing for weak authentication
    • Case study – PayPal 2FA bypass
    • User interface best practices
    • Password management
The OWASP Top Ten (Part II)
  • Broken authentication
    • Password management
    • Session management
    • Cookie security
  • Sensitive data exposure
    • Information exposure
    • Exposure through extracted data and aggregation
    • Case study – Strava fitness app data exposure
    • System information leakage
  • Information exposure best practices
    • Error and exception handling principles
    • Information exposure through error reporting
    • Information leakage via error pages
  • XML External Entities (XXE)
    • DTD and the entities
    • Entity expansion
    • Attribute blowup
    • External Entity Attack (XXE)
  • Broken access control
    • Access control basics
    • Failure to restrict URL access
    • Testing for authorization issues
    • Confused deputy
  • File upload
    • Unrestricted file upload
    • Good practices
    • Testing for file upload vulnerabilities
  • Security misconfiguration
    • Configuration principles
    • Configuration management
    • Server misconfiguration
    • Python configuration best practices
  • Cross-Site Scripting (XSS)
    • Cross-site scripting basics
    • Cross-site scripting types
  • XSS protection best practices
    • Protection principles – escaping
    • XSS protection APIs in Python
    • XSS protection in Jinja2
    • Additional protection layers
    • Client-side protection principles
    • Blacklisting-based XSS protection evasion
    • Testing for XSS
The OWASP Top Ten (Part III)
  • Insecure Deserialization
    • Serialization and deserialization challenges
    • Deserializing untrusted streams
    • Deserialization with pickle
    • Deserialization with PyYAML
    • Deserializing best practices
    • Testing for insecure deserialization
  • Using Components with Known Vulnerabilities
    • Using vulnerable components
    • Assessing the environment
    • Hardening
    • Untrusted functionality import
    • Malicious packages in Python
    • Importing JavaScript
    • Case study – The British Airways data breach
    • Vulnerability management
  • Insufficient Logging & Monitoring
    • Logging and monitoring principles
    • Insufficient logging
    • Plaintext passwords at Facebook
    • Logging best practices
    • Monitoring best practices
  • Web Application Security Beyond the Top Ten
    • Client-side security
    • Same Origin Policy
  • Frame Sandboxing
    • Cross-Frame Scripting (XFS) attack
    • Clickjacking beyond hijacking a click
    • Clickjacking protection best practices
Common Software Security Weaknesses
  • Input validation
JSON Security
  • JSON injection
  • Dangers of JSONP
  • JSON/JavaScript hijacking
  • Best practices
  • ReactJS vulnerability in HackerOne
Security Testing
  • Security testing vs functional testing
  • Manual and automated methods
  • Security testing techniques and tools
    • Code analysis
    • Dynamic analysis
Wrap Up
  • Secure coding principles
    • Principles of robust programming by Matt Bishop
    • Secure design principles of Saltzer and Schröder
  • And now what?
    • Further sources and readings
    • Python resources
Request Pricing

Lecture percentage

50%

Lecture/Demo

Lab percentage

50%

Lab

Course Number:

SEC-132

Duration:

3 Days

Prerequisites:

All Python Security training students must have general Python development experience.

Training Materials:

All attendees receive comprehensive courseware.

Software Requirements:

Accelebrate can either provide a VMware virtual machine that can be run locally for the training or can provide access to a preconfigured cloud environment for each participant. Please contact us for details.

Contact Us:

Accelebrate’s training classes are available for private groups of 3 or more people at your site or online anywhere worldwide.

Don't settle for a "one size fits all" public class! Have Accelebrate deliver exactly the training you want, privately at your site or online, for less than the cost of a public class.

For pricing and to learn more, please contact us.

Contact Us Train For Us

Toll-free in US/Canada:
877 849 1850
International:
+1 678 648 3113

Toll-free in US/Canada:
866 566 1228
International:
+1 404 420 2491

925B Peachtree Street, NE
PMB 378
Atlanta, GA 30309-3918
USA

Subscribe to our Newsletter:

Never miss the latest news and information from Accelebrate:

Microsoft Gold Partner

Please see our complete list of
Microsoft Official Courses

Recent Training Locations

Alabama

Huntsville

Montgomery

Birmingham

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

San Francisco

Oakland

San Jose

Orange County

Los Angeles

Sacramento

San Diego

Colorado

Denver

Boulder

Colorado Springs

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Miami

Jacksonville

Orlando

Saint Petersburg

Tampa

Georgia

Atlanta

Augusta

Savannah

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Ceder Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

Baton Rouge

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Hagerstown

Frederick

Massachusetts

Springfield

Boston

Cambridge

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Saint Paul

Minneapolis

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Reno

Las Vegas

New Jersey

Princeton

New Mexico

Albuquerque

New York

Buffalo

Albany

White Plains

New York City

North Carolina

Charlotte

Durham

Raleigh

Ohio

Canton

Akron

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Tulsa

Oklahoma City

Oregon

Portland

Pennsylvania

Pittsburgh

Philadelphia

Rhode Island

Providence

South Carolina

Columbia

Charleston

Spartanburg

Greenville

Tennessee

Memphis

Nashville

Knoxville

Texas

Dallas

El Paso

Houston

San Antonio

Austin

Utah

Salt Lake City

Virginia

Richmond

Alexandria

Arlington

Washington

Tacoma

Seattle

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Edmonton

Calgary

British Columbia

Vancouver

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan

© 2013-2019 Accelebrate, Inc. All Rights Reserved. All trademarks are owned by their respective owners.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.