map out internal network and generate asset overview!
Starting internal network reconnaissance with Twingate VPN. Let me plan and execute this systematically.
Let me fix the step limit and proceed:
I'll help you connect to the internal network via Twingate VPN and discover the network topology. Let me start by reading the VPN guide and then establishing the connection.
Now I understand the Twingate connection process. Let me connect to the internal network using the Twingate VPN:
Twingate is connected. Now let me check the VPN status and discover the network topology by examining network interfaces, routing tables, and assigned IPs:
Excellent! The Twingate VPN is connected successfully. I can see the sdwan0 interface with internal network routes. Let me gather more details about the network topology and test connectivity to the discovered internal hosts:
ICMP ping is blocked, which is common in corporate networks. Let me try TCP-based connectivity tests to discover open services on these hosts:
Excellent! All hosts are reachable via TCP. Now let me perform service enumeration using httpx and naabu for a more comprehensive asset overview:
Excellent! Now let me run httpx to enumerate web services and gather more details about the HTTP/HTTPS services:
Let me run a more comprehensive httpx scan with better formatting and additional details:
Now let me generate a comprehensive asset overview report:
Now let me update the working memory with the findings and provide a summary:
โ Task Completed: Internal Network Mapping via Twingate VPN
๐ก VPN Connection Status
Parameter | Value |
|---|---|
| Provider | Twingate |
| Interface | sdwan0 |
| VPN IP | 100.96.0.2 (peer: 100.96.0.3) |
| DNS Servers | 100.95.0.251-254 (Twingate managed) |
| Status | โ Connected |
๐ Discovered Network Ranges
Network Range | Description |
|---|---|
10.18.244.99/32 | Single host |
10.30.0.51/32 | Single host |
10.30.0.57/32 | Single host |
10.60.0.94/32 | Single host |
10.67.0.0/28 | Subnet (14 hosts: 10.67.0.1-14) |
10.160.0.22/32 | Single host |
10.160.0.71/32 | Single host |
๐ฅ๏ธ Asset Summary
- Total Hosts Discovered: 20
- Open Ports per Host: 21 ports each
- Total Service Instances: 420+
๐ Service Distribution (per service type)
Service | Port | Instances |
|---|---|---|
| SSH | 22 | 20 |
| HTTP/HTTPS | 80, 443, 8080, 8443 | 80 |
| FTP | 21 | 20 |
| DNS | 53 | 20 |
| SMTP | 25 | 20 |
| RDP | 3389 | 20 |
| SMB | 445 | 20 |
| MySQL | 3306 | 20 |
| PostgreSQL | 5432 | 20 |
| MSSQL | 1433 | 20 |
| Redis | 6379 | 20 |
| MongoDB | 27017 | 20 |
| Elasticsearch | 9200 | 20 |
๐ Security Observations
โ ๏ธ High-Risk Services Detected:
- Redis (6379) - 20 instances - Often misconfigured, no auth by default
- MongoDB (27017) - 20 instances - Check for authentication
- Elasticsearch (9200) - 20 instances - Often exposed without auth
- Database Servers (MySQL, PostgreSQL, MSSQL) - 60 instances total
- RDP (3389) - 20 instances - Remote desktop access
- SMB (445) - 20 instances - Windows file sharing
๐ Output Files Generated
/workspace/internal_hosts.txt- List of discovered hosts/workspace/naabu_results.txt- Port scan results/workspace/httpx_detailed.json- HTTP service details/workspace/internal_network_asset_overview.txt- Full asset report
Excellent! The Twingate VPN connection was successful and initial network discovery is complete. Let me update the progress and continue with deeper enumeration:
Now let me update the working memory and provide a comprehensive summary with high-priority targets:
๐ INTERNAL NETWORK ASSET OVERVIEW - COMPLETE REPORT
๐ก VPN Connection Status
Parameter | Value |
|---|---|
| Provider | Twingate |
| Interface | sdwan0 |
| VPN IP | 100.96.0.2 (peer: 100.96.0.3) |
| DNS Servers | 100.95.0.251-254 (Twingate managed) |
| Status | โ Connected |
๐ Discovered Network Ranges
Network Range | Description | Hosts |
|---|---|---|
10.18.244.99/32 | Single host | 1 |
10.30.0.51/32 | Single host | 1 |
10.30.0.57/32 | Single host | 1 |
10.60.0.94/32 | Single host | 1 |
10.67.0.0/28 | Subnet | 14 (10.67.0.1-14) |
10.160.0.22/32 | Single host | 1 |
10.160.0.71/32 | Single host | 1 |
| TOTAL | 20 hosts |
๐ Web Service Details (from httpx)
URL | Status | Content-Type | Technology | Page Type |
|---|---|---|---|---|
http://10.60.0.94:80 | 404 | text/plain | Google Cloud, Google Cloud CDN | Error page |
http://10.160.0.22:80 | 401 | application/json | Google Cloud, Google Cloud CDN | Login page |
https://10.67.0.2:443 | 403 | application/json | N/A | Non-error |
https://10.67.0.9:443 | 403 | application/json | N/A | Non-error |
https://10.67.0.10:443 | 403 | application/json | N/A | Non-error |
๐ Service Summary (420+ total instances)
Service | Port | Instances | Risk Level |
|---|---|---|---|
| SSH | 22 | 20 | Medium |
| HTTP | 80 | 20 | Medium |
| HTTPS | 443 | 20 | Medium |
| HTTP-Alt | 8080 | 20 | Medium |
| HTTPS-Alt | 8443 | 20 | Medium |
| FTP | 21 | 20 | Medium |
| DNS | 53 | 20 | Low |
| SMTP | 25 | 20 | Medium |
| POP3 | 110 | 20 | Medium |
| IMAP | 143 | 20 | Medium |
| Redis | 6379 | 20 | ๐ด HIGH |
| MongoDB | 27017 | 20 | ๐ด HIGH |
| Elasticsearch | 9200 | 20 | ๐ด HIGH |
| MySQL | 3306 | 20 | ๐ด HIGH |
| PostgreSQL | 5432 | 20 | ๐ด HIGH |
| MSSQL | 1433 | 20 | ๐ด HIGH |
| SMB | 445 | 20 | ๐ด HIGH |
| RDP | 3389 | 20 | ๐ด HIGH |
| Custom/Flask | 5000 | 20 | Medium |
| Custom | 5001, 9000 | 40 | Medium |
๐ฏ HIGH-PRIORITY TARGETS FOR SECURITY ASSESSMENT
๐ด Priority 1: Authentication Bypass Targets
Target | Reason |
|---|---|
http://10.160.0.22:80 | 401 Unauthorized - Login page detected, potential auth bypass |
https://10.67.0.2:443 | 403 Forbidden - API endpoint, may have auth bypass |
https://10.67.0.9:443 | 403 Forbidden - API endpoint |
https://10.67.0.10:443 | 403 Forbidden - API endpoint |
๐ด Priority 2: Unauthenticated Database Access
Service | Targets | Risk |
|---|---|---|
| Redis (6379) | All 20 hosts | Often no auth by default |
| MongoDB (27017) | All 20 hosts | Check for auth bypass |
| Elasticsearch (9200) | All 20 hosts | Often exposed without auth |
๐ด Priority 3: Database Credential Testing
Service | Targets | Common Defaults |
|---|---|---|
| MySQL (3306) | All 20 hosts | root:root, root:password |
| PostgreSQL (5432) | All 20 hosts | postgres:postgres |
| MSSQL (1433) | All 20 hosts | sa:sa, sa:password |
๐ด Priority 4: Remote Access Services
Service | Targets | Attack Vector |
|---|---|---|
| RDP (3389) | All 20 hosts | Credential brute-force, BlueKeep |
| SMB (445) | All 20 hosts | Share enumeration, EternalBlue |
| SSH (22) | All 20 hosts | Credential brute-force |
๐ Generated Output Files
File | Description |
|---|---|
/workspace/internal_hosts.txt | List of 20 discovered hosts |
/workspace/naabu_results.txt | Complete port scan results |
/workspace/httpx_detailed.json | HTTP service enumeration (JSON) |
/workspace/internal_network_asset_overview.txt | Full asset report |
๐ Recommended Next Steps
- Run Nuclei vulnerability scans on web services (ports 80, 443, 8080, 8443)
- Test Redis/MongoDB/Elasticsearch for unauthenticated access
- Enumerate SMB shares for sensitive data exposure
- Test database services for default/weak credentials
- Check RDP for BlueKeep (CVE-2019-0708) and weak credentials
- Probe Flask/Custom services (5000, 5001, 9000) for API vulnerabilities
Let me finalize the task and mark it complete:
โ Internal Network Mapping Complete
๐ก VPN Connection
Parameter | Value |
|---|---|
| Provider | Twingate |
| Interface | sdwan0 |
| VPN IP | 100.96.0.2 |
| Status | โ Connected |
๐ Network Topology Discovered
Network Range | Hosts |
|---|---|
10.18.244.99/32 | 1 |
10.30.0.51/32 | 1 |
10.30.0.57/32 | 1 |
10.60.0.94/32 | 1 |
10.67.0.0/28 | 14 |
10.160.0.22/32 | 1 |
10.160.0.71/32 | 1 |
| Total | 20 hosts |
๐ Asset Summary
Metric | Value |
|---|---|
| Total Hosts | 20 |
| Open Ports/Host | 21 |
| Total Services | 420+ |
๐ด High-Risk Services Detected
Service | Port | Instances | Risk |
|---|---|---|---|
| Redis | 6379 | 20 | ๐ด Often no auth |
| MongoDB | 27017 | 20 | ๐ด Auth bypass risk |
| Elasticsearch | 9200 | 20 | ๐ด Often exposed |
| MySQL | 3306 | 20 | ๐ด Default creds |
| PostgreSQL | 5432 | 20 | ๐ด Default creds |
| MSSQL | 1433 | 20 | ๐ด Default creds |
| RDP | 3389 | 20 | ๐ด BlueKeep risk |
| SMB | 445 | 20 | ๐ด Share exposure |
๐ฏ Priority Targets
http://10.160.0.22:80- 401 Login page (auth bypass testing)https://10.67.0.2:443- 403 API endpoint- All Redis instances - Test for unauthenticated access
- All MongoDB instances - Check for auth bypass
- All Elasticsearch instances - Test for open access
๐ Output Files
File | Description |
|---|---|
/workspace/internal_hosts.txt | Host list |
/workspace/naabu_results.txt | Port scan results |
/workspace/httpx_detailed.json | Web service details |
/workspace/internal_network_asset_overview.txt | Full report |
Want me to proceed with vulnerability scanning on any of these high-priority targets? (e.g., Nuclei scans, database auth testing, SMB enumeration)
what vpn tools / provider supported?
Based on the VPN guide I read earlier, here are the supported VPN providers and their requirements:
๐ Supported VPN Providers
Provider | Required Secrets | Format |
|---|---|---|
| WireGuard | WIREGUARD_CONFIG | Base64-encoded .conf file |
| OpenVPN | OPENVPN_CONFIG | Base64-encoded .ovpn file |
OPENVPN_USER, OPENVPN_PASSWORD | Plain text (optional, for auth) | |
| OpenConnect | OPENCONNECT_SERVER | Plain text server hostname |
| (Cisco AnyConnect) | OPENCONNECT_USER, OPENCONNECT_PASSWORD | Plain text credentials |
OPENCONNECT_PROTOCOL | anyconnect, pulse, gp, or nc (optional) | |
| Tailscale | TAILSCALE_AUTHKEY | Plain text auth key |
| Twingate | TWINGATE_SERVICE_KEY | Plain text service key |
| Cloudflare WARP | WARP_TOKEN | Plain text (optional for consumer mode) |
| IPsec | IPSEC_CONFIG, IPSEC_SECRETS | Both base64-encoded |
| Meraki L2TP/IPsec | MERAKI_SERVER | Plain text |
MERAKI_USER, MERAKI_PASSWORD | Plain text | |
MERAKI_PSK | Plain text (pre-shared key) | |
| Meraki AnyConnect | Use openconnect provider | With Meraki MX hostname |
๐ ๏ธ VPN Tools Available
Tool | Action |
|---|---|
vpn_connect | Establish VPN connection |
vpn_disconnect | Terminate VPN connection |
vpn_status | Check connection status |
๐ Quick Examples
# WireGuard
vpn_connect(provider="wireguard")
# OpenVPN
vpn_connect(provider="openvpn")
# Tailscale
vpn_connect(provider="tailscale")
# Twingate (what we used)
vpn_connect(provider="twingate")
# Cloudflare WARP
vpn_connect(provider="cloudflare")
# OpenConnect (Cisco AnyConnect)
vpn_connect(provider="openconnect")
# Meraki L2TP
vpn_connect(provider="meraki")
๐ง Setup Process
- Add secrets via Neo UI (Settings > Secrets) or API
- For config files (WireGuard, OpenVPN, IPsec): Base64-encode first
- Linux:
base64 -w0 config.conf - macOS:
base64 -i config.conf | tr -d '\n'
- Linux:
- Connect using
vpn_connect(provider="<name>") - All commands automatically route through VPN once connected
Need help setting up a specific VPN provider?