Can't add a firewall rule because a folder is named like an enviroment variable.

Status
Not open for further replies.

Spiritus Sancti

Level 1
Thread author
Oct 6, 2016
14
I created a Portable App (BitKinex) with Cameyo.

When I execute the BitKinex.cameyo.exe, the real program is under this path:
"C:\Users\MyUserName\AppData\Roaming\VOS\BitKinex\PROG\%Program Files%\BitKinex\bitkinex.exe"

When I want to add a rule to the windows firewall, it doesn't work because it thinks %Program Files% is an enviroment variable, but its not - it is just an folder named like an enviroment variable.

When I make it with BiniSoft Interface, I simply don't get an rule.
When I make it with Windows Firewall with Advanced Security, I get following Error Msg:
An error occurred while adding a rule.

Error: The parameter is incorrect

Status: The application name could not be resolved​

I also tried it per CMD, with follwing command:
netsh advfirewall firewall add rule name="BitKinex" dir=out action=allow program="C:\Users\MyUserName\AppData\Roaming\VOS\BitKinex\PROG\%Program Files%\BitKinex\bitkinex.exe" enable=yes​
but then I get this error msg:
The application name could not be resolved.

I can not rename the folder, this just doesn't work with Cameyo.

Is there a workaround??
 
Status
Not open for further replies.

About us

  • MalwareTips is a community-driven platform providing the latest information and resources on malware and cyber threats. Our team of experienced professionals and passionate volunteers work to keep the internet safe and secure. We provide accurate, up-to-date information and strive to build a strong and supportive community dedicated to cybersecurity.

User Menu

Follow us

Follow us on Facebook or Twitter to know first about the latest cybersecurity incidents and malware threats.

Top