Git Product home page Git Product logo

dotnet-deserialization's Introduction

dotnet deserialization

本系列是笔者从0到1对dotnet反序列化进行系统学习的笔记,其中涉及官方的反序列化formatter和第三方库的反序列化组件(如Json.net等),其中穿插一些ysoserial.net的使用及原理,以及一些dotnet的知识点。

笔者也是初入茅庐,如果文章表述或讲解有错,请不吝赐教。

所有文章均首发先知社区 https://xz.aliyun.com/u/12258

参考

全系列文章参考以下内容

  1. ysoserial.net
  2. docs.microsoft.com
  3. https://github.com/Ivan1ee/NET-Deserialize

着重参考@Ivan1ee师傅的文章及其Github,以及微软文档和一些国外的议题、paper,还有@pwntester的文章。

目录

  1. dotnet serialize 101

    讲解dotnet序列化基础及其生命周期

  2. XmlSerializer

    讲解xmlserializer基础、ysoserial.net ObjectDataProvider攻击链以及XamlReader.Parse()

  3. BinaryFormatter

    讲解二进制formatter基础及TextFormattingRunProperties、DataSet、TypeConfuseDelegate攻击链

  4. Nancy cookie反序列化 及攻击链ToolboxItemContainer

  5. SoapFormatter

    讲解soap格式流的反序列化漏洞及ActivitySurrogateSelector、ActivitySurrogateSelectorFromFile、ActivitySurrogateDisableTypeCheck、AxHostState攻击链和Kentico CMS的RCE

  6. LosFormatter

    讲解LosFormatter反序列化,以及ClaimsIdentity、WindowsIdentity、WindowsClaimsIdentity、SessionSecurityToken攻击链。

  7. ObjectStateFormatter

    讲解ObjectStateFormatter反序列化以及RolePrincipal、WindowsPrincipal攻击链。

  8. DataContractSerializer

    讲解DataContractSerializer反序列化、SessionViewStateHistoryItem攻击链,以及对DataContractResolver类型解析器的利用。

  9. NetDataContractSerializer

    讲解NetDataContractSerializer反序列化以及PSObject攻击链

  10. DataContractJsonSerializer

    讲解DataContractJsonSerializer反序列化及IDataContractSurrogate接口

  11. JavaScriptSerializer

    讲解JavaScriptSerializer反序列化

  12. Json.Net

    讲解了json.net反序列化,并结合实际案例 breeze CVE-2017-9424深入理解。

  13. Fastjson

    讲解fastjson反序列化漏洞

  14. .NET Remoting

    讲解.net remoting漏洞

  15. SharePoint CVE-2019-0604

  16. ViewState

一些文章

下面是笔者对于dotnet审计时收集的一些文章。

关于

ID:Y4er

Blog:Y4er.com

Twitter:@Y4er_ChaBug

dotnet-deserialization's People

Contributors

fengjixuchui avatar y4er 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.