YoVDO

Code Execution with JDK Scripting Tools Nashorn Javascript Engine

Offered By: YouTube

Tags

Conference Talks Courses Cybersecurity Courses Reverse Shell Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore code execution techniques using JDK scripting tools and the Nashorn Javascript Engine in this BSides Cleveland 2018 conference talk. Delve into the history of JDK versions, discover jrunscript and its syntax, and learn how to extend Java programming capabilities. Gain insights on downloading files, executing system commands, and running local and remote scripts. Examine the advantages and disadvantages for offensive operations, including a demonstration of a base64 encoded one-liner reverse shell. Understand detection methods such as command line logging, user agent string monitoring, and process monitoring. Discover prevention strategies like application whitelisting and JDK uninstallation. Enhance your knowledge of both offensive and defensive aspects of JDK scripting tools in this comprehensive security presentation.

Syllabus

Intro
DISCLAIMER
ABOUT ME
OUTLINE
JDK VERSION HISTORY
HOW DID I FIND THESE TOOLS?
JRUNSCRIPT - WHAT IS IT?
JRUNSCRIPT - SYNTAX
JRUNSCRIPT - EVAL GLOBAL FUNCTIONS
JRUNSCRIPT & JJS - FILE LOCATION
SCRIPTING SYNTAX
EXTENDING THE JAVA PROGRAMMING LANGUAGE
DOWNLOADING FILES
EXECUTE SYSTEM COMMANDS
LOADING & RUNNING LOCAL SCRIPTS
LOADING & RUNNING REMOTE SCRIPTS
BASE64 ENCODED ONE-LINER REVERSE SHELL
ADVANTAGES & DISADVANTAGES FOR OFFENSE
DETECTION & PREVENTION
DETECTION - FULL COMMAND LINE LOGGING
DETECTION - USER AGENT STRING MONITORING
DETECTION - PROCESS MONITORING
PREVENTION - APPLICATION WHITELISTING
PREVENTION - UNINSTALL JDK
QUESTIONS?


Related Courses

Building Geospatial Apps on Postgres, PostGIS, & Citus at Large Scale
Microsoft via YouTube
Unlocking the Power of ML for Your JavaScript Applications with TensorFlow.js
TensorFlow via YouTube
Managing the Reactive World with RxJava - Jake Wharton
ChariotSolutions via YouTube
What's New in Grails 2.0
ChariotSolutions via YouTube
Performance Analysis of Apache Spark and Presto in Cloud Environments
Databricks via YouTube