Questions tagged [encodings]

A mapping of a given code to values or semantics. Guessing the meaning of an encoding requires a lot of trials but some encoding are standard and can be guessed quite easily.

Filter by
Sorted by
Tagged with
0
votes
1answer
31 views

Can you get the error-correction level of a QR code?

You can get the version number of a QR (1-40) by checking the dimensions of the QR, but is there a way to get the error-correction level that was used to generate the QR code? Trying to reverse ...
0
votes
0answers
26 views

Decoding serialization of raw data

I'm trying to decode some IR data. I have some basic information about this data, but I don't know how to decode it. Though this is technically an IR/Android related problem, I think I can generify it ...
0
votes
0answers
22 views

How would you approach solving the algorithm if you have samples of input to output?

There is a page that lists integers. All these integer inputs have corresponding alphanumeric outputs that form a url where I have some desired information. The algorithm is a black box to me. I can ...
1
vote
0answers
49 views

How to retrieve the encryption key from a dll file?

I have a dll file that makes an http post request to a webserver , request looks something like this : UmdUsFrEB3wGMuuAz1Znywuedx6+...
0
votes
1answer
32 views

The Logic Of Incremental Data on Serial Communication Encoding

These are the serial communication reverse values. I am trying to understand the logic behind this. I am pretty sure that 2 bytes represent 1 byte(high byte and low byte), values are correct. I tried ...
1
vote
1answer
99 views

What encoding is this?

This is a picture of the encoded code. I'm just wondering what is the encoding that it is using.
1
vote
1answer
401 views

How to find encrypted strings in an executable?

I am trying to reverse engineer an executable. I am using Process explorer to dump all strings present in the exe image, and from the process's RAM when it is running. The two dumps return a ...
-3
votes
2answers
267 views

CyberChef Challenge #21

The challenge data/input is: ...
1
vote
2answers
392 views

How to convert hexadecimal values to 16-bit Unicode in IDA Pro 7.5?

The context: For a student project which goal is to make us learn reverse engineering and how to use IDA Pro, we have to reverse engineer the APT28 hospitality malware (as described in this blog post: ...
0
votes
1answer
47 views

Encoding of 64-bit double

I'm in the process of reverse engineering a USB driver, and I'm having problems finding a way to decode the binary representation of double values. The values don't seem to be encoded in IEEE-754 ...
0
votes
0answers
243 views

Decoding messages sent/received by Python websocket client

I am using the websocket module for my client in python3, and I am trying to troubleshoot some errors I am getting that lead to the client disconnecting after seemingly random intervals. When I ...
2
votes
3answers
373 views

Reverse engineering a partially known binary format

I have files with binary data, the format description of them is very vague and incomplete. E.g., it states that records start with header byte, like (hex) FA, followed by datetime (accurate down to ...
1
vote
0answers
114 views

Decode bitmaps from Director .dxr files

I'm trying to extract bitmaps from an old Macromedia Director protected .dxr file. I was able to find some information about the file structure from here (it turns out to be a XFIR container, the ...
0
votes
0answers
50 views

Looking for encoding of SVG data

I have some SVG images stored in a database; but I am not able to find out which encoding is used. Unfortunately, I don't have the exact SVG plain text available. The given examples "probably&...
0
votes
1answer
67 views

Password evaluated from the sum of ASCII letters

After analyzing the code, I have been able to understand and recreate the algorithm used to check if the password the binary takes is correct, but don't know how to solve it (or at least can't think ...
0
votes
1answer
2k views

Trying to decode the Ontario Driver's License #

**The Ontario Driver's License follows the below format:** LXxxx-FFFMY-YMMDD Where: L is the first letter of your last name X is a numeric encoding of the last name (See Chart 1 below) xxx is a ...
0
votes
0answers
85 views

What kind of integer obfuscation is this?

I'm looking at the network traffic of a game submitting the user's score to the high-score server. The score value seems to be obfuscated in some way. The score is a non-negative integer, and not more ...
0
votes
0answers
37 views

What is the URL format for Google Trends?

When you search for the search term Tesla or AOL you get the following URLs: https://trends.google.com/trends/explore?geo=US&q=Tesla But, for the automobile maker, you get: https://trends.google....
1
vote
0answers
97 views

Determining the encoding of an unknown image format [closed]

I'm trying to reverse engineer a REST API and there is an endpoint that delivers images. Some of them are jpegs but other ones look like they're base64 encoded, except they don't appear to be, as they ...
2
votes
1answer
78 views

The questions about li instruction

When reversing a MIPS binary using IDA Pro, I have 2 questions. The source code is as follows. int main(int argc, char* argv[]) { int m = 1; int n = 5; printf("sum = %d\n", m+n); } ....
1
vote
1answer
95 views

Which JSON object compact binary serialization is this?

I am trying to reverse engineer an unknown JSON binary serialization format found in a request-response pair between a mobile app, and a server. Does anyone recognize this? I've attached the first ...
1
vote
1answer
160 views

Encoding method of float

I'm reversing this game and got stuck. To make it simple, You have some amount of coins in the game (float or double) and you can spend it on some things. I started sniffing network traffic and ...
0
votes
2answers
299 views

How to wire up a rotary encoder with a "0v" connection?

I have a servo motor with rotary encoder salvaged from an old scanner. I'm trying to figure out how to re-use it in a DIY CNC machine. By reading through the engineering manual from the original ...
2
votes
2answers
226 views

How to identify the encoding performed on this string

I have an old application that stores the username and password in plaintext but encoded by an unknown encoding algorithm to me, it seams like base64, but I think it's not, It seams that any word ...
0
votes
0answers
146 views

Reverse Engineering a Vehicle Identification Number (VIN) encoding

Not sure if this is the right place so please point me to the right place if needed. I have an input of a VIN (Vehicle Identification Number) number with 17 characters, each character is either an ...
1
vote
0answers
489 views

Is there any way to change the encoding of an exe file?

I have an exe file and it will browse the xml, or txt files to display this exe file. And the characters only display the exact language of that country when I switch the language of the computer to ...
3
votes
2answers
687 views

Translating a Korean Exclusive PS2 game ~ hangeul encoding?

I got my hands on a copy of Mystic Nights, a survival horror game for the PS2 realeased exclusively in Korea. The game's text is all in Hangeul (Korean writting system). I extracted the ISO and ...
3
votes
1answer
814 views

String Encoding and Decoding Method

so I came across the following string encoding method in python. def encode(the_string): encoded_string = '' rotations = ord(the_string[-1]) + 5 for i in range(0, len(the_string)): ...
13
votes
1answer
4k views

How should I approach reverse engineering this text encoding?

So I'm trying to hack the translation from the PS4 version of a game into the Vita version. The script files were conveniently uncompressed, and I was able to drop them in and have it working without ...
3
votes
1answer
118 views

Is there a standard character encoding that is ASCII minus control characters?

I came across some unusual strings in some embedded SH2A code I'm analyzing.... 11 53 54 00 53 55 4E 44 41 59 00 4F 46 00 2E 4F 56 45 4D 42 45 52 . S T . S U N D A Y . O F . . O V E ...
2
votes
1answer
197 views

Find out string encoding/shift of proprietary binary file format

I'm trying to reverse-engineer a proprietary file format to be able to extract certain strings from files in this format. I have the application, that writes the files, at hand. By trial-and-error I ...
9
votes
1answer
1k views

Need help to reverse engineer a dog collar transmitter

I have a Petrainer PET998DRU shock collar (similar to this one) that got partially chewed up by the dog it is supposed to train. I salvaged it to the point where I have the following buttons: Mode (...
2
votes
1answer
1k views

How to identify known encryption algorithm?

I reverse an .exe file with IDA. I see a function that appears to be encrypting something by generating some random numbers. It there any tool to identify if it is a known encryption algorithm?
1
vote
1answer
957 views

Reading from text file and printing it in IDA Pro

I have a text.txt file and I want to read it and print its content in the Output Window of IDA Pro (Free version). I wrote an .idc script as follows: #include <idc.idc> static main() { ...
2
votes
1answer
132 views

How can I generate the recovery password on a legacy system (Original company is out of business) running on my local machine?

I'm attempting to use a legacy systems recovery feature that typically required calling/faxing a company that is no longer around. Basically, the system was designed to go into a recovery mode and ...
1
vote
0answers
143 views

CD-ROM CIRC encoder

I'm studying the principles of data storage CD-ROM At the moment I understand structures of sectors, F1 frames, F3 frames, subcode channels. But I just can not understand the principle of forming F2 ...
2
votes
1answer
265 views

Help with a packed date format

I've came across what appears to be a date format from a legacy database application. I don't have access to the code that generated it, just have examples corresponding to certain Holiday messages. ...
1
vote
1answer
626 views

Reverse engineer CAN-Bus checksum

I am trying to figure out a checksum algorithm. D1 to D6 is data, D7 is a counter obviously and byte 8 must be a CRC, but I didnt have any idea on how to build it. Tried to check if it fits any ...
1
vote
1answer
2k views

Need some pointers to decode/decrypt/unobfuscate JSON files (updated with related scripts)

I am very new to this whole business so please bear with me. Goal My goal is to read JSON data from a game. Since I do not know what kind of information will/will not be useful, here are some of ...
1
vote
3answers
612 views

Find out how a program is reading a file

I'd like to manually "pull out" information of files of a specific file format. Needless to say, they were encoded in some form or another - I couldn't access a "plaintext" version of them. However, ...
2
votes
2answers
456 views

How can I identify how this string is being encoded so I can replicate it?

A friends company uses an old VB6 application to generate encoded strings to then use in their also old and out of date database system. They have the application running in standalone mode so I can ...
3
votes
1answer
130 views

What is the encoding format for unconditional Jumps on SPARC/SPARC64?

I am trying to figure out the encoding for unconditional JMPs on SPARC, i.e the JMP. After disassembling a few binaries. In my IDA disassembly the encoding for JMP %g1 is: 81 c0 40 00 Digging ...
2
votes
1answer
790 views

Deducing Protobuf Schema and Datatypes

I have a number of protobuf files but no .proto schema file! cat myfile.pbuf | protoc --decode_raw > outputfile.txt Using the above command, I was able to decode the file into a somewhat readable ...
0
votes
1answer
857 views

What steps are needed to decode a Base64 binary?

I've found what appears to be Base64 inside of a PE header resource (.rsrc) which I've placed in this Gist. However, if I use a Base64 decoder, I end up getting a lot of binary data which appears as "...
0
votes
1answer
112 views

Recognizing a possibly obfuscated character encoding used in a database

I downloaded デジタル大辞泉 trial from Microsoft Store to try it out. The interface was not very good in my opinion, so I thought that maybe it is possible to extract the dictionary and convert it to another ...
2
votes
3answers
2k views

How to monitor/reverse engineer RS485-connected display device traffic?

Can anyone point me in the right direction for tutorials etc on reverse engineering RS484 connected battery management system? I have a large 12V lithium battery module which has an internal BMS and ...
1
vote
1answer
604 views

Decoding Base64 is Garbled [closed]

I have a piece of Base64 that I have been tasked with decoding. I am not sure what the resulting output is supposed to be, but it is not an image because it does not decode when I try that, and when I ...
1
vote
0answers
241 views

Decrypting/Decoding encrypted/encoded data

I'm trying to increase the interoperability of some database software. The database can write and read "stored SQL queries". I wanted to figure out the format of these SQL queries so I can build them ...
3
votes
0answers
127 views

Recognize this encoding (in a serialization context)?

I am currently trying to reverse engineer a proprietary serialization format. In some of the sections the encoding is unknown to me. What I was able to figure out: 1 byte 0b00?????? "6bit signed int" ...
5
votes
3answers
2k views

Does anyone know this encoding?

There is an interesting article on Phack: http://phrack.org/issues/69/15.html#article At the end of the article there is the source appended in a strange encoding. begin 664 hypervisor_for_rootkit....