Bit Shifting. Hex W...
 
Notifications
Clear all

Bit Shifting. Hex Workshop?

6 Posts
4 Users
0 Reactions
3,116 Views
(@jimmy987)
New Member
Joined: 12 years ago
Posts: 2
Topic starter  

Hi guys,

New to this field and this forum. I have started studying DF and as part of the course I have been given a text file to crack the info in it. the file has its bit shifted.Any tools that you guys can recommend ?I tried Hex Workshop but it seems quite painful procedure of trying your luck by changing every bit value? is there an automated program that i can use? or is there a pattern or guideline about how do you approach a bit shifting task?

Thanks.

JS


   
Quote
(@sgware)
Eminent Member
Joined: 13 years ago
Posts: 42
 

You will need a good hex editor, http//www.x-ways.net/winhex/index-m.html. After opening the file in WinHex you will be able to see the "bits" and the text.

Happy shifting!


   
ReplyQuote
(@jimmy987)
New Member
Joined: 12 years ago
Posts: 2
Topic starter  

You will need a good hex editor, http//www.x-ways.net/winhex/index-m.html. After opening the file in WinHex you will be able to see the "bits" and the text.

Happy shifting!

Thanks buddy, I have got this editor called win hex editor, i can see bits on the left side and in the right pane there is scrambled text. There are buttons to perform different functions like, shift bits to right, left, swap,flip, invert etc…Now to un scramble it , is there a certain pattern I need to follow, or I just try my luck by shifting each bit randomly and hoping to see the clear text in the right corner after few tries? If that is the way to go , it might take weeks to crack this?

Is there a rule of thumb to be folllowed in excercises like this?

Thanks again.
Jimmy


   
ReplyQuote
(@sgware)
Eminent Member
Joined: 13 years ago
Posts: 42
 

Without knowing the details of the task, I would suggest you reference an ASCII table and start looking for patterns between known characters and the bytes in your assignment. With a little luck and a lot of coffee, you should figure out the pattern.


   
ReplyQuote
(@patrick4n6)
Honorable Member
Joined: 16 years ago
Posts: 650
 

1. Manual inspection to determine the shift pattern.

2. Scripting or write some simple software to apply the shift pattern.


   
ReplyQuote
jaclaz
(@jaclaz)
Illustrious Member
Joined: 18 years ago
Posts: 5133
 

Thanks buddy, I have got this editor called win hex editor, i can see bits on the left side and in the right pane there is scrambled text.

To be picky, like in any hex editor, you see on the left the address (offset) hex numbers (or bytes NOT bits) and on the right the ASCII characters corresponding to those bytes.
http//en.wikipedia.org/wiki/Hex_editor

See if this (only seemingly unrelated) helps to get you a better idea of a possible "decrypting" approach
http//www.forensicfocus.com/Forums/viewtopic/t=10417/

jaclaz


   
ReplyQuote
Share: