Log inSign up
Aleksei Kulaev
566 posts
user avatar
Aleksei Kulaev
@flat_z
Console hacker, former Kaspersky Team Lead of Exploits & Network Threat Detection, security researcher. For tips (thx!): ko-fi.com/flatz
Joined December 2008
1,221
Following
12.5K
Followers

New to X?

Sign up now to get your own personalized timeline!

Create account

By signing up, you agree to the Terms of Service and Privacy Policy, including Cookie Use.

Terms·Privacy·Cookies·Accessibility·Ads Info·© 2026 X Corp.
Don't miss what's happening
People on X are the first to know.
Log inSign up
  • user avatar
    Aleksei Kulaev
    @flat_z
    Jul 27, 2023
    finally... hello, PS5 PSP :)
    Image
    354K
  • user avatar
    Aleksei Kulaev
    @flat_z
    Dec 18, 2021
    so, PS4 Crypto Coprocessor (CCP) interface in secure kernel had a bug that allowed us to dump (or better saying, bruteforce) key slots from SAMU, that's how AES/HMAC keys from PFS, portability keys, VTRM keys, etc could be retrieved on unpatched firmware:
    Image
    ccp_crypto_bug.c
    From gist.github.com
  • user avatar
    Aleksei Kulaev
    @flat_z
    Oct 9, 2024
    There are a few ways on PS5 to defeat HV. One of methods that I've found was related to APIC: struct apic_ops is located in RW segment of kernel data. With KRW you can overwrite a function pointer inside it like xapic_mode and get into ROP, for example (just need to bypass CFI).
    72K
  • user avatar
    Aleksei Kulaev
    @flat_z
    Sep 3, 2023
    ✓ PS5 CP Box EMC and EAP cores pwned ✓ EAP encryption/signing keys obtained (yay, CFW) P. S. Added CP UARTs pins on wiki
    107K
  • user avatar
    Aleksei Kulaev
    @flat_z
    Feb 28, 2024
    I've just dumped AMD PSP ROM from 4800s Desktop Kit which shares the same APU as used in Xbox Series X (Arden, Sparkman). Now it's a time to explore. :)
    Image
    56K
  • user avatar
    Aleksei Kulaev
    @flat_z
    Sep 14, 2024
    Well, this is PS5's umtx exploit for BD-J (a part related to the exploit actually):
    Image
    KernelExploitGraal.java
    From gist.github.com
    84K
  • user avatar
    Aleksei Kulaev
    @flat_z
    Sep 23, 2021
    Just dropped my project I've worked on for several years: github.com/flatz/pkg_pfs_… it's PS4 PKG/PFS unpacker, that can build GP4, generate all keys, etc
    Image
    GitHub - flatz/pkg_pfs_tool: PKG/PFS unpacker for PS4
    From github.com
  • user avatar
    Aleksei Kulaev
    @flat_z
    May 27, 2022
    IDA's PS5 elf loader plugin:
    github.com
    GitHub - flatz/ida_ps5_elf_plugin: PS5 elf loader for IDA 7.5
    PS5 elf loader for IDA 7.5. Contribute to flatz/ida_ps5_elf_plugin development by creating an account on GitHub.
  • user avatar
    Aleksei Kulaev
    @flat_z
    Oct 22, 2018
    remote package installer for ps4 (no need to use usb/external hdd anymore):
    Image
    Instructions for Remote Package Installer
    From gist.github.com
  • user avatar
    Aleksei Kulaev
    @flat_z
    Oct 7, 2018
    finally managed to get C# code working on PS4 (using JIT, non AOT) :) before this I've fixed OpenGL code that @Zer0xFF started, so it works too.. now I think that with C# and OpenGL it will be possible to create system apps that use native PS4 UI and their .net libraries as well
  • user avatar
    Aleksei Kulaev
    @flat_z
    Sep 14, 2024
    PS5's umtx exploit for Lua?
    Image
    graal.lua
    From gist.github.com
    85K
  • user avatar
    Aleksei Kulaev
    @flat_z
    Jan 6, 2018
    okay, a write-up describing a method to handle fselfs/pkgs is live now: bit.ly/2EfEU9d now devs are needed to make it usable for regular users :)
  • user avatar
    Aleksei Kulaev
    @flat_z
    Oct 9, 2024
    Replying to @flat_z
    By the way, it's not the method that has been patched in 5.00. Actually I'm not even sure if has been patched at all, needs testing for which I don't have spare time now. Maybe someone can do it.
    32K
  • user avatar
    Aleksei Kulaev
    @flat_z
    Jul 18, 2020
    two scripts i've made some time ago to downgrade ps4 elf/sfo to lower fw: pastebin.com/Jy2NNvhq pastebin.com/iGbHw5YX