GithubHelp home page GithubHelp logo

subtlescope / logfile-generators Goto Github PK

View Code? Open in Web Editor NEW
17.0 2.0 2.0 164 KB

Series of scripts to generate fake logs for use in cyber exercises.

License: GNU General Public License v3.0

Shell 100.00%

logfile-generators's Introduction

logfile-generators

Running the scripts

  • $ chmod u+x script_name
  • $ ./script-name

Notes

  • The current log-gen scripts are not as accurate as compared to real logs; however, they are sufficient in generating logs
  • A newer, combined log-gen script is in the works. The script will better tie events together in each of the logs. As an example, if a web attack was detected it would be reflected in the other logs, as appropriate. The current set of scripts do not correlate events between the logs. This newer script is a tad slower, but it generates better looking and more realistic logs.

Sample output

  • $ ./http-traffic-gen.sh
  • 39.124.8.221 salt - [26/Jul/2014:18:47:49 -0400] "POST /example/path/index.php HTTP/1.1" 200 8247 "http://yahoo.com/example/path/index.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.134 Safari/537.36 Chrome 43.0 Win7 64-bit"
  • 39.151.3.98 - - [26/Jul/2014:18:48:14 -0400] "HEAD /index.html HTTP/1.1" 404 21032 "http://yahoo.com/index.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36 Chrome 43.0 MacOSX"

TODO

  • Correct script names
  • Add more content to arrays
  • Fix formatting
  • Add syslog example file for use with the syslog generation script

Acknowledgements/Contributors

  • Special thanks to Justin Wray (Synister Syntax)

logfile-generators's People

Contributors

subtlescope avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.