Vector35 / Vector35/binaryninja-api

Analysing sepOS MachO produces incorrect output

Open
#5,095 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Component: BinaryViewType Effort: Low File Format: Mach-O Impact: Medium
Dominant language
C++
Stars
1.3k
Forks
298
Avg merge
5d 5h
Merged PRs (30d)
19

Description

Version and Platform (required):

  • Binary Ninja Version: 4.0.4902-dev
  • OS: macOS
  • OS Version: 14.0, Sonoma
  • CPU Architecture: M1

Bug Description:
Trying to analyse the attached binary, taken from an iOS 15.8(.1 maybe?) sepOS image, results in incorrect output. The code begins at around offset 0x1240, but the majority of the data is left in hex format.

Steps To Reproduce:
Please provide all steps required to reproduce the behavior:

  1. Open the attached binary in Binary Ninja
  2. Use the default options (mac-armv7) and begin the analysis
  3. Go to the beginning of the code and observe the disassembly

Expected Behavior:
Readable output, similar to that of IDA Pro (see screenshots for example).

Screenshots:
ida1
binja1
binja2

Binary:
sepdump13_sks.zip

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by opening the attached sepdump13_sks.zip binary in Binary Ninja with the default mac-armv7 options, then inspect the disassembly around offset 0x1240 and compare it with the supplied IDA Pro screenshots. Determine why most of the data remains in hex format and verify that analysis produces readable output for the provided sepOS image.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, macos
Domain
reverse-engineering
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.