Skip to content

Exploiting NIM for handles with ctr-httpwn and dump movable.sed. And as well exploit AM.

Notifications You must be signed in to change notification settings

luigoalma/nimhax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nimhax

A demonstration of using httpwn to use ipctakeover on nim:s and get cfg:s and am:net handles, as well fs:USER and its permissions to dump movable.sed using IVS export.

An extra demonstration as well for using nim:s's ropped service to run another ipctakeover on AM11.

am11pwn

Using a fake file service with any command that takes a file handle could be used to push a rop with ipctakeover.

Code demonstrates an example with am:net and a rop prepared for AM_GetCiaRequiredSpace, custom replying with pxi:am9 handle to us. Rop in this demonstration can also be ran on same command for am:u but needs to be fixed up by defining AM_U_TARGET on am_rop.h

AM sessions have more unpredictability of the stack positioning for the session thread, but AM has enough ROP gadgets to make a dynamic rop in the exchange for extra ROP size.

Required sysmodule versions

  • httpwn is fixed up for HTTP v14336 (introduced in 11.4)
  • nimhax is prepared for NIM v14341 (introduced in 11.8)
  • am11pwn is prepared for AM v10245 (introduced in 11.8)

Any version between since 11.8 until and including 11.14 (latest as of this writing) should be able to run it fine.

Credits

(Included credits from original ctr-httpwn)

Side note

This is a duplicate repository of ctr-httpwn because this did not start as a fork of it, this was initialized differently and also could not private fork the repository. This started as a private repository.