現在マヨケーがダウンしています。避難所にはカクケーモリケーがあります。

「Tor/en」の版間の差分

提供:唐澤貴洋Wiki
ナビゲーションに移動 検索に移動
>充電に強い新芋
(fix)
>充電に強い新芋
編集の要約なし
1行目: 1行目:
[[ファイル:Tor-logo-2011-flat.svg|306px|thumb|right|ロゴ]]
[[ファイル:Tor-logo-2011-flat.svg|306px|thumb|right|Logo]]
'''Tor''' is software that uses Internet anonymization technology. Tor has a long history, with the first version released on December 20, 2002<ref>[http://archives.seul.org/or/dev/Sep-2002/msg00019.html pre-alpha: run an onion proxy now!]</ref>.
'''Tor''' is software that uses Internet anonymization technology. Tor has a long history, with the first version released on December 20, 2002<ref>[http://archives.seul.org/or/dev/Sep-2002/msg00019.html pre-alpha: run an onion proxy now!]</ref>.
== Overview ==
== Overview ==
40行目: 40行目:
{{wpl|en:Penetration test|Penetration test}}, an operating system designed to test attacks on computer systems and equipped with various <strike>attack weapon</strike>tools. This is also to be installed using [https://www.virtualbox.org/ VirtualBox]. <strong>Naturally, it must not be diverted to attacks on sites operated by third parties.</strong>
{{wpl|en:Penetration test|Penetration test}}, an operating system designed to test attacks on computer systems and equipped with various <strike>attack weapon</strike>tools. This is also to be installed using [https://www.virtualbox.org/ VirtualBox]. <strong>Naturally, it must not be diverted to attacks on sites operated by third parties.</strong>
* [[Parrot OS]]
* [[Parrot OS]]
Kali Linuxと同じくペネトレーションテストのために作られたOS。Kali Linuxと違ってTorが同梱されている<ref>Torブラウザが導入されているだけであり、全通信をTor経由にしてくれるわけではないので別途[https://github.com/ultrafunkamsterdam/AnonSurf Anonsurf]等で通信を匿名化する必要がある。</ref>。パスワードの[[カラッキング]]機能をはじめ様々な<strike>攻撃兵器</strike>ツールが搭載されているが、あくまでも自分が運営するサイトの脆弱性を確認するために使うことを目的としたOSであり、<strong>くれぐれも第三者が運営するサイトへの攻撃に転用してはならない。「Torが同封されているから攻撃への転用に最適だ」と考えることなど論外である。</strong>
Like Kali Linux, this OS is designed for penetration testing. Unlike Kali Linux, Tor is bundled<ref>The Tor browser is only installed and does not make all communications via Tor, so it is necessary to anonymize communications separately using [https://github.com/ultrafunkamsterdam/AnonSurf Anonsurf] or other means</ref>. Although it is equipped with various <strike>weapon of attack</strike> tools, including a password [[karacking]] function, it is an OS intended only for checking the vulnerability of the site you operate, and must <strong>never be diverted to attacks on sites operated by third parties</strong>. It is out of the question to think that "cuz tor is enclosed it is best suited for attack"</strong>.
* [https://blackarch.org/ BlackArch]
* [https://blackarch.org/ BlackArch]
同じくペネトレーションテスト用Arch LinuxフレーバーでネイティブTorとTor Browserが同梱されている。Kali LinuxやParrot OSがDebianをベースに採用していることに対し、こちらはArch Linuxを採用している。その為Anonsurfを動かすことはできないが、代わりに[https://github.com/Edu4rdSHL/tor-router tor-router]と呼ばれるスクリプトを走らせることによりOSの全通信をTor経由にすることが可能。tor-router本家の更新により、[https://github.com/Edu4rdSHL/tor-router/commit/290d0b1e29a13a4e1d4f109a6a31bdd1da523dc9 再起動なしで通信秘匿化を停止できるよになった(ab272cb)]。このコミットはBlackArchのリポジトリにも反映され、アルゴリズムにおける停止性を満したtor-routerを常時pacmanでインストール可能である。その他秘匿ツールの詳細は[https://blackarch.org/defensive.html こちら]を参照。
The same Arch Linux flavor for penetration testing is bundled with native Tor and Tor Browser. While Kali Linux and Parrot OS are based on Debian, this one uses Arch Linux. Therefore, it is not possible to run Anonsurf, but instead it is possible to run a script called [https://github.com/Edu4rdSHL/tor-router tor-router] to make all OS communications via Tor. The tor-router has been updated so that communication anonymising can be stopped without restarting [https://github.com/Edu4rdSHL/tor-router/commit/290d0b1e29a13a4e1d4f109a6a31bdd1da523dc9 (ab272cb)]. This commit is also reflected in the BlackArch repository, and tor-router is always available for installation with pacman, with full stopability in the algorithm. For more information on other secret tools, see [https://blackarch.org/defensive.html here].


=== 併用されるソフトウェア ===
=== Software used in conjunction ===
利便性や秘匿性の向上の為に、Torを利用するソフトウェアとよく併用されているソフトウェア。<strong>これら単体では、Torで匿名化されないものがあるので注意。</strong>
Software that is often used in conjunction with Tor-based software for improved convenience and confidentiality. <strong>Note that some of these by themselves will not be anonymized by Tor.</strong>
* [https://github.com/PHProxy/phproxy PHProxy]
* [https://github.com/PHProxy/phproxy PHProxy]
所謂Web串と呼ばれるものの1つ。これだけでも極めてお手軽にサイト側に生IPを隠匿することが可能だが、その分匿名性は落ちる。Torの後ろに経由させれば、Tor出口ノードのIPを拒否するサイトにアクセスすることが可能になる。
One of the so-called Webproxy. This alone is an extremely easy way to hide your raw IP from the site, but it also makes you less anonymous. If it is routed behind Tor, it is possible to access sites that deny the IP of the Tor exit node.
* [https://github.com/Und3rf10w/kali-anonsurf/ Anonsurf]
* [https://github.com/Und3rf10w/kali-anonsurf/ Anonsurf]
Whonixなどの仮想マシンを通さずLinuxの全通信をOS単体でTor/I2P経由にしてくれるスクリプト。公式ではKali linuxが推奨されているが、'''「Tor経由で攻撃できるからバレるわけがない」と他者への攻撃に使うのはもっての外である。'''
A script that makes all Linux communications via Tor/I2P on the OS itself, without passing through a virtual machine such as Whonix. Officially, Kali Linux is recommended, but it is not advisable to use it to attack others, saying '''i can attack via tor so there's no way ill be exposed'''.
*[https://github.com/alobbs/macchanger GNU MAC Changer]
*[https://github.com/alobbs/macchanger GNU MAC Changer]
macアドレスを偽装してくれるLinux向けソフトウェア。公共wifi等に接続する際に身バレを防ぐことができる。Tailsはデフォルトで入っているので必要ない。
Software for Linux that disguises your mac address. Prevents identity theft when connecting to public wifi, etc. Tails is included by default and is not required.
*[https://github.com/aforensics/HiddenVM HiddenVM]
*[https://github.com/aforensics/HiddenVM HiddenVM]
Tailsにインストールすることで、証拠を残さずVirtualboxを使うことができるツール。<strong>Kali linuxなどをインストールして、「証拠が残らない匿名環境でクラッキングができる」などと考えるのは論外である。</strong>
A tool that can be installed in Tails to use Virtualbox without leaving any evidence. <strong>It is out of the question to install Kali Linux, etc. and think that "cracking can be done in an anon env where no evidence is left behind".</strong>


==Torの用途==
==Uses of Tor==
本来、Torは言論の自由を守るために使われるべきものであり、犯罪行為を行う[[悪芋|悪いもの]]達はTorを利用するに値しない<ref>{{archive|1=https://www.cyberarts.tokyo/?p=167|2=https://archive.vn/G4p7G|3=Torは無敵か? - 田中一哉}}</ref>
Tor is supposed to be used to protect free speech, and the [[悪芋|bad people]] who commit criminal acts do not deserve to use Tor.<ref>{{archive|1=https://www.cyberarts.tokyo/?p=167|2=https://archive.vn/G4p7G|3=Torは無敵か? - Tanaka Kazunari}}</ref>


そのため、公式サイトからTor Browserをダウンロードするだけで誰でも手軽に使えるからといって、安易な悪用は許されない。
Therefore, just because anyone can easily use Tor Browser by simply downloading it from the official site does not mean that easy misuse is acceptable.


ましてや、パソコンに犯罪の痕跡を残さないために{{wpl|Tails (オペレーティングシステム)|Tails}}を導入する、OS全体の通信がすべてTor経由になりIP漏れが発生しない{{wpl|Whonix|lang=en}}を導入する、WhonixでTorを経由しながら攻撃ツールが多数搭載された{{wpl|Kali Linux}}を使う、プロバイダーにTorを使用していることを秘匿するためにブリッジノードを設定する、サイト側にTorからのアクセスであることを秘匿するために[https://github.com/PHProxy/phproxy PHProxy]などのWebプロキシを使用する、[https://proxifier.com/ Proxifier][https://pkgs.org/download/proxychains4 Proxychains]などのツールでラッピングを行ってプロキシを通す、ノーログの[[VPN]]を合わせて利用するなどということはあってはならない。
Even more so, install [[Tails]] to leave no criminal traces on your computer, install {{wpl|Whonix|lang=en}}, where all OS-wide communication goes through Tor and no IP leakage occurs, use {{wpl| Kali Linux}}, set up a bridge node to hide the fact that you are using Tor from the provider, use a web proxy such as [https://github.com/PHProxy/phproxy PHProxy] to hide the fact that the site is accessed from Tor. Use a web proxy, wrap with tools such as [https://proxifier.com/ Proxifier] or [https://pkgs.org/download/proxychains4 Proxychains] to pass through a proxy, or use a no-log [[VPN]] together, etc. should not happen.


当然、悪用を企む悪芋達はIPを[[セルフ開示]]する{{wpl|User Datagram Protocol|UDP}}サポートのあるサーバーを選択するべきなのであり、更に匿名性を高めるために仮想環境の導入など許されないのは自明である。
当然、悪用を企む悪芋達はIPを[[セルフ開示]]する{{wpl|User Datagram Protocol|UDP}}サポートのあるサーバーを選択するべきなのであり、更に匿名性を高めるために仮想環境の導入など許されないのは自明である。
It is obvious that the bad potato who intend to abuse the system should choose a server that supports {{wpl|en:User Datagram Protocol|UDP}} to [[セルフ開示|self-disclose]] the IP address, and it is obvious that it is not allowed to introduce a virtual environment to further increase anonymity.


また、[http://taruo.net/e/ 診断くん]などで匿名環境の構築に成功しているかどうか調べたり、torrcを編集して捜査の及びにくい国のサーバーを選んだりするなど論外である。
It is also out of the question to use [http://taruo.net/e/ Shindan-Kun] to check if you have succeeded in creating an anonymous environment, or to edit torrc to select a server in a country that is less susceptible to investigation.
 
 
<nicovideo>sm30472546</nicovideo><br>
匿名化全般について学べる動画。 初心者はまずこれを見て基本的なことを学ぶべきだろう。
 
 
<youtube>https://www.youtube.com/watch?v=oGAh8KWs2PI</youtube><br>
Whonixについて解説している動画。 上のものに比べるとやや敷居が高い。


==注意点==
==注意点==

2024年3月31日 (日) 06:47時点における版

Tor is software that uses Internet anonymization technology. Tor has a long history, with the first version released on December 20, 2002[1].

Overview

Anonymity of the originator is achieved by passing through multiple nodes for the connection from the client to the server. The content of the communication is encrypted, but not at the exit (end) node[2]. Journalists, activists, whistleblowers, intelligence agencies, and bad potatoes around the world use it to escape government surveillance.

In Japan, it became famous after Katayama Yusuke used it in a PC remote control incident.

It is also sometimes referred to as onion (玉ねぎ, tamanegi) because of its logo.

Relation to the turmoil

It is widely used by Koushinists as a countermeasure against disclosure. It is treated as an indispensable tool when dealing with those, such as Tanaka Kazuya, who are at high risk of suing for even mere slander, or when working with karackings and the like, which are against the law. It was also used to upload photos to Karasawa_Takahiro_BBS in the incident of the disclosure of Takahiro Karasawa's respectful face.

Even for legitimate activities that would not be troubled by disclosure, there are those who use Tor out of a thoroughly anonymous ideology, hobby, or raw IP phobia.

Anti-Kousinists may also use it for KTBBS trolling, perhaps in preparation for a response to be disclosed by board admin.

Karasawa Takahiro, a well-known pakaben[3], stated that it is difficult to identify the posters who use Tor in "obstruction of business through the Internet". In the above symposium article, only the "T" was in double-byte characters (so "T"), and there seemed to be an unnatural space between the "T" and the "or", so it was often ridiculed as "T or (/ti ɔr/)" by the Koushinists.

Software

It is an open source browser based on Firefox, developed by The Tor Project, which is also the developer of Tor, and is a powerful anonymization method because it is very easy to use, even for amateurs. Tor Browser used to be called Tor Browser Bundle (TBB). The Tor Browser is configured to prevent communication that bypasses the Tor network, to ensure that all users look the same, to automatically clear cookies, search history, and site data when the browser is closed, and to prevent tracking by third-party trackers and advertisements, among many other measures to increase anonymity. It is also Firefox-based, so extensions can be used, but adding add-ons is not recommended as it reduces anonymity. Note that even if you use the Tor Browser, communications made by other software are not anonymized. An application is also distributed for Android smartphones.

Android Apps. Almost all apps can communicate via Tor.

Tor Browser for Android; unlike Orbot, it functions as a Tor browser and does not have the ability to make other apps go through Tor.

Tor browser for iOS. Open source. Note that most of the others are faux-VPN scam apps.[4]

OS

An OS that performs all communication via the Tor network. No data is left on the computer, including the disk cache, so no evidence is left behind.[5]. It is a favorite of many bad potatoes because of its excellent concealment. The basic method is to install the OS on a USB or DVD, but it is also possible to run it in a virtual environment using VirtualBox, etc.[6]

Install using virtualization software called Virtual Box. It functions as an internal network for the guest OS, allowing connections only through Tor, and has DNS leakage protection. Even if the guest OS is karacking and Root privileges are taken away, the actual raw IP cannot be revealed. VPN over Tor (PC→Tor→VPN→Server) is also possible by connecting to a VPN on the guest OS.

WThe OS enclosed with Whonix-Gateway, an official Whonix recommended OS that specializes in security and combines various features such as time stamp attack countermeasures.

A sibling of Whonix, this OS offers two ways to deploy it: running in Virtual Box or replacing debian with Kicksecure. In addition to its robustness against timestamp attacks and malicious updates, this OS has many advantages, such as the ability to install Whonix with a single command, and its Live mode, which is highly hidden and leaves no traces whatsoever.

The OS that even en:Edward Snowden uses. It features the ability to run applications in parallel on a virtual environment using a virtualization technology called Xen. By installing the above Whonix, you can communicate using Tor.[7]

Penetration test, an operating system designed to test attacks on computer systems and equipped with various attack weapontools. This is also to be installed using VirtualBox. Naturally, it must not be diverted to attacks on sites operated by third parties.

Like Kali Linux, this OS is designed for penetration testing. Unlike Kali Linux, Tor is bundled[8]. Although it is equipped with various weapon of attack tools, including a password karacking function, it is an OS intended only for checking the vulnerability of the site you operate, and must never be diverted to attacks on sites operated by third parties. It is out of the question to think that "cuz tor is enclosed it is best suited for attack".

The same Arch Linux flavor for penetration testing is bundled with native Tor and Tor Browser. While Kali Linux and Parrot OS are based on Debian, this one uses Arch Linux. Therefore, it is not possible to run Anonsurf, but instead it is possible to run a script called tor-router to make all OS communications via Tor. The tor-router has been updated so that communication anonymising can be stopped without restarting (ab272cb). This commit is also reflected in the BlackArch repository, and tor-router is always available for installation with pacman, with full stopability in the algorithm. For more information on other secret tools, see here.

Software used in conjunction

Software that is often used in conjunction with Tor-based software for improved convenience and confidentiality. Note that some of these by themselves will not be anonymized by Tor.

One of the so-called Webproxy. This alone is an extremely easy way to hide your raw IP from the site, but it also makes you less anonymous. If it is routed behind Tor, it is possible to access sites that deny the IP of the Tor exit node.

A script that makes all Linux communications via Tor/I2P on the OS itself, without passing through a virtual machine such as Whonix. Officially, Kali Linux is recommended, but it is not advisable to use it to attack others, saying i can attack via tor so there's no way ill be exposed.

Software for Linux that disguises your mac address. Prevents identity theft when connecting to public wifi, etc. Tails is included by default and is not required.

A tool that can be installed in Tails to use Virtualbox without leaving any evidence. It is out of the question to install Kali Linux, etc. and think that "cracking can be done in an anon env where no evidence is left behind".

Uses of Tor

Tor is supposed to be used to protect free speech, and the bad people who commit criminal acts do not deserve to use Tor.[9]

Therefore, just because anyone can easily use Tor Browser by simply downloading it from the official site does not mean that easy misuse is acceptable.

Even more so, install Tails to leave no criminal traces on your computer, install Whonix, where all OS-wide communication goes through Tor and no IP leakage occurs, use Kali Linux, set up a bridge node to hide the fact that you are using Tor from the provider, use a web proxy such as PHProxy to hide the fact that the site is accessed from Tor. Use a web proxy, wrap with tools such as Proxifier or Proxychains to pass through a proxy, or use a no-log VPN together, etc. should not happen.

当然、悪用を企む悪芋達はIPをセルフ開示するUDPサポートのあるサーバーを選択するべきなのであり、更に匿名性を高めるために仮想環境の導入など許されないのは自明である。 It is obvious that the bad potato who intend to abuse the system should choose a server that supports UDP to self-disclose the IP address, and it is obvious that it is not allowed to introduce a virtual environment to further increase anonymity.

It is also out of the question to use Shindan-Kun to check if you have succeeded in creating an anonymous environment, or to edit torrc to select a server in a country that is less susceptible to investigation.

注意点

Torそれ自体が匿名化するのは通信経路のみでありIPアドレス以外(例えば自分語りなど)から足が付く可能性はある[10]。またTorが匿名化するのは現状TCPプロトコル上の通信のみであり、UDPプロトコル[11]等他のプロトコルを利用した通信は生IPのままとなるので注意が必要である。

生IPで行った犯罪が発覚し国セコにPCが押収された際、Torを使用した犯罪の痕跡が見つかってしまうことも考えられる(福山紘基はその最たる例といえる)。前述したようなTorを利用したソフトウェアにも脆弱性があり匿名性が破られてしまう可能性はあり[12]、使い方を間違えればせっかくの匿名性が損なわれてしまう可能性があることにも注意が必要である。

上記で触れたUDPプロトコルからの生IPの流出はUDPプロトコルの通信を制限することで防ぐことが可能だ 具体的な手段はここを参照することをお勧めする。

このように、Torをただ漫然と使っているといずれ痛い目を見ることになる可能性がある(前述のように福山はこれが原因で殉教することとなった)のでTorやそれを利用したソフトウェアを使う前にそれぞれの公式ドキュメント[13]を読むなどして様々なリスクをしっかり把握するべきである。

torrc

torrcとはTorブラウザに含まれるファイルでありこれを設定することで、経由するノードを指定することができる。悪芋ノードを避けたり[14]、ログ保有期間が短い国を経由するノードに設定することで開示リスクを避け、匿名性を高めることも可能である。

tailsの場合は/etc/tor/torrc Whonix-Gatewayの場合は /usr/local/etc/torrc.d/50_user.conf Browserの場合はtor-browser_ja-JP/Browser/TorBrowser/Data/Tor/torrc 上にあるファイルをテキストエディタ等で編集して設定する。

以下、記述例である。他のオプションはTor projectを参照。また、設定には国名コードを使用する[15]。なお、国名不明なサーバーを記述する場合は{??}と記す。

NumEntryGuards 5 #UseEntryGuardsが1に設定されている場合、EntryNodesの候補の数を5にする。5の部分を変更しても経由するノード数は変化しない。
ExcludeNodes SlowServer,{jp},{gb},{us},{ca},{au},{nz},{de} #指定したノードを経由しないようにする。
ExcludeExitNodes {bg},{cz},{fi},{hu},{ie},{lv},{lt},{lu},{nl},{ro},{es},{se},{ch},{ru},{hk},{il} #指定したノードをExitノードに設定しない
StrictNodes 1 #Excludeの設定を厳守するかしないか。0に設定するとたまに設定を破る。

ExcludeNodesを設定しすぎることで、逆に経由するノードの数が限られてしまいランダム性が損なわれ匿名性を落とすので注意。

脚注

  1. pre-alpha: run an onion proxy now!
  2. TLS encryption is performed as usual
  3. lawyer who specializes in disclosure of identification information of the sender in the Internet
  4. Fake Tor app in the iOS App Store
  5. Basically, they are not left behind, but this is not the case if they are stored in encrypted persistent storage
  6. Running in a virtual environment is not officially recommended due to the nature of the OS
  7. Install in Virtual Box or Qubes OS.
  8. The Tor browser is only installed and does not make all communications via Tor, so it is necessary to anonymize communications separately using Anonsurf or other means
  9. Torは無敵か? - Tanaka Kazunari(魚拓)
  10. 生IPで自分語りをしていた場合は尚更である
  11. 主にストリーミング配信やオンラインゲーム等で使われる。Discordでも使われている。[要出典]
  12. FacebookがFBIにTailsの脆弱性を突く技術を提供していたことが明らかになっている当該記事(魚拓)
  13. Torの公式ドキュメント
  14. 匿名化ツール『Tor』の落とし穴(1) - 大使館等の通信傍受に成功
  15. 国コードを {}で囲うことで設定できる

関連項目

外部リンク

関連項目

匿名化技術
ツール AnonFiles - Session - Tor - VPN
OS GrapheneOS - Kicksecure - Parrot OS - Tails
用語 IPアドレス - 開示 - 仮想通貨 - ダークウェブ - DMCA - 生IP - 悪芋
webサイト 炎上総合Wiki - Onionちゃんねる - Kind World - 唐澤貴洋掲示板 - 唐澤貴洋殺す掲示板 - 恒心教サイバー部 - 防弾ホスティング - ヤッバイおっぱい掲示板
攻撃手法・事件 engage路線 - 贈り物路線 - お問い合わせ路線 - 片平騒動 - カラッキング(アットキャドカラッキング事件 - 国立感染症研究所カラッキング事件 - GMOカラッキング事件 - TVerカラッキング事件 - 新潟県警カラッキング事件) - カランサムウェア - Kindle路線 - 同時爆破予告事件 - 2ちゃんねる個人情報流出事件 -犯行予告 - 爆破予告 - 兵庫県警ブラクラ摘発事件 - モンストまとめ殺害予告事件
関連人物 安藤良太 - 小津晶 - 面白い愛の戦士 - 片山祐輔 - 恒心教 広報省 - さっしーえっち - 杉浦隆幸 - 0Chiaki - ダブルぬるぽ - ドナルドⅡ世 - ねそにゃ - 福山紘基 - 三上洋
企業等 サイバー犯罪対策課 - スプラウト - Novogara - Privex - 八雲セキュリティコンサルティング株式会社