Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote Sessions Not Disconnecting When SEB Service Mode is Enabled On Windows (SEB Version 3.8.0.742) #991

Open
FeHuynhVI opened this issue Oct 8, 2024 · 9 comments
Assignees
Labels
information required This issue lacks information or requires feedback. stale This issue had no recent activity and will thus soon be closed.

Comments

@FeHuynhVI
Copy link

The issue occurs when SEB Service mode is enabled, remote sessions do not automatically disconnect. Typically, when certain security or session management features like SEB (Safe Exam Browser) are activated, remote sessions are expected to be disconnected to prevent unauthorized access. However, in this case, even with SEB Service enabled, remote sessions continue to run instead of being disconnected, which could create a security vulnerability or compromise exam monitoring procedures

image

@dbuechel
Copy link
Member

dbuechel commented Oct 9, 2024

Could you please share the service log(s) of the affected session(s) and elaborate on which software you're using exactly?

@dbuechel dbuechel added the information required This issue lacks information or requires feedback. label Oct 9, 2024
@FeHuynhVI
Copy link
Author

Portable software can bypass prohibitions. I tried blocking it by name and process, but it didn't work.
image
image
Seb Service still active:
image

AnyDesk (3).exe.zip
This is log zips:
Logs.zip

@dbuechel
Copy link
Member

It appears that you're using kiosk mode Disable Explorer Shell. By default and especially when experiencing issues with screen recordings or remote sessions, we recommend using Create New Desktop.

With respect to the logs resp. portable application: Could you please specify which session / logs in particular recorded the issue? Apart from that, do make sure that you've configured the prohibited application correctly (e.g. AnyDesk (3).exe and not just AnyDesk.exe).

@FeHuynhVI
Copy link
Author

FeHuynhVI commented Oct 20, 2024

@dbuechel Thank you for your feedback.
These are the specific log files:
2024-10-20_12h10m41s_Browser.log
2024-10-20_12h10m41s_Client.log
2024-10-20_12h10m41s_Runtime.log
2024-10-20_12h10m41s_Service.log

Previously, we also used the Create New Desktop mode, but it still didn't prevent remote desktop access, so we experimented with the Disable Explorer Shell mode, but it still didn't block it.

I think AnyDesk (3).exe and AnyDesk.exe are not the issue because AnyDesk (3).exe is a portable app, and users can simply rename it to bypass the prohibition

@dbuechel
Copy link
Member

The only issue I can see in that particular session is that SEB appears to have some trouble terminating the following prohibited applications (though they appear to be terminated successfully in the end):

2024-10-20 12:11:07.815 [18] - WARNING: [ApplicationMonitor] Process 'Zalo.exe' (4692) belongs to blacklisted application 'Zalo.exe'!
2024-10-20 12:11:07.816 [18] - DEBUG: [Process 'Zalo.exe' (4692)] Attempting to close process...
2024-10-20 12:11:07.819 [18] - WARNING: [Process 'Zalo.exe' (4692)] Failed to send close message to main window!
[...]
2024-10-20 12:11:08.352 [18] - WARNING: [ApplicationMonitor] Process 'msedge.exe' (4548) belongs to blacklisted application 'msedge.exe'!
2024-10-20 12:11:08.352 [18] - DEBUG: [Process 'msedge.exe' (4548)] Attempting to close process...
2024-10-20 12:11:08.356 [18] - WARNING: [Process 'msedge.exe' (4548)] Failed to send close message to main window!

And with respect to the portable executable, SEB needs to know at least one of the following aspects of a prohibited application, otherwise it cannot attempt to terminate it: Executable name, original name of the executable and signature of the executable.

@FeHuynhVI
Copy link
Author

Portable files can be modified, making them difficult to identify. Do you have any solutions for this issue?

@FeHuynhVI
Copy link
Author

image
Can you guide me on the location for digital signature validation? If not, I suggest adding this feature.

@dbuechel
Copy link
Member

dbuechel commented Nov 7, 2024

Do you have any solutions for this issue?

Unfortunately not, because as you said, the files can easily be altered resp. renamed.

We already verify the signature for permitted applications (see Applications > Signature), but cannot use it for prohibited applications because SEB would then try to terminate all applications which have been signed with the same certificate (which in the case of e.g. Microsoft would most definitely lead to a system crash, if not worse).

Copy link

github-actions bot commented Dec 6, 2024

This issue is stale because it has been open for 28 days with no activity. It will soon be closed automatically if there are no updates.

@github-actions github-actions bot added the stale This issue had no recent activity and will thus soon be closed. label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
information required This issue lacks information or requires feedback. stale This issue had no recent activity and will thus soon be closed.
Projects
None yet
Development

No branches or pull requests

2 participants