Skip to main navigation Skip to search Skip to main content

DomainScriptor - CLI-basiertes Penetration Testing in Active-Directory-Umgebungen

  • Fabian Traxler

    Student thesis: Master's Thesis

    Abstract

    Active Directory is a central component for identity and access management in many
    organizations. Due to its high complexity, the variety of protocols involved, and its
    close connection to security-critical company resources, it represents a highly relevant
    target for penetration testing. In practice, Active Directory penetration tests often re
    quire the use of multiple specialized tools, each with different command structures,
    parameters, and output formats. This leads to significant manual effort, increased sus
    ceptibility to errors, and difficulties in consistently evaluating and documenting the
    results. The aim of this thesis is the design and implementation of DomainScriptor, a
    modular CLI-based framework that supports penetration testing in Active Directory
    environments. DomainScriptor integrates selected security tools through adapters, pro
    vides a unified command-line interface, and automates recurring test procedures. By
    using an abstract adapter, external tools can be accessed through a consistent interface
    and extended when required. The results of executed tests are transformed by a normal
    izer into a common canonical data model and stored centrally in an SQLite database.
    This enables consistent searching, filtering, and further analysis of the collected data.
    The implementation is based on Python and uses, among other technologies, Typer for
    the command-line interface, prompt_toolkit for the interactive shell, and SQLite with
    FTS5 for centralized storage and full-text search. The integration of several adapters,
    including nxc, responder, ntlmrelayx, smbclient, and proxychains, demonstrates
    how existing tools can be incorporated into the framework and controlled through a
    common interface. In addition, an nmap adapter is used to show how the system can be
    extended with further tools. The evaluation is conducted using typical SMB and LDAP
    security checks. The results show that DomainScriptor significantly reduces manual ef
    fort, improves the reproducibility of tests, and decreases the likelihood of errors during
    execution. In particular, centralized data collection, standardized result processing, and
    the automation of recurring commands contribute to making Active Directory penetra
    tion tests more efficient, consistent, and traceable.
    Date of Award2026
    Original languageGerman (Austria)
    Awarding Institution
    • FH OÖ
    SupervisorMarkus Zeilinger (Supervisor)

    Studyprogram

    • Secure Information Systems

    Cite this

    '