Remote Access Enumeration logo

Remote Access Enumeration

Organization
blacklanternsecurity
remote-access-enumeration

Enumeration of remote access services: FTP, SSH, RDP, VNC, and WinRM. Checks anonymous access, default credentials, version vulnerabilities, and authentication methods. Use after network-recon identifies remote access ports.

Overview

Publisherblacklanternsecurity
Repositoryred-run
Skill nameremote-access-enumeration
Stars
276
Forks
39
Bundled files
Instructions only
LicenseGPL-3.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 blacklanternsecurity on GitHub. Read the source before you install it.

Installation

Install the Remote Access Enumeration 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.
  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/blacklanternsecurity/red-run.git /tmp/red-run
mkdir -p .claude/skills
cp -r /tmp/red-run/skills/network/remote-access-enumeration .claude/skills/remote-access-enumeration
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Remote Access Enumeration 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 Remote Access Enumeration 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 Remote Access Enumeration 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.

Remote Access Enumeration

You are helping a penetration tester enumerate remote access services (FTP, SSH, RDP, VNC, WinRM) on discovered targets. All testing is under explicit written authorization.

Engagement Logging

Check for ./engagement/ directory. If absent, proceed without logging.

When an engagement directory exists:

  • Print [remote-access-enumeration] Activated → <target> on activation.
  • Evidence → save output to engagement/evidence/ (e.g., ftp-anon-listing.txt).

Scope Boundary

This skill covers enumeration only — version detection, auth method checks, anonymous access, and known CVE identification. NOT brute force.

  • Credential brute force → route to password-spraying
  • SMB-based RCE → route to smb-exploitation
  • Exploiting confirmed RCE vulns → return to orchestrator with CVE details

State Management

Call get_state_summary() on activation. Skip already-enumerated services, use known credentials where relevant, check Blocked for previous failures.

State writes — write critical discoveries immediately:

  • FTP anonymous access → add_vuln(title="FTP anonymous access on <host>", host="<host>", vuln_type="anonymous-access", severity="medium")
  • Credentials in FTP files → add_credential(username=..., secret=..., source="FTP file on <host>")
  • SSH default creds → add_credential(username=..., secret=..., source="SSH default creds on <host>")
  • BlueKeep confirmed → add_vuln(title="BlueKeep CVE-2019-0708 on <host>", host="<host>", vuln_type="rce", severity="critical")
  • NTLM info leak → add_pivot(from_host="<host>", to_host="<domain>", pivot_type="ntlm-info", details="Domain: <domain>, Hostname: <hostname>, FQDN: <fqdn>")
  • VNC no-auth → add_vuln(title="VNC no-auth on <host>", host="<host>", vuln_type="anonymous-access", severity="medium")

Report all findings in your return summary for orchestrator deduplication.

Prerequisites

  • Network access to target host(s)
  • Open port list from orchestrator or network-recon
  • nmap available via MCP nmap-server

Port-Based Execution

Only run sections for ports confirmed open. Skip any service section whose port is not in the orchestrator's port list.

Step 1: FTP (Port 21)

bash
nmap -sV -p21 --script ftp-anon,ftp-bounce,ftp-syst TARGET_IP

Manual anonymous check:

bash
ftp TARGET_IP
# login: anonymous / anonymous@
# If connected: ls -la, pwd, cd / && ls -la

If anonymous access succeeds:

  1. List all accessible directories recursively
  2. Check for writable directories (put test.txt then del test.txt)
  3. Look for config files with credentials (.htpasswd, web.config, wp-config.php)
  4. Check if FTP root overlaps with a web root (write test file, check via HTTP)

Quick wins:

  • Anonymous write to webroot — file upload = RCE path
  • ProFTPD mod_copy (CVE-2019-12815) — copy files without auth: SITE CPFR /etc/passwdSITE CPTO /var/www/html/passwd.txt
  • vsftpd 2.3.4 backdoor — username ending in :) triggers shell on port 6200

Step 2: SSH (Port 22)

bash
nmap -sV -p22 --script ssh2-enum-algos,ssh-hostkey,ssh-auth-methods TARGET_IP

Auth method check:

bash
ssh -o PreferredAuthentications=none -o ConnectTimeout=5 root@TARGET_IP 2>&1

Look for publickey,password (password auth enabled) vs publickey only. Password auth → note for password-spraying.

Quick wins:

  • User enum (OpenSSH < 7.7 — CVE-2018-15473): timing-based enumeration
  • regreSSHion (CVE-2024-6387): OpenSSH 8.5p1–9.7p1 on glibc Linux, pre-auth RCE
  • Key reuse: matching host keys across hosts → pivot mapping

Step 3: RDP (Port 3389)

bash
nmap -sV -p3389 --script rdp-ntlm-info,rdp-enum-encryption TARGET_IP

NTLM info leak — parse rdp-ntlm-info for Target_Name (NetBIOS domain), DNS_Domain_Name, DNS_Computer_Name, Product_Version. Passive domain discovery.

NLA check — from rdp-enum-encryption, check if NLA is required. NLA disabled = brute force viable without valid domain creds.

BlueKeep (CVE-2019-0708):

bash
nmap -p3389 --script rdp-vuln-ms12-020 TARGET_IP

Affects Windows 7, Server 2008/2008R2. Pre-auth RCE. If confirmed, write vuln and return to orchestrator immediately.

Step 4: VNC (Ports 5900-5910)

bash
nmap -sV -p5900-5910 --script vnc-info,vnc-brute TARGET_IP

No-auth check — if vnc-info reports security type 1 (None): full desktop access without credentials. Write vuln, confirm with vncviewer TARGET_IP::5900.

CVE-2006-2369 — RealVNC 4.1.1 and earlier: auth bypass by requesting security type None even when server requires authentication.

Step 5: WinRM (Ports 5985/5986)

bash
nmap -sV -p5985,5986 TARGET_IP

Port 5985 = HTTP, 5986 = HTTPS. No anonymous access possible — credential testing routes to password-spraying.

If valid credentials already in state, test access:

bash
evil-winrm -i TARGET_IP -u 'USER' -p 'PASS'

Step 6: Escalate or Pivot

Return to orchestrator with findings:

  • FTP anon write + webroot for stack ID, then file upload RCE
  • FTP credentials found against other services
  • SSH password auth enabled with known/default creds
  • BlueKeep confirmed → return CVE details for orchestrator routing
  • regreSSHion in range → return version details for orchestrator routing
  • NTLM info leak → pass domain/hostname to ad-discovery
  • VNC no-auth → return access details for orchestrator routing
  • WinRM + valid creds → confirm access, recommend post-exploitation
  • No findings → report what was checked, mark services as enumerated

Troubleshooting

FTP connection refused or timeout

Try passive mode: ftp -p TARGET_IP. If still failing, note as filtered.

SSH connection timeout

May indicate port knocking or IP allowlisting. Note as filtered and move on.

RDP NSE scripts return no output

Try --script-args rdp.domain=DOMAIN if a domain name is known.

VNC connection refused on 5900

VNC may be on a non-standard port in 5900-5910. Scan the full range.

Frequently asked questions

What does the Remote Access Enumeration AI skill do?

Enumeration of remote access services: FTP, SSH, RDP, VNC, and WinRM. Checks anonymous access, default credentials, version vulnerabilities, and authentication methods. Use after network-recon identifies remote access ports.

Why use Remote Access Enumeration on TypingMind?

Because you install it once and use it with any model. Remote Access Enumeration 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 Remote Access Enumeration in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/blacklanternsecurity/red-run/tree/main/skills/network/remote-access-enumeration. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Remote Access Enumeration?

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 Remote Access Enumeration?

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

Is the Remote Access Enumeration AI skill free?

Yes. It is published on GitHub by blacklanternsecurity under the GPL-3.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 👇