Skip to content
KitploitKITPLOIT
ИнструментыЭксплойтыБлог
Log in
Отправить
ИнструментыЭксплойтыБлог
Отправить

Инструменты для хакинга, пентеста и кибербезопасности — ваш арсенал защиты!

Kitploit — это каталог инструментов для хакинга, кибербезопасности и пентестинга. Находите последние обновления проектов для поиска уязвимостей, анализа систем, автоматизации тестирования и усиления вашей безопасности.

ЛентыКонтактыКонфиденциальность© 2026 Kitploit

Каталог инструментов

Категории

Все категории
Loading categories
shellshock-linux-host-hardening-lab — Controlled penetration testing and Linux host-hardening lab demonstrating Shellshock (CVE-2014-6271), privilege escalation, vulnerability assessment and defensive security controls. | Kitploit
Инструменты/GitHubGitHub/itzsteve04/shellshock-linux-host-hardening-lab
Defensive ToolsPrivilege EscalationReconnaissanceNetwork MappingVulnerability AnalysisWeb Application ExploitationConfiguration AuditingPenetration TestingPapers & ResearchLearning & EducationLabs & Practice
28 окт. 2026 г.Ещё не проверено
GitHubitzsteve04/shellshock-linux-host-hardening-lab

shellshock-linux-host-hardening-lab

Controlled penetration testing and Linux host-hardening lab demonstrating Shellshock (CVE-2014-6271), privilege escalation, vulnerability assessment and defensive security controls.

Репозиторий

Похожие инструменты

  • wazuh

    Открытая платформа XDR и SIEM для обнаружения угроз, анализа журналов, мониторинга целостности файлов, оценки уязвимостей и управления соответствием требованиям на конечных точках и в облачных нагрузках.

  • suricata

    Движок сетевой IDS/IPS/NSM с открытым исходным кодом для инспекции трафика в реальном времени, обнаружения и предотвращения вторжений, анализа протоколов и охоты за угрозами на основе правил.

  • zeek

    Zeek — это мощный фреймворк для анализа сети, который сильно отличается от типичных IDS, которые вы, возможно, знаете.

Популярное

Смотреть все →

Откройте для себя самые используемые инструменты нашего сообщества.

  • 1

    Callisto

    jetp1ane/callisto

    Автоматизированный инструмент анализа уязвимостей бинарных файлов, который декомпилирует исполняемые файлы с помощью Ghidra, сканирует псевдо-C код с помощью Semgrep и проверяет находки с использованием GPT-3.5-Turbo для уменьшения ложных срабатываний.

    796
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    # Приложение GhostLock с запуском в один клик (CVE-2026-43499)

    735
  • 3

    IMSIcatcher

    28zaaky/imsicatcher

    Платформа IMSI Catcher, разворачивающая поддельную соту GSM для перехвата SMS, внедрения сообщений и отслеживания мобильных устройств

    721
  • 4

    opencti

    opencti-platform/opencti

    Открытая платформа киберразведки угроз

    535
  • 5

    ARTEX

    baarai/artex

    Платформа автономного тестирования на проникновение на основе мультиагентной LLM с агентами-планировщиками и агентами-исполнителями, графами активов и исследования, записью MITM-трафика и повторной проверкой уязвимостей.

    424
  • 6

    DFRoot

    a2333c/dfroot

    Инструмент для получения root-прав на Android для Samsung Galaxy S25 Ultra (SM-S938B), который объединяет DirtyFrag CVE-2026-43284 и CVE-2026-43499 для автоматического получения root-прав при загрузке через KernelSU.

    419

Изучить все инструменты

Просмотрите нашу коллекцию инструментов

Смотреть все инструменты →
Поделиться
Контент недоступен на запрошенном языке. Показываем английскую версию.

Shellshock (CVE-2014-6271) - Linux Host Hardening & Penetration Testing Lab

Controlled university cybersecurity lab | Kali Linux, Ubuntu Server, Apache, UFW and Nmap

A two-VM security assessment demonstrating the Shellshock vulnerability (CVE-2014-6271) in a deliberately vulnerable Apache CGI/Bash environment, followed by an examination of Linux host-hardening controls and defensive mitigations. The project documents reconnaissance, vulnerability validation, low-privilege command execution, a separate privilege-escalation scenario, and system hardening.

Scope: Authorised testing in an isolated VirtualBox lab with deliberately vulnerable software. This is documentation of an educational group project, not a production security assessment or a ready-to-run exploit framework.

At a glance

AreaImplementation / evidence
Virtual labTwo VMs on a VirtualBox NAT Network: Kali attacker and Ubuntu 20.04 web server
TargetApache HTTP server with CGI invoking an intentionally vulnerable Bash 4.3 environment
Primary vulnerabilityShellshock, CVE-2014-6271
Investigation toolsNmap, http-shellshock NSE script, curl, Linux system administration tools
Attack demonstrationCGI/HTTP-header injection, remote command execution, low-privilege shell
Privilege escalationDeliberately misconfigured SUID binary; a separate PwnKit attempt was unsuccessful
Applied hardeningUFW policies, service review, unnecessary package removal, login-shell restrictions, account/password controls, /etc/shadow access controls, Apache PrivateTmp
Additional proposalsPatch vulnerable Bash, remove/rework Bash-backed CGI, WAF, input validation, service isolation and security monitoring

Lab architecture

Two Linux virtual machines were configured on the same VirtualBox NAT Network:

flowchart LR
  K["Kali Linux attacker VM<br/>10.0.2.8<br/>5 CPUs, 5,590 MB RAM"]
  N["VirtualBox NAT Network"]
  U["Ubuntu 20.04 web server<br/>10.0.2.9<br/>4 CPUs, 4,636 MB RAM"]
  A["Apache HTTP :80<br/>CGI invokes vulnerable Bash"]
  K <-->|"Lab traffic / testing"| N
  N <-->|"Lab traffic"| U
  U --> A
Attacker VMWeb-server VM
Kali VM configurationUbuntu web-server configuration

Read the full lab architecture.

Investigation and attack evidence

1. Reconnaissance and service discovery

Network connectivity was established before using Nmap and HTTP inspection to identify the web service available on port 80.

Nmap network reconnaissance

2. Shellshock vulnerability validation

The team deployed a test CGI script invoking vulnerable Bash, inspected the handling of HTTP request headers and used Nmap's http-shellshock script to verify the vulnerable endpoint.

Nmap Shellshock verification

3. Remote command execution

The controlled demonstration showed remote command execution via the vulnerable CGI path and a reverse-shell connection to the attacker VM. Initial shell access was associated with the low-privilege www-data web-service account.

Low-privilege reverse shell

4. Privilege-escalation scenario

The group attempted PwnKit (CVE-2021-4034), but encountered incompatible library versions between the build and target environments. That attempted exploit did not provide the demonstrated elevation. The successful root-level demonstration used a separately configured, deliberately misconfigured SUID binary.

Root privilege escalation evidence

The distinction matters: Shellshock provided the initial command-execution path; the separate SUID misconfiguration provided the observed elevation to root.

Shellshock attack-flow diagram

Read the evidence-based attack walkthrough.

Linux host hardening

The lab applied a series of defensive measures while also reviewing residual risks.

UFW firewall and exposed services

  • Configured default deny for incoming connections, with outgoing traffic allowed.
  • Allowed HTTP on TCP port 80 for the lab's web-server use case.
  • Reviewed listening ports and active services; unnecessary remote-access services, including SSH, were disabled for this scenario.

UFW firewall status

Host configuration and access controls

  • Reviewed installed packages and removed compiler-related packages and an unused FTP package after examining proposed changes.
  • Audited local user accounts and changed the sync account to disallow an interactive login shell; locked password-based access to root.
  • Configured 150-day maximum password age and 12-character minimum password length.
  • Verified restrictions on reading /etc/shadow as an unprivileged user.
  • Enabled Apache PrivateTmp to isolate its temporary-file namespace.

Important: These are defence-in-depth controls. Removing compilers or restricting services does not itself patch Shellshock or guarantee prevention of command execution. Updating vulnerable Bash and eliminating exposure through Bash-backed CGI are direct remediation priorities.

Ubuntu running services

Recommended additional protections (not claimed as deployed)

  • Replace or patch vulnerable Bash, and review CGI entry points.
  • Use strict server-side request validation and a WAF as supplementary controls.
  • Replace Bash-dependent CGI handlers with safer implementations where possible.
  • Isolate web services and monitor suspicious request patterns, shell execution and outbound connections.

Read the implemented controls versus recommendations.

Key outcomes and lessons

Скачать инструмент