Pt Lotl Techniques logo

Pt Lotl Techniques

Community
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.

Overview

Publishersantosomar
Repositoryethical-hacking-agent-skills
Skill namept-lotl-techniques
Stars
26
Forks
7
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by santosomar on GitHub. Read the source before you install it.

Installation

Install the Pt Lotl Techniques AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/santosomar/ethical-hacking-agent-skills/tree/main/skills/pt-lotl-techniques
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Pt Lotl Techniques in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Pt Lotl Techniques on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Pt Lotl Techniques is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

Frequently asked questions

What does the Pt Lotl Techniques AI skill do?

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.

Why use Pt Lotl Techniques on TypingMind?

Because you install it once and use it with any model. Pt Lotl Techniques is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Pt Lotl Techniques in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/santosomar/ethical-hacking-agent-skills/tree/main/skills/pt-lotl-techniques. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Pt Lotl Techniques?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Pt Lotl Techniques?

As many as you like. As long as a model supports skills, you can use Pt Lotl Techniques with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Pt Lotl Techniques AI skill free?

Yes. It is published on GitHub by santosomar under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇