Git Product home page Git Product logo

shiro_attack's Introduction

shiro反序列化漏洞综合利用

项目基于javafx,利用shiro反序列化漏洞进行回显命令执行以及注入各类内存马

  1. 检出默认key (SimplePrincipalCollection)
  2. Tomcat/Springboot 回显命令执行
  3. 集成CommonsCollectionsK1/K2
  4. 通过POST请求中defineClass字节码实现注入内存马(Servlet实现参考哥斯拉内存马)
  5. resources目录下shiro_keys.txt可扩展key

关于内存马

  1. 某些spring环境以jar包启动写shell麻烦
  2. 渗透中找目录很烦,经常出现各种写shell浪费时间问题
  3. 无落地文件舒服

bug修复

2020.11.08

  1. 高低版本base64库不一致,目前使用org.apache.shiro.codec.Base64避免此问题

参考链接

shiro_attack's People

Contributors

j1anfen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.