Skip to content
Ashen Chathuranga edited this page Jul 6, 2025 · 1 revision

Frequently Asked Questions (FAQ)

Common questions and answers about PrivilegeOS usage, features, and troubleshooting.

Table of Contents

  1. General Questions
  2. Installation and Setup
  3. Windows Admin Bypass
  4. Technical Issues
  5. Security and Legal
  6. Development and Customization

General Questions

What is PrivilegeOS?

Q: What exactly is PrivilegeOS and what is it used for?

A: PrivilegeOS is a specialized Linux distribution designed for penetration testing and security research. It's built specifically for Windows admin access bypass scenarios using the sticky keys replacement technique. It features:

  • Native NTFS3 kernel support for reliable Windows filesystem access
  • Built-in tools for Windows system modification
  • Lightweight design for fast booting from USB
  • Automatic root access for administrative tasks

Is PrivilegeOS free to use?

Q: Can I use PrivilegeOS without paying for it?

A: Yes, PrivilegeOS is completely free and open source. It's released under the MIT License, which means you can:

  • ✅ Use it for any purpose (with proper authorization)
  • ✅ Modify it for your needs
  • ✅ Distribute your own versions
  • ✅ Use it commercially (with proper authorization)

What makes PrivilegeOS different from other penetration testing distributions?

Q: How does PrivilegeOS compare to Kali Linux, Parrot OS, or other security distributions?

A: PrivilegeOS is highly specialized compared to general-purpose security distributions:

Feature PrivilegeOS Kali Linux Parrot OS
Size ~512MB ~3GB+ ~4GB+
Boot Time <30 seconds 1-2 minutes 1-2 minutes
Primary Focus Windows bypass General pentesting General pentesting
NTFS Support Native kernel External tools External tools
Complexity Minimal Full desktop Full desktop
Target Use Specific attacks Comprehensive Comprehensive

Can I use PrivilegeOS as my main operating system?

Q: Is PrivilegeOS suitable for daily use?

A: No, PrivilegeOS is not designed for daily use. It's a minimal, specialized tool for specific security testing scenarios. For daily use, consider:

  • Ubuntu/Debian: For general Linux usage
  • Kali Linux: For comprehensive penetration testing
  • Parrot OS: For privacy-focused security work
  • Windows/macOS: For regular desktop computing

Installation and Setup

What are the minimum system requirements?

Q: What hardware do I need to run PrivilegeOS?

A:

  • CPU: Any x86-64 compatible processor (Intel/AMD 64-bit)
  • RAM: 1GB minimum, 2GB recommended
  • Storage: 4GB USB drive minimum, 8GB recommended
  • Firmware: UEFI or Legacy BIOS support
  • Network: Optional, but useful for updates

Why won't my system boot from the PrivilegeOS USB?

Q: I created the USB correctly, but my computer won't boot from it. What's wrong?

A: This is usually a BIOS/UEFI configuration issue:

  1. Check BIOS settings:

    • Enable UEFI boot mode
    • Disable Secure Boot (temporarily)
    • Set USB as first boot device
    • Enable USB boot support
  2. Try different approaches:

    • Use USB 2.0 port instead of 3.0
    • Try Legacy BIOS mode if UEFI fails
    • Recreate USB with different tool (Rufus, Etcher, dd)
    • Try different USB drive
  3. Verify image integrity:

    sha256sum PrivilegeOS.img
    # Compare with published checksum

Can I install PrivilegeOS to hard drive?

Q: Instead of using USB, can I install PrivilegeOS permanently?

A: While technically possible, it's not recommended or officially supported because:

  • PrivilegeOS is designed for temporary, isolated use
  • Permanent installation reduces security isolation
  • Updates would overwrite customizations
  • USB provides better portability and safety

If you need persistent storage, consider:

  • Larger USB drive with persistent partition
  • Building custom version with your tools
  • Using standard Linux distribution with PrivilegeOS tools

How do I update PrivilegeOS?

Q: How do I get the latest version with updates and patches?

A: PrivilegeOS updates require rebuilding/redownloading:

  1. Download latest release:

    wget https://github.com/ktauchathuranga/privilegeos/releases/latest/download/PrivilegeOS.img
  2. Build from source (for latest development):

    git pull origin main
    ./build.sh --clean
  3. Recreate USB with new image

Note: There's no in-place update mechanism due to the read-only design.

Windows Admin Bypass

Does the bypass work on Windows 11?

Q: Is the sticky keys bypass still effective on the latest Windows versions?

A: Yes, the technique works on:

  • ✅ Windows 11 (all current versions)
  • ✅ Windows 10 (all versions)
  • ✅ Windows Server 2022/2019/2016
  • ⚠️ Windows 8/8.1 (mostly works)
  • ⚠️ Windows 7 (limited testing)

However, effectiveness depends on:

  • System configuration
  • Group policy settings
  • Endpoint protection software
  • BitLocker encryption status

What if the target system has BitLocker enabled?

Q: Can I bypass systems with full disk encryption?

A: No, BitLocker encryption prevents this technique because:

  • The entire Windows partition is encrypted
  • Cannot mount and modify files without decryption key
  • Physical access alone is insufficient

Alternatives for encrypted systems:

  • Social engineering for credentials
  • Memory analysis (if system is running)
  • Hardware-based attacks (advanced)
  • Recovery key exploitation (if available)

Why does pressing Shift 5 times still show Sticky Keys?

Q: I ran getadmin successfully, but the bypass doesn't work in Windows.

A: This usually indicates the file modification didn't persist:

  1. Verify changes were made:

    # Boot PrivilegeOS and check
    mount -t ntfs3 -o ro /dev/sda2 /mnt
    ls -la /mnt/Windows/System32/sethc.exe
    ls -la /mnt/Windows/System32/cmd.exe
    # sethc.exe should have same size as cmd.exe
  2. Common causes:

    • Windows File Protection restored files
    • Insufficient filesystem sync during modification
    • System restore point restored files
    • Endpoint protection blocked changes
  3. Solutions:

    • Try the bypass again with force options
    • Use alternative accessibility programs (osk.exe)
    • Check for file attributes preventing modification

How do I undo the bypass and restore the system?

Q: How do I put the Windows system back to normal?

A: Use the built-in restoration tool:

# Boot PrivilegeOS
putadmin --force

Or manually restore:

mount -t ntfs3 -o rw,force /dev/sda2 /mnt
cd /mnt/Windows/System32
cp sethc.exe.backup sethc.exe

Verification: Boot Windows and press Shift 5 times - should show Sticky Keys dialog.

Can this bypass be detected?

Q: Will security software or system administrators detect this attack?

A: Yes, this technique can be detected by:

Real-time detection:

  • Endpoint protection software
  • File integrity monitoring (FIM)
  • System file auditing
  • Behavioral analysis tools

Forensic detection:

  • File timestamp analysis
  • Digital signatures verification
  • System restore point comparison
  • Event log analysis

Prevention: See Security Considerations for defensive measures.

Technical Issues

NTFS partition shows as read-only

Q: I can mount the Windows partition but can't write to it.

A: This is usually caused by:

  1. Hibernation state:

    # Check for hibernation file
    ls -la /mnt/hiberfil.sys
    # If exists, use:
    getadmin --delete-hiberfil
  2. Dirty filesystem:

    # Force mount with read-write
    mount -t ntfs3 -o rw,force /dev/sda2 /mnt
  3. File attributes:

    # Check and modify attributes
    lsattr /mnt/Windows/System32/sethc.exe
    chattr -i /mnt/Windows/System32/sethc.exe

getdrives doesn't show any Windows partitions

Q: The drive detection tool doesn't find any Windows systems.

A: Check these possibilities:

  1. Verify partitions exist:

    fdisk -l
    cat /proc/partitions
  2. Check filesystem types:

    blkid
  3. Try manual mounting:

    mkdir -p /mnt/test
    mount -t ntfs3 -o ro,force /dev/sda2 /mnt/test
    ls /mnt/test/
  4. Common issues:

    • GPT partition table not recognized
    • Dynamic disks (Windows software RAID)
    • Damaged partition table
    • Unusual partition types

System runs out of memory

Q: PrivilegeOS shows low memory or crashes due to memory issues.

A: PrivilegeOS is designed to run in minimal memory, but issues can occur:

  1. Check memory usage:

    free -m
    top
  2. Clear caches:

    echo 3 > /proc/sys/vm/drop_caches
  3. Kill unnecessary processes:

    ps aux
    # Kill any unnecessary processes
  4. Increase swap (if needed):

    # Create swap file on mounted partition
    dd if=/dev/zero of=/mnt/swapfile bs=1M count=512
    mkswap /mnt/swapfile
    swapon /mnt/swapfile

Network doesn't work

Q: I can't get network connectivity in PrivilegeOS.

A: PrivilegeOS has basic network support but may need manual configuration:

  1. Check interface status:

    ip link show
    ip addr show
  2. Bring up interface:

    ip link set eth0 up
  3. Configure manually (no DHCP client by default):

    # Set static IP
    ip addr add 192.168.1.100/24 dev eth0
    ip route add default via 192.168.1.1
    
    # Set DNS
    echo "nameserver 8.8.8.8" > /etc/resolv.conf
  4. Test connectivity:

    ping 8.8.8.8

Security and Legal

Is using PrivilegeOS legal?

Q: Can I get in trouble for using this tool?

A: The legality depends entirely on how and where you use it:

Legal uses:

  • ✅ Your own systems and computers
  • ✅ Authorized penetration testing with written permission
  • ✅ Educational lab environments
  • ✅ Security research on isolated systems

Illegal uses:

  • ❌ Unauthorized access to others' systems
  • ❌ Breaking into workplace computers without permission
  • ❌ Accessing systems for malicious purposes
  • ❌ Any use without proper authorization

Best practices:

  • Always get written authorization before testing
  • Follow responsible disclosure for vulnerabilities
  • Comply with local and international laws
  • Use only in controlled, authorized environments

What should I do if I accidentally damage a system?

Q: I tried the bypass and now Windows won't boot properly.

A: Follow these recovery steps:

  1. Immediate action:

    # Boot PrivilegeOS and restore files
    putadmin --force
  2. If putadmin doesn't work:

    # Manual restoration
    mount -t ntfs3 -o rw,force /dev/sda2 /mnt
    cd /mnt/Windows/System32
    cp sethc.exe.backup sethc.exe
  3. If no backup exists:

    • Boot from Windows installation media
    • Use System Restore if available
    • Extract sethc.exe from Windows install files
    • Contact system administrator if it's not your system
  4. Professional help:

    • If it's a critical business system
    • If data recovery is needed
    • If you're not comfortable with recovery procedures

How do I report security vulnerabilities?

Q: I found a bug or security issue in PrivilegeOS. How should I report it?

A: Follow responsible disclosure:

  1. Security issues: Email security@example.com

  2. General bugs: Use GitHub Issues

  3. Include:

    • Detailed reproduction steps
    • System information
    • Expected vs actual behavior
    • Potential impact assessment
  4. Give time: Allow 90 days for response and fixing before public disclosure

Development and Customization

Can I add my own tools to PrivilegeOS?

Q: How do I include custom scripts or tools in the build?

A: Yes, you can customize PrivilegeOS:

  1. Add scripts to scripts/ directory:

    # Clone repository
    git clone https://github.com/ktauchathuranga/privilegeos.git
    cd privilegeos
    
    # Add your script
    cat > scripts/mytool.sh << 'EOF'
    #!/bin/sh
    echo "My custom tool"
    EOF
    chmod +x scripts/mytool.sh
  2. Rebuild:

    ./build.sh --clean
  3. Use in PrivilegeOS:

    # After booting PrivilegeOS
    mytool  # Your script is now available

How do I modify the kernel configuration?

Q: I need to add specific kernel modules or change kernel settings.

A: You can customize the kernel configuration:

  1. Save current config:

    # Build once to generate config
    ./build.sh
    
    # Config is saved in configs/kernel.config
    cp configs/kernel.config my_kernel.config
  2. Edit configuration:

    # Edit manually or use kernel config tools
    cd linux-6.15.3
    make menuconfig
    cp .config ../my_kernel.config
  3. Build with custom config:

    ./build.sh --kernel-config my_kernel.config

Can I create a GUI version?

Q: Is it possible to add a graphical interface to PrivilegeOS?

A: While technically possible, it's not recommended because:

  • Increases size significantly (from 512MB to 2GB+)
  • Slower boot times
  • More complex and less reliable
  • Doesn't align with the minimal design philosophy

Alternatives:

  • Use web-based interface (lightweight HTTP server)
  • Add text-based menu system
  • Use existing tools like Kali Linux for GUI needs

How do I contribute to the project?

Q: I want to help improve PrivilegeOS. How can I contribute?

A: Contributions are welcome! See Contributing Guide for details:

  1. Fork the repository on GitHub
  2. Create feature branch: git checkout -b feature/my-improvement
  3. Make changes following code standards
  4. Test thoroughly on multiple systems
  5. Submit pull request with detailed description

Types of contributions needed:

  • Bug fixes and improvements
  • Hardware compatibility testing
  • Documentation updates
  • New tool integrations
  • Security enhancements

Still Have Questions?

If your question isn't answered here:

  1. Search the GitHub Issues
  2. Check the Troubleshooting Guide
  3. Join GitHub Discussions

Last Updated: 2025-07-06 13:10:56 UTC

Clone this wiki locally