This repository has been archived by the owner on Oct 18, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 400
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Include OSQueryi * Added new icons for the new logo. * Include nssm and bat file for starting the Rekall Agent. BUG= Review URL: https://codereview.appspot.com/321410043.
- Loading branch information
Showing
27 changed files
with
121 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
If OSQuery is included in this binary package, the following license | ||
applies to OSQuery: | ||
|
||
BSD License | ||
|
||
For osquery software | ||
|
||
Copyright (c) 2014-present, Facebook, Inc. All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without modification, | ||
|
||
are permitted provided that the following conditions are met: | ||
|
||
* Redistributions of source code must retain the above copyright notice, this | ||
list of conditions and the following disclaimer. | ||
* Redistributions in binary form must reproduce the above copyright notice, | ||
this list of conditions and the following disclaimer in the documentation | ||
and/or other materials provided with the distribution. | ||
|
||
* Neither the name Facebook nor the names of its contributors may be used to | ||
endorse or promote products derived from this software without specific | ||
prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND | ||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR | ||
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON | ||
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
rem This batch script installs Rekall Agent as a windows service using | ||
rem the nssm tool which was originally downloaded from http://nssm.cc/ | ||
|
||
rem Edit the following if needed. | ||
set "service=RekallAgent" | ||
set "RekallPath=%PROGRAMFILES%\Rekall" | ||
set "nssm=%RekallPath%\resources\nssm.exe" | ||
|
||
rem Make sure to edit this before deployment. | ||
set "RekallAgentConfig=%RekallPath%\resources\rekall-agent.yaml" | ||
|
||
"%nssm%" stop "%service%" confirm | ||
"%nssm%" remove "%service%" confirm | ||
"%nssm%" install "%service%" "%RekallPath%\rekal.exe" | ||
"%nssm%" set "%service%" AppParameters agent --agent_config """%RekallAgentConfig%""" | ||
|
||
rem This is a log file of Rekall Agent messages. | ||
"%nssm%" set "%service%" AppStdout "%RekallPath%\RekallAgent.log" | ||
"%nssm%" set "%service%" AppStderr "%RekallPath%\RekallAgent.log" | ||
|
||
rem This will rotate the log files. | ||
"%nssm%" set "%service%" AppRotateFiles 1 | ||
"%nssm%" set "%service%" AppRotateBytes 10000000 | ||
|
||
rem Service must be running at least this long to be considered healthy. | ||
"%nssm%" set "%service%" AppThrottle 30000 | ||
|
||
rem Service may not be restarted more frequently than this many ms. | ||
"%nssm%" set "%service%" AppRestartDelay 60000 | ||
|
||
"%nssm%" start "%service%" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Sample configuration file for the Rekall Agent. Modify this to point | ||
# at your server project. | ||
__type__: Configuration | ||
client: | ||
__type__: GAEClientPolicy | ||
|
||
# Add intrinsic labels to this client here. | ||
labels: | ||
- All | ||
- Linux | ||
|
||
# Set to false to prevent the agent from polling - it will just | ||
# exit after a single poll. Note that the nanny will wake it anyway | ||
# after 2 minutes so the agent will continue to poll but will be | ||
# restarted every 2 minutes. This achieves the smaller possible | ||
# resident memory footprint. | ||
poll: true | ||
poll_min: 60 | ||
poll_max: 60 | ||
manifest_location: | ||
__type__: HTTPLocation | ||
# Change this to point at the deployed server. | ||
base: http://127.0.0.1:8080/api/control | ||
path_prefix: /manifest | ||
# Persistent path to keep the same client. | ||
writeback_path: rekall-agent-writeback.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters