Questions tagged [macos]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
25 views

Hopper Disassembler AArch64 assemble instruction syntax error

As the screenshot shown above, I attempt to change cbz to cbnz, hopper gives me "syntax error". At this moment I can only change it by editing the instruction encoding in hex view as a ...
0
votes
0answers
11 views

"Rejecting invalid page" error when using patched private framework binary

The background is - I got tired of my bluetooth headset button opening Apple Music and wanted it to do something useful instead. After some investigation I concluded that on button click a message is ...
0
votes
0answers
41 views

How to extract SSL pre-master key from Mac app?

I would like to analyse the traffic generated by one of the apps that I use. This .app contains an OpenSSL 1.1.0 dylib in its Frameworks folder. I would like to extract the pre-master keys using the ...
2
votes
0answers
35 views

Attempting to understand non-XZ file signatures within PBZX chunks

After my previous question from nearly a year ago directing me to the YAA format to make sense of the chunks that could be decompressed, this time we're dealing with the chunks that made pbzx tell us ...
1
vote
1answer
43 views

Kernel debug two physical MacBook pro devices

I've asked the same question at stackoverflow, but i'm gonna copy-paste it here as i might get more relevant answers(?): I'm trying to kernel debug a physical Macbook pro device. When my setup ...
1
vote
1answer
67 views

macOS under M1, cannot find library

I'm looking for the following dylib file which is included from process loginwindow. If I run vmmap to inspect loginwindow while it's up and running I get : user@mycomp / % sudo vmmap -I ``pgrep ...
1
vote
1answer
42 views

Inbound network queries not appearing in developer tools of browser

When trying to understand the behavior of web apps, I find myself stumbling against the fact that some network messages do not appear on the network tab of the web developer tool of the browser. For ...
0
votes
1answer
342 views

How to fix an extracted dyld from dyld_shared_cache_x86_64?

As part of challenging my self I was trying to run a program that doesn't exist on Catlina taken from Big Sur. I had to extract the dylibs from the shared cache by using this tool. The library called ...
3
votes
2answers
178 views

Extract closed format metadata from audio file

I am writing an app to analyze .wav audio files and extract metadata. The way the metadata works for RIFF based files is shown in this picture: You need to have "format" and "data&...
-2
votes
1answer
393 views

How to fix Mach-O segment section to deobfuscate the binary

When reversing a Mach-O crackme file under IDA Free and MacOS, the analysis output a log in the console window that yields warning about Mach-O segments. Loading file 'target' into database... ...
3
votes
3answers
7k views

GDB hangs when I try to run and debug a binary

When I type gdb a.out and then run inside the gdb itself I get stuck on the empty line: jericho-laptop:exploit.education jericho$ gdb a.out GNU gdb (GDB) 9.1 ... Reading symbols from a.out... (No ...
1
vote
1answer
348 views

Not able to find Hard coded strings in the mac executable file

I know that there is a string called "Activate your subscription" used in this particular app. But Im not able to find this string from its executable. I tried strings myapp and also searched for same ...
5
votes
2answers
7k views

OTOOL alternative for linux

I have a reverse engineering set up on a Mac machine. This set up does some reverse engineering on iOS applications(.ipa files). I'm migrating the setup from Mac to a linux machine. Currently on Mac, ...
3
votes
2answers
2k views

(MacOS) disable codesign check / run codesign on multiple files

so I have two questions, I'll try to keep it short (also, im a noob): I run logic pro x and other software to make music, and some third party plugins make program crash if they get a: Exception ...
5
votes
1answer
649 views

Import symbols containing strange characters

I am analyzing a macOS app with radare2, and the app depends on a number of Qt frameworks. When I printed out the import symbols of the app's main executable, the names of the frameworks' functions ...
3
votes
2answers
2k views

How to use Hopper Debugger Server

I am assuming that Hopper Debugger Server is meant to allow you to remotely debug an potentially malicious app. For example, I would like to debug an app that is running on a VM or on a separate ...
4
votes
2answers
523 views

IDA Pro: "File is apple protected"

I'm trying to disassemble Dock.app on macOS Sierra, and IDA is giving me this error message: What does this mean?
1
vote
1answer
83 views

OSX User level application Preferences (plist) are not loaded after binary modification

I am working on a project that requires to modify an existing OSX application's dylib binary (few bytes to correct an obsolete URL). I do not have access to the application source code nor the code ...
4
votes
2answers
2k views

Why are there absolute jmps in disassembly of position independent code?

I'm playing around with Hopper and am looking at the disassembly of a binary that otool reports as having the PIE flag. It's my understanding that as a result, the executable base address will be ...
2
votes
0answers
418 views

IDA Pro macOS kernel debugging and lldb support

I'm trying to revers some kexts on macOS and I can't find a way to achieve the same level of debugging you can do on Windows kernel with IDA and WinDBG. Is there a way to add support for lldb? Or can ...
0
votes
1answer
138 views

What does the M68k $FBE6 instruction do on a classic Mac?

I have a classic Mac OS executable where control is given to an instruction whose hex encoding is $FBE6. I have been unable to find documentation for this F-line instruction, and it doesn't appear to ...
1
vote
1answer
80 views

Is there a static address to a pointer on Mac OS?

Given the sample code below: #include <iostream> struct Data { int a; int b; int c; }; int main() { Data *d = new Data; d->a = 1337; d->b = 1338; d->c = ...
7
votes
1answer
1k views

Reverse engineering the PluginKit MacOS framework

I've been tasked with an assignment requiring a thorough reverse engineering effort on the PluginKit framework in modern Mac operating system, and I'm looking for information to start off, instead of ...
14
votes
6answers
17k views

What is a free & open source alternative to IDA Pro for MacOS?

I am looking for a free & open source alternative to IDA Pro runs on MacOS - the suggestions should have as close to the features of IDA as possible. I should also be able to edit an executable ...