Starting a PowerShell with administrator permissions in Windows 10/11

Starting a PowerShell with administrator permissions in Windows 10/11
Download Copy
Title: Starting a PowerShell with administrator permissions in Windows 10/11
Author: Aleff

This script can be considered by people who are new to the world of scripts written in DuckyScript so that they can understand how to start a PowerShell with administrator permissions on a Windows machine. Starting a PowerShell session with administrator privileges means the session has access to features and operations that require high permissions on the Windows operating system. Some PowerShell commands require administrator privileges to run properly. Starting PowerShell as an administrator allows you to execute commands that require elevated permissions, such as managing system services, changing security settings, creating or modifying user accounts, installing system-level software, and so on. It is important to note that running PowerShell with administrator privileges involves a higher level of responsibility and can cause significant changes to the system. Therefore, it is advisable to be careful and fully understand the effects of operations performed in a session with administrator privileges to avoid unwanted or harmful changes.

Execution is the method of either remotely or locally running code — malicious or otherwise — on a target computer. Execution is typically coupled with other techniques to carry out more complex tasks, like performing reconnaissance, exfiltration or credential harvesting. Execution may be ephemeral, or coupled with persistence techniques used to maintain remote access or continued code execution. See all execution payloads.

This payload is for the USB Rubber Ducky — a "flash drive" that types keystroke injection payloads into unsuspecting computers at incredible speeds. It's no wonder this little quacker has made appearances on Mr. Robot, FBI, Blacklist, National Geography and more!

Submit your own payload, or browse more featured USB Rubber Ducky Payloads.

 

 

Related Payloads

Defend Yourself From CVE-2023-23397
Defend Yourself From CVE-2023-23397
This script sets a Firewall rule that will defend you against CVE-2023-23397.
Read More
The Perfect Stealthy Payload
The Perfect Stealthy Payload
Opens PowerShell as admin, creates a folder in Windows/temp called Cache, adds exclusion in Defender, downloads the payl
Read More
Windows Duck In The Middle
Windows Duck In The Middle
This payload sets up a trustworthy proxy for the user, enabling a Man-in-the-middle attack. After executing your payload
Read More