Skip to content

Commit

Permalink
Merge branch 'master' of github.com:katlogic/WindowsD
Browse files Browse the repository at this point in the history
  • Loading branch information
katlogic committed Aug 1, 2016
2 parents 43c7028 + 8096e3e commit b2dbdb0
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,12 @@ buffer in bytes, including terminating zeros.
`WIND_IOCTL_PROT` - set/unset process protection. buffer points to `wind_prot_t`
typed buffer.

`buf->pid` - set to pid you want to change protection flags for.
`buf->prot` - contents of this struct are copied to process protection flags,
but original protection flags of process will be returned back in the same
buffer - ie contents will be swapped.
* `buf->pid` - set to pid you want to change protection flags for.
* `buf->prot` - contents of this struct are copied to process protection flags,
but original protection flags of process will be returned back in the same
buffer - ie contents will be swapped.

To unprotect a process, just clear all its flags - bzero(&buf->prot).

You can re-protect a process after you're done with it, simply by calling the
ioctl again with same buffer (it holds the original flags) and the `buf->prot`
Expand All @@ -117,9 +119,8 @@ policy with whatever we want. There are some differences too:

* Custom signed driver 0day is used.
* 32bit support (Win8+ secureboot).
* It can actually coexist with vbox, does not depend on VT support in CPU
and it even triggers if the driver is already present as we try to load it
under different name.
* Can coexist with vmware/vbox as the exploit is not based on those (and hence
does not need CPU with VT support either).
* The vulnerable driver is WHQL signed, so it works even on systems restricted
to WHQL via secureboot env.
* We automate `reset ci_Options` -> `load unsigned` -> `ci_Options restore`
Expand Down

0 comments on commit b2dbdb0

Please sign in to comment.