본문으로 건너뛰기
Skillpedia
보안48k · #5128

macos-reverse

하는 일

이 도구는 macOS에서 의심스러운 프로그램과 파일을 조사하는 데 도움을 줍니다. 서명을 확인하고, 코드를 분석하며, Objective-C와 Swift로 작성된 프로그램이 어떻게 작동하는지 이해합니다.

사용하는 경우

  • ✓Mac에서 의심스러운 프로그램이나 파일을 발견했을 때.
  • ✓프로그램에 특이한 권한이 있거나 변조되었는지 확인할 때.
  • ✓특정 macOS 프로그램이 내부적으로 어떻게 작동하는지 이해하고 싶을 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/macos-reverse/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/macos-reverse/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Mac에서 찾은 이 의심스러운 파일을 분석해서 안전한지 알려 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

macOS 전용 도구를 사용해 프로그램 내부를 살핍니다. 먼저 프로그램의 신원과 권한을 확인하고, 그다음 코드를 검사해 구조와 동작을 이해합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

macOS / Mach-O Reverse Engineering

When to Use

  • Analyzing macOS binaries or suspected malware samples.
  • Inspecting entitlements, signatures, and ObjC/Swift structures.

适用场景

  • Mach-O 可执行文件 / dylib / framework
  • .app bundle、LaunchAgent/Daemon
  • Objective-C / Swift 符号与 runtime
  • 公证/签名、Hardened Runtime、TCC 相关行为分析
  • macOS 恶意软件静态/动态分析(联合 malware-analysis)

工作流

1. 包体与签名

file target
codesign -dv --verbose=4 target
spctl -a -vv target 2>&1
otool -L target

2. 静态

□ class-dump / swift-demangle / Hopper / Ghidra / IDA
□ 字符串与 XPC 服务名、TCC 敏感 API
□ LC_LOAD_dylib 依赖与 rpath

3. 动态

□ lldb / Frida
□ fs_usage / log stream 观察
□ 网络:联合 protocol-reverse 或代理

工具链

工具 用途
otool / nm / codesign 系统自带
Hopper / Ghidra / IDA 反编译
class-dump / dsdump ObjC
Frida / lldb 动态
jtool2 Mach-O

参考

  • references/macho-triage.md
  • ../mobile-reverse/(iOS) ../ghidra-reverse/ ../malware-analysis/

路由上下文

上游: MASTER R31
下游: iOS → mobile-reverse;通用样本 → malware-analysis

任务完成自检

  • 是否记录签名/Hardened Runtime 状态?
  • 是否有地址级/符号级结论?
  • Checklist?

Limitations

  • Apple Silicon and hardened runtime add unpacking complexity.
  • Some analysis requires disabling SIP in a dedicated lab VM.

Adapted from zhaoxuya520/reverse-skill (MIT).

자주 묻는 질문

‘권한(entitlements)’과 ‘서명(signatures)’은 무엇인가요?

‘서명’은 프로그램이 변경되지 않았음을 보장하는 진위 도장과 같습니다. ‘권한’은 프로그램이 시스템의 특정 부분이나 데이터에 접근하기 위해 가진 특별한 허가입니다.

Objective-C와 Swift는 무엇인가요?

macOS와 iOS에서 앱을 만들 때 가장 많이 쓰이는 프로그래밍 언어입니다. 이 구조를 이해하면 코드 분석에 도움이 됩니다.

모든 파일 형식을 분석할 수 있나요?

이 도구는 macOS 실행 파일과 프로그램 번들(Mach-O 파일)에 중점을 둡니다. 문서나 이미지 같은 다른 파일 형식에는 적합하지 않습니다.

상세 정보

작성자의 원본 설명

Authorized macOS and Mach-O reverse engineering: codesign inspection, Objective-C/Swift recovery, endpoint-security surfaces, and Apple-platform malware analysis.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#5128
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬