Skip to content

Commit 135a8e4

Browse files
committed
merge branch devel into master
1 parent 5dce395 commit 135a8e4

File tree

115 files changed

+21262
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+21262
-4
lines changed

README

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
=====================================================================================
2+
NfQuery : NfQuery: A Privacy Friendly Framework for Multi-Domain Threat Analysis
3+
=====================================================================================
4+
5+
.. contents::
6+
..
7+
1 What is NfQuery Framework
8+
1.1 Components
9+
2 Dependencies
10+
3 Documentation
11+
4 Download
12+
5 Copyright and License
13+
6 Author
14+
15+
16+
What is it?
17+
===============
18+
The main function of NfQuery is creating useful queries to be used in the NfSen Plug-ins of each organization or domain registered to the Query Server (QS). Queries are fetched from QS and executed by Plug-ins on the aggregated NetFlow data of organizations. As a result of these executions, NfSen Plug-in find the flow data which includes the related threat or attack information. After the detection, Plug-in alerts the QS automatically regarding the findings of the applied query.
19+
By collecting and interpreting attack statistics from each Plug-in, NfQuery creates a general overview of the threat trends seen in the multi-domain network. Finally, by utilizing the alerting system of NfSen, NfQuery becomes a threat detection and security alerting system for multi-domain networks.
20+
21+
Components
22+
---------------
23+
a. Query Server (QS)
24+
Query Server (QS) is placed in the center of the system and establishes the connection between all components. QS is composed of three sub-elements; Query Manager (QM), Query Generator (QG) and Query Repository (QR).
25+
26+
b. NfQuery Plug-in
27+
The NfQuery Plug-in is installed at each domain side over the NfSen instance at the domain and communicates with QS to perform the administrator’s requests such as fetching new queries, updating query list, getting/sending statistical reports and executing the queries over the flow data.
28+
29+
c. Sources
30+
NfQuery sources are the main components that provide threat information. This includes publicly available resources such as Botnet C&C server lists (Amada SpyEye), DNS blacklists (DShield), malicious domains and phishing sites lists or output of security analysis applications such as Honeypots, Intrusion Detection Systems (IDS), Intrusion Prevention Systems (IPS) or Firewalls which may provide data in means of log files for private use in NfQuery framework.
31+
32+
33+
Dependencies
34+
============
35+
Please see the file called plugin/INSTALL for plugin dependecies.
36+
Please see the file called queryserver/INSTALL for queryserver dependecies.
37+
38+
The Latest Version
39+
------------------
40+
Details of the latest version can be found on the Official NfQuery Web Page.
41+
http://nfquery.ulakbim.gov.tr
42+
43+
Documentation
44+
-------------
45+
Please see http://nfquery.ulakbim.gov.tr/
46+
47+
Installation
48+
------------
49+
Please see the file called plugin/INSTALL to install plugin.
50+
Please see the file called queryserver/INSTALL to install queryserver.
51+
52+
Licensing
53+
---------
54+
Please see the file called LICENSE.
55+
56+
Author
57+
======
58+
Serdar Yigit <serdar.yigit@tubitak.gov.tr>
59+
Ahmet Can Kepenek <ahmetcan.kepenek@gmail.com>
60+
Serhat Rifat Demircan <demircan.serhat@gmail.com>

README.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

plugin/INSTALL

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
=======================================
2+
== Required Perl Modules For Backend ==
3+
=======================================
4+
5+
-LWP::UserAgent
6+
-JSON::RPC::LWP
7+
-Term::ANSIColor
8+
-JSON
9+
-JSON::Parse 'json_to_perl'
10+
-NetAddr::IP
11+
-Net::SSL ()
12+
-Parallel::ForkManager
13+
-NfConf
14+
-DBM::Deep
15+
16+
You can run the Perl CPAN module via command line perl
17+
and get it installed in a single line:
18+
19+
perl -MCPAN -e 'install Module::Name'
20+
21+
====================
22+
== Install Plugin ==
23+
====================
24+
NfQuery Plug-in is an NfSen plugin. You need a working
25+
NfSen instance. NfQuery plug-in has been tested on
26+
Nfsen 1.3.6p1, Perl v5.14.2 and Php 5.3.10.
27+
28+
After required perl modules are installed run:
29+
30+
./install.sh
31+
32+
This script copy backend and frontend files to their
33+
locations(according to your nfsen directory layout).
34+
35+
After files installed, you need to enable and set backend
36+
configuration parameters in Nfsen configuration file.
37+
38+
Configuration parameters are:
39+
40+
nfquery => {
41+
#Make sure nfsen have write permission to this directory.
42+
output_dir => '/tmp',
43+
44+
# Certificates
45+
https_ca_file => 'root certificate file'
46+
https_ca_dir => 'root certificate directory'
47+
https_pkcs12_file => 'plugins pkcs12 file'
48+
https_pkcs12_password => 'password',
49+
50+
# Ip Address Of This Plugin
51+
plugin_ip => 'a.b.c.d',
52+
53+
# Query Server Information
54+
queryserver_ip => 'a.b.c.d/e',
55+
queryserver_port => 'a',
56+
}

0 commit comments

Comments
 (0)