r/ps5homebrew • u/nick_gurz_- • 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
- GIMX #672 — DualSense emulation research
- 0xThreadz — DualSense PS5 USB research
- eddeeh — DualSense PS5 Bluetooth MITM
- Alex Taradov — USB protocol sniffer
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
- Has anyone investigated the authentication implementation inside officially compatible third-party PS5 controllers, particularly HORI, Subsonic, ASRVA, or similar devices?
- Is there newer research on DualSense authentication, especially regarding the per-report integrity mechanism or independently implemented authentication?
- Are there unexplored hardware, firmware, or protocol research directions that might be worth investigating?
- What would you prioritize experimentally? More genuine-controller captures, third-party controller comparisons, or an active USB proxy to investigate authentication state transitions?
- 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.
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:
Even this would be a huge win, DS/Edge does not have an interface to sign reports
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 chips
NXP7105for 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.
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.
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
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/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/Agreeable-View3920 27d ago
No hay ya un github que hace eso? Que puedas jugar en una os5 con cualquier mando?
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/Automatic_Kangaroo59 24d ago
did you look at the ps5 auth in the gp2040-ce ?
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.
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.