Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix obfuscated pointers #470

Merged
merged 17 commits into from
May 9, 2024
Merged

Fix obfuscated pointers #470

merged 17 commits into from
May 9, 2024

Conversation

GLinnik21
Copy link
Collaborator

@GLinnik21 GLinnik21 commented May 6, 2024

With the release of iOS 12, a new encoding scheme for tagged pointers was introduced, along with enhanced obfuscation techniques. From the Objective-C sources:

The tagged pointer obfuscator is intended to make it more difficult for an attacker to construct a particular object as a tagged pointer, in the presence of a buffer overflow or other write control over some memory. The obfuscator is XORed with the tagged pointers when setting or retrieving payload values. They are filled with randomness on first use.

@GLinnik21 GLinnik21 linked an issue May 6, 2024 that may be closed by this pull request
11 tasks
@GLinnik21 GLinnik21 mentioned this pull request May 6, 2024
11 tasks
@GLinnik21 GLinnik21 marked this pull request as ready for review May 8, 2024 23:34
@GLinnik21 GLinnik21 requested a review from bamx23 May 8, 2024 23:39
Copy link
Collaborator

@bamx23 bamx23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't say I understand everything here, but I trust re-enabled tests. Thanks a lot for digging into this beautiful world of runtime hacks tricks!

@GLinnik21 GLinnik21 merged commit a3c5059 into release-2.0 May 9, 2024
14 checks passed
@GLinnik21 GLinnik21 deleted the fix-obfuscated-poiters branch May 9, 2024 13:22
@GLinnik21 GLinnik21 removed a link to an issue May 24, 2024
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants