Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8487289
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T21:11:42+00:00 2026-06-10T21:11:42+00:00

Is anyone hardening their code in an attempt to detect injections? For example, if

  • 0

Is anyone hardening their code in an attempt to detect injections? For example, if someone is trying to intercept a username/password via NSUrlConnection, they could use LD_PRELOAD/DYLD_LIBRARY_PATH, provide exports for my calls into NSUrlConnection, and then forward the calls to the real NSUrlConnection.

Ali gave excellent information below, but I’m trying to determine what measures should be take for a hostile environment, where a phone might be jail broken. Most applications don’t have to care, but one class of apps do – high integrity software.

If you are hardening, what method(s) are you using? Is there a standard way to detect injections on Macs and iPhones? How are you defeating framework injections?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T21:11:44+00:00Added an answer on June 10, 2026 at 9:11 pm

    For iOS / CocoaTouch, loading dynamic libraries is not allowed* (except for the System frameworks). To build and distribute an Application thru the AppStore, you can only link with static libraries and system frameworks, no dynamic library.

    So on iOS you can’t use that for code injection, neither can you use LD_PRELOAD of course (as you don’t have access to such environment variables on iOS).

    Except for jailbroken iPhones probably, but people jailbreaking their iPhone should take upon themselves that jailbreaking is by definition lifting all securities provided by iOS to avoid things such as injections (so you can’t expect to remove the lock on your door to avoid having to use your key… and still expect that you’re still protected against thieves robbing your house ;-))

    That’s the advantage of the Sandboxing + CodeSigning + No dylib constraints on iOS. No Code injection possible.

    (On OSX it is still possible anyway, inparticular using LD_PRELOAD)


    [EDIT] Since iOS8, iOS also allows dynamic frameworks. But as that’s still sandboxed (you can only load code-signed frameworks that are inside your application bundles, and can’t load frameworks that comes from outside your app bundle) injection is still not possible*

    *except if the user jailbreaks its phone but it means that s/he chose to get rid of all protections and purpose and thus put its phone at risk — we can’t crack our phone security and still expect it to provide all the protections those securities provided

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm wondering if anyone else has experienced failed DLL's after upgrading their servers. My
im following this example http://jsfiddle.net/rniemeyer/badZb/ . I just copy and paste the exact code
I'm trying to work through their notepad tutorial and it describes how the Eclipse
Has anyone come across this issue? Seems MS have broken it with their own
Hi I'm trying to extract the university of the user from their Facebook profile
I'm trying to build System.Data.SQLite in Visual Studio using the source code downloaded from
for i=0:255 m(i+1)=sum((0:i)'.*p(1:i+1)); end What is happening can anyone explain. p is an array
anyone shed any light as to why this might be happening for one user
can anyone explain to me what is happening when a instance of a class
Can anyone tell me what is happening here? <?php // true var_dump('\\ ' ===

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.