From 74b0da8995aba8fcc42da3d020e7a1a003d561a0 Mon Sep 17 00:00:00 2001 From: pmtslgit <41956816+pmtslgit@users.noreply.github.com> Date: Tue, 26 Mar 2019 12:45:46 -0400 Subject: [PATCH] Update README.md --- targets/win-target/README.md | 39 ------------------------------------ 1 file changed, 39 deletions(-) diff --git a/targets/win-target/README.md b/targets/win-target/README.md index 11f4d5f..6a936f9 100644 --- a/targets/win-target/README.md +++ b/targets/win-target/README.md @@ -79,45 +79,6 @@ SERVICE_NAME: winvirtue service # Updating Sensors (if required) 1. Stop all sensors by killing the pythonservices.exe running winvirtue service (Task Manager, Advanced, Processes, pythonservices.exe, End Task) 2. From the .\savior directory, pull all changes -======= -# Windows User Space Sensor Installation and Run Instructions - -## Bootstrap a Windows 2016 Server AWS Instance -1) With an AWS instance in an RDP window ready to boot strap open the [savior\bin\bootstrap.ps1](../../bin/bootstrap.ps1) in this repo and **follow the instructions at the top of the `bootstrap.ps1` file** from a command prompt. -2) Executing this powershell file will install git, required for installing the rest of the system. You will need to accept windows install prompts and log into git to clone the savior repo. - -## Building Windows Sensors From Scratch -1. Ensure that you have a virtual machine running Windows 10 x64 w/git for windows installed. - -2. Install the Sensor Driver -Check the [Releases Page](https://github.com/twosixlabs/savior/releases) and scroll down to find the Windows Driver download. Download the zip file and extract it, then `right click` on `WinVirtUE.inf` and select `Install`. - -3. From an elevated command prompt in the \savior folder, run the windows build batch to install Python and some necessary build tools. Running this script will also put Windows into test mode, allowing the sensor driver to load at boot time. -```Cmd -bin\windows-build.bat -``` -4. from the \savior subdirectory on the virtual machine execute the sensor installation/staging script -```Cmd -python bin\install_sensors.py -``` - -5. Reboot the machine to allow the driver to load, then from the \savior folder run `windows-update.bat` to start the Sensor Service (will appear in `services.msc` as Windows Winvirtue Service). Note that starting the Sensor Service **requires** the Sensor Driver to be both installed and started. You can check the status of the driver by running `sc query winvirtue` at a command prompt. -```Cmd -bin\windows-update.bat -``` - -6. Visual Studio 2017 build environment with VS 2015 components will be the first requirements to be installed. VS 2017 is required by at least one module to compile required native code. -7. Python 3.6.5 will be installed next, and you may need to click through some of the UAC and python installation menu prompts. -8. Python requirements will be installed after the the python installer exits. There is at least one required python package that needs the VS build enviornment, notably the http package. -9. After the prerequisites are installed, then the build script will create target environment almost completely modeled on the Linux model. - -# Updating Sensors (if required) -1. Stop all sensors by stopping the Winvirtue Service, either from `services.msc` or killing it from Task Manager. -2. From the \savior directory, pull all changes - -```Cmd -git pull -v -``` 3. Execute the windows update script ```Cmd bin\windows-update.bat