Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 11-18-2011, 00:50
Git's Avatar
Git Git is offline
Old Git
 
Join Date: Mar 2002
Location: Torino
Posts: 1,116
Rept. Given: 220
Rept. Rcvd 265 Times in 157 Posts
Thanks Given: 110
Thanks Rcvd at 220 Times in 126 Posts
Git Reputation: 200-299 Git Reputation: 200-299 Git Reputation: 200-299
brain teaser

Given this set of numbers :

i num
0 FCDE 1111 1100 1101 1110
1 4873 0100 1000 0111 0011
2 3809 0011 1000 0000 1001
3 8BC3 1000 1011 1100 0011
4 E9E8 1110 1001 1110 1000
5 D20E 1101 0010 0000 1110
6 FFD8 1111 1111 1101 1000
7 B552 1011 0101 0101 0010
8 E469 1110 0100 0110 1001
9 0423 0000 0100 0010 0011
A 0C77 0000 1100 0111 0111
B FDF2 1111 1101 1111 0010
C CE96 1100 1110 1001 0110
D C28F 1100 0010 1000 1111
E 72B4 0111 0010 1011 0100
F 0AED 0000 1010 1110 1101

Can anybody see how 'num' is generated from it's index position 'i', some constants (probably 16bit), maybe other table values(like the previous entry e.g.) and binary operators xor, ror, and, etc. Data is given in hex and binary for convenience.

I can't offer any reward, other than a mention in the credits in the free utility which needs this algo!.

Git
Reply With Quote
  #2  
Old 11-18-2011, 01:23
aldente aldente is offline
VIP
 
Join Date: Jul 2003
Posts: 266
Rept. Given: 27
Rept. Rcvd 7 Times in 5 Posts
Thanks Given: 36
Thanks Rcvd at 10 Times in 9 Posts
aldente Reputation: 7
Why don't you just use a lookup table, if there are just 16 numbers?
Reply With Quote
  #3  
Old 11-18-2011, 01:58
Git's Avatar
Git Git is offline
Old Git
 
Join Date: Mar 2002
Location: Torino
Posts: 1,116
Rept. Given: 220
Rept. Rcvd 265 Times in 157 Posts
Thanks Given: 110
Thanks Rcvd at 220 Times in 126 Posts
Git Reputation: 200-299 Git Reputation: 200-299 Git Reputation: 200-299
That set of numbers is just an example, I need the general algorithm.

Git
Reply With Quote
  #4  
Old 11-18-2011, 04:37
disauto disauto is offline
Friend
 
Join Date: May 2011
Posts: 124
Rept. Given: 14
Rept. Rcvd 22 Times in 15 Posts
Thanks Given: 14
Thanks Rcvd at 92 Times in 29 Posts
disauto Reputation: 22
you give the num i think maybe 1(8)1(4)1(2)1(1) .
Reply With Quote
  #5  
Old 11-18-2011, 06:18
Git's Avatar
Git Git is offline
Old Git
 
Join Date: Mar 2002
Location: Torino
Posts: 1,116
Rept. Given: 220
Rept. Rcvd 265 Times in 157 Posts
Thanks Given: 110
Thanks Rcvd at 220 Times in 126 Posts
Git Reputation: 200-299 Git Reputation: 200-299 Git Reputation: 200-299
Don't understand you disauto, sorry.

Git
Reply With Quote
  #6  
Old 11-18-2011, 20:31
tofu-sensei tofu-sensei is offline
Friend
 
Join Date: Jul 2004
Posts: 113
Rept. Given: 1
Rept. Rcvd 15 Times in 9 Posts
Thanks Given: 4
Thanks Rcvd at 24 Times in 13 Posts
tofu-sensei Reputation: 15
what's this for, if i may ask? perhaps there's an easier way to figure it out.
Reply With Quote
  #7  
Old 11-18-2011, 23:05
Git's Avatar
Git Git is offline
Old Git
 
Join Date: Mar 2002
Location: Torino
Posts: 1,116
Rept. Given: 220
Rept. Rcvd 265 Times in 157 Posts
Thanks Given: 110
Thanks Rcvd at 220 Times in 126 Posts
Git Reputation: 200-299 Git Reputation: 200-299 Git Reputation: 200-299
It's part of a data file protected by RSA, RC6 and MD5 checks. This obfuscated block is the last part to crack. The exe that writes the file is in private hands. The app that decrypts the file is a VMProtect protected ring 0 driver.

Git
Reply With Quote
  #8  
Old 11-23-2011, 19:54
nathan nathan is offline
Friend
 
Join Date: Jul 2009
Posts: 37
Rept. Given: 4
Rept. Rcvd 5 Times in 4 Posts
Thanks Given: 17
Thanks Rcvd at 27 Times in 17 Posts
nathan Reputation: 5
Hi Git, from what you say these numbers are changing everytime you run the process. Could you cut & paste a couple of more sequences ?
Reply With Quote
  #9  
Old 11-24-2011, 00:49
Git's Avatar
Git Git is offline
Old Git
 
Join Date: Mar 2002
Location: Torino
Posts: 1,116
Rept. Given: 220
Rept. Rcvd 265 Times in 157 Posts
Thanks Given: 110
Thanks Rcvd at 220 Times in 126 Posts
Git Reputation: 200-299 Git Reputation: 200-299 Git Reputation: 200-299
They're not created by my process, they are part of an encrypted data file. Each data file is unique, depending on a different 16bit key. The algo which produces these tables is the same for each, but probably with different constant(s). Here are the numbers from another file :

0 FCDE
1 4873
2 3809
3 8BC3
4 E9E8
5 D20E
6 FFD8
7 B552
8 E469
9 0423
A 0C77
B FDF2
C CE96
D C28F
E 72B4
F 0AED

Git
Reply With Quote
  #10  
Old 11-24-2011, 00:53
*RemedY* *RemedY* is offline
Family
 
Join Date: Sep 2003
Posts: 115
Rept. Given: 18
Rept. Rcvd 72 Times in 30 Posts
Thanks Given: 0
Thanks Rcvd at 3 Times in 3 Posts
*RemedY* Reputation: 72
Uhmm Git...

these numbers are the same as in your first post
A different set would be nice.

Regards
*RemedY*
Reply With Quote
  #11  
Old 11-24-2011, 01:18
sendersu sendersu is offline
VIP
 
Join Date: Oct 2010
Posts: 1,305
Rept. Given: 337
Rept. Rcvd 237 Times in 127 Posts
Thanks Given: 340
Thanks Rcvd at 652 Times in 357 Posts
sendersu Reputation: 200-299 sendersu Reputation: 200-299 sendersu Reputation: 200-299
Git, you said
"a data file protected by RSA, RC6 and MD5 checks."
so do you mean that these numbers could be as a result of one of strong crypto algo?
you need to figure out what algo used exactly (if you lucky - you cuold monitor the Win API, is it windows app?
you could for example sniff the crypto api from ms...... etc
without this knowledge your teaser = find black cat in black room
Reply With Quote
  #12  
Old 11-24-2011, 06:17
Git's Avatar
Git Git is offline
Old Git
 
Join Date: Mar 2002
Location: Torino
Posts: 1,116
Rept. Given: 220
Rept. Rcvd 265 Times in 157 Posts
Thanks Given: 110
Thanks Rcvd at 220 Times in 126 Posts
Git Reputation: 200-299 Git Reputation: 200-299 Git Reputation: 200-299
Sh*t, sorry .

0 84D5
1 09AA
2 8E7F
3 1354
4 9829
5 1CFE
6 A1D3
7 26A8
8 AB7D
9 3052
A B527
B 39FC
C BED1
D 43A6
E C87B
F 4D50

The protection of the data is in layers. RC6 etc has been removed and this block of numbers is the jam in the doughnut. Data is processed by VMprotected ring 0 driver, not so easy to monitor.

Git
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT +8. The time now is 04:19.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )