-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes to documentation and added -A flag to tag
- Loading branch information
Jelena Mirkovic
committed
Jun 27, 2022
1 parent
7c88683
commit 71d6d3b
Showing
2 changed files
with
19 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
# Installation | ||
|
||
You will need libpcap-dev installed. Afterwards, running `make` will produce | ||
You will need `libpcap-dev` installed. Afterwards, running `make` will produce | ||
executables tag and stats. Stats uses libpcap to read relevant data from | ||
pcap files. It only reads packets to port 53 (this can be changed by changing | ||
filter options in stats.cc). | ||
|
||
# Running | ||
|
||
Run tag with required parameters on a folder containing B-Root-Anomaly files | ||
Run `tag` with required parameters on a folder containing B-Root-Anomaly files | ||
to tag attack and legitimate traffic. Tagging only occurs during attack period | ||
(between starttime and endtime parameters). If queryname parameter is present | ||
(between `starttime` and `endtime` parameters). If queryname parameter is present | ||
queries that are malformed or that contain given queryname as substring are | ||
being tagged as attack. If you specify -A option then all other traffic from | ||
being tagged as attack. If you specify `-A` option then all other traffic from | ||
sources participating in attack is also going to be tagged as attack (e.g., TCP | ||
SYN and ACK packets). If queryname parameter is not present, then all malformed | ||
queries and all zero-name queries (e.g., queries for NS record for ".") will | ||
also be tagged as attack. | ||
|
||
Output is comprised of recordID (timestamp-sourceIP-sourceport-destIP-destport) | ||
and B for "benign", A for "attack". | ||
Output is comprised of `recordID (timestamp-sourceIP-sourceport-destIP-destport)` | ||
and `B` for "benign", `A` for "attack". | ||
|
||
Suggested parameters for tag are given in each subfolder for the specific | ||
attack. We have also provided the output of the tagging process in the same | ||
subfolder (.tag files). | ||
subfolder (`.tag` files). |
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