GithubHelp home page GithubHelp logo

fckoo / angryorchard-original Goto Github PK

View Code? Open in Web Editor NEW

This project forked from odzhan/angryorchard-original

0.0 0.0 0.0 61 KB

Original proof of concept I submitted to brokers demonstrating the vulnerability in hopes of getting rid of it.

Python 1.51% C 95.19% Assembly 1.96% Makefile 1.34%

angryorchard-original's Introduction

About

Abuses a usermode bug in CSRSS to elevate the current threads access level to that of KernelMode, allowing an attacker arbitrary read & write access to restricted memory through NTDLL!NtReadVirtualMemory and NTDLL!NtWriteVirtualMemory. The elevated thread will utilize this issue to disable Driver Signing Enforcement, and load an arbitrary driver on disk into memory.

Because of the bugs nature, despite it being a admin-kernel boundary for servicing by Microsoft, I cannot risk the issue being patched by the core developers, and as such, the source code will not be provided, and binaries must not be run on a compromised host or virtual machine where Microsoft Windows Defender may lift the objects from disk.

To access CSRSS from a privileged process, we abuse a bug in DefineDosServices to create a entry in KnownDLLs, and inject our payload DLL into a child protected process. This child protected process then re-injects itself into csrss before dying promptly. This issue remains documented and unfixed as of the latest versions of Windows.

Build

Building the payload and injector requires a copy of mingw-w64, nasm, and python3 installed on the development box. Once you have these depencies, it is recommended to then install the python dependencies from pip.

After you have completed these steps, please run make to construct the injector and payload.

Release

If you choose not to build the files from source, I have provided signed release binaries. To ensure they have not been tampered with, my signature should be checked for validity.

angryorchard-original's People

Contributors

ilove2pwn 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.