Enigma protection with terminal services

Post here messages if you have any problems with working of Enigma Protector
Post Reply
burking
Posts: 3
Joined: Thu Feb 21, 2013 3:19 pm

Enigma protection with terminal services

Post by burking »

The question is if enigma can protect against a customer who connects to Windows Terminal Server with the same user. I mean, for example two terminal session open with the same user.

Thank in advance
Enigma
Site Admin
Posts: 3085
Joined: Wed Aug 20, 2008 2:24 pm

Re: Enigma protection with terminal services

Post by Enigma »

Hi burking,

Seems no. Enigma protects only a file from being modified, cracker and so, it does not control user sessions.
burking
Posts: 3
Joined: Thu Feb 21, 2013 3:19 pm

Re: Enigma protection with terminal services

Post by burking »

..Then With one license and windows terminal server with 50 session you can use any software protected with enigma.
I think enigma is a good product but i need this feature to be perfect :-D. You can protect by hardware id and also by windows user name and also by number of executed process!! . why not add a number of terminal sessions per user? You can get it with this.

BOOL ProcessIdToSessionId(
_In_ DWORD dwProcessId,
_Out_ DWORD *pSessionId
);
Enigma
Site Admin
Posts: 3085
Joined: Wed Aug 20, 2008 2:24 pm

Re: Enigma protection with terminal services

Post by Enigma »

Yes, Enigma Protector does not have any limitations to the number of sessions the protected software is used.
Of course, something new can be done, why not.

But how ProcessIdToSessionId can help there? It does not show how many sessions are used the current process.

Btw, the most easy way to implement it, would be making a plugin for protection, that will do all limitations.
burking
Posts: 3
Joined: Thu Feb 21, 2013 3:19 pm

Re: Enigma protection with terminal services

Post by burking »

With ProcessIdToSessionId you get your current session number. Then you have your process name and your session number, you store it (Memory, disk, reg, dll..). When user starts the program from other session you get the sessionid again compare with the stored session and if different then msgbox("There is another session using this software, please exit from that session and restart")

also you can use,

Private Declare Function WTSEnumerateSessions _
Lib "wtsapi32.dll" Alias "WTSEnumerateSessionsA" ( _
ByVal hServer As Long, ByVal Reserved As Long, _
ByVal Version As Long, ByRef ppSessionInfo As Long, _
ByRef pCount As Long _
) As Long

More info of this api at http://support.microsoft.com/kb/291789/en-us
Post Reply