Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 02-28-2010, 06:24 AM   #90 (permalink)
learnSomething
Registered Member
 
Join Date: Sep 2009
Posts: 14
learnSomething is on a distinguished road
Default

2 other anti debugging techniques.
1. use PTRACE_TRACEME to trace the app itself. gdb won't be able to attach
2. gdb opens some more file descriptors than the usual 3 for the child process. So you can check if more than 5 file descriptors exists. if they exist you can exit your app.

and of course you can use asm to do the basic PT_DENY_ATTACH

anyhow, I'm not an AppStore dev, I develop for the CydiaStore. Doesn't apple rely on being able to use gdb with your executable in order to test your app?

and make sure you avoid all kind of strings. strings are a dead giveaway (encrypted or not), especially you only need to break in gdb right before the msg_send and you can print out the objects in the registers (po $r0). Don't use objC for checks. try to use as much C as possible.

here are some other suggestions: http://iphonedevwiki.net/index.php/Crack_prevention

Last edited by learnSomething; 02-28-2010 at 06:28 AM.
learnSomething is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,527
Threads: 94,049
Posts: 402,632
Top Poster: BrianSlick (7,978)
Welcome to our newest member, dreamsol01
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 09:45 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.