Tls Fingerprint Impersonationのロゴ

Tls Fingerprint Impersonation

コミュニティ人気
uphiago
tls-fingerprint-impersonation

Spoof TLS ClientHello and JA4 fingerprints for browser impersonation.

概要

公開者uphiago
リポジトリrecon-skills
スキル名tls-fingerprint-impersonation
スター
1.3K
フォーク
213
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    uphiagoがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Tls Fingerprint Impersonation」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/uphiago/recon-skills/tree/main/recon/tls-fingerprint-impersonation
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/uphiago/recon-skills.git /tmp/recon-skills
mkdir -p .claude/skills
cp -r /tmp/recon-skills/recon/tls-fingerprint-impersonation .claude/skills/tls-fingerprint-impersonation
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでTls Fingerprint Impersonationを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にTls Fingerprint Impersonationを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Tls Fingerprint Impersonationは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

TLS Fingerprint Impersonation

Spoof TLS ClientHello parameters — cipher suites, key exchange groups, signature algorithms, and extension order — to match real browsers at the JA3/JA4 fingerprint level. Uses patched rustls to rebuild the TLS layer with browser-identical configurations. Bypasses TLS fingerprinting detection (Cloudflare, Akamai, F5) that flags non-browser TLS stacks. Supports 20 browser profiles including Chrome 100-142, Firefox 128-144, Safari iOS 18, and OkHttp 3-5 (Android).

When to Use

  • Target returns 403/blocked on curl/httpx even with correct User-Agent headers.
  • Cloudflare or Akamai is fingerprinting TLS ClientHello (JA3/JA4 mismatch with browser).
  • API probing requires mobile-app impersonation (OkHttp fingerprint for Android).
  • Need high-throughput HTTP requests that pass TLS fingerprint checks without running a full browser.
  • Target shows different behavior based on TLS fingerprint (mobile vs desktop endpoints).

Prerequisites

  • terminal with python3.
  • Python: pip install impit (wraps the Rust library via PyO3).
  • Or Node.js: npm install impit (native binding).
  • Or Rust: impit crate with patched dependencies in Cargo.toml.

Quick Detection

bash
# Check if a target blocks non-browser TLS
curl --max-time 30 --connect-timeout 10 -sk https://target.com | head -1
# If 403, test with browser impersonation:
python3 -c "
from impit import Impit
impit = Impit.builder().with_fingerprint('chrome142').build()
r = impit.get('https://target.com').text
print(r[:200])
"

Procedure

Phase 1 — Browser Profile Selection

Choose the right fingerprint for your target:

ProfileUse caseKey differentiator
chrome142Modern desktopLatest Chrome, post-quantum KEX (X25519MLKEM768), GREASE
chrome100Legacy systemsOlder cipher suites, no GREASE in key exchange
firefox144Firefox desktopDifferent pseudo-header order, FFDHE groups, SHA-1 signatures
safari_ios18iOS mobile3DES ciphers, duplicate signature algorithm, no session tickets
okhttp4Android appsBoringSSL profile, no GREASE, no ECH, simpler cipher suites
chrome124Common defaultGood balance of modern compatibility and detection pass rate
python
from impit import Impit

# Chrome 142 (latest)
client = Impit.builder().with_fingerprint("chrome142").build()

# Firefox 144
client = Impit.builder().with_fingerprint("firefox144").build()

# Safari iOS 18 (mobile API endpoints)
client = Impit.builder().with_fingerprint("ios18").build()

# OkHttp 4 (Android app impersonation)
client = Impit.builder().with_fingerprint("okhttp4").build()

Phase 2 — Basic Request

python
from impit import Impit

impit = (
    Impit.builder()
    .with_fingerprint("chrome142")
    .with_ignore_tls_errors(True)  # for self-signed certs during recon
    .with_http3()                   # HTTP/3 support
    .with_fallback_to_vanilla(True) # retry without fingerprint if blocked
    .build()
)

response = impit.get("https://target.com")
print(response.status_code)
print(response.headers)
print(response.text()[:500])

Phase 3 — With Proxy

python
impit = (
    Impit.builder()
    .with_fingerprint("chrome142")
    .with_proxy("http://user:pass@residential-proxy:8080")
    .with_default_timeout(15_000)  # 15 seconds in milliseconds
    .build()
)

response = impit.get("https://target.com/api/endpoint")

Phase 4 — Custom Headers

python
# Custom headers are merged with fingerprint defaults
# Fingerprint headers have lower priority — custom headers win on conflict
response = impit.get(
    "https://target.com/api/v1",
    headers={
        "X-Forwarded-For": "[REDACTED_IP]",
        "Authorization": "Bearer token",
    }
)

Phase 5 — Cookie Session

python
from impit.cookie import Jar

impit = (
    Impit.builder()
    .with_fingerprint("chrome142")
    .with_cookie_store(Jar())  # persistent cookie jar
    .build()
)

# Login
impit.post("https://target.com/login", json={
    "username": "admin", "password": "admin"
})

# Authenticated request — cookies preserved automatically
response = impit.get("https://target.com/dashboard")

Phase 6 — Fingerprint Selection Logic

Choose based on target characteristics:

python
def select_fingerprint(target_url):
    """Auto-select browser fingerprint based on target."""
    if "mobile" in target_url or "api/v2" in target_url:
        return "ios18"
    elif "android" in target_url or "play.google" in target_url:
        return "okhttp4"
    elif target_url.startswith("https://"):
        return "chrome142"  # default for modern HTTPS
    return "chrome124"

Phase 7 — JA4 Hash Validation

Verify your TLS fingerprint is working correctly:

bash
# Test against a site that returns JA4 hash in response headers
python3 -c "
from impit import Impit
impit = Impit.builder().with_fingerprint('chrome142').build()
r = impit.get('https://cloudflare.com/cdn-cgi/trace')
print(r.text())
# Look for JA4 hash in trace output or response headers
"

Browser Fingerprint Reference

TLS Configuration per Browser

FeatureChrome 142Firefox 144Safari iOS 18OkHttp 4
TLS versions1.3 + 1.21.3 + 1.21.3 + 1.21.3 + 1.2
GREASE cipher✅ (pos 1)❌✅❌
GREASE key exchange✅ (pos 1)❌✅❌
Post-quantum (MLKEM768)✅✅✅❌
FFDHE groups❌✅ (2048/3072)❌❌
SHA-1 signatures❌✅✅ (legacy)✅ (RSA only)
ECH GREASE✅✅❌❌
3DES ciphers❌❌✅❌
Certificate compressionBrotliZlib+Brotli+ZstdZlib❌
Delegated credentials❌✅❌❌
Session tickets✅✅❌✅
Duplicate signatures❌❌✅ (RsaPssRsaSha384)❌

HTTP/2 Settings per Browser

BrowserStream WindowConnection WindowPseudo-Header Order
Chrome6,291,45615,663,105:method :authority :scheme :path
Firefox131,07212,517,377:method :path :authority :scheme
Safari iOS2,097,15210,485,760:method :scheme :authority :path
OkHttp16,777,21616,777,216:method :path :authority :scheme

Multipart Boundary Format

BrowserFormatExample
Chrome----WebKitFormBoundary + 16 alphanumeric----WebKitFormBoundaryx8fH3kLm9pQr2sTv
Firefox----geckoformboundary + hex u64 values----geckoformboundary3fa8c10e5d6b2904
OkHttpUUID v4550e8400-e29b-41d4-a716-446655440000

Pitfalls

  • Not all sites use TLS fingerprinting. Test with curl first — if it works, TLS fingerprinting is not the blocker.
  • Fingerprint must match User-Agent. Using Chrome TLS with Firefox UA headers will be detected.
  • HTTP/1.1-only sites don't use HTTP/2 impersonation. The with_http3() flag only matters for sites that support it.
  • OkHttp 3 is TLS 1.2 only. Some modern servers reject TLS 1.2 connections.
  • TLS fingerprint caching means first request is slowest. CryptoProvider instances are cached per fingerprint — subsequent requests are fast.
  • Vanilla fallback may leak your real TLS fingerprint. Disable vanilla_fallback if stealth is critical.

Verification

  1. Confirm TLS fingerprint matches target browser using https://www.howsmyssl.com/ or Cloudflare trace endpoint.
  2. Check cf-ja4 response header when hitting Cloudflare-protected sites.
  3. Verify response status changes from 403 → 200 when using browser fingerprint vs vanilla curl.
  4. Test with multiple browser profiles to find the one that passes the target's detection.

Related Skills

  • http2-header-impersonation — HTTP/2 pseudo-header ordering and SETTINGS frame matching.
  • stealth-browser-launch — Full browser automation with C++ fingerprint patches for JS-heavy targets.
  • humanize-automation — Human-like interaction patterns for behavioral detection bypass.

よくある質問

AIスキル「Tls Fingerprint Impersonation」では何ができますか?

Spoof TLS ClientHello and JA4 fingerprints for browser impersonation.

TypingMindでTls Fingerprint Impersonationを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Tls Fingerprint Impersonationはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにTls Fingerprint Impersonationをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/uphiago/recon-skills/tree/main/recon/tls-fingerprint-impersonationを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Tls Fingerprint Impersonationを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Tls Fingerprint Impersonationで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもTls Fingerprint Impersonationを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Tls Fingerprint Impersonation」は無料ですか?

はい。uphiagoがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇