# iButton {% hint style="success" %} Learn & practice AWS Hacking:[**HackTricks Training AWS Red Team Expert (ARTE)**](https://training.hacktricks.xyz/courses/arte)\ Learn & practice GCP Hacking: [**HackTricks Training GCP Red Team Expert (GRTE)**](https://training.hacktricks.xyz/courses/grte)
Support HackTricks * Check the [**subscription plans**](https://github.com/sponsors/carlospolop)! * **Join the** ๐Ÿ’ฌ [**Discord group**](https://discord.gg/hRep4RUj7f) or the [**telegram group**](https://t.me/peass) or **follow** us on **Twitter** ๐Ÿฆ [**@hacktricks\_live**](https://twitter.com/hacktricks\_live)**.** * **Share hacking tricks by submitting PRs to the** [**HackTricks**](https://github.com/carlospolop/hacktricks) and [**HackTricks Cloud**](https://github.com/carlospolop/hacktricks-cloud) github repos.
{% endhint %} ## Intro iButton์€ **๋™์ „ ๋ชจ์–‘์˜ ๊ธˆ์† ์šฉ๊ธฐ**์— ํฌ์žฅ๋œ ์ „์ž ์‹๋ณ„ ํ‚ค์˜ ์ผ๋ฐ˜์ ์ธ ์ด๋ฆ„์ž…๋‹ˆ๋‹ค. **Dallas Touch** Memory ๋˜๋Š” ์ ‘์ด‰ ๋ฉ”๋ชจ๋ฆฌ๋ผ๊ณ ๋„ ๋ถˆ๋ฆฝ๋‹ˆ๋‹ค. ์ข…์ข… โ€œ์ž๊ธฐโ€ ํ‚ค๋กœ ์ž˜๋ชป ์–ธ๊ธ‰๋˜์ง€๋งŒ, ๊ทธ ์•ˆ์—๋Š” **์ž๊ธฐ์ ์ธ ๊ฒƒ**์ด ์ „ํ˜€ ์—†์Šต๋‹ˆ๋‹ค. ์‚ฌ์‹ค, **๋””์ง€ํ„ธ ํ”„๋กœํ† ์ฝœ**๋กœ ์ž‘๋™ํ•˜๋Š” ์™„์ „ํ•œ **๋งˆ์ดํฌ๋กœ์นฉ**์ด ๋‚ด๋ถ€์— ์ˆจ๊ฒจ์ ธ ์žˆ์Šต๋‹ˆ๋‹ค.
### What is iButton? ์ผ๋ฐ˜์ ์œผ๋กœ iButton์€ ํ‚ค์™€ ๋ฆฌ๋”์˜ ๋ฌผ๋ฆฌ์  ํ˜•ํƒœ๋ฅผ ์˜๋ฏธํ•˜๋ฉฐ, ๋‘ ๊ฐœ์˜ ์ ‘์ ์ด ์žˆ๋Š” ๋‘ฅ๊ทผ ๋™์ „์ž…๋‹ˆ๋‹ค. ์ด๋ฅผ ๋‘˜๋Ÿฌ์‹ผ ํ”„๋ ˆ์ž„์—๋Š” ๊ตฌ๋ฉ์ด ์žˆ๋Š” ๊ฐ€์žฅ ์ผ๋ฐ˜์ ์ธ ํ”Œ๋ผ์Šคํ‹ฑ ํ™€๋”๋ถ€ํ„ฐ ๋ง, ํŽœ๋˜ํŠธ ๋“ฑ ๋‹ค์–‘ํ•œ ๋ณ€ํ˜•์ด ์žˆ์Šต๋‹ˆ๋‹ค.
ํ‚ค๊ฐ€ ๋ฆฌ๋”์— ๋„๋‹ฌํ•˜๋ฉด **์ ‘์ ์ด ์ ‘์ด‰**ํ•˜๊ณ  ํ‚ค๊ฐ€ **์ „์› ๊ณต๊ธ‰**์„ ๋ฐ›์•„ ID๋ฅผ **์ „์†ก**ํ•ฉ๋‹ˆ๋‹ค. ๋•Œ๋•Œ๋กœ ํ‚ค๊ฐ€ **์ฆ‰์‹œ ์ฝํžˆ์ง€ ์•Š๋Š”** ๊ฒฝ์šฐ๊ฐ€ ์žˆ๋Š”๋ฐ, ์ด๋Š” **์ธํ„ฐ์ฝค์˜ ์ ‘์ด‰ PSD๊ฐ€ ๋„ˆ๋ฌด ํฌ๊ธฐ** ๋•Œ๋ฌธ์ž…๋‹ˆ๋‹ค. ๊ทธ๋ž˜์„œ ํ‚ค์™€ ๋ฆฌ๋”์˜ ์™ธ๊ณฝ์ด ์ ‘์ด‰ํ•˜์ง€ ๋ชปํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๊ทธ๋Ÿฐ ๊ฒฝ์šฐ์—๋Š” ๋ฆฌ๋”์˜ ๋ฒฝ ์ค‘ ํ•˜๋‚˜์— ํ‚ค๋ฅผ ๋ˆŒ๋Ÿฌ์•ผ ํ•ฉ๋‹ˆ๋‹ค.
### **1-Wire protocol** Dallas ํ‚ค๋Š” 1-wire ํ”„๋กœํ† ์ฝœ์„ ์‚ฌ์šฉํ•˜์—ฌ ๋ฐ์ดํ„ฐ๋ฅผ ๊ตํ™˜ํ•ฉ๋‹ˆ๋‹ค. ๋ฐ์ดํ„ฐ ์ „์†ก์„ ์œ„ํ•œ ์ ‘์ ์ด ํ•˜๋‚˜๋งŒ ์žˆ์œผ๋ฉฐ (!!) ์–‘๋ฐฉํ–ฅ์œผ๋กœ, ๋งˆ์Šคํ„ฐ์—์„œ ์Šฌ๋ ˆ์ด๋ธŒ๋กœ, ๊ทธ๋ฆฌ๊ณ  ๊ทธ ๋ฐ˜๋Œ€ ๋ฐฉํ–ฅ์œผ๋กœ ์ž‘๋™ํ•ฉ๋‹ˆ๋‹ค. 1-wire ํ”„๋กœํ† ์ฝœ์€ ๋งˆ์Šคํ„ฐ-์Šฌ๋ ˆ์ด๋ธŒ ๋ชจ๋ธ์— ๋”ฐ๋ผ ์ž‘๋™ํ•ฉ๋‹ˆ๋‹ค. ์ด ํ† ํด๋กœ์ง€์—์„œ ๋งˆ์Šคํ„ฐ๋Š” ํ•ญ์ƒ ํ†ต์‹ ์„ ์‹œ์ž‘ํ•˜๊ณ  ์Šฌ๋ ˆ์ด๋ธŒ๋Š” ๊ทธ ์ง€์นจ์„ ๋”ฐ๋ฆ…๋‹ˆ๋‹ค. ํ‚ค(์Šฌ๋ ˆ์ด๋ธŒ)๊ฐ€ ์ธํ„ฐ์ฝค(๋งˆ์Šคํ„ฐ)๊ณผ ์ ‘์ด‰ํ•˜๋ฉด, ํ‚ค ๋‚ด๋ถ€์˜ ์นฉ์ด ์ผœ์ง€๊ณ  ์ธํ„ฐ์ฝค์— ์˜ํ•ด ์ „์›์ด ๊ณต๊ธ‰๋˜์–ด ํ‚ค๊ฐ€ ์ดˆ๊ธฐํ™”๋ฉ๋‹ˆ๋‹ค. ๊ทธ ํ›„ ์ธํ„ฐ์ฝค์ด ํ‚ค ID๋ฅผ ์š”์ฒญํ•ฉ๋‹ˆ๋‹ค. ๋‹ค์Œ์œผ๋กœ ์ด ๊ณผ์ •์„ ๋” ์ž์„ธํžˆ ์‚ดํŽด๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค. Flipper๋Š” ๋งˆ์Šคํ„ฐ ๋ฐ ์Šฌ๋ ˆ์ด๋ธŒ ๋ชจ๋“œ ๋ชจ๋‘์—์„œ ์ž‘๋™ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ํ‚ค ์ฝ๊ธฐ ๋ชจ๋“œ์—์„œ Flipper๋Š” ๋ฆฌ๋”๋กœ ์ž‘๋™ํ•˜๋ฉฐ, ์ฆ‰ ๋งˆ์Šคํ„ฐ๋กœ ์ž‘๋™ํ•ฉ๋‹ˆ๋‹ค. ๊ทธ๋ฆฌ๊ณ  ํ‚ค ์—๋ฎฌ๋ ˆ์ด์…˜ ๋ชจ๋“œ์—์„œ๋Š” Flipper๊ฐ€ ํ‚ค์ธ ์ฒ™ํ•˜๋ฉฐ ์Šฌ๋ ˆ์ด๋ธŒ ๋ชจ๋“œ์— ์žˆ์Šต๋‹ˆ๋‹ค. ### Dallas, Cyfral & Metakom keys ์ด ํ‚ค๋“ค์ด ์–ด๋–ป๊ฒŒ ์ž‘๋™ํ•˜๋Š”์ง€์— ๋Œ€ํ•œ ์ •๋ณด๋Š” [https://blog.flipperzero.one/taming-ibutton/](https://blog.flipperzero.one/taming-ibutton/) ํŽ˜์ด์ง€๋ฅผ ํ™•์ธํ•˜์„ธ์š”. ### Attacks iButtons๋Š” Flipper Zero๋กœ ๊ณต๊ฒฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค: {% content-ref url="flipper-zero/fz-ibutton.md" %} [fz-ibutton.md](flipper-zero/fz-ibutton.md) {% endcontent-ref %} ## References * [https://blog.flipperzero.one/taming-ibutton/](https://blog.flipperzero.one/taming-ibutton/) {% hint style="success" %} Learn & practice AWS Hacking:[**HackTricks Training AWS Red Team Expert (ARTE)**](https://training.hacktricks.xyz/courses/arte)\ Learn & practice GCP Hacking: [**HackTricks Training GCP Red Team Expert (GRTE)**](https://training.hacktricks.xyz/courses/grte)
Support HackTricks * Check the [**subscription plans**](https://github.com/sponsors/carlospolop)! * **Join the** ๐Ÿ’ฌ [**Discord group**](https://discord.gg/hRep4RUj7f) or the [**telegram group**](https://t.me/peass) or **follow** us on **Twitter** ๐Ÿฆ [**@hacktricks\_live**](https://twitter.com/hacktricks\_live)**.** * **Share hacking tricks by submitting PRs to the** [**HackTricks**](https://github.com/carlospolop/hacktricks) and [**HackTricks Cloud**](https://github.com/carlospolop/hacktricks-cloud) github repos.
{% endhint %}