Java and Web Application Security


Course Number: SEC-124

Duration: 3 days (19.5 hours)

Format: Live, hands-on

Java and Web Application Security Training Overview

Accelebrate's Secure Coding in Java Training teaches developers common security vulnerabilities in Java applications and how to write hardened, more secure code. Attendees learn the OWASP Top Ten and typical Web vulnerabilities with a focus on how these issues affect Java web apps across the entire stack.

Note: By default, this class includes a section covering PCI-DSS (Payment Card Industry Data Security Standard). If this unit is not of interest to your group, it can easily be removed, with added focus devoted to other areas in which you are interested.

Location and Pricing

Accelebrate offers instructor-led enterprise training for groups of 3 or more online or at your site. Most Accelebrate classes can be flexibly scheduled for your group, including delivery in half-day segments across a week or set of weeks. To receive a customized proposal and price quote for private corporate training on-site or online, please contact us.

Objectives

All attendees will:

  • Gain an understanding of Web application security issues
  • Learn PCI-DSS requirements and secure coding (optional)
  • Analyze the OWASP Top Ten elements
  • Put Web application security in the context of Java
  • Go beyond the low hanging fruits
  • Handle security challenges in your Java code
  • Identify vulnerabilities and their consequences
  • Learn the security best practices in Java

Prerequisites

All students must have Java development experience.

Outline

Expand All | Collapse All

Introduction
Cybersecurity Basics
  • What is security?
  • Threat and risk
  • Cybersecurity threat types
  • Consequences of insecure software
    • Constraints and the market
    • The dark side
  • Cybersecurity in the finance sector
    • Software security in the finance world
    • Threats and trends in fintech
PCI-DSS (optional)
  • An overview of PCI-DSS
  • PCI-DSS assets
  • PCI-DSS requirements and secure coding
  • Develop and maintain secure systems and applications
  • Address common coding vulnerabilities
The OWASP Top Ten (Part I)
  • OWASP Top 10 – 2017
  • Broken authentication
    • Authentication basics
    • Authentication weaknesses
    • Case study – Equifax Argentina
    • Spoofing on the Web
    • Case study – PayPal 2FA bypass
    • User interface best practices
    • Case study – Information disclosure in Simple Banking for Android
    • Password management
  • 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
  • Using Components with Known Vulnerabilities
    • Using vulnerable components
    • Assessing the environment
    • Hardening
    • Untrusted functionality import
    • Importing JavaScript
    • Case study – The British Airways data breach
    • Case study – The Equifax data breach
    • Vulnerability management
The OWASP Top Ten (Part II)
  • Injection
    • Injection principles
    • Injection attacks
    • SQL injection
    • SQL injection best practices
    • Code injection
    • OS command injection best practice
    • Using Runtime.exec()
    • Using ProcessBuilder
    • Case study – Shellshock
    • Case study – Template injection in Shopify leading to RCE
    • Injection best practices
  • Broken Authentication
    • Session management
    • CSRF best practices
  • XML External Entities (XXE)
    • DTD and the entities
    • Entity expansion
    • External Entity Attack (XXE)
  • Cross-site Scripting (XSS)
    • Cross-site scripting basics
    • Cross-site scripting types
    • Case study – XSS in Fortnite accounts
    • XSS protection best practices
Web Application Security Beyond the Top Ten
  • Client-side security
  • Tabnabbing
  • Frame sandboxing
Common Software Security Weaknesses
  • Input validation
    • Input validation principles
  • Integer handling problems
    • Representing signed numbers
    • Integer visualization
    • Integer overflow
    • Lab – Integer overflow
    • Signed / unsigned confusion in Java
    • Integer truncation
  • Best practices  
  • Other numeric problems
    • Division by zero
    • Working with floating-point numbers
  • Unsafe reflection
    • Reflection without validation
  • Unsafe native code
    • Native code dependence
    • Best practices for dealing with native code
Security Features
  • Java platform security
    • The Java programming language and runtime environment
    • Type safety and security
    • Security features of the JRE
    • The ClassLoader and the BytecodeVerifier
    • Application-level access control in Java
    • Role-based access control
    • Protecting Java code and applications
  • Code quality
    • Constructors and destructors
    • Class initialization cycles
    • Lab – Initialization cycles
    • Unreleased resource
    • The finalize() method – best practices
    • Object oriented programming pitfalls
  • Serialization
    • Serializing sensitive data
    • Serialization best practices
    • Deserializing untrusted streams
    • Deserializing best practices
    • Using ReadObject
    • Sealed objects
    • Look ahead deserialization
    • Property Oriented Programming (POP)
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
  • Java resources

Training Materials:

All Secure Coding training attendees receive comprehensive courseware.

Software Requirements:

Attendees will not need to install any software on their computer for this class. The class will be conducted in a remote environment that Accelebrate will provide; students will only need a local computer with a web browser with a stable Internet connection. Any recent version of Microsoft Edge, Mozilla Firefox, or Google Chrome will be fine.



Learn faster

Our live, instructor-led lectures are far more effective than pre-recorded classes

Satisfaction guarantee

If your team is not 100% satisfied with your training, we do what's necessary to make it right

Learn online from anywhere

Whether you are at home or in the office, we make learning interactive and engaging

Multiple Payment Options

We accept check, ACH/EFT, major credit cards, and most purchase orders



Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan