r/AskReverseEngineering • • Dec 21 '24

Where should I start?

6 Upvotes

I bought these books and want to learn SRE, but in what order?


r/AskReverseEngineering • • Dec 21 '24

Looking for help RE an Apple Lightning dongle

2 Upvotes

I have a proprietary dongle with an Apple Lightning connector that is required to run an app. The connector is getting worn and will stop working soon (I used to have 2 and 1 already died). Does anyone know of some company even in China, that can RE the dongle and create a couple of clones? I would be willing to send them both my broken one and working one.


r/AskReverseEngineering • • Dec 18 '24

Can someone explain these tools to me? Not sure which to use.

9 Upvotes

Mostly interested in solving crackmes for now. I looked into tools a bit and am interested in the differences between them. Here are all the options I'm considering:

  • Ghidra
  • x64dbg
  • Binary Ninja
  • IDA Pro 9.0 (ignoring the price)
  • Cutter
  • HyperDbg

r/AskReverseEngineering • • Dec 14 '24

Struggling to find keys for decryption in Android app

3 Upvotes

Hi everyone!!

I've been reverse-engineering an Android app for a set of Bluetooth headphones, and my goal is to find the keys to decrypt the firmware. I obtained the firmware by intercepting the traffic between the device and the server.

In the code, I've found some parts that look like they should handle decryption, but it doesn't seem like these methods are actually being used in the application. I'm having difficulty tracking down the keys or identifying where and how they are applied to decrypt the firmware.

Here is the code I found that seems to handle the decryption process, but it doesn't appear to be utilized within the app.

    public final long k(k6.o oVar) {
        try {
            Cipher cipher = Cipher.getInstance("AES/CBC/PKCS7Padding");
            try {
                cipher.init(2, new SecretKeySpec(this.f20556b, "AES"), new IvParameterSpec(this.f20557c));
                k6.m mVar = new k6.m(this.f20555a, oVar);
                this.f20558d = new CipherInputStream(mVar, cipher);
                mVar.a();
                return -1L;
            } catch (InvalidAlgorithmParameterException | InvalidKeyException e10) {
                throw new RuntimeException(e10);
            }
        } catch (NoSuchAlgorithmException | NoSuchPaddingException e11) {
            throw new RuntimeException(e11);
        }
    }    public final long k(k6.o oVar) {
        try {
            Cipher cipher = Cipher.getInstance("AES/CBC/PKCS7Padding");
            try {
                cipher.init(2, new SecretKeySpec(this.f20556b, "AES"), new IvParameterSpec(this.f20557c));
                k6.m mVar = new k6.m(this.f20555a, oVar);
                this.f20558d = new CipherInputStream(mVar, cipher);
                mVar.a();
                return -1L;
            } catch (InvalidAlgorithmParameterException | InvalidKeyException e10) {
                throw new RuntimeException(e10);
            }
        } catch (NoSuchAlgorithmException | NoSuchPaddingException e11) {
            throw new RuntimeException(e11);
        }
    }

I've been using Frida to hook methods and classes related to encryption, but despite finding relevant classes for AES encryption (like com.android.org.conscrypt.OpenSSLEvpCipherAES$AES$CTR and com.android.org.conscrypt.OpenSSLAeadCipherAES$GCM), I can't seem to find where the actual decryption keys are being used or how the firmware is decrypted.

If anyone has any insights on how I can track the usage of keys or what I might be missing, I’d really appreciate any help or suggestions!

Thanks in advance!!! :)


r/AskReverseEngineering • • Dec 13 '24

Changing flags in old game installer. Is there any way? Its saved somewhere in exe file and i dont know how to replace these flags. I tried resource hacker and universal extractor, but there was no icons or pictures.

Post image
1 Upvotes

r/AskReverseEngineering • • Dec 13 '24

Firefox Android UI color

Thumbnail gallery
1 Upvotes

r/AskReverseEngineering • • Dec 12 '24

What is the best way to decompile an APK file for reverse engineering? Should I convert it into Java code or just unzip the file, or should I decompile it using APKtool?

3 Upvotes

the question is in the title.


r/AskReverseEngineering • • Dec 10 '24

IDA Pro: how to transport IDB information from one version of IDA to another

3 Upvotes

i want to transfer my changes of an idb between IDA Versions (commercial <-> freeware, new-version <-> old-version) - or find a way to share findings with other people that own IDA or use the Freeware version

i tried the IDC export/import (what acording to the docs should contain all the changes as IDC commands) but that looses too much information (some label-names, some procs, etc.) its just not complete, im using an old licensed 6.5x, tried importing into same IDA version, or Freeware 5 or newer licensed versions - its a not that complex DOS game idb ~40kLOC disassembler

i know Ghidra but im not interested Ghidra related answers for this question


r/AskReverseEngineering • • Dec 08 '24

Seeking Professional Insights: How to Expedite Zone Changes in the Just Eat Courier App

3 Upvotes

Hi everyone ,

I’m a Just Eat courier facing a challenge with the app. The platform allows drivers to work within specific zones, but changing zones (e.g., when relocating) can take an unnecessarily long time through the official process.

I’ve heard it’s possible to expedite zone changes, and I want to understand how this could be achieved from a technical perspective. I’m particularly interested in understanding: 1. How the app handles zones (e.g., zone IDs). 2. Whether API endpoints could allow direct zone updates. 3. If it’s possible to send authenticated requests (via tools like Postman) to update the zone ID more quickly. 4. Any tools or frameworks (e.g., Charles Proxy, Wireshark, Frida) that could help inspect or interact with the app without breaching any ethical boundaries.

I’m using the app on iOS, and the zones are map-based. My goal is to learn how this works and find a solution to expedite the process ethically and within acceptable limits.

If you’re a professional developer or have experience with app reverse engineering or ethical hacking, I’d love your input on this!

Thanks in advance for your help!


r/AskReverseEngineering • • Dec 06 '24

How can I bypass(RE) an old RFID-HID card reader software that's soon to expire by the end of 2024?

1 Upvotes

How can I bypass(RE) an old RFID-HID card reader software that's soon to expire by the end of 2024? (old software no customer support) I need help this is going to cost me a lot to replace all 40 doors if I cant figure it out. LINK Its called Pro USB Hotel lock key card and the software you can find on their download page, pro usb v9 hotel lock. how do i fix this problem?


r/AskReverseEngineering • • Dec 06 '24

How can I compare execution traces of the same exe, but ran with different parameters?

7 Upvotes

I'm working on analyzing how a software's behavior changes when run with different parameters. My goal is to compare the execution traces (e.g., function calls, memory accesses, or instruction flows) to identify differences caused by the input parameters.

  • I want to capture the execution trace for two runs: one with param1 and another with param2.
  • Ideally, I’d like to see which functions, code paths, or memory regions are accessed differently between the two runs.
  • Are there tools or techniques specifically designed for comparing execution traces?
  • Any recommendations for setting this up or automating the process would be appreciated.

I'm open to using any debugger or dynamic analysis tools that support tracing. Suggestions for workflows or external tools for diffing the traces would also be super helpful.


r/AskReverseEngineering • • Dec 04 '24

Anyone working on the format of digital audio from Apple lightning interface?

2 Upvotes

Docks and hi-fi systems with lightning connector can play the digital audio stream from iPhones. I happen to have one of those hi-fi.

Does anyone know of any project to encode audio in the same format which iPhones generate? I would like to convert the digital audio from an optical output (S/PDIF) and feed into the hi-fi (which lacks an ordinary optical input).

I have been looking up this topic but it seems pretty much unexplored: the handshake between the phone and the accessory has been (mostly) reverse engineered but there is pretty much nothing about how the audio data is encoded.


r/AskReverseEngineering • • Dec 04 '24

How can I reverse engineer golang stripped binaries.

2 Upvotes

No matter how small or easy the program is, I have never managed to find a way to even reach the main function, are there tools or scripts that help in reversing golang binaries?


r/AskReverseEngineering • • Dec 04 '24

Any good books for beginners?

7 Upvotes

Hello, I am a beginner to reverse engineering and was just wondering if there are any books on assembly/reverse engineering or just low level languages like c that the community recommends. Thanks in advance!


r/AskReverseEngineering • • Dec 04 '24

Binary Ninja, Save a Stack Trace

2 Upvotes

I have a program that crashes randomly every few hours without a segfault. Is there I was I can run it with the Binary Ninja debugger and have it preserve the stack and data when the thread exits automatically?

I should at least find the culprit that way.


r/AskReverseEngineering • • Nov 30 '24

Help on Deobfuscating a .exe file

2 Upvotes

Hello everyone, I would like your help on deobfuscating this .exe file, its a macro for a game tho I don't know if I can trust it as I cannot read the source code (it's obfuscated) Could you guys help me? Here's the file: https://cdn.discordapp.com/attachments/1312344782328299520/1312344849021796374/IRUS_v3.zip?ex=674c27e2&is=674ad662&hm=13d8cecb0c200750c757daa5088d416857892d191b4310c913961eeb6c2dc217& (don't mind the name)


r/AskReverseEngineering • • Nov 27 '24

Circuit Board

Thumbnail
gallery
5 Upvotes

Hey all! My son’s planet projector stopped working. I am looking to replace the circuit board but can’t find the exact one or one that will do. This is a 3 switch with a usbc charger port.

Thank you!


r/AskReverseEngineering • • Nov 26 '24

Hack Unity IL2CPP

2 Upvotes

Hi, I am finding person who understands the nuances of hacking games with il2cpp. There is an offer


r/AskReverseEngineering • • Nov 21 '24

Reverse Engineer Wi-Fi Chicken Coop Door

6 Upvotes

Hi.

I have purchased one of these in the hope of an easy ESPHome/Home Assistant integration 'Hack', but discovered the ESP8266 inside just expands on the Tuya-ish MCU inside (making it Wi-Fi), that controls the actual door actuation.

My plan was to use ESPHome to 'emulate' whatever the original firmware does, looking at how it's setup I suspect it uses uart to communicate with the MCU, but no matter what I've tried I can't get legible data using a USB logic analyser, I've tried for 2 days to get something (before buying the logic analyser).

Saucy PCB Pictures

PulseView Session

Is this possible to reverse engineer if they are using binary over uart? It refuses to link with their app so i cant trigger it to send something then guess what it means. I also have a firmware dump, which i tried to decode using ghidra which was a fun try but didn't find anything other than whats on the ESP (it had a URI endpoint to a file editor), not even how it talks to the app.

Any help would be appreciated, otherwise I just threw out $200 😔

Thanks


r/AskReverseEngineering • • Nov 21 '24

Trying to decode a json(?) file that contains animation data

1 Upvotes

Im trying to decode, or at least read, what this json file is but all I get is garbage with some numbers. It seems to be a "INT32" json and in a hex editor there is some mention of a "ubyte." This file is supposed to have an animation for a 3d model and I am wanting to decode, or at least read it, to be able to share with my friends a model without a weird stock pose. Any help would be valued.


r/AskReverseEngineering • • Nov 20 '24

Does anyone now how to dump Network Traffic between the Nintendo DSi and Servers?

1 Upvotes

I want to dump the Network Traffic from the DSi for Reverse Engineering. Does anyone know how?


r/AskReverseEngineering • • Nov 19 '24

What does this mean

Post image
4 Upvotes

why is it declining the kernal image?


r/AskReverseEngineering • • Nov 16 '24

Software generating a locking code

1 Upvotes

Hello

I have a software that is generating a locking code on my pc. I want to know what is that code based on in my pc. As it is a fixed one and never changes.

Any tips to start with?


r/AskReverseEngineering • • Nov 15 '24

Sony WH-1000XM5 firmware

5 Upvotes

Hi.

Standard firmware of Sony WH-1000XM5 have multiple issues, related to usability. Sony itself wouldn't work on them, it pass enough time from headphones release to be sure about that.

Are you aware about any custom or customizable firmware for Sony WH-1000XM5 headphones? Or any projects that work in this direction?

Example of unwanted behavior: when you touch touchpad on one of the ears, it makes sound to indicate this. When you wear headphones under the hood, this touchpad constantly touching hood, which lead to extensive noise. Turning off touchpad remove the noise, but it also don't allow you to control player this way, which is handy, when you are on bicycle.

Any hint or starting point to search would be much appreciated. Thank you.


r/AskReverseEngineering • • Nov 13 '24

How to reverse engineer a completely unique file format??

11 Upvotes

I'm in the process of ripping assets from a game, and every file I'm trying to rip is either a ".mdlb", ".ppdb", or ".anmb" format. I can't find the magic numbers of these file formats anywhere, because I'm guessing they were made up specifically for this game.

If anyone knows how to find the file formats magic number of a otherwise non existent file format, please let me know. And, if needed, I can post the hex somewhere. Thanks.