Pt Lotl Techniquesのロゴ

Pt Lotl Techniques

コミュニティ
santosomar
pt-lotl-techniques

Demonstrates Living-off-the-Land (LotL) techniques using native OS tools to simulate realistic threat actor behavior during authorized penetration tests. Use when proving attack feasibility without custom malware, testing detection coverage, and validating what a real adversary could achieve with only built-in system capabilities.

概要

公開者santosomar
リポジトリethical-hacking-agent-skills
スキル名pt-lotl-techniques
スター
26
フォーク
7
同梱ファイル
指示のみ
ライセンスApache-2.0
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Living-off-the-Land (LotL) Techniques

Authorized Use Only

Execute LotL techniques only within explicitly approved scope, target systems, and test windows. Document every action with timestamps. Stop immediately if impact exceeds rules of engagement.

Objectives

  1. Simulate realistic threat actor behavior using only native OS tools.
  2. Demonstrate attack paths without introducing custom malware.
  3. Validate detection gaps and measure real-world exploitability.
  4. Produce reproducible evidence for reporting.

Approach

LotL abuses tools that already exist on the target — scripting engines, admin utilities, and built-in OS features — to blend in with legitimate activity.

Decide platform first, then select techniques:

  • Windows target → see Windows Techniques below
  • Linux/macOS target → see Unix Techniques below
  • Mixed environment → run applicable sections for each platform

Windows Techniques

Technique families to demonstrate in approved scope:

  • Execution: PowerShell, cmd, WScript, CScript, mshta, rundll32, regsvr32
  • Discovery: net, nltest, ipconfig, whoami, tasklist, reg query, wmic
  • Credential access: accessing memory-resident material via built-in utilities
  • Lateral movement: PsExec-style invocation, WMI remote execution, WinRM
  • Persistence: scheduled tasks (schtasks), registry run keys, service creation (sc)
  • Exfil/staging: certutil (encode/decode), bitsadmin, curl (built-in), Invoke-WebRequest

For each technique:

  1. Confirm it is in scope and the target is approved.
  2. Use the minimal invocation needed to prove feasibility.
  3. Record full command line, output, and timestamp.
  4. Note whether any EDR/SIEM alert fired.

Unix Techniques

Technique families to demonstrate in approved scope:

  • Execution: bash, sh, python3, perl, ruby, awk — whichever is present
  • Discovery: id, uname, hostname, ss/netstat, ps, find, env
  • Credential access: reading credential files, checking config files for embedded secrets
  • Lateral movement: SSH key reuse, sudo abuse, cron-assisted pivoting
  • Persistence: crontab, rc.local/systemd unit, bashrc/profile additions, SSH authorized_keys
  • Exfil/staging: curl, wget, nc, python http.server, scp

For each technique:

  1. Confirm it is in scope and the target is approved.
  2. Use minimal, reversible commands that demonstrate the path.
  3. Record full command, output, and timestamp.
  4. Note whether any monitoring or alerting responded.

Execution Workflow

  1. Review scope and approved target list.
  2. Select relevant technique families based on target platform and test goals.
  3. Execute techniques one at a time, logging each step.
  4. For each successful technique, assess realistic downstream impact.
  5. Capture alert/detection response (or absence of it).
  6. Clean up any created artefacts (files, tasks, keys, registry keys).
  7. Package evidence for reporting.

Output Template

markdown
# LotL Techniques Output

## Engagement Context
- Targets:
- Platforms:
- Approved technique families:
- Test window:

## Demonstrated Techniques
### [Technique Name]
- Platform:
- Tool/binary used:
- Command executed:
- Output observed:
- Impact demonstrated:
- Detection triggered: Yes / No / Unknown
- Artefacts created and cleaned up:

## Detection Visibility Summary
- Techniques that triggered alerts:
- Techniques with no detection:
- Overall detection gap assessment:

## Handoff to Reporting
- High-impact paths to highlight:
- Recommended defensive improvements:

Quality Checks

  • Every technique execution is timestamped and reproducible.
  • All created artefacts are removed during cleanup.
  • Detection response (or absence) is documented for every technique.
  • Impact is framed in realistic threat-actor terms for the report.

よくある質問

AIスキル「Pt Lotl Techniques」では何ができますか?

Demonstrates Living-off-the-Land (LotL) techniques using native OS tools to simulate realistic threat actor behavior during authorized penetration tests. Use when proving attack feasibility without custom malware, testing detection coverage, and validating what a real adversary could achieve with only built-in system capabilities.

TypingMindでPt Lotl Techniquesを使うメリットは何ですか?

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

TypingMindにPt Lotl Techniquesをインストールするにはどうすればよいですか?

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

Pt Lotl Techniquesを使えるAIモデルはどれですか?

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

Pt Lotl Techniquesで使えるAIモデルの数に制限はありますか?

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

AIスキル「Pt Lotl Techniques」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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