Skip to content

About

A lightweight, high-performance custom administrative console that implements an isolated, dedicated 64-bit PowerShell Runspace environment. It features dual-mode execution logic supporting both native Windows utilities and standard PowerShell pipelines within an advanced language context.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Custom Dedicated PowerShell Runspace Host

A lightweight, high-performance custom administrative console that implements an isolated, dedicated 64-bit PowerShell Runspace environment. It features dual-mode execution logic supporting both native Windows utilities and standard PowerShell pipelines within an advanced language context.

Technical Core Architecture

  • Execution Isolation: Runs within a unique programmatic runspace (System.Management.Automation.Runspaces.Runspace) bypassing default host limitations.
  • Language Mode Enforcement: Configured explicitly to FullLanguage mode to guarantee unhindered administrative automation capabilities.
  • Dynamic Session Syncing: Constantly synchronizes the current execution environment directory (Environment.CurrentDirectory) with the active Runspace session path.

Compilation Requirements

This project is built using strictly backward-compatible C# 5 syntax, enabling compilation on native legacy infrastructure without requiring visual development suites or external package managers.

Build Environment

  • Target Architecture: x64 (Strict Process Requirement)
  • Target Framework: .NET Framework 4.8
  • Compiler Solution: Legacy Windows MSBuild (v4.0.30319)

Building the Project

Execute the compilation sequence from an escalated PowerShell or Command Prompt terminal targeting the local .csproj configuration:

# Execute compilation using the native 64-bit MSBuild engine
& "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe" .\Bypass.csproj /p:Configuration=Release /p:Platform=x64

The resulting executable binary will be generated under the following directory path:
.\bin\x64\Release\AMSIBypassRunspace.exe

Usage Configuration

  • Execution: The process monitors its host container state at startup. It will actively reject execution and terminate if initialized within a 32-bit (x86) subsystem.
  • Navigation & Environment: Traditional shell shortcuts like exit, clear, and cls are emulated directly within the terminal loop.

About

A lightweight, high-performance custom administrative console that implements an isolated, dedicated 64-bit PowerShell Runspace environment. It features dual-mode execution logic supporting both native Windows utilities and standard PowerShell pipelines within an advanced language context.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages