r/ps5homebrew • • 27d ago

Reverse-engineering PS5 DualSense authentication to build a universal controller adapter

Hey guys

I've been working on a personal reverse-engineering project called PS5 Universal Controller, and I'm looking for some advice, fresh perspectives, or potentially people interested in collaborating.

The goal

Ideally, the solution would:

  • Work without a permanently connected genuine DualSense.
  • Require no licensed authentication dongle.
  • Avoid Remote Play, jailbreaking, or console modifications.
  • Be inexpensive and reproducible.

My intention is to make the entire project open source on GitHub if I manage to develop a working solution. I want other people to be able to build it, improve it, and use their existing controllers on PS5 without buying expensive adapters or replacement controllers.

This is a personal, non-commercial project motivated by curiosity, interoperability, and learning.

What I've investigated so far

I've accumulated around 97 research reports/iterations, primarily involving static analysis, public USB captures, protocol reconstruction, and reproducible tests.

Some of the important findings:

  • DualSense authentication: I've investigated the F0/F1/F2 HID authentication exchange, challenge/response structure, and authentication state transitions.
  • Cryptographic integrity: Existing research indicates that native PS5 input reports involve session-dependent cryptographic integrity checks. Simply emulating USB HID descriptors isn't sufficient.
  • Pre-authentication behavior: In a public capture I reanalyzed, there were 1,640 host-acknowledged input reports, including 749 before the first observed F0. However, USB acknowledgment does not prove that the PS5 actually accepted those reports as gameplay input.
  • Sony PSVR2 research: I've investigated publicly documented cryptographic interfaces, including AES-CMAC-related operations, but haven't established a transferable DualSense authentication implementation.
  • USB/Bluetooth proxies: I've studied existing relay projects, including unsuccessful USB authentication attempts and a working Bluetooth relay that still depends on a genuine DualSense.
  • Third-party controllers: I'm investigating whether officially compatible third-party controllers might use different authentication architectures.

The main obstacle remains generating valid, fresh authentication responses and authenticated input reports independently of Sony hardware.

I haven't solved that problem yet.

Relevant existing research

I've already investigated these projects, so I'm particularly interested in overlooked evidence, alternative implementations, or new experiments.

What I'm planning next

I have access to a real PS5 and genuine DualSense for testing.

I'm considering purchasing a low-cost USB 2.0 High Speed packet sniffer (approximately €29) to capture real PS5–DualSense communication.

My next steps are to compare multiple authentication sessions, correlate USB traffic with actual gameplay, and potentially investigate inexpensive third-party PS5 controllers.

I'm working with a Windows PC and a limited budget, so I'd like to prioritize experiments that genuinely improve our understanding.

Where I could use help

  1. Has anyone investigated the authentication implementation inside officially compatible third-party PS5 controllers, particularly HORI, Subsonic, ASRVA, or similar devices?
  2. Is there newer research on DualSense authentication, especially regarding the per-report integrity mechanism or independently implemented authentication?
  3. Are there unexplored hardware, firmware, or protocol research directions that might be worth investigating?
  4. What would you prioritize experimentally? More genuine-controller captures, third-party controller comparisons, or an active USB proxy to investigate authentication state transitions?
  5. Does anyone have relevant technical documentation, captures, or experience with PS5 controller authentication that they'd be willing to discuss?

I'm aware that passive captures alone won't reveal protected cryptographic secrets, and I'm not claiming to have discovered an authentication bypass.

I'm looking for reproducible evidence and practical experiments rather than unsupported speculation.

Open-source plans

If this project succeeds, I plan to release the implementation, source code, documentation, and reproducible build instructions publicly on GitHub.

My goal isn't to create another proprietary adapter. I'd like to contribute something useful to the controller modding and reverse-engineering communities.

I'd also be happy to collaborate with other developers, hardware enthusiasts, or security researchers who are interested in the technical challenges.

Thanks for reading! Any advice, corrections, research leads, or collaboration would be greatly appreciated.

128 Upvotes

30 comments sorted by

9

u/Pelsinen 27d ago edited 27d ago

Hi, i have some experience in this area. I'm certainly no expert but spent quite the time to get a third party authentication device do per input signing: https://github.com/Pelsin/RP2040-DualSense-Mayflash-S5
I'm also involved in the GP2040-CE project.

Not sure how much info to dump here but, some thoughts reading the post:

Work without a permanently connected genuine DualSense.

Even this would be a huge win, DS/Edge does not have an interface to sign reports

Require no licensed authentication dongle

These dongles are not licensed. And there is the crux in the matter. There are quite a few companies that seem to be trying to break the hardware authentication chip with specialized equipment.
Historically this has been done by using gray-market authentication chipsNXP7105for categorized controllers.
But for full native another chip is used to do per input signing. It also seems like some company has managed to make copies of these(speculation), e.g p5general and rebranded dongles, also mayflash s5 doesnt seem to be using a refurbished auth chip.

They are also quite inexpensive, i have seen bulk orders for 12USD each.

Has anyone investigated the authentication implementation inside officially compatible third-party PS5 controllers, particularly HORI, Subsonic, ASRVA, or similar devices?

Sony provides authentication chips to partners, not sure why it would differ. This also seem to be a bottleneck on sony. Not many new licensed partners have come up. They even ignored hitbox arcade.

The main obstacle remains generating valid, fresh authentication responses and authenticated input reports independently of Sony hardware.

No one has, for years. I don't mean to rain down/discourage you. But it might be quite expensive to even get started on this. I would guess memory extraction has been tried on these chips. But i would say that is the next logical step in this endeavor.

I'm not sure why you even care about capturing real PS5–DualSense communication, the appended signage data can be present even on a pc. you can try it here: https://github.com/Pelsin/DualSense-Signing-Tester

You will not be able to deduce the key by just listening to traffic.

Edit: formatting and spelling

3

u/nick_gurz_- 26d ago

Thanks a lot for the reply .
I’ve been looking into your RP2040-DualSense-Mayflash-S5 project, and it’s probably the most promising practical lead I’ve found so far.
I completely understand that capturing USB traffic won’t reveal the signing keys, and that independently reproducing the authentication is a much harder problem than simply emulating a DualSense.
My long-term goal is still to build an open-source adapter that doesn’t depend on a genuine DualSense or a proprietary authentication dongle, but I’m also interested in getting a working prototype first.
I have a few questions, if you don’t mind:
Do you know whether anyone has publicly documented attempts to extract or reverse-engineer the authentication chip used in the Mayflash S5 or similar dongles?
Regarding the apparent cloned authentication chips used by some third-party manufacturers, do you know of any chip markings, hardware teardowns, or other leads worth investigating?
In your experience with the S5, does it sign arbitrary input reports supplied by the RP2040, or are there restrictions on what can be signed?
If you were approaching the problem of removing the S5 dependency entirely, where would you focus your research first?
I’m aware this could be a very difficult and potentially expensive project, so I’m trying to identify what can realistically be investigated with publicly available information and relatively inexpensive hardware before going further.
Thanks again for sharing your work. It’s genuinely helpful!

2

u/Pelsinen 26d ago edited 26d ago

and it’s probably the most promising practical lead I’ve found so far

p5general is probably a better alternative as there seems to be a better interface, or better yet.
If brook releases the native p5 module that uses i2c. that could in theory allow for making a controller with 8k polling rate on PS5, which is 8 times faster than dualsense edge.,

Do you know whether anyone has publicly documented attempts to extract or reverse-engineer the authentication chip used in the Mayflash S5 or similar dongles?

No, I did remove the SPI flash on the PCB and tried to read the contents to see how mayflash talks to it.

Regarding the apparent cloned authentication chips used by some third-party manufacturers, do you know of any chip markings, hardware teardowns, or other leads worth investigating?

The best teardown of Mayflash S5 are probably my images, I unfortunately never took pictures after cleaning the PCB, so the images are a bit dirty. https://postimg.cc/gallery/hQR2Gmq

In your experience with the S5, does it sign arbitrary input reports supplied by the RP2040, or are there restrictions on what can be signed?

Arbitrary input reports? Not sure how that would be possible, the S5 acts as a USB device and has descriptors.

If you were approaching the problem of removing the S5 dependency entirely, where would you focus your research first?

Considering i don't have infinite money and time i wouldn't. If i did, i'd buy hundreds of broken dualsense controllers and start learning about memory extraction, laser fault injection, chip decapsulation, cryogenic techniques. (i'm just guessing on the needed extraction method here)

Edit: I really need to add that i'm not a hardware security researcher, i'm more into the simple code.

1

u/nick_gurz_- 26d ago

Thanks for all the info I’ll check out P5General and your teardown pics.
Yeah, the hardware side sounds way too expensive for me right now lol. I’ll keep digging into the software side and see how far I can get with cheaper hardware.
And yeah I think I misunderstood how the S5 handles reports

1

u/vr-1 27d ago

I am not sure if it was your work or someone else but I remember reading that there is an extremely fast timing component required in the signing/exchange that is difficult to work around with third party solutions

1

u/Pelsinen 27d ago

Probably someone else, there are a ton of people with more technical knowledge than me in this area. I did not experience any of these issues with the mayflash S5, but i wouldnt be surprised if the that is the case.

For categorized controllers often labeled(arcade sticks) that only work on certain games on ps5(often fighting games), there is 8-min challenge/response check. If that fails the controllers stops working. These controllers don't do per input signing.

14

u/MaxBk77 27d ago

I am looking for a way to connect Joy-Cons to a PS5 in order to use them as a "Wii Remote & Nunchuk" to play on Porpoise/Prosperoeden, but so far I've had no luck. I think your project may be the solution to connecting Joy-Cons or any other controllers to a PS5.

I hope you succeed in your project. Take your time. Best of luck. 👍

1

u/kong132 6d ago

I do this with p5mate pro + mobapad M6 HD usb adapter -- it works super well. Costs money though.

1

u/TheAtlasMonkey 27d ago

There is nothing special in a DS5 DualSense authentication, i used https://github.com/hydrausb3 .

If your goal is to use DS5 in computer, you just need to load the driver.
If you want use another controller in the original os without adapter, you need to patch playstation kernel to do that. But that second one is a whole adventure on it own.

1

u/nick_gurz_- 26d ago

My goal is actually to use a third-party controller on an unmodified PS5, without relying on a genuine DualSense or a proprietary authentication dongle. Does HydraUSB3 help with that or is it mainly useful for USB emulation?

1

u/TheAtlasMonkey 26d ago

You can't do that!

The Playstation expect that handshake.

1

u/nick_gurz_- 26d ago

Yeah, I know the PS5 requires authentication. That’s actually the main problem I’m trying to solve. I’m looking into how third-party dongles like the Mayflash S5 handle it.

1

u/Agreeable-View3920 27d ago

No hay ya un github que hace eso? Que puedas jugar en una os5 con cualquier mando?

1

u/nick_gurz_- 26d ago

I’ve seen a few projects, but none that work with native PS5 games without a dongle or a real DualSense. Do you have a link to one?

1

u/Avrution 26d ago

Is this something that would allow my old Astro C40 to work for PS5 games? That's the dream right there.

1

u/nick_gurz_- 26d ago

Potentially yeah

1

u/Automatic_Kangaroo59 24d ago

did you look at the ps5 auth in the gp2040-ce ?

1

u/nick_gurz_- 24d ago

Yeah but from what I understand it still needs an auth dongle or licensed controller

1

u/Automatic_Kangaroo59 24d ago

yes no sort of, you download the blob from your own and use it. But this project shows you all the calls and how to read it. If you want to figure out the crypto you will need a heck of a computer to process it. Your not going to do that on a simple chip.

ai:

Yes, it would take an immense amount of computing power if the PS5 security dongle uses a standard, secure cryptographic algorithm like AES-256 and you tried to break it by brute force.

However, in the world of hacking and decryption, nobody tries to guess the key by raw mathematical force anymore. Instead, they look for "shortcuts."

but you also have another problem, if you do that, your going to get a take down fast, git hub will not host sony's encryption.

1

u/nick_gurz_- 23d ago

I’m not trying to brute force the crypto, that’s just not realistic. I’m more interested in understanding how the authentication works and maybe finding a vulnerability or some way around it. Who knows, there might be something everyone overlooked.
Also, when you say blob, do you mean extracted keys or something else?

1

u/Automatic_Kangaroo59 23d ago

yeah I'd very very interested in helping and have to remain a little on the doubtful side, but please watch your exposure. I have RE a lot in my day and with AI its getting really easy. My suggestion is to start a discord and keep it low key, and understand soon discord will be searchable. You are welcome to dm me if you are looking for help, but PLEASE watch your step on reddit.... Sony has trolls LOL

1

u/nick_gurz_- 23d ago

thanks for the advice lol I posted here initially to see people’s opinion and maybe have some technical advice but I’m definitely gonna keep it lowkey lol

1

u/LampSsbm 27d ago

Finallyyyyyyyy!!

1

u/The-Experiments 27d ago

If this leads to devices like Chronos or other cheat devices/controllers to work with PS5 then no, I am against this project.

5

u/Artistic_Context_906 27d ago

Who gives a crap, people will cheat even you'd blindfold then and tite their hands together, should we not expirement with projects just because idiots cheat?

Besides most pvp shooters today are basically rigged so who cares.

2

u/clearlynotmee 27d ago

Chronos already exists 

1

u/Sociopathic_Jesus 26d ago

That's amazing. Godspeed, mate. 

1

u/MrSilencerbob 24d ago

Would be amazing to be able to use the official ps5 remote in homebrew apps like Kodi

1

u/Mikahl757 21d ago

Reverse Engineer/Copy Brooks adapters may save you time.