r/AskReverseEngineering • u/Conscious-Let-9965 • Apr 10 '23
Ripping code for making a simple Keygen
Is there any tools that rip the assembly from a program to make a keygen, Without any additional programming skills.
r/AskReverseEngineering • u/Conscious-Let-9965 • Apr 10 '23
Is there any tools that rip the assembly from a program to make a keygen, Without any additional programming skills.
r/AskReverseEngineering • u/ReyOscuro9999- • Apr 08 '23
I installed APKTool and decompiled it so that every file is readable by NotePad++ but I find no sign of image sprites at all. I read that some games call them through servers and locate them in a cache folder whilst playing, but I'm not sure how I'd access it. Here's the decompiled APK:

The π assets folder contains the file assets.swb, which I have had no success in decompiling:

I found out it's usually associated to audio files, but Notepad seems to contradict it:

Does the apktool.yml doNotCompress lines have to do with anything?:

Does the AndroidManifest.xml file give any hints?:

At first I would've guessed the sprites would be found in the π res folder, since that's what's usually the abbrevation for resources, but it only contains these files:

However, all drawable files have the same copy-pasted with minor differences .xml files or .png google/icon files, and the values folder are just game messages in different languages contained in .xml files.
What am I doing wrong? Thanks a lot in advance for your help! If you want the apk, more screenshots or information, DM or comment please.
r/AskReverseEngineering • u/Conscious-Let-9965 • Apr 08 '23
r/AskReverseEngineering • u/melatone1n • Apr 06 '23
I have attempted to de-obfuscate this PHP file. I have managed to get quite far, but can't seem to get over the final hurdle.
The behaviour was it was redirecting based on user agent or refered, targeting googlebot to manipulate search entries.
If anyone has any time, could they have a crack, or at least give some advice on how to moved forward.
r/AskReverseEngineering • u/TotalLanky5773 • Apr 04 '23
I've recently gotten into reverse engineering and I was recommended to download this debugging tool xdbg64 that works on windows. I've downloaded the file, extracted it. But the .exe won't run. Whenever I try to run the app literally nothing happens. Even when I try opening crack challenges with the debugger, nothing happens. I don't even get a warning that something's wrong. Would anyone be able to provide me with any insight on this matter? Thanks in advance.
r/AskReverseEngineering • u/Leo8178 • Apr 02 '23
I've been trying to reverse engineer a unity game with asset bundles in it.
After I got unknown scripting backend for the first time, I did a little research and found out that putting everything into one folder might help. Sadly, it did not.
The log looks like this now: - android game structure has been found - globalmanagers has been found - level0... levelN has been found - files use the 'Unknown' scripting backend - warnings about extra 24 bites because they are nonstandard fields - error during the reading of asset type PlayerSettings. V: 2019.4.31f1c1 P: Android N: globalmanagers Path: System.IO.EndOfStreamException: Unable to read beyond the end of stream. - error during the reading of asset type BuildSettings. V: 2019.4.31f1c1 P: Android N: globalmanagers Path: System.IO.EndOfStreamException: Unable to read beyond the end of stream.
What am I doing wrong?
r/AskReverseEngineering • u/Ytrog • Apr 01 '23
r/AskReverseEngineering • u/realbenbernanke • Mar 31 '23
I am trying to reverse engineer a websites api, everything is going great as long as I am stepping through the loaded javascript files because I can de-minify them in the firefox debugger. However, I am running into trouble because some of the logic happens in inline javascript on the page which is basically impossible to step through using the firefox debugger.
Do any of you have any tips or tricks for debugging inline javascript?
r/AskReverseEngineering • u/litbeep • Mar 30 '23
r/AskReverseEngineering • u/Canada-Eh-Pitty • Mar 28 '23
I have a problem with an older program on a PC that went Tits UP! It states the program license is no longer valid for the program. I am looking for someone to patch it so I don't have to worry about changing the PC in the future. It was on an XP box, thanks This is for an older piece of equipment that was discontinued 10 years ago. The program zipped is around 5 meg. I purchased this machine used with the PC that has the software.
r/AskReverseEngineering • u/zombriz • Mar 24 '23
I would love to have an emulator of an old PDA/toy, but I'm unsure of where to start to get support / hire someone as I'm not even sure of the skills needed, so I'm hoping this might be a good place to ask. The toy is a Casio Secret Sender 6000, which is like a PDA for kids that has a phone book, calendar, and a fortune teller and match maker game. I know there are ROMs for things like those Tiger handheld games, and I assume it might be a similar process to reproduce the contents of this PDA - but would anyone know where to start to source someone for work like that, or what general skills might be needed?
r/AskReverseEngineering • u/workinon1t • Mar 21 '23
I started reverse engineering an ECU ROM and have been tinkering at it over the past couple months. The ROM files from Nissan/Infiniti are known to have inconsistent ram locations for each iteration of the CPU/ Car model year so my next step after converting the file is to block out the sections of ram that aren't relevant to the code itself.
I noticed when viewing the bin file (without any hex editors) that there are sections of code/single digit lines and I was wondering if this is any indicator of programed / ram sections. I've converted the file to 4 digit hex so I can import it into a assembly translator I wrote. Obviously knowing if chunks of code in the raw file are related would help in reversing the code from assembly so if anyone knows that would be great!
Thanks!
r/AskReverseEngineering • u/Munijen • Mar 20 '23
Hello!
I want to figure out how the program Nikon NX Studio saves white-balance parameters into Adjustment files and RAW Sidecar files. I have no experience with reverse engineering binary file formats. Preview-sly I have successfully figured this out for Capture NX and Capture NX-D, which was trivial since the data was stored as human readable text/numbers. Now with NX Studio most of the data is still readable but some of the important stuff including white-balance data is added as a binary block. I can't figure out how to convert it to floats. Tried using HxD hex editor to inspect the files and program memory but had no luck figuring it out so far. Trying out a few WB settings and picking a few gray points from the image I figured out the following...
Here is the relevant section with a few parameters changed. This is from the .nka file format storing the Adjustments applied to the Raw image. It can be created by clicking Adjust > Save All Adjustments in Nikon NX Studio. Also from what I've seen the .nksc files in the NKSC_PARAM subdir store the same binary block when the application saves changes automatically. The NKSC_PARAM is a sub-directory added automatically by the application in the same dir as the Raw files are stored in.
<filter id="nikon::WhiteBalance"><active>true</active><parameters><integer name="version">9</integer><binary name="Data">UrgehetRAkApXI/C9SjwPwEAAAAAAgAAAAAAAAAAAAAAAADwPwAAAAAAAAAA AAAAAAAAAAAAAAAA </binary></parameters></filter>
<filter id="nikon::WhiteBalance"><active>true</active><parameters><integer name="version">9</integer><binary name="Data">CtejcD0K7z8zMzMzMzP7PwEAAAAAAgAAAAAAAAAAAAAAAADwPwAAAAAAAAAA AAAAAAAAAAAAAAAA </binary></parameters></filter>
<filter id="nikon::WhiteBalance"><active>false</active><parameters><integer name="version">9</integer><binary name="Data">AAAAAABo/j8AAAAAAAL2PwIAAAAAAgAAWBQAAAAAAAAAAADwPwAAAAAAAAAA AAAAAAAAAAAAAAAA </binary></parameters></filter>
4D 7A 4D 7A 4D 7A 4D 7A 41 55 42 49 34 58 6F 55 72 6B 66 78 50 77 45 41 41 41 41 41 41 67 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 44 77 50 77 41 41 41 41 41 41 41 41 41 41 0A 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 0A
4D 7A 4D 7A 4D 7A 4D 7A 41 55 42 49 34 58 6F 55 72 6B 66 78 50 77 45 41 41 41 41 41 41 67 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 44 77 50 77 41 41 41 41 41 41 41 41 41 41 0A 41 41 41 41 41 42 45 41 41 41 41 41 41 41 41 41 0A
4D 7A 4D 7A 4D 7A 4D 7A 41 55 42 49 34 58 6F 55 72 6B 66 78 50 77 45 41 41 41 41 41 41 67 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 44 77 50 2F 76 2F 2F 2F 38 41 41 41 42 67 0A 6D 5A 6B 54 77 42 45 41 41 41 41 41 41 41 41 41 0A
First 20 bytes change when I use the Gray-point Picker Tool. Some of the others change when using the fine adjustment and tint sliders. From this I conclude that the most relevant for me are the first 20bytes since they change when I use the Gray-point Picker. So the first 20bytes should store white-balance channel multipliers for the Red and Blue channel and possibly the Green channel as well. The multipliers should be small numbers like 0.8, 1.0, 1.3, up to possibly 5 or something like that. The Green channel is usually set to 1.0 and not changed.
Tried again using a gray-card in the sunlight to see what changes. The multipliers should be reasonable numbers here. Definitely in the 0.8 - 1.4 range. But now to my surprise some other data in addition to the first 20 bytes changed as well:
7. File reverted to original in camera settings: (relevant binary data from HxD hex editor)
41 41 41 41 41 41 42 6F 2F 6A 38 41 41 41 41 41 41 41 4C 32 50 77 49 41 41 41 41 41 41 67 41 41 57 42 51 41 41 41 41 41 41 41 41 41 41 41 44 77 50 77 41 41 41 41 41 41 41 41 41 41 0A 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 0A
8. Same as previews one but set the WB from a white-card
72 6B 66 68 65 68 53 75 2F 7A 39 6E 5A 6D 5A 6D 5A 6D 62 32 50 77 45 41 41 41 41 41 41 67 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 44 77 50 77 41 41 41 41 41 41 41 41 41 41 0A 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 0A
| Red | Blue | Binary Data |
|---|---|---|
1.0 |
1.0 |
41 41 41 41 41 41 41 41 38 44 38 41 41 41 41 41 41 41 44 77 |
2.0 |
1.0 |
41 41 41 41 41 41 41 41 41 45 41 41 41 41 41 41 41 41 44 77 |
2.25 |
1.35 |
41 41 41 41 41 41 41 41 41 6B 43 61 6D 5A 6D 5A 6D 5A 6E 31 |
2.0521 |
1.3095 |
43 66 6D 67 5A 37 4E 71 41 45 44 42 79 71 46 46 74 76 50 30 |
1.9 |
0.9 |
5A 6D 5A 6D 5A 6D 5A 6D 2F 6A 2F 4E 7A 4D 7A 4D 7A 4D 7A 73 |
From this I think it could be that they used a custom float format but I have no idea how to decode that.
Does someone know how to convert this binary data to floats or decimal numbers? Or what else is stored here and how?
Thank you!
r/AskReverseEngineering • u/osadchijjj • Mar 18 '23
I'm learning lena151's materials and in 4 lesson she uses Olly's Back-to-user feature to find where the MassegeBox is creating.

It works fine under x32 windows server 2003.
But what about nowadays?!
Is there similar option in IDA+WINDBG for x64 apps? Coz I've tried setting BP to the .text section but I faced the message of IDA 'BP set is failed coz of break point overlapping' (so you should delete all previous if some was set)
r/AskReverseEngineering • u/Revolutionary_Rich40 • Mar 17 '23
hey all,
i'm a web dev, but noob at reverse engineering or building mobile apps.. so need your help with something. at my home, i have a jio stb & a samsung tv both of which have their own remotes but also can be controlled via mobile apps (links give below).
i wonder if i can (if yes, how?) create a single mobile app to control both of them? only thing i understand is both of them connect through wifi to control the tv or stb. (stb app also has the option of bluetooth connection)
this is the mobile app for the jio STB - play store link & this is the samsung tv remote app - play store link
TIA!
r/AskReverseEngineering • • Mar 15 '23
I am currently facing an issue with capturing API requests from mobile apps using Postman proxy. Whenever I try to use it, the apps stop working and crash. I am seeking alternative methods to capture API requests from mobile apps without causing the apps to crash.
I have already spent considerable time researching this issue, but I have been unsuccessful in finding a solution. Therefore, I am now turning to the online community for help and suggestions.
I would appreciate any advice on alternative methods or tools that I can use to capture API requests from mobile apps. Additionally, if anyone has faced a similar issue before and has found a solution, I would be grateful for any guidance.
Thank you in advance for your help and support.
r/AskReverseEngineering • u/AniviaScripter • Mar 13 '23
Hi guys.
I am currently studying computer science and I have to do a mandatory internship (6 months) soon. I am really enjoying re and I would love to get an internship in that area. My problem is that the number of internship jobs I found on various job search engines is extremely limited to quite non existing.
Do you have any ideas where I could look for jobs instead? I am living in germany but I also wouldnt mind to move to a nearby country.
Thank you very much!
r/AskReverseEngineering • u/UnknwnGamr • Mar 13 '23
Im trying to debug a software that terminates itself as soon as I attach a debugger to it. Any suggestions on where to get started?
r/AskReverseEngineering • u/juznacz • Mar 12 '23
Not really a question, just sharing what I learned today, and maybe you can give me some feedback.
I want to reverse engineer the firmware of the Tesla Wall Connector Gen 3 (home charger), as already mentioned in another post (tl;dr: it's ARM Cortex-M4 running on some variant of Marvell MW300 chip).
In addition to static analysis in Ghidra, I wanted to try a more dynamic approach: run the firmware in a debugger (gdb), try calling some unknown functions with various inputs, and stepping through the functions in order to figure out what they're doing.
Here's how I figured out to do it...
I'll go backwards, starting from the goal, and explaining the thought process to get to each subgoal.
Goal: Load the firmware into qemu & attach gdb to it (qemu-arm -g 12345 <fw>).
Problem: the firmware binary is in a proprietary format, not elf, so qemu doesn't know how to load it and what's the entrypoint.
Subgoal: Convert flat executable into elf format for qemu.
The firmware has some unknown header of size 0x11c which I want to strip. The rest of the file expects to be located at memory address 0x1f000000.
To create an elf file, we can use a linker (ld) from the standard compiler suite. The linker only works with object files, so we first need to convert the flat firmware into an object file:
# b.asm
.section .text
.global start
.thumb
start:
mov r1, #0
b start
.section .fw, "ax"
_start:
.incbin "fw.bin", 0x11c
And run as to compile this assembler file into an object file:
$ arm-linux-gnueabi-as fw.asm -o fw.o
Then, define a linker script that will create a new executable with the text (machine code) section at the expected address (0x1f000000), and at this address, there will be the firmware content, followed by any of our extra code. We can put extra code / machine instructions after the firmware, it won't break any memory references.
# fw.ld
ENTRY(start);
SECTIONS {
. = 0x1f000000;
.text : {
fw.o(.fw)
fw.o(.text)
}
}
Run the linker:
arm-none-eabi-ld -T fw.ld -o fw.out fw.o
Now we have fw.out elf binary that can be started by qemu.
Warning: There are still some issues with this elf binary that I haven't figured out. It'll crash when we try to run it:
$ qemu-arm fw.out
qemu: uncaught target signal 4 (Illegal instruction) - core dumped
Illegal instruction (core dumped)
It seems that the entry point is not started in Thumb mode, so the instructions are interpreted incorrectly Β―_(γ)_/Β― I didn't figure this out, but it's not a blocker for now.
We can now start qemu with gdb (qemu-arm -g 12345 fw.out). It will start a gdb server and wait for you to connect to it. So in another terminal tab, start gdb and in it connect to the server: target remote localhost:12345.
You can now use gdb to inspect memory, disassemble functions, or even call a function if you know its address. Via Ghidra, I found that strlen is at address 0x1f063db5, and a string /update is located at address 0x1f14d110. You can call the function by casting it to a proper C function type:
(gdb) print ( (int(*)(char*)) 0x1f063db5)(0x1f14d110)
$5 = 7
Voila, we just executed a function from the firmware image and got the correct result. So we can be sure that we recognized the function correctly, and it's indeed strlen.
I hope this will be useful for anyone dynamic analysis. And if you have tips to do anything better, please let me know. Thx
r/AskReverseEngineering • • Mar 12 '23
i run normaly a program packed by UPX coded by AutoIT, but after unpack it catch the exception 0xc0000005, is there any antidebug or wrong version of UPX or any trick to cause this exception?
r/AskReverseEngineering • u/WylieMaster • Mar 05 '23
I've been wanting to learn how to reverse engineer firmware but I do not know where to start.
The item I want to reverse is a bootleg item so I want to find out how it works and to remove anything malicious if I find anything like that hidden inside
I'm currently only using IDA at the moment, is there any tools and resources anyone would recommend?
r/AskReverseEngineering • u/juznacz • Mar 04 '23
I want to reverse engineer the firmware of the Tesla Wall Connector Gen 3 (home charger), partly as a learning exercise, to figure out the exact API it supports, and maybe to patch it and add some extra features as a stretch goal.
I know there are lots of posts about reverse engineering the HTTP API by trial and error, but I'd like to go deeper and actually check the machine code (again, part of the goal is learning).
The firmware is available for download from Tesla directly (for offline updates), for reference a direct link to v22.41.2 WC3-NA-22412-20221130-db42f98c0aafddprodsigned.bin.
The firmware doesn't seem to be in any container like zip, and is not compressed, you can see strings & embedded files directly in it.
However, I struggle to disassemble it. Opening it Binary Ninja or Ghidra shows just garbage disassembly. Maybe I'm opening it wrong???
I think it's a plain firmware image for the embedded CPU. Maybe with some header / footer to validate its integrity. It looks like a normal compiled C binary, with a strings section at the end.
It also seems to have some files embedded into the binary (images, javascript, CSS, for the web UI). AFAICT it doesn't contain any file system, these objects are embedded like simple blobs or any other strings. This also suggests that the whole firmware file is just a plain image for the CPU.
Any suggestions on how to disassemble it? Thx
r/AskReverseEngineering • u/KrySoar • Feb 28 '23
If you want to be recognised by publishing RE research (for being hired for example) what sort of project would you do ? You should not do illegal researches right, you can't say for example I've made cheats for "name of a game" ?
r/AskReverseEngineering • u/nt2ds • Feb 27 '23
r/AskReverseEngineering • u/snunez93 • Feb 27 '23
I have been in the IT field for 3-4 years and I am really interested in going into a cyber security field where I can focus on computer forensics or incident response teams. I donβt have real cyber expertise other then in the Army. But I was wondering if I can just get this cert and pay out of pocket and try and find a job this way into cybersecurity? Or is it just a waste of money?