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
2
votes
1answer
777 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
840 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 ...
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
1answer
598 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
239 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" ...
3
votes
1answer
363 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
856 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
2k 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? ...
2
votes
2answers
2k 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. ...
3
votes
1answer
905 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
852 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 ...
1
vote
0answers
1k 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 (...
-1
votes
2answers
175 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
640 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 ...
5
votes
0answers
604 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 ...
1
vote
1answer
265 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 ...
0
votes
1answer
184 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 ...
3
votes
2answers
312 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), ...
2
votes
0answers
402 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 ...
1
vote
0answers
180 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 ...
5
votes
2answers
3k 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 ...
-5
votes
2answers
1k 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 ...
5
votes
1answer
119 views

Storing barcodes as ASCII

I am currently looking at a TIFF file generated by a microscope vendor. They store an XML within the TIFF (ImageDescription tag). Within this XML I can find a <barcode> element. But instead of ...
0
votes
1answer
1k views

Invalid base64 encoding [closed]

I am starring at the following which looks like base64 but not quite: $ curl -s 'http://cgp.compmed.ucdavis.edu/chapr/education/PATHOBIOLOGY%20OF%20THE%20MOUSE%20TIER%201A/MICROANATOMY/Images/EX02-...
12
votes
3answers
7k views

Totally unknown file analysis approaches

I guess this is the worst case. I have a file which was initially base64 encoded. This step was easy. But now all I can see is a bunch of rubbish. No structure, nearlly a maximum of entropy, no ...
5
votes
1answer
3k views

Printing Unicode strings in Gdb in OSX

Are there any useful snippets or Gdb functions that you guys normally use to print out Unicode strings? I'm trying to debug Mach-O binaries and x/s seems to be printing out junk. I believe the default ...
12
votes
2answers
14k views

IDA Convert to Unicode

In IDA 5.0 Freeware how do you convert a block of data into a unicode string, the only thing I can find is to convert it into an ascii string. db 'a' db 0 db 'b' db 0 db 'c' db 0 db 'd' db 0 db 0 db ...

1
2