All Projects → Wapiti08 → DeepLog

Wapiti08 / DeepLog

Licence: MIT license
This is the realization of core DeepLog

Programming Languages

Roff
2310 projects
python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to DeepLog

Abnormal event detection
Abnormal Event Detection in Videos using SpatioTemporal AutoEncoder
Stars: ✭ 139 (+379.31%)
Mutual labels:  lstm-neural-networks
Scribe
Realistic Handwriting with Tensorflow
Stars: ✭ 193 (+565.52%)
Mutual labels:  lstm-neural-networks
Sentiment-analysis-amazon-Products-Reviews
NLP with NLTK for Sentiment analysis amazon Products Reviews
Stars: ✭ 37 (+27.59%)
Mutual labels:  lstm-neural-networks
Phasedlstm Keras
Keras implementation of Phased LSTM [https://arxiv.org/abs/1610.09513]
Stars: ✭ 142 (+389.66%)
Mutual labels:  lstm-neural-networks
Pytorch Kaldi
pytorch-kaldi is a project for developing state-of-the-art DNN/RNN hybrid speech recognition systems. The DNN part is managed by pytorch, while feature extraction, label computation, and decoding are performed with the kaldi toolkit.
Stars: ✭ 2,097 (+7131.03%)
Mutual labels:  lstm-neural-networks
Lstm Siamese Text Similarity
⚛️ It is keras based implementation of siamese architecture using lstm encoders to compute text similarity
Stars: ✭ 216 (+644.83%)
Mutual labels:  lstm-neural-networks
Ml Projects
ML based projects such as Spam Classification, Time Series Analysis, Text Classification using Random Forest, Deep Learning, Bayesian, Xgboost in Python
Stars: ✭ 127 (+337.93%)
Mutual labels:  lstm-neural-networks
parapred
Paratope Prediction using Deep Learning
Stars: ✭ 49 (+68.97%)
Mutual labels:  lstm-neural-networks
Lstm anomaly thesis
Anomaly detection for temporal data using LSTMs
Stars: ✭ 178 (+513.79%)
Mutual labels:  lstm-neural-networks
Chase
Automatic trading bot (WIP)
Stars: ✭ 73 (+151.72%)
Mutual labels:  lstm-neural-networks
Speech Recognition Neural Network
This is the end-to-end Speech Recognition neural network, deployed in Keras. This was my final project for Artificial Intelligence Nanodegree @Udacity.
Stars: ✭ 148 (+410.34%)
Mutual labels:  lstm-neural-networks
Aulas
Aulas da Escola de Inteligência Artificial de São Paulo
Stars: ✭ 166 (+472.41%)
Mutual labels:  lstm-neural-networks
Stock Price Prediction Lstm
OHLC Average Prediction of Apple Inc. Using LSTM Recurrent Neural Network
Stars: ✭ 232 (+700%)
Mutual labels:  lstm-neural-networks
Image Caption Generator
[DEPRECATED] A Neural Network based generative model for captioning images using Tensorflow
Stars: ✭ 141 (+386.21%)
Mutual labels:  lstm-neural-networks
lstm-kalman-hybrid-timeseries
Hybrid Time Series using LSTM and Kalman Filtering
Stars: ✭ 33 (+13.79%)
Mutual labels:  lstm-neural-networks
Question Answering
TensorFlow implementation of Match-LSTM and Answer pointer for the popular SQuAD dataset.
Stars: ✭ 133 (+358.62%)
Mutual labels:  lstm-neural-networks
Chameleon recsys
Source code of CHAMELEON - A Deep Learning Meta-Architecture for News Recommender Systems
Stars: ✭ 202 (+596.55%)
Mutual labels:  lstm-neural-networks
recurrent-neural-net
A recurrent (LSTM) neural network in C
Stars: ✭ 68 (+134.48%)
Mutual labels:  lstm-neural-networks
malware api class
Malware dataset for security researchers, data scientists. Public malware dataset generated by Cuckoo Sandbox based on Windows OS API calls analysis for cyber security researchers
Stars: ✭ 134 (+362.07%)
Mutual labels:  lstm-neural-networks
Awesome Tensorlayer
A curated list of dedicated resources and applications
Stars: ✭ 248 (+755.17%)
Mutual labels:  lstm-neural-networks

DeepLog

Authour Python Classification LSTM Analysis License


  • This is the achievement of core DeepLog for research aim.

  • It is the basic thought with feature engineering to analyse raw logs and finally report the potential malicious logs based on a series of processings.

Ongoing:

  • dvc experiments
  • dvc dags

Feature:

  • convert the logs to structured pandas framework
  • extract the log keys from raw logs
  • analyse the log key exeuction path
  • analyse the paramaters in log key
  • analyse the time series data generated from window size and time interval by PCA.
  • online learning for feedbacks

For the dataset, I have given some examples and you can put your own data into that folder.

pre-preparation:

# in order to match the libraries versions, please run and build the project in virtual environment
virtualenv env
pip3 install -r requirement.txt

Instructions (In Deeplog_demo folder):

1. Source data:

When the data format is in csv, we need translate them into txt files and split them into batches.

python3 csv_txt_trans.py 

You will get notice on inputing the source location and output location.

2. Data analysis:

we use the logparser tool to transform the source txt log files into structured csv files under a folder, the folder is named by the start and end time. (Find the Lenma_demo under the logparser/logparser/demo)

(use Lenma_demo.py with python2) ---> The python3 version is not provided here. You need to set the locations first:

input_dir = '../../Dataset/Linux/Clear/'   # set the location to yours
output_dir = '../../Dataset/Linux/Clear_Separate_Structured_Logs/'    # set the location to yours

Then you can execute the demo file with python 2.x:

python Lenma_demo.py 

In the stage, we calculate the EventTemplate for every log.

3. Variable Selection:

The log_value_vector.py will be used to generate the csv file, which will be used to implement the anomaly detection later.

Parameter_vector.png

(and has been integrated into models already in demo)

4. Model detection:

Basiclly, we have two modules for DeepLog

  • Whereas, before implementing the modules, we will first see whether there is obvious malicious logs, we will report them first.

  • After that, we will first implement execution path anomaly detection with Execution_Path_Anomaly.py

  • Finally, we will implement parameter values anomaly detection with Parameter_value_performance_anomaly.py

  • As a plus, there is the ML model using PCA in loglizer.

# go to the folder of model
python3 Execution_Path_Anomaly.py
# go to the folder of model
python3 Parameter_Value_Vector.py 

Statement:

  • The model is based on off-line work, the online real-time detection is not available.
  • The loglizer and logparser are open source tools, author's rights are reserved.
  • I enriched the two tools in the project, notice the differences from the original version.

References:

1.Execution Anomaly Detection in Distributed Systems through Unstructured Log Analysis

2.DeepLog: Anomaly Detection and Diagnosis from System Logs

3.Incremental Construction of LSTM Recurrent Neural Network

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].