avast / avast/retdec

Parsing of LC_CODE_SIGNATURE load command from Mach-O files

Open
#304 0 comments 0 reactions 0 assignees View on GitHub
C-fileformat new-feature T-format-macho
Dominant language
C++
Stars
8.6k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

Mach-O files may contain load command `LC_CODE_SIGNATURE` which contains signature of the code (similar to Authenticode in PEs). We should definitely parse this command. There are possibly some certificates.

This issue still needs further research because the structure of this command is undocumented.

This ticket is dependency for #305.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no implementation file, test, or entry point. Start by researching the undocumented Mach-O LC_CODE_SIGNATURE structure and how RetDec currently parses Mach-O load commands. Done means the command is parsed, including any certificate data that the research confirms, so dependency #305 can proceed.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
reverse-engineering
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.