Instructions to protect Java application with K2 Platform.
Overview
In this section, we outline the steps for protecting your first Java application with the K2 Platform.
Prerequisites
Please check our support matrix for Java Language Agent.
Language
Frameworks
DBs
Attack Coverage
Deployments
JAVA 8 and above
Tomcat
Jetty
IBM WebSphere Traditional
IBM WebSphere Liberty
Weblogic
JBoss
Adobe Experience Manager(AEM)
MySql
PostgreSQL
Oracle
MongoDB
HSQL
SQLI
NOSQLI
RCE
PATH TRAVERSAL
FILE INTEGRITY
SSRF
FILE UPLOAD
STORED XSS
REFLECTED XSS
LDAP
XPATH
UNTRUSTED DESERIALSATION
RCI
Host Mode
Container
Mode
EKS
ECS
Steps
Step 1 : K2 Portal and Account Creation
We need to make sure In order to use K2 Platform You need to create an account on K2 Portal.
K2 Portal can be used as SaaS model or you can deploy entire portal on your On-Premises.
K2 Platform is offered as SaaS software and can be used directly visiting SaaS portal i.e. https://k2io.net or if you are an AWS customer then you can buy subscription to K2 SaaS portal on AWS Marketplace.
K2 Platform is also offered as On-Premises based solution and can be deployed directory on your local infrastructure or if you are an AWS customer then you can subscribe to K2Cloud AMI and deploy K2 On-Premises portal on AWS.
For demonstration purposes we are creating a docker container with non secure application and running it with our already downloaded K2 Java language agent.
SQL Injection Attack
Now you can go to Attacks section in K2 Manager and see there will be one attack captured by K2 Manager or Alternatively go to Attacks | K2 Portal.