Click here to Skip to main content
15,894,720 members
Articles / Security

How to Transform Binary Files into Powershell Script(s) in Order to Copy them Silently on a Server

Rate me:
Please Sign up or sign in to vote.
4.73/5 (8 votes)
2 Mar 2024CPOL9 min read 10.5K   12  
A tool which creates one or more Powershell scripts which in turn recreate one or more binary files
Lately, I have seen a rise in limitations on what actions a user can do on remote desktop services (e.g., Microsoft MSTSC and Citrix Workspace) consisting of forbidding the copy and paste of files through clipboard allowing only plain text for security reasons, sometimes making developer user experience troublesome. I would like to raise the awareness that these measures can be bypassed "easily", even if the plain text copy/paste through clipboard gets disabled.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Italy Italy
I'm a senior .NET software engineer in the second half of my forties. Started using a computer at six years, gone through logo, basic, assembly, C/C++, java and finally to .NET and .NET core. Proficient also in databases, especially Sql Server and reporting. Let's say I have also some experience on security but mainly in the past, now things have become much more difficult and I do not have too much time to keep me updated, but sometimes I am still kicking in. Fan of videogames, technologies, motorbikes, travelling and comedy.

Email: Federico Di Marco <fededim@gmail.com>
Linkedin: LinkedIn
Github: GitHub
Stackoverflow: StackOverflow

Comments and Discussions