Skip to content

Commit

Permalink
Merge pull request #385 from twosixlabs/readme-fix
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
pmtslgit authored Mar 26, 2019
2 parents 9503aac + 74b0da8 commit 70b192b
Showing 1 changed file with 0 additions and 39 deletions.
39 changes: 0 additions & 39 deletions targets/win-target/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 70b192b

Please sign in to comment.