Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
30 views

Unable to decode bytes from EUART port

I've been trying to reverse engineer communication between two circuits and have been spinning my wheels on understanding it for awhile now. I have sniffed the following excerpt of data using a ...
13
votes
1answer
3k 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
65 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
79 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
219 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
350 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
183 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
119 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
60 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
162 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
131 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
630 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 ...
0
votes
0answers
71 views

Decoding this value & What encryption is it?

I've got this value, which I think it may contain date, that I want to decode ( decrypt ) and to know what encryption type is it. 3zsWFYXd1Eg= At first, I thought it's a base64 encoded string, But ...
1
vote
2answers
128 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
159 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 ...
2
votes
1answer
104 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
355 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
450 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
105 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 ...
1
vote
3answers
1k 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
322 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
109 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 ...
4
votes
0answers
100 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" ...
6
votes
3answers
1k 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....
3
votes
1answer
361 views

How can I determine if a piece of code is an encryption algorithm?

I am trying to reverse engineer a malware, and came across a piece of code that I suspect is an encryption/decryption procedure, however I do not know for sure. I can recognize that it extracts its ...
3
votes
0answers
561 views

Radio Signal 433.92MHz ASK OOK modulation, encoding?

Considering a key fob for RKE (remote keyless entry, automotive) its signal has been captured: It sends at 433,92MHz simple on/off. Following I regard the deltas (time differences between on-off or ...
1
vote
1answer
958 views

Base64 encoding with missing padding and many uppercase letters

Following string looks like base64 to me, but fewer digits or lowercase characters than upper. Some base64 decoders fail decoding it. Could it still be base64? Is there a way to decode it? ...
0
votes
0answers
39 views

API endpoint has cryptic request/response

I am very new to reverse engineering and I am trying reverse my first API endpoint of a web app. I am using fiddler to analyze the form-data requests but both the fields and the values are very ...
1
vote
2answers
9k views

Driver's Licence Last Name Numbering Format (Ontario, Quebec, New Jersey)?

So I found out that Ontario Driver's Licences have the following format: LXXXX - NNNIY - YMMDD L - first letter of last name XXXX - number referring to your last name NNN - number referring to your ...
3
votes
1answer
571 views

Reverse engineer checksum algorithm

I am trying to reverse-engineer the protocol used between my Air-conditioner and the wired control unit on my wall. (In order to have my home automation be able to monitor and control the A/C.) The ...
1
vote
2answers
440 views

Reverse engineering a base64 encoded number

I am working on reverse engineering an encoding. A number between -12 and 12, with 2 decimals is encoded using an unknown method, and the result is a pair of strings as follows: value string1 ...
3
votes
1answer
296 views

What is contained in this transmission? (RF pool-temperature sensor base unit receiver)

Note: I've made progress over at the EE stackexchange on pulling bits out of the signal (see https://electronics.stackexchange.com/questions/145714/what-encoding-is-used-in-this-signal), but now i ...
3
votes
0answers
532 views

Reverse engineer TPMS sensor data

I'm trying to reverse engineer data received from TPMS (car tire pressure) sensors. I was able to receive and demodulate the data (433 MHz, FSK, Manchester encoding). Probable packet fields: ...
-1
votes
2answers
157 views

How to get transformation formula comparing two files

I am new in this area. Scenerio: I am given two files and told one is ASCII and another is binary format of that ASCII file. I opened ASCII file and saw like- 0 76 1.040000 1 1 1.000000 514039 ...
2
votes
0answers
492 views

Reverse engineering TPMS sensor data [closed]

I'm trying to reverse engineer data received from TPMS (car tyre pressure) sensors. I used rtl_433 tool to capture the data from sensor at 433 MHz. Tool was able to detect data is using FSK modulation ...
1
vote
1answer
179 views

Understanding decoding communications over interfaces

I'm currently in the middle of trying to decode the communication of an hydrometer. Thanks to a previous question made in this site I was able to find a PDF describing the communication of a different ...
5
votes
0answers
531 views

Reverse engineering an hydrometer's Bluetooth communication

This is a very specific question. I'm currently working on a project to create an android application capable of reading the values of an hydrometer via Bluetooth. By reading the datasheet, I suspect ...
0
votes
1answer
162 views

How to find out what encryption/encoding has been used

So my uni just had some on break into the email server and send out a load of emails with a suspicious looking executable. I'm on Linux so I downloaded the file and ran the Strings command and saw a ...
1
vote
0answers
824 views

Converting Duden dictionaries for Stardict/Goldendict

I’ve a bunch of first-class German dictionaries by Duden (the main German dictionary publisher) which, sadly, use a closed proprietary data format and their dedicated Duden-Bibliothek application (...
2
votes
2answers
1k views

Techniques for reverse engineering an unknown or protected file format

I'm working on converting a game originally developed to run on Windows for the web. I have a bunch of artwork for the game received from the artist in .tga image files which open fine in Photoshop. ...
2
votes
0answers
322 views

Finding the h.264 stream in a bytestream

I have a bytestream that contains h.264 bytestream packets in it. How can I find it? Output from stream: https://mega.co.nz/#!3llAnLaQ!pc1JPDpDOP6948F2x44LqeYm-p5CDnb91Da334rt4fY The first 13 bytes ...
10
votes
2answers
3k views

Generating Snapchat Snaptags (“QR” Codes)

For those that haven't seen, Snapchat now has a special type of image based code that allows you to quickly add friends by pointing the camera at the screen, similar to a QR code, called "Snaptags". ...
1
vote
0answers
152 views

Name for simple character encoding (where '0' is 0x00; 'A' is 0x0A)?

Some old games have a very simple text encoding in which: 0x00 = '0' 0x01 = '1' ... 0x09 = '9' 0x0A = 'A' 0x0B = 'B' 0x0C = 'C' ... 0x22 = 'Y' 0x23 = 'Z' ... 0xFF = string terminator I figure this ...
4
votes
1answer
240 views

Does anyone recognize this keyboard encoding scheme?

I am finalizing the reverse-engineering of a linux driver for the Perixx MX-2000 IIB mouse. One of the features the mouse has is arbitrary button mapping. I can assign a button to produce various keys ...
2
votes
4answers
22k views

Decoding New Jersey Driver's License Codes

Driver's License numbers in New Jersey aren't random. They follow the format: Affff lllii mmyye, where A is the first letter of the person's last name, ffff is some mapping of the remaining letters of ...
4
votes
2answers
1k views

Decoding the wire protocol (over RS232) for custom hardware <-> windows application?

Background I have a hardware device with an RS232 port, and a Windows (XP) application that it talks to. No OS-level drivers beyond basic serial, so all the decoding is done in the app. I have the ...
1
vote
2answers
296 views

Issues writing a bootloader in x86 16-bit machine code

I am having trouble displaying simple text. I am trying to do it all in machine code with INT 10h, but: I can't find the binary opcode for INT 10h anywhere in the Intel Manual. I can't figure out how ...
5
votes
2answers
2k views

Retrieving encryption/encoding logic from dll

I am trying to retrieve a decrypting/deconing logic from a program. Unfortunately I have virtually no experiencing in reverse engineering. I am building an alternative controller application for a ...
3
votes
2answers
290 views

sub-ghz radio encoding 6 bits

I have a usb stick that communicates with a medical device. I am attempting to decode the communication. I have figured out the basic radio parameters (916.5MHz, ook, bit rate, preamble, sync words), ...
-4
votes
2answers
809 views

Bin file is not only storing 0s and 1s, ASCII or otherwise

Upon checking out a binary file, and according to convincing evidence, .bin file extensions are supposed to denote a file type which stores its data as 0s and 1s, or 31/32 in ASCII hex(ASCII character ...