Skip to content

foi-oss/schoolware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

schoolware

Malware for schools (and universities)

Usage

Executable files can be downloaded from schoolware/releases.

To run a scenario, specify it's name and, optionally, any additional arguments it takes.

C:>schoolware --scenario=files --files-paths=test.txt run

run command will immediately run the scenario in the foreground.

In order to run a scenario in background you first have to install the schoolware service by registering it with svchost.

C:>schoolware --scenario=net --net-ports=123456 install

install command will register the schoolware binary with svchost, while specified flags (--scenario and --net-ports in the example above) will be used during service's start-up. Once the service is registered, start-up flags cannot be altered.

To start the previously installed service in the background, issue the following command:

C:>schoolware start

Please note, due to limitations of svchost, schoolware binary has to be located on a start-up disk (usually the C: drive).

In order to stop and remove the service, use the stop and remove commands respectively. After the service has been removed, it can be registered again with different start-up parameters.

For list of all scenarios and available options, consult built-in --help.

Building

  • Install Go
  • Prepare your Go environment
  • With new GOPATH set, go-get this repository
    • go get github.com/foi-oss/schoolware
  • Build the project
    • navigate to $GOPATH/src/github.com/foi-oss/schoolware/bin
    • and run go build -o schoolware.exe