Skip to Content
Binary Hacks Rebooted ―低レイヤの世界を探検するテクニック89選
book

Binary Hacks Rebooted ―低レイヤの世界を探検するテクニック89選

by 河田 旺, 小池 悠生, 渡邉 慶一, 佐伯 学哉, 荒田 実樹, 鈴木 創, 中村 孝史, 竹腰 開, 光成 滋生, hikalium, 浜地 慎一郎
August 2024
Intermediate to advanced
660 pages
9h 58m
Japanese
O'Reilly Japan, Inc.
Content preview from Binary Hacks Rebooted ―低レイヤの世界を探検するテクニック89選

1章イントロダクションHack #1–3

[level-easy] HACK #1 未知のバイナリの読み方

感覚で読むバイナリの世界

現代のほぼすべてのコンピュータは、あらゆるデータを0と1の集合体として扱っています。したがって、コンピュータ上の何らかのデータを表現するバイト列を指して、バイナリ(Binary)と呼ぶことがあります。

ということは、もしもバイナリを読んでそれが何を表現しているのか理解できるようになったら、最強になれそうな気がしませんか? しますよね!

……冗談に聞こえるかもしれませんが、バイナリを眺めてその雰囲気を察したり、その意味を理解できるようになることには、ソフトウェア開発における難解なバグを解決する突破口になったり、セキュリティやパフォーマンスの観点からもおもしろい知見を与えてくれたりと、さまざまな実益があります。ということで、本Hackでは未知のバイナリを与えられたときにどのようにしてそれを読み解いてゆけばよいのか、そのヒントやコツをいくつか見ていくことにしましょう。

fileコマンド:ファイル形式を特定する

ファイル。それは、名前の付いたバイナリです。私たちは日常的に、さまざまな種類の情報を、バイナリという共通の形でコンピュータに格納し、処理しています。

テキスト、画像、音楽、動画、プログラム……どのような種類のファイルであっても、結局は0と1の羅列でしかありません。そこから意味のある情報を得るためには、その0と1の羅列を正しく解釈する方法を理解している必要があります。この解釈のしかたのことを、ファイルの形式(フォーマット ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

LLMのプロンプトエンジニアリング ―GitHub Copilotを生んだ開発者が教える生成AIアプリケーション開発

LLMのプロンプトエンジニアリング ―GitHub Copilotを生んだ開発者が教える生成AIアプリケーション開発

John Berryman, Albert Ziegler, 服部 佑樹, 佐藤 直生
実用 Git 第3版

実用 Git 第3版

Prem Kumar Ponuthorai, Jon Loeliger, 萬谷 暢崇, 長尾 高弘
入門 Python 3 第2版

入門 Python 3 第2版

Bill Lubanovic, 鈴木 駿, 長尾 高弘
実践 Keycloak ―OpenID Connect、OAuth 2.0を利用したモダンアプリケーションのセキュリティー保護

実践 Keycloak ―OpenID Connect、OAuth 2.0を利用したモダンアプリケーションのセキュリティー保護

Stian Thorgersen, Pedro Igor Silva, 和田 広之, 田村 広平, 乗松 隆志, 田畑 義之

Publisher Resources

ISBN: 9784814400850Publisher Website