This repository has been archived by the owner on Apr 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of cuckoosandbox/cuckoo
- Loading branch information
Showing
7 changed files
with
66 additions
and
5 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
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,37 @@ | ||
========================== | ||
Installing the Linux guest | ||
========================== | ||
|
||
Add agent to autorun, the easier way is to add it to crontab:: | ||
|
||
sudo crontab -e | ||
@reboot python path_to_agent.py | ||
|
||
The following instructions are only for x32/x64 linux guests | ||
=========================================================== | ||
|
||
Install dependencies:: | ||
|
||
sudo apt-get install systemtap gcc linux-headers-$(uname -r) | ||
|
||
Compile Kernel extension:: | ||
|
||
wget https://raw.githubusercontent.com/cuckoosandbox/cuckoo/master/data/strace.stp | ||
sudo stap -p4 -r $(uname -r) strace.stp -m stap_ -v | ||
|
||
Once finished it you should see stap_.ko in the same folder | ||
|
||
Test Kernel extension:: | ||
|
||
staprun -v ./stap_.ko | ||
|
||
Output should be something like **staprun:insert_module:x Module stap_ inserted from file path_to_stap_.ko** | ||
stap_.ko should be placed in /root/.cuckoo:: | ||
|
||
mkdir /root/.cuckoo | ||
mv stap_.ko /root/.cuckoo/ | ||
|
||
|
||
Disable firewall:: | ||
sudo ufw disable |
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
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