Virginia Tech Partnership FOR504 - Live Online

Online, Virtual Event Mon, May 15 - Sat, May 20, 2023
470x382_Get_Involved_Free_Sans_Account.jpg

Welcome to SEC504: Hacker Tools, Techniques, and Incident Handling

Instructor: Chris Pizor | 38 CPEs

SEC504 helps you develop the skills to conduct incident response investigations. You will learn how to apply a dynamic incident response process to evolving cyber threats, and how to develop threat intelligence to mount effective defense strategies for cloud and on-premises platforms. We'll examine the latest threats to organizations, from watering hole attacks to cloud application service MFA bypass, enabling you to get into the mindset of attackers and anticipate their moves. SEC504 gives you the information you need to understand how attackers scan, exploit, pivot, and establish persistence in cloud and conventional systems. To help you develop retention and long-term recall of the course material, 50 percent of class time is spent on hands-on exercises, using visual association tools to break down complex topics. This course prepares you to conduct cyber investigations and will boost your career by helping you develop these in-demand skills. 30+ Hands-on Labs

What You Will Learn

The goal of modern cloud and on-premises systems is to prevent compromise, but the reality is that detection and response are critical. Keeping your organization out of the breach headlines depends on how well incidents are handled to minimize loss to the company.

In SEC504, you will learn how to apply a dynamic approach to incident response. Using indicators of compromise, you will practice the steps to effectively respond to breaches affecting Windows, Linux, and cloud platforms. You will be able to take the skills and hands-on experience gained in the course back to the office and apply them immediately.

A big focus in SEC504 is applying what you learn with hands-on exercises: 50% of the course is hands-on where you will attack, defend, and assess the damage done by threat actors. You will work with complex network environments, real-world host platforms and applications, and complex data sets that mirror the kind of work you may be asked to do. You never lose access to the lab exercises, and they can be repeated as often as you like. All lab exercises come with detailed walkthrough video content to help reinforce the learning concepts in the course.

Understanding the steps to effectively conduct incident response is only one part of the equation. To fully grasp the actions attackers take against an organization, from initial compromise to internal network pivoting, you also need to understand their tools and techniques. In the hands-on environment provided by SEC504, you will use the tools of the attackers themselves in order to understand how they are applied and the artifacts the attackers leave behind. By getting into the mindset of attackers, you will learn how they apply their trade against your organization, and you will be able to use that insight to anticipate their moves and build better defenses.

Business Takeaways:

  • Apply a dynamic approach to incident response
  • Identify threats using host, network, and log analysis
  • Best practices for effective cloud incident response
  • Leverage PowerShell for data collection and cyber threat analysis
  • Cyber investigation processes using live analysis, network insight, and memory forensics
  • Defense spotlight strategies to protect critical assets
  • How attackers leverage cloud systems against organizations
  • Attacker techniques to evade endpoint detection tools
  • How attackers exploit complex cloud vulnerabilities
  • Attacker steps for internal discovery and lateral movement after an initial compromise
  • How attackers exploit publicly-accessible systems including Microsoft 365

What you will receive:

  • Unlimited access to all hands-on exercises that never expires
  • Printed and electronic course books and a hands-on workbook
  • MP3 audio files of the entire course
  • Perpetual access to all hands-on lab exercises
  • Detailed video walkthroughs for all lab exercises
  • Visual association maps to break down complex material
  • A digital index for quick-reference to all material
  • Bonus content and hands-on exercises to develop your skills beyond the course
  • Essential cheat sheets for tools and complex analysis tasks

Pricing & Registration

This course is part of the SANS Partnership Program. Students affiliated with an eligible institution* may enroll in this course at a discounted rate of $3450. To receive this rate, enter discount code: 77940-LO when registering. All registrations using a code will be audited to confirm that they are eligible to receive the discounted rate. On Demand 949 USD GSEC 949 USD This class is a Live Online event. Please click on the blue "Register Now" button below. If you are affiliated with a Partnership-eligible institution enter the following discount codes to receive your Partnership pricing! *Eligible institutions include US and Canada-based educational Institutions (any accredited educational institution, including colleges, universities, technical training institutes and K-12 schools) and any US state or local government agency.

Course Syllabus

SEC504.1: Incident Response and Cyber Investigations

Overview

The first section of SEC504 focuses on how to develop and build an incident response process in your organization by applying the Dynamic Approach to Incident Response (DAIR) to effectively verify, scope, contain, assess, and remediate threats. We'll apply this process in-depth with hands-on labs and examples from real-world compromises.

Exercises
  • Live Windows examination
  • Network investigation
  • Memory investigation
  • Malware investigation
  • Cloud investigation
Topics

Incident Response

  • Case study: Argous Corporation compromise
  • Dynamic Approach to Incident Response
  • Investigative analysis: Examining incident evidence

Digital Investigations

  • Techniques for digital investigation
  • Establishing an incident timeline
  • Investigation efficiency: Data reduction

Live Examination

  • Using PowerShell for Windows threat hunting
  • Identifying suspicious Windows processes
  • Correlating network and persistence activity
  • Assessing file-less malware threats
  • Enumerating Windows auto-start extensibility points
  • Leveraging Sysinternals for live Windows examinations

Network Investigations

  • Identifying compromised host beaconing with proxy server logs
  • Filtering network activity to identify indicators of compromise
  • Assessing encrypted network traffic with multiple data sources
  • Building the incident timeline

Memory Investigations

  • Collecting volatile memory from a compromised host
  • Conducting offline analysis of attacker persistence
  • Using Volatility 3 to investigate malware
  • Build attacker event timelines using non-volatile memory captures

Malware Investigations

  • Assessing attacker malware in a safe test environment
  • Using snapshot and continuous recording tools
  • Inspecting malware actions with RegShot and Procmon
  • Identifying malicious code on Windows

Cloud Investigations

  • Steps for conducting a cloud security incident investigation
  • Essential cloud logging assets for incident response
  • Data collection and isolation for compromise assessment
  • Applying cloud recovery and remediation following an incident
  • Complete cloud compromise incident response walkthrough

Bootcamp: Linux Olympics

  • Learn Linux using an interactive learning environment
  • Build command line skills at your own pace
  • Working with Linux file systems and permissions
  • Using JQ to parse and filter JSON data
  • Using file parsing tools, including grep, cut, and awk
  • Linux compromise incident response walkthrough

Bootcamp: PowerShell Olympics

  • Learn PowerShell on Windows using an interactive learning environment
  • Build command line skills at your own pace
  • Get started with PowerShell skills: cmdlets, functions, built-ins, and more!
  • Learn to quickly interrogate a Windows system for effective threat hunting
  • Accelerate your common analysis tasks with PowerShell automation

SEC504.2: Recon, Scanning, and Enumeration Attacks

  • Overview

    In this course section we'll look at the techniques attackers use to conduct reconnaissance as a pre-attack step, including how they use open-source intelligence, network scanning, and target enumeration attacks to find the gaps in your network security. You'll use attacker techniques to assess the security of a target network, evaluating popular protocols and endpoints for Windows, Linux, and cloud targets. After delivering the attacks, you'll investigate the logging data and evidence that remains to recognize these attacks as they happen.

    Exercises
    • Open-Source Intelligence with SpiderFoot
    • Domain Name System (DNS) Reconnaissance and Enumeration
    • Host Discovery and Assessment with Nmap
    • Shadow Cloud Asset Discovery with Masscan
    • Windows Server Message Block (SMB) Session Attacks
    • Windows Password Spray Attack Detection
    Topics

    MITRE ATT&CK Framework Introduction

    • Using ATT&CK to guide an incident response investigation
    • Staying current with changing attack techniques
    • Leveraging ATT&CK for threat intelligence

    Open-Source Intelligence

    • Enumerating targets without being detected
    • Host identification through domain and public certificate authority data
    • User account compromise assessment
    • Automating open-source intelligence collection with SpiderFoot

    DNS Interrogation

    • Mining public DNS servers for organization data
    • Automating host enumeration with dns-brute
    • DNS server log inspection for attack identification
    • Creative host identification using manual and automated tools

    Website Reconnaissance

    • Information-gathering from public websites
    • Parsing Exchangeable Image File Format (EXIF) data from public documents
    • Optimizing search engine reconnaissance interrogation
    • Abstracting attack identification using public sources
    • Limiting website-sensitive data disclosure

    Network and Host Scanning with Nmap

    • Host enumeration and discovery with Nmap
    • Internal and external network mapping and visualization
    • Minimizing network activity to avoid detection
    • Deep host assessment with Nmap Scripting Engine tools

    Cloud Spotlight: Cloud Scanning

    Enumerating shadow cloud targets

    • Accelerating scans with Masscan
    • Walkthrough: Scanning Amazon Web Services for target discovery
    • Attributing cloud hosts to a target organization
    • Visual representation of identified targets with EyeWitness

    Server Message Block (SMB) Sessions

    • Understanding Windows SMB: Essential skill development
    • Identifying SMB attacks against Windows
    • Using built-in tools for SMB password guessing attacks
    • Understanding SMB security features
    • Identifying sensitive data loss from SMB file server shares

    Defense Spotlight: DeepBlueCLI

    • Identifying attacks using Windows Event Logs
    • Differentiating attacks from false positives
    • Remote host assessment for compromise identification
    • Tips for fast assessment to begin incident analysis

SEC504.3: Password and Access Attacks

Overview

Password attacks are the most reliable mechanism for attackers to bypass defenses and gain access to your organization's assets. In this course section we'll investigate the complex attacks that exploit password and multi-factor authentication weaknesses using the access gained to access other network targets.

Exercises
  • Local password Guessing Attacks with Hydra
  • Cloud Password Guessing Attacks against Microsoft 365 using AWS Services
  • Password Cracking with John the Ripper
  • Password Cracking with Hashcat
  • Cloud Bucket Discovery
  • The Many Uses of Netcat
Topics

Password Attacks

  • Password attack trifecta: Guessing, spray, and credential stuffing
  • Techniques for bypassing password attack defenses
  • Understanding real-world authentication attacks

Microsoft 365 Attacks

  • Enumerating valid Microsoft 365 user accounts
  • Assessing and bypassing Multi-Factor Authentication (MFA)
  • Attacking cloud Software as a Service (SaaS) platforms
  • Leveraging AWS services to bypass account lockout
  • Differentiating Microsoft Gov Cloud and enterprise cloud security

Understanding Password Hashes

  • Weaknesses in Windows password hash formats
  • Collecting password hashes in Windows, Linux, and cloud targets
  • Mitigating GPU-based password cracking with scrypt and Argon2

Password Cracking

  • Recovering passwords from hashes with John the Ripper and Hashcat
  • Accelerating password cracking with GPUs and cloud assets
  • Effective cracking with password policy masks
  • Multi-factor authentication and password cracking implications

Cloud Spotlight: Insecure Storage

  • Case study: Cloud bucket storage exposure
  • Understanding cloud storage for Amazon Web Services, Azure, and Google Compute
  • Discovering insecure bucket storage
  • Walkthrough: Insecure storage to website persistence compromise
  • Identifying insecure cloud storage access

Multi-purpose Netcat

  • Internal data transfer to evade monitoring controls
  • Pivoting and lateral movement
  • Listener and reverse TCP backdoors on Linux and Windows
  • Detailed look at attacker post-compromise techniques
  • Living Off the Land (LOL) attacks to evade endpoint detection tools

SEC504.4: Public-Facing and Drive-By Attacks

Overview

In this course section we'll begin our look at target exploitation frameworks that take advantage of weaknesses on public servers and client-side vulnerabilities. Using the implicit trust of a public website, you'll apply attacker tools and techniques to exploit browser vulnerabilities, execute code with Microsoft Office documents, and exploit the many vulnerabilities associated with vulnerable web applications.

Exercises
  • Metasploit Attack and Analysis
  • Client-side Exploitation with the Browser Exploitation Framework (BeEF)
  • Windows System Resource Usage Database Analysis
  • Command Injection Attack
  • Cross-Site Scripting Attack
  • SQL Injection Attack
  • Server Side Request Forgery (SSRF) and Instance Metadata Service (IMDS) Attack
Topics

Metasploit Framework

  • Using Metasploit to identify, configure, and deliver exploits
  • Selecting payloads that grant access while evading defenses
  • Establishing and using Command & Control (C2) victim access
  • Identifying Metasploit and Meterpreter fingerprints for incident response

Drive-By Attacks

  • Phishing and malicious Microsoft Office files
  • Leveraging a watering hole to attack victim browsers
  • Case study: Control system attack through watering hole forum compromise
  • Building extensible payloads for effective attacks
  • Customizing exploits for defense bypass

Defense Spotlight: System Resource Usage Monitor

  • Leveraging Windows diagnostics for incident response
  • Assessing incident network activity using built-in Windows data
  • Case study: Data theft and terminated employee workstation analysis

Command Injection

  • Compromising websites with command injection
  • Walkthrough: Falsimentis community service website attack
  • Applying command injection in non-website targets
  • Attack access enumeration through command injection
  • Auditing web applications for command injection flaws

Cross-Site Scripting (XSS)

  • Exploiting victim browsers through server flaws
  • Classifying XSS types for opportunistic or target attacks
  • Cookie theft, password harvesting, and camera/microphone capture attacks
  • Using content security policies (CSP) to stop XSS

SQL Injection

  • Understanding SQL constructs and developer errors
  • Extracting data through SQL injection
  • Using Sqlmap to automate vulnerability discovery
  • SQL injection against cloud databases: Relational Database Service (RDS), Spanner, Azure SQL

Cloud Spotlight: SSRF and IMDS Attacks

  • Identifying server-side request forgery vulnerabilities
  • Understanding common requests vs. server-side requests
  • Walkthrough: Falsimentis federated SSO attack
  • Obtaining cloud keys through IMDS attacks

SEC504.5: Evasion and Post-Exploitation Attacks

Overview

Building on password, public-facing, and drive-by attacks, we'll look at the attacks that happen after initial exploitation. You'll see how attackers bypass endpoint protection systems and use an initial foothold to gain access to internal network targets. You'll then apply the techniques you learn with privileged insider Local Area Network (LAN) attacks, using privileged access to establish persistence, how attackers scan for and collect data from a compromised organization. You will apply these skills to assess the security risks of a vulnerable cloud deployment through visualization and automated assessment techniques. Finally, we'll look at the steps to take after the course is over, turning what you've learned into long-term skills and helping you prepare for the certification exam.

Exercises
  • Endpoint Protection Bypass: Bypassing Application Allow Lists
  • Pivoting and Lateral Movement with Metasploit
  • Insider Attack with Responder
  • Establishing Persistence with Metasploit
  • Network Threat Hunting with Real Intelligence Threat Analytics (RITA)
  • Cloud Configuration Assessment with ScoutSuite
  • Building Review Cards with Anki
Topics

Endpoint Security Bypass

  • Understanding the three techniques for endpoint bypass
  • Evading application safelist controls
  • Using signed executables to evade endpoint controls
  • Using Microsoft-signed tools to attack systems: Living Off the Land (LOL)
  • Getting the most value from Endpoint Detection and Response (EDR/XDR) platforms

Pivoting and Lateral Movement

  • Using Metasploit features for lateral movement
  • Attacker detection evasion through pivoting
  • Using Linux and Windows features for advanced exploitation
  • Command & Control (C2) for privileged internal access

Hijacking Attacks

  • Exploiting privileged LAN access
  • Attacking default Windows vulnerable protocols
  • Password harvesting on the LAN

Covering Tracks

  • Hiding collected data on Windows and Linux
  • Log editing techniques for both simple and complex log formats
  • Building tamper-proof logging platforms

Establishing Persistence

  • Windows Management Instrumentation (WMI) Event Subscription persistence techniques
  • Exploiting Windows Active Directory: Golden Ticket attacks
  • Web shell access and multi-platform persistence
  • Cloud keys and backdoor accounts in Azure, Amazon Web Services, and Google Compute

Defense Spotlight: Real Intelligence Threat Analytics

  • Threat hunting through network analysis
  • Identifying beacons and C2 on your network
  • Characterizing network oddities: Long connections
  • Catching DNS exfiltration and access attacks

Data Collection

  • Linux and Windows post-exploitation password harvesting
  • Evading detection controls: Mimikatz
  • Attacking password managers on Windows and macOS

Cloud Spotlight: Cloud Post-Exploitation

  • Privilege enumeration and escalation in cloud environments
  • Identifying stealthy backdoors in Azure
  • Using cloud attack frameworks: Pacu and GCP PrivEsc
  • Case study: Access to database dumping in Google Compute
  • Built-in tools for data access: Microsoft 365 Compliance Search
  • Assessing your cloud deployment for vulnerabilities

Where to Go from Here

  • Tips for developing long-term recall and memory retention
  • Applying spaced repetition theory using Anki
  • Staying motivated and finding time for skill development
  • Recommendations for passing your certification exam

SEC504.6: Capture-the-Flag Event

Overview

Our Capture-the-Flag event is a full day of hands-on activity that has you working as a consultant for ISS Playlist, a fictitious company that has recently been compromised. You will apply all of the skills you've learned in class, using the same techniques used by attackers to compromise modern, sophisticated network environments. You will work on a team or independently to scan, exploit, and complete post-exploitation tasks against a cyber range of target systems including Windows, Linux, Internet of Things devices, and cloud targets. This hands-on challenge is designed to help players practice their skills and reinforce concepts learned throughout the course. With an integrated hint system to give you the on-demand guidance you need to succeed, the event guides you through the steps to successfully compromise target systems, bypass endpoint protection platforms, pivot to internal network high-value hosts, and exfiltrate company data.

Topics
  • Target Discovery and Enumeration
  • Applying Open-Source Intelligence and Reconnaissance Information-Gathering
  • Public-Facing Asset Compromise
  • Email Compromise
  • Attacking Windows Active Directory
  • Password Spray, Guessing, and Credential Stuffing Attacks
  • Post-Exploitation Pivoting and Lateral Movement
  • Choosing, Configuring, and Delivering Exploits
  • Internal Attacker Compromise Attribution

Laptop Requirements

Important! Bring your own system configured according to these instructions!

A properly configured system is required to fully participate in this course. If you do not carefully read and follow these instructions, you will likely leave the class unsatisfied because you will not be able to participate in hands-on exercises that are essential to this course. Therefore, we strongly urge you to arrive with a system meeting all the requirements specified for the course.

It is critical that you back-up your system before class. It is also strongly advised that you do not bring a system storing any sensitive data.

CPU

  • 64-bit Intel i5/i7 2.0+ GHz processor
  • CRITICAL NOTE: Apple systems using the M1/M2 processor line cannot perform the necessary virtualization functionality and therefore cannot be used for this course.
  • Your system's processor must be a 64-bit Intel i5 or i7 2.0 GHz processor or higher. To verify on Windows 10, press Windows key + "I" to open Settings, then click "System", then "About". Your processor information will be listed near the bottom of the page. To verify on a Mac, click the Apple logo at the top left-hand corner of your display and then click "About this Mac".

BIOS

  • Enabled "Intel-VT"
  • Intel's VT (VT-x) hardware virtualization technology must be enabled in your system's BIOS or UEFI settings. You must be able to access your system's BIOS to enable this setting in order to complete lab exercises. If your BIOS is password-protected, you must have the password. This is absolutely required.

RAM

  • 16 GB RAM is highly recommended for the best experience. To verify on Windows 10, press Windows key + "I" to open Settings, then click "System", then "About". Your RAM information will be toward the bottom of the page. To verify on a Mac, click the Apple logo at the top left-hand corner of your display and then click "About this Mac".

Hard Drive Free Space

  • 100 GB of FREE space on the hard drive is critical to host the VMs and additional files we distribute. SSD drives are also highly recommended, as they allow virtual machines to run much faster than mechanical hard drives.

Operating System

  • Your system must be running either the latest version of Windows 10, macOS 10.15.x or later, or Linux that also can install and run VMware virtualization products described below.

Additional Software Requirements

VMware Player Install

  • Install VMware Player 16, VMware Fusion 12, or VMware Workstation 16. Older versions will not work for this course. Choose the version compatible with your host OS. If you do not own a licensed copy of VMware Workstation or Fusion, you can download a free 30-day trial copy from VMware. VMware will send you a time-limited serial number if you register for the trial at their Web site. VMware Workstation Player is a free download that does not need a commercial license but has fewer features than Workstation.
  • Other virtualization products, such as Hyper-V and VirtualBox, are not supported and will not work with the course material.

Your course media will now be delivered via download. The media files for class can be large, some in the 40 - 50 GB range. You need to allow plenty of time for the download to complete. Internet connections and speed vary greatly and are dependent on many different factors. Therefore, it is not possible to give an estimate of the length of time it will take to download your materials. Please start your course media downloads as you get the link. You will need your course media immediately on the first day of class. Waiting until the night before the class starts to begin your download has a high probability of failure.

If you have additional questions about the laptop specifications, please contact laptop_prep@sans.org.