@Rairii@haqueers.com
@Rairii@haqueers.com avatar

Rairii

@Rairii@haqueers.com

Reversing (malware and otherwise); appsec and websec; embedded security; exploit dev; software preservationist; knows how not to use cryptography.

Currently finding bugs in Windows bootloaders.

You may also know me from capcom.sys.

#nobot

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Rairii, to random
@Rairii@haqueers.com avatar

current status: usbv5 working on real hardware now

the remaining bug was that I typo'd a USB-related constant and somehow dolphin just wasn't hitting that codepath or whatever

Rairii, to random
@Rairii@haqueers.com avatar

...i figured out the issue

and it's of course another memory quirk that isn't emulated by dolphin

any 8-bit or 16-bit uncached write to DDR just gets dropped

Rairii, to random
@Rairii@haqueers.com avatar

keyboard (/dev/usb/kbd) works

(pretty sure the usbv5 driver doesn't yet, but i can deal with that later)

Rairii, to random
@Rairii@haqueers.com avatar

got usbv5 working too :)

i guess i should implement usb mass storage support too then

Rairii, to random
@Rairii@haqueers.com avatar

current status: unsure if what i'm hitting is a bug in MY code or a dolphin jit bug lol

Rairii, to random
@Rairii@haqueers.com avatar

and here's my proof of concept targeting Mario Party: Island Tour with an incomplete payload ( based on 3ds_smashbroshax, thanks @ylws8 ) https://github.com/Wack0/pialeasenerf-PoC

this provides an example of exploiting a download play child, and a reimplementation of the high-level 3DS download play protocol.

Rairii, to random
@Rairii@haqueers.com avatar

from a twitter post: "Nintendo confirmed after all this there would be no more updates, security or otherwise, to any Wii U or 3DS software, firmware, or hardware, or services."

in that case, I'll be publicly documenting the piav2.x-3.x bug in full very soon (not at home right now). :)

Rairii, to random
@Rairii@haqueers.com avatar

so I looked at this thing for a bit https://archive.org/details/big-wig-software-locker-sony-oem-s001-2000

the crypto looks custom, but the keys look hardcoded lol

Rairii, to random
@Rairii@haqueers.com avatar

constantly amazed that MS still signs drivers that hide their own binaries on disk like a fifteen year old rootkit

(everyone hates EA, nobody's surprised that they wrote a rootkit... right?)

Rairii, to random
@Rairii@haqueers.com avatar

"apple is implementing rcs"

they still use cvs?!

Rairii, to random
@Rairii@haqueers.com avatar

copilot in windows 10 isn't real, copilot in windows 10...

"Coming soon – we will be introducing Copilot in Windows (in preview) for devices running Windows 10, version 22H2 Home and Pro editions. The Copilot in Windows button will appear on the right side of the taskbar. When you select it, Copilot in Windows appears at the right on your screen. It will not overlap with desktop content or block open app windows."

https://blogs.windows.com/windows-insider/2023/11/16/releasing-windows-10-build-19045-3754-to-release-preview-channel/

Rairii, to random
@Rairii@haqueers.com avatar

sixteen whole frames to render text setup!

video/mp4

Rairii, to random
@Rairii@haqueers.com avatar

wait a minute, there's something odd about this CD (don't check the alt text unless you want the answer)

(the other CDs - OS only, SDK, DDK - don't have the same "oddness" to them. just this one.)

Rairii, to random
@Rairii@haqueers.com avatar

"some popular games might not work correctly"

MS: just WONTFIX and blocklist all these ring0 rootkits already

Rairii, to random
@Rairii@haqueers.com avatar

awoo~

I decided to use the EFB as a proper RGB framebuffer; then set GPU registers to do a copy to XFB on every frame if the GPU isn't already busy.

Rairii, to random
@Rairii@haqueers.com avatar

USETUP RUNS

I REPEAT: USETUP RUNS

this is STATUS_OBJECT_NAME_NOT_FOUND trying to open \Device\Video0

Rairii, to random
@Rairii@haqueers.com avatar

oh boy, start wandows ngrmadly moment

Rairii, to random
@Rairii@haqueers.com avatar

...why did i bother checking pointers against the usermode cutoff point inside the emulator (coming from usermode) anyway

the segment registers to map the kernelmode addresses aren't set inside the emulator when coming from usermode!

and ntdll tries to read a string at 0xffffe030, probably KUSER_SHARED_DATA

Rairii, to random
@Rairii@haqueers.com avatar

and a single usermode instruction has successfully executed!

Rairii, to random
@Rairii@haqueers.com avatar

getting closer

KMODE_EXCEPTION_NOT_HANDLED trying to swap instruction endianness because I misplaced the ZwProtectVirtualMemory calls for setting the PE sections readwrite

Rairii, to random
@Rairii@haqueers.com avatar

hmm, PROCESS1_INITIALIZATION_FAILED(STATUS_INVALID_IMAGE_FORMAT)

looks like my hooks are doing SOMETHING but incorrectly!

Rairii, to random
@Rairii@haqueers.com avatar

get a small windows plushie, call it microsoft

Rairii, to random
@Rairii@haqueers.com avatar

current status: fighting calling conventions

Rairii, to random
@Rairii@haqueers.com avatar

the naming of "windows subsystem for linux" had precedence

This file provides important information about the Windows NT Add-On Subsystem for Presentation Manager, version 4.0 (hereinafter called the "PM Subsystem").

Rairii, to random
@Rairii@haqueers.com avatar

so, hooking the PE loader in NT

I might be able to get away with just hooking MmCreateSection and IoPageRead?

MmCreateSection so I can set up the structures only for image sections (I don't want to rely on kernel structure layouts here)

IoPageRead to be able to modify the PE header on load, and to deal with the "initial read" of the added PE section that doesn't actually exist on disk

after calling original MmCreateSection I can use MmMapViewInSystemSpace/MmUnmapViewInSystemSpace

so I shouldn't even need to hook MmMapViewOfSection afaict

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • megavids
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • provamag3
  • tester
  • Leos
  • JUstTest
  • All magazines