Skip to content
This repository has been archived by the owner on Mar 27, 2021. It is now read-only.
/ mns-patcher Public archive

COMING SOON Standalone POC of the main exploit used in MNSPlusTrasher

License

Notifications You must be signed in to change notification settings

basti564/mns-patcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

COMING SOON mns-patcher

Intro

This is a standalone POC using the main exploit used in MNSPlusTrasher

Theory

The theory behind this exploid is that the packages send to the "mnsscreengrabber" service on the student pc are never validated or blocked.

First Approaches

We could abuse this by either by writing our own remote (which whould require extensive reverse engineering) or patching this test in the frmMain class of the mainForm.cs file in the TeacherConsole executable.

main

The problem with this aproach is that we need to get ahold of the 15 year old Visual Studio 2005 that has been used to originally compile TeacherConstole and Janus which has also been used in this project

Final POC

The final POC patches the isTeacher function of all users in dynamic link dibrary "RoomMgr.dll", which is able to compile in newer Visual Studio versions and easily modifyed to our needs. We only need to modify the return value to "true".

isTeacher

Optionally

You can try to control teacher computers by removing the isTeacherComputer check, which probably won't work as teacher computers don't start the ScreenGrabber service, which is needed to control them. (But you can at least try)

isTeacherComputer

Releases

No releases published

Packages

No packages published