Skill: krishnakumarmahadevan-cmd/toolweb-ubuntu-hardening (version 1.0.0)

--- name: Ubuntu Linux Security Hardening Tool description: Generates professional Linux security hardening configuration files for Ubuntu systems with customizable options. --- # Overview The Ubuntu Linux Security Hardening Tool is a professional-grade security configuration generator designed for system administrators, DevOps engineers, and security professionals who need to rapidly deploy hardened Ubuntu Linux environments. This tool eliminates manual configuration work by generating battle-tested security hardening scripts and configuration files tailored to your specific requirements. The tool provides a comprehensive approach to Linux security by offering multiple hardening vectors including kernel parameters, firewall rules, authentication policies, service hardening, and system auditing configurations. Whether you're securing a single server, building infrastructure-as-code templates, or establishing security baselines across your organization, this tool accelerates deployment while maintaining industry best practices. Ideal users include DevOps teams automating infrastructure deployments, security professionals conducting hardening assessments, system administrators managing enterprise Linux fleets, and organizations seeking compliance with CIS Benchmarks and NIST guidelines. # Usage **Example Request:** ```json { "sessionId": "sess_abc123def456", "userId": 1001, "timestamp": "2024-01-15T10:30:00Z", "hardeningOptions": { "kernel": ["disable_ipv6", "restrict_kernel_modules"], "firewall": ["enable_ufw", "default_deny_incoming"], "authentication": ["enforce_strong_passwords", "disable_root_login"], "services": ["disable_unnecessary_services", "harden_ssh"], "audit": ["enable_auditd", "log_file_access"] } } ``` **Example Response:** ```json { "status": "success", "sessionId": "sess_abc123def456", "generatedAt": "2024-01-15T10:30:05Z", "configFiles": [ { "filename": "10-kernel-hardening.conf", "path": "/etc/sysctl.d/", "content": "kernel.kptr_restrict = 2\nkernel.unprivileged_userns_clone = 0\nnet.ipv6.conf.all.disable_ipv6 = 1\n..." }, { "filename": "sshd_config.hardened", "path": "/etc/ssh/", "content": "PermitRootLogin no\nPasswordAuthentication no\nX11Forwarding no\n..." }, { "filename": "ufw-rules.sh", "path": "/root/", "content": "#!/bin/bash\nufw default deny incoming\nufw default allow outgoing\n..." } ], "summary": { "totalFiles": 3, "hardeningCategories": 5, "estimatedImplementationTime": "15 minutes", "complianceFrameworks": ["CIS Benchmark", "NIST 800-53"] } } ``` # Endpoints ## GET / **Description:** Health check endpoint for service availability verification. **Parameters:** None **Response:** JSON object indicating service status. --- ## POST /api/hardening/generate **Description:** Generates Ubuntu Linux security hardening configuration files based on selected hardening options. **Parameters:** | Name | Type | Required | Description | |------|------|----------|-------------| | `hardeningOptions` | Object (string arrays) | Yes | Dictionary of hardening categories and their selected options. Keys represent categories (e.g., "kernel", "firewall", "authentication"), values are arrays of specific hardening measures. | | `sessionId` | String | Yes | Unique session identifier for tracking and audit purposes. | | `userId` | Integer or null | No | Optional user identifier for multi-tenant environments and usage attribution. | | `timestamp` | String | Yes | ISO 8601 formatted timestamp indicating when the request was generated. | **Response:** - **Status 200:** Returns generated hardening configuration files with content, paths, implementation summary, and compliance framework mappings. - **Status 422:** Validation error. Response includes detailed error messages for malformed requests. --- ## GET /api/hardening/options **Description:** Retrieves all available hardening options and categories supported by the tool. **Parameters:** None **Response:** JSON object containing: - Available hardening categories (kernel, firewall, authentication, services, audit, etc.) - Specific hardening options within each category - Descriptions and impact levels for each option - Compatibility notes and dependencies between options # Pricing | Plan | Calls/Day | Calls/Month | Price | |------|-----------|-------------|-------| | Free | 5 | 50 | Free | | Developer | 20 | 500 | $39/mo | | Professional | 200 | 5,000 | $99/mo | | Enterprise | 100,000 | 1,000,000 | $299/mo | # About ToolWeb.in - 200+ security APIs, CISSP & CISM, platforms: Pay-per-run, API Gateway, MCP Server, OpenClaw, RapidAPI, YouTube. - [toolweb.in](https://toolweb.in) - [portal.toolweb.in](https://portal.toolweb.in) - [hub.toolweb.in](https://hub.toolweb.in) - [toolweb.in/openclaw/](https://toolweb.in/openclaw/) - [rapidapi.com/user/mkrishna477](https://rapidapi.com/user/mkrishna477) - [youtube.com/@toolweb-009](https://youtube.com/@toolweb-009) # References - Kong Route: https://api.mkkpro.com/hardening/ubuntu - API Docs: https://api.mkkpro.com:8128/docs


Security scan verdicts — ClawScan: clean | static analysis: clean | VirusTotal: clean | SkillSpector: suspicious (MEDIUM)