Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 09-14-2006, 17:33
5Alive 5Alive is offline
Friend
 
Join Date: Aug 2003
Posts: 82
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 1
Thanks Rcvd at 1 Time in 1 Post
5Alive Reputation: 0
Unpacked ASPR file - signature not recognised

I unpacked an app protected with ASPR 1.3x using syd's Stripper 2.13 beta 9.
The unpacked exe runs fine although it still requires registration, I patched this without to much trouble.

I know that the app was coded in Delphi having looked at the Resource section, but neither PEiD or IDA recognise it as a Delphi compiled exe.

What do I need to do to fix this? Does it have something to do with the EP being outside of the code section?

Can anyone tell me the registration algo used by ASPR 1.3x and if it is can be keygenned. I have never seen a keygen (or patch for this app after a certain version) so I'm guessing it is not possible?

Thanks for any help you can offer.

5aLIVE.
Reply With Quote
  #2  
Old 09-14-2006, 19:33
Jupiter's Avatar
Jupiter Jupiter is offline
Lo*eXeTools*rd
 
Join Date: Jan 2005
Location: Moscow, Russia
Posts: 234
Rept. Given: 43
Rept. Rcvd 62 Times in 37 Posts
Thanks Given: 37
Thanks Rcvd at 191 Times in 57 Posts
Jupiter Reputation: 62
What for do you need to fix that exe? If you need to apply Delphi signatures in IDA, you can always do it manually (Shift-F5, select required signature from list).
If your protected app is fully unpacked/decrypted and you are sure that there is no code blocks crypted via key, then don't worry about keygen.
are you sure that app protected by ASProtect 1.3? it may be packed with ASProtect 2 SKE. anyway there are keygens for ASProtect 1.35 (protected by ASProtect 2 SKE) and ASProtect 2.2 by TMG and ECLiPSE. if you can find weakness in public keys generator, you can create bruteforcer.

ASProtect 1.3 uses RSA
ASProtect 2.x uses ECC
Reply With Quote
  #3  
Old 09-14-2006, 21:32
5Alive 5Alive is offline
Friend
 
Join Date: Aug 2003
Posts: 82
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 1
Thanks Rcvd at 1 Time in 1 Post
5Alive Reputation: 0
Quote:
Originally Posted by 5Alive
I cannot manually apply FLIRT signatures as I don't have a FLIRT library for Delphi Client/Server Enterprise. Do you know where I can find this? I can't attach to the process with DeDe either, I was wondering if there is anyway to fix this problem?

I've tested the program through normal use and it runs well so I don't think that it has any crypted code blocks remaining.

I'm only basing my assumption that it is packed with ASPR1.3x based on what PEiD reports (1.2x- 1.3x). Stud_PE reports 1.2x[new strain] (I think I may need to update signature library for this).

Okay, So I could identify the vesion of ASP by checking what crypto algo is used in the registration scheme. How else can I reliably identify the version of ASPR used?

Thanks for your help.
Reply With Quote
  #4  
Old 09-15-2006, 04:29
Jupiter's Avatar
Jupiter Jupiter is offline
Lo*eXeTools*rd
 
Join Date: Jan 2005
Location: Moscow, Russia
Posts: 234
Rept. Given: 43
Rept. Rcvd 62 Times in 37 Posts
Thanks Given: 37
Thanks Rcvd at 191 Times in 57 Posts
Jupiter Reputation: 62
Some tools/sigs for IDA:
http://www.wasm.ru/toollist.php?list=20

Signs for Delphi:
http://www.wasm.ru/baixado.php?mode=tool&id=377

You can dump ASProtect.dll and analyze it with any crypto analyzer, if you find ECC routines then it's SKE.
Reply With Quote
  #5  
Old 09-15-2006, 21:19
5Alive 5Alive is offline
Friend
 
Join Date: Aug 2003
Posts: 82
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 1
Thanks Rcvd at 1 Time in 1 Post
5Alive Reputation: 0
It appears to be protected with ASProtect 2.1x SKE when using an updated signature file with PEiD. Doesn't this use RSA1024 rather than ECC?

Thanks.
Reply With Quote
  #6  
Old 09-15-2006, 23:24
Jupiter's Avatar
Jupiter Jupiter is offline
Lo*eXeTools*rd
 
Join Date: Jan 2005
Location: Moscow, Russia
Posts: 234
Rept. Given: 43
Rept. Rcvd 62 Times in 37 Posts
Thanks Given: 37
Thanks Rcvd at 191 Times in 57 Posts
Jupiter Reputation: 62
Post ASProtect Verion Detection

Q: how to detect exact ASProtect version?
A: extract TASP object and analyze it.

Q: What is TASP object?
A: TASP object - it's ASProtect DLL used in protected application to perform all protection tasks (e.g. license keys managment). You can extract it from ASProtect.exe (ASProtect itself) resources (RCData -> TASP).

When ASProtect protects an executable, it attaches TASP to protected exe. TASP is packed by aPLib and ASPack, PE structure replaced by own (much easy).

Q: How to extract TASP from protected application?
A: Method 1: Execute protected app under debugger, wait until TASP is unpacked by ASPr stub and dump TASP to disk, place correct PE header (read tutorials about it - there are good old articles for v1.2x by crUsAdEr).
Method 2: Find compressed TASP in .aspr section, decompress and reconstruct it.
Method 3: Use tool for automatic TASP extraction like asdd tool by seeQ or VerA plugin for PEiD/DiE by PE_Kill
So, when you'll get unpacked TASP (ASProtect.dll), you can analyze it with any crypto ananlyzer (for ex. KANAL).

Attached:
VerA 0.15 (PEiD Plugin)
ASProtect v2.3 06.26 ASProtect.dll [TASP] (ready to ananlyze)
ASProtect v2.3 06.26 TASP (from resources, packed)
Attached Files
File Type: rar VerA_015.rar (46.3 KB, 92 views)
File Type: rar ASProtect_23_0626.rar (118.3 KB, 51 views)
File Type: rar TASP_23_0626.rar (133.1 KB, 58 views)
Reply With Quote
  #7  
Old 09-16-2006, 01:58
5Alive 5Alive is offline
Friend
 
Join Date: Aug 2003
Posts: 82
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 1
Thanks Rcvd at 1 Time in 1 Post
5Alive Reputation: 0
Thankyou for your very informative reply. I shall have a look at your attachments and see what I can learn from them.
Reply With Quote
  #8  
Old 10-01-2006, 21:10
lord_Phoenix
 
Posts: n/a
when you unpack files with stripper - and oep is stolen, that stolen code would be recovered, but it's still morphed, so peid cant recognise any signatures on ep..
--
aspr dont use rsa..just ecc, and some signature scheme.. there are some bugs in generation of numbers, TMG and ECL found them, and succefully keygenned aspr..
Reply With Quote
  #9  
Old 10-02-2006, 20:43
5Alive 5Alive is offline
Friend
 
Join Date: Aug 2003
Posts: 82
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 1
Thanks Rcvd at 1 Time in 1 Post
5Alive Reputation: 0
I think I'm probably a little over my head on this one, I realise I have much to learn.
I should be happy that I was at least able to unpack and patch the app in the meantime.

Perhaps I shall return to this when my skills improve and time permits. Thanks for all the help offered.
Reply With Quote
  #10  
Old 02-07-2009, 00:10
Maroc-OS
 
Posts: n/a
direct link please

i cant download it from the attachements

sorry.
Reply With Quote
  #11  
Old 02-07-2009, 07:15
jump jump is offline
VIP
 
Join Date: Jan 2009
Posts: 305
Rept. Given: 84
Rept. Rcvd 51 Times in 26 Posts
Thanks Given: 24
Thanks Rcvd at 41 Times in 27 Posts
jump Reputation: 51
You should read FAQ before posting this...!

--
Jump
Reply With Quote
  #12  
Old 02-08-2009, 18:05
EvOlUtIoN
 
Posts: n/a
Maroc-OS You want to be answered on a 3-years old discussion...
Reply With Quote
  #13  
Old 02-08-2009, 19:38
ahmadmansoor's Avatar
ahmadmansoor ahmadmansoor is offline
Coder
 
Join Date: Feb 2006
Location: Syria
Posts: 1,047
Rept. Given: 517
Rept. Rcvd 374 Times in 142 Posts
Thanks Given: 380
Thanks Rcvd at 416 Times in 119 Posts
ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399
hehe I think he didn't read the time of this post ..hehe he still new so no problem ...
this is the file :
hXXp://rapidshare.com/files/195488593/Ahmadmansoor-exetools_Team.rar
play good and then u can download the Attached Files ..
__________________
Ur Best Friend Ahmadmansoor
Always My Best Friend: Aaron & JMI & ZeNiX
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
FLIRT Signature File Database Kurapica General Discussion 1 03-07-2022 11:08
unpacked file bart General Discussion 2 10-13-2005 17:11
Signature and IDS file of VC++ 7.1 TQN General Discussion 2 07-12-2004 16:49


All times are GMT +8. The time now is 07:30.


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