Need help! Recoveri...
 
Notifications
Clear all

Need help! Recovering scrambled bits!

Page 2 / 2
jaclaz
(@jaclaz)
Community Legend

(It shows how important thinking in Hex is)

Hmmm, in this particular case I would find easier to think in binary.

jaclaz

ReplyQuote
Posted : 20/04/2015 12:53 am
depende
(@depende)
New Member

I think a big link between 0xBF and 0x20 is the number bits - if you invert the values

ie ~0x20 is 0xDF and ~0xBF is 0x40

(It shows how important thinking in Hex is)

Ok, I understand that after having find the right pattern and assuming that 0x20 is 0xBF which would be mean 'space', why do you convert 0x20 to 0xDF?

Your calculation

1. 0xBF - 0x20 = 0x9F
2. 0x20 + 0xBF = 0xDF
3. 0xDF - 0x9F = 0x40

But I don't see any clue that can help to calculate the other values.

I thought after knowing that 0xBF is 0x20 than I have to calculate the difference between them like 0xBF in decimal 191 and 0x20 is 32 which is decimal 159. But it looks that I'm on the wrong way right?

ReplyQuote
Topic starter Posted : 20/04/2015 7:20 am
jaclaz
(@jaclaz)
Community Legend

But it looks that I'm on the wrong way right?

Well, your lesson included this text

-Some users use a low-level encryption program that changes the order of binary data
-Makes altered data unreadable To secure a file, users run an assembler program (also called a “macro”) to scramble bits
-Run another program to restore the scrambled bits to their original order
-Bit shifting changes data from readable code to data that looks like binary executable code
-WinHex includes a feature for shifting bits

Maybe, just maybe, you need to manipulate bits. roll

Can you see bits in decimal?
Can you see bits in hex?
Can you see bits in binary?

Be warned, people that find math jokes actually fun are a minority
http//en.wikipedia.org/wiki/Mathematical_joke#Jokes_with_numeral_bases

though the best available explanation of binary comes from Clint Eastwood (directed by Sergio Leone) wink
http//reboot.pro/topic/910-favourite-films-movies-etc/?p=164583

jaclaz

ReplyQuote
Posted : 20/04/2015 3:25 pm
mscotgrove
(@mscotgrove)
Senior Member

(It shows how important thinking in Hex is)

Hmmm, in this particular case I would find easier to think in binary.

jaclaz

I just assumed (probably wrongly) that everyone who understands Hex, can also 'see' the binary makeup of the numbers. Hex is just shorthand binary

ie 0xBF is 1011 1111
0x20 is 0010 0000

However, for those who still occasionally think in decimal, the relationship between 191 and 32 may be rather obscure.

ReplyQuote
Posted : 20/04/2015 6:08 pm
depende
(@depende)
New Member

I got the solution, the first word is 'The' and the last is '2 March 2015'!!! lol

And you know what is funny? I've used WinHex and with totally 2 clicks I've got the result.

But I'm still interested in your solution jaclaz. If you not mind could you please send me your solution per PM. I would really like to understand how you got that solution without using a hex editor tool.

Thanks!

ReplyQuote
Topic starter Posted : 21/04/2015 6:27 am
jaclaz
(@jaclaz)
Community Legend

I got the solution, the first word is 'The' and the last is '2 March 2015'!!! lol

And you know what is funny? I've used WinHex and with totally 2 clicks I've got the result.

But I'm still interested in your solution jaclaz. If you not mind could you please send me your solution per PM. I would really like to understand how you got that solution without using a hex editor tool.

Thanks!

Not really, but almost. )

The date is (actually should be) 27 March 2015, as the coding of the "2" is off by one, as said earlier.

PM sent.
Sorry mscotgrove, my solution needs not to think in hex (or in binary).

jaclaz

ReplyQuote
Posted : 21/04/2015 2:49 pm
Page 2 / 2
Share:
Share to...