ranilojohn/claude-blue/defensive-remote-access-ztna

Claude Code and agent skill by ranilojohn/claude-blue

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Secure remote access design and monitoring: ZTNA and identity-aware proxies (Zscaler Private Access, Cloudflare Access, Microsoft Entra Private Access, Google IAP/BeyondCorp, Tailscale/Netbird), migrating from VPN, RDP Gateway and bastion/jump hosts (Azure Bastion, AWS SSM Session Manager, GCP IAP TCP forwarding), third-party/vendor remote access with PAM and session recording, RMM tool governance (allowlisting, LOLRMM), securing exposed RDP/SSH, device posture checks, conditional access for re…

Install

npx vskill@latest install ranilojohn/claude-blue/defensive-remote-access-ztna

SKILL.md

The same SKILL.md was published earlier as ranilojohn/claude-blue/defensive-remote-access-ztna.

Remote Access & ZTNA

Remote access is one of the top initial access vectors: exploited VPN appliances, exposed RDP, stolen VPN credentials, and abused RMM tools. Move to per-application, identity- and device-verified access with no inbound-exposed services.

Quick Workflow

  1. Inventory every remote access path (VPNs, RDP/SSH exposure, RMM tools, vendor portals, cloud consoles)
  2. Close exposed RDP/SSH/SMB; put admin protocols behind bastion/ZTNA
  3. Migrate user apps to ZTNA per application; shrink VPN to legacy cases
  4. Vendor access via PAM with approval, MFA, recording, time limits
  5. Govern RMM: one sanctioned tool, block the rest
  6. Monitor (§5)

1. Options

Use caseRecommended pattern
Users → internal web appsZTNA / identity-aware proxy (ZPA, Cloudflare Access, Entra Private Access, Google IAP)
Users → legacy thick-client appsZTNA with app connectors (TCP/UDP per-app), or VPN with per-group ACLs
Admins → serversBastion (Azure Bastion, AWS SSM Session Manager, GCP IAP TCP forwarding) or PAM jump host; no direct RDP/SSH from internet
Vendors → specific systemsPAM vendor portal (CyberArk Vendor PAM, BeyondTrust PRA, Delinea) with just-in-time approval and recording
Device-to-device meshWireGuard-based overlays (Tailscale, Netbird) with ACLs and SSO — govern centrally
IT support → user endpointsOne sanctioned RMM with SSO + MFA + allowlisted technicians

2. Hardening Exposed Services (if unavoidable)

ServiceMinimum
RDPNever directly internet-exposed; RD Gateway with MFA (NPS extension/Entra), NLA required, account lockout, restricted user groups
SSHKeys only (PasswordAuthentication no), PermitRootLogin no, MFA via PAM module or certificates (SSH CA), allowlist sources, MaxAuthTries 3
VPNPatched within KEV SLA, MFA (phishing-resistant preferred), certificate-based device auth, posture checks, management interface not exposed, logs to SIEM
Citrix/VDI gatewaysPatch (Citrix Bleed CVE-2023-4966, Citrix Bleed 2 CVE-2025-5777), terminate sessions after patching to kill stolen session tokens

3. Posture & Conditional Access

Signals: managed/compliant device, EDR running and healthy, OS patch level, disk encryption, certificate present, user risk, location. Example Entra CA for Private Access apps: require compliant device + phishing-resistant MFA; block high-risk users; session lifetime 8–12 h.


4. RMM Governance

ControlDetail
Single approved RMMDocument it; SSO + MFA for console
Block othersApp control (WDAC/AppLocker) + DNS/proxy blocking of RMM vendor domains (LOLRMM list)
Detect installsNew services/processes for AnyDesk, ScreenConnect, TeamViewer, Atera, Splashtop, NetSupport, MeshCentral, SimpleHelp, Level, Action1
Portable versionsBlock execution from user-writable paths
MSP accessContractual MFA, dedicated accounts, logging delivered to you

Scattered Spider pattern (CISA/FBI July 2025): help desk impersonation → MFA reset → attacker installs RMM/tunnels (AnyDesk, TeamViewer, ScreenConnect, Ngrok, Tailscale, Teleport) → AWS SSM / ESXi → data theft + DragonForce encryption. Counter: verified help-desk identity procedures (callback to known number, manager approval, video verification), phishing-resistant MFA, RMM allowlisting, alert on new MFA registrations followed by remote tool installs.


5. Monitoring

SignalSource
VPN/ZTNA login from new country/ASN/hosting providerVPN/ZTNA logs + enrichment
Concurrent sessions from distant locationsVPN logs
VPN logins for disabled/terminated usersHR feed correlation
Successful login after MFA reset within 24 hIdP audit + VPN logs
RDP 4624 type 10 from non-gateway sourcesWindows Security
SSH Accepted password on hosts configured for keysauth.log
New RMM tool execution or domain contactEDR, DNS, proxy
Bastion/SSM sessions outside change windowsCloudTrail StartSession, Bastion logs
Vendor sessions without ticketPAM logs

6. Migration Plan (VPN → ZTNA)

  1. Inventory apps used over VPN (VPN flow logs)
  2. Deploy connectors; publish top web apps via ZTNA
  3. Pilot group; measure; expand
  4. Move thick-client apps; leave VPN only for exceptions with documented owners
  5. Remove broad VPN access; decommission or restrict concentrator (management never exposed)

Engagement Cheatsheet

text
inventory paths → kill exposed RDP/SSH/SMB → admins via bastion/SSM/IAP/PAM → users via per-app ZTNA + posture CA
→ vendors via PAM JIT + recording → one RMM, block LOLRMM rest → help-desk verification → monitor geo/ASN, post-MFA-reset, RMM installs

Key References

  • CISA/FBI Scattered Spider advisory (updated July 29, 2025); CISA "Guide to Securing Remote Access Software" (2023); LOLRMM project
  • NIST SP 800-46 Rev 2 (telework); NIST SP 800-207
  • Related: defensive-zero-trust-architecture, defensive-vpn-ipsec, defensive-ad-hardening, defensive-phishing-triage, defensive-incident-response

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ranilojohn/claude-blue/defensive-remote-access-ztna/badge)](https://verified-skill.com/skills/ranilojohn/claude-blue/defensive-remote-access-ztna)

Something wrong with this skill or its page? Tell us.