Skill

Configure and Test Network Services for Security Labs

Configures HTTP, HTTPS, SNMP, and SMB services in a pentesting lab for enumeration practice and log analysis.

Works with apachenmapopensslsmbclientenum4linux

91
Spark score
out of 100
Updated 4 days ago
Version 15.5.1

Add to Favorites

Why it matters

Establish a secure and functional penetration testing lab environment by configuring essential network services like HTTP, HTTPS, SNMP, and SMB. This asset enables hands-on practice for service enumeration, log analysis, and security testing against target systems.

Outcomes

What it gets done

01

Configure and secure HTTP and HTTPS web servers.

02

Set up SNMP services for enumeration practice.

03

Establish SMB file shares with configurable permissions.

04

Analyze captured service logs for security insights.

Install

Add it to your toolbox

Run in your project directory:

curl -fsSL https://spark.entire.vc/get/ag-network-101 | bash

Overview

Network 101

Configures HTTP, HTTPS, SNMP, and SMB network services in an isolated pentesting lab, with matching enumeration commands and log analysis guidance. Use when building an isolated pentesting lab requiring realistic service targets for enumeration and security testing practice.

What it does

Configures and tests common network services - HTTP, HTTPS, SNMP, and SMB - in penetration testing lab environments, enabling hands-on practice with service enumeration, log analysis, and security testing against properly configured target systems.

When to use - and when NOT to

Use this skill when building an isolated pentesting lab that needs realistic HTTP/HTTPS, SNMP, or SMB targets for enumeration practice, or when analyzing service logs for security training. Requires administrative access to a target Windows Server or Linux system, a Kali Linux (or similar) testing machine, and firewall access. Lab environments should be isolated from production - not a fit for configuring these services for real production use, or for testing systems without authorization.

Inputs and outputs

Covers HTTP server setup (port 80) via Windows IIS or Linux Apache, including firewall rules (UFW or Windows Firewall PowerShell commands) and verification via curl. HTTPS setup (port 443) covers generating a self-signed certificate with openssl, enabling Apache's SSL module, and verifying with nmap, openssl s_client, and curl -kv.

SNMP setup (port 161) covers installing snmpd, configuring rocommunity/rwcommunity strings in snmpd.conf, and enumeration with snmpwalk (system info OID 1.3.6.1.2.1.1, running processes OID 1.3.6.1.2.1.25.4.2.1.2), snmp-check, and brute-forcing community strings with onesixtyone against a SecLists wordlist. SMB setup (port 445) covers Samba installation, share configuration in smb.conf (browsable, guest access), and enumeration with smbclient -L, smbmap, enum4linux -a, and nmap --script smb-vuln*.

Log analysis covers Apache access/error logs and IIS log locations, with grep/awk patterns for extracting POST requests and user agents. Provides a quick-reference port table (HTTP 80, HTTPS 443, SNMP 161/UDP, SMB 445, NetBIOS 137-139) and common enumeration tools (nmap, nikto, snmpwalk, enum4linux, smbclient, gobuster). Lists constraints (self-signed certs trigger browser warnings, SNMP v1/v2c is cleartext, anonymous SMB is often disabled by default) and a troubleshooting table covering port accessibility, service startup, SNMP timeouts, SMB access denial, and HTTPS certificate errors.

Includes three complete worked examples: an HTTP lab with a login form for credential-capture practice, a quick SNMP configuration with a public community string, and an anonymous SMB share setup.

Integrations

Uses Apache/IIS for HTTP/HTTPS, snmpd for SNMP, Samba for SMB, and enumeration tooling including nmap, nikto, snmpwalk, snmp-check, onesixtyone, smbclient, smbmap, enum4linux, and gobuster.

Who it's for

Security trainers and learners building an isolated pentesting lab who need concrete service configuration steps and matching enumeration commands for HTTP, HTTPS, SNMP, and SMB targets.

snmpwalk -c public -v1 192.168.1.1

FAQ

Common questions

Discussion

Questions & comments · 0

Sign In Sign in to leave a comment.