Any questions? Ask us: support@enigmaprotector.com

Sapien Powershell studio compiled exe files not working

Issues related to Enigma Virtual Box

Sapien Powershell studio compiled exe files not working

Postby whiggs » Sun Feb 11, 2018 3:16 pm

Hello Enigma development team,
So I am having an issue with getting your product to work correctly with executable files that are compiled using Sapien Powershell Studio 2018. When I run the compiled executable through enigma virtual box and run it, the application just hangs and does nothing. However, when I compile the powershell script into an exe using a different application like ps1 to exe converter (http://www.f2ko.de/en/p2e.php), the program executes beautifully. Enigma virtual box seems to be incompatible with executable files compiled in sapien powershell studio, which sucks because all of my powershell scripts are compiled using powershell studio due to the advanced features it offers. Can you please look into why this is and fix it? That would be great:
whiggs
 
Posts: 5
Joined: Sun Feb 11, 2018 2:16 pm

Re: Sapien Powershell studio compiled exe files not working

Postby Enigma » Mon Feb 12, 2018 10:55 am

Hi, yes, we can check it. Can you please put non packed files somewhere and send us a link?
Or send a sample at support@enigmaprotector.com.

Check also this workaround, I think it will work for you: viewtopic.php?f=20&t=12564#p24106
Enigma
Site Admin
 
Posts: 2318
Joined: Wed Aug 20, 2008 2:24 pm

Re: Sapien Powershell studio compiled exe files not working

Postby whiggs » Tue Feb 13, 2018 1:09 am

Thank you very much for your reply. The below link contains an exe compiled using Sapien powershell studio that has not been processed by enigma virtual box. It is a very simple script which scans that content of a text file (which I would potentially want to be virtual) in the user's my documents directory, then displays a message box displaying the file's text:https://acuitybrandsinc-my.sharepoint.com/:u:/g/personal/wmh02_acuitysso_com/EcxOtUMLkYBOghSA6ABA_UUBF3vXkE9vbTfoC33zfiRCfg?e=cAPwaP
Code: Select all
$content = Get-Content "$env:USERPROFILE\Documents\file.txt"
Add-Type -AssemblyName "System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
[void][System.Windows.Forms.MessageBox]::Show("$content", 'Title') # Casting the method to [void] suppresses the output.
whiggs
 
Posts: 5
Joined: Sun Feb 11, 2018 2:16 pm

Re: Sapien Powershell studio compiled exe files not working

Postby Enigma » Tue Feb 13, 2018 7:48 am

Looks like there should be more files, because when I run this exe, it does not start asking for some dependency files.

Can you please zip all files that I may need to run it for testing?
Enigma
Site Admin
 
Posts: 2318
Joined: Wed Aug 20, 2008 2:24 pm

Re: Sapien Powershell studio compiled exe files not working

Postby whiggs » Mon Feb 19, 2018 11:14 pm

Enigma wrote:Looks like there should be more files, because when I run this exe, it does not start asking for some dependency files.

Can you please zip all files that I may need to run it for testing?


I am sorry. I am not sure what you mean. I wrote the script in such a way so that it would be easy to test. The script looks for a text file named "file.txt" in the current user's documents folder. My thought was that you could take the exe I provided and use virtual box to embed a text file named "file.txt" in enigma virtualbox's "MY Documents Folder% to determine the issue. If you would rather me do something different, please let me know how you would like the script to be written.
whiggs
 
Posts: 5
Joined: Sun Feb 11, 2018 2:16 pm

Re: Sapien Powershell studio compiled exe files not working

Postby whiggs » Fri Mar 02, 2018 10:32 pm

So I noticed there was an update recently to make virtualbox more compatible with certain executables. However, just tested new version using the same script, and still doing the same thing. Is there anything you need from me to get this working?
whiggs
 
Posts: 5
Joined: Sun Feb 11, 2018 2:16 pm


Return to Enigma Virtual Box x86/x64

Who is online

Users browsing this forum: Google [Bot] and 11 guests

cron