Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Warden
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pavel Valach
Warden
Commits
3e8b7bc5
Commit
3e8b7bc5
authored
7 years ago
by
Pavel Kácha
Browse files
Options
Downloads
Patches
Plain Diff
Recategorized syn/ack to DoS + Backscatter
parent
7773bdde
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
warden3/contrib/connectors/hp-labrea/labrea-idea.py
+10
-3
10 additions, 3 deletions
warden3/contrib/connectors/hp-labrea/labrea-idea.py
with
10 additions
and
3 deletions
warden3/contrib/connectors/hp-labrea/labrea-idea.py
+
10
−
3
View file @
3e8b7bc5
...
@@ -265,10 +265,12 @@ class IdeaGen(object):
...
@@ -265,10 +265,12 @@ class IdeaGen(object):
"
note
"
:
"
Ping requests from remote host to never assigned IP
"
"
note
"
:
"
Ping requests from remote host to never assigned IP
"
},
},
"
synack
"
:
{
"
synack
"
:
{
"
category
"
:
[
"
Recon.Scanning
"
],
"
category
"
:
[
"
Availability.DoS
"
],
"
description
"
:
"
SYN/ACK connections/scan
"
,
"
description
"
:
"
SYN/ACK connections/scan
"
,
"
template
"
:
"
labrea-003
"
,
"
template
"
:
"
labrea-003
"
,
"
note
"
:
"
Unsolicited SYN/ACK packet received from remote host to never assigned IP
"
"
note
"
:
"
Unsolicited SYN/ACK packet received from remote host to never assigned IP
"
,
"
source_type
"
:
[
"
Backscatter
"
],
"
source_to_target
"
:
True
}
}
}
}
...
@@ -281,6 +283,8 @@ class IdeaGen(object):
...
@@ -281,6 +283,8 @@ class IdeaGen(object):
"
IP6
"
if
"
:
"
in
src
else
"
IP4
"
:
[
src
],
"
IP6
"
if
"
:
"
in
src
else
"
IP4
"
:
[
src
],
"
Proto
"
:
[
"
tcp
"
]
"
Proto
"
:
[
"
tcp
"
]
}
}
if
"
source_type
"
in
tmpl
:
isource
[
"
Type
"
]
=
tmpl
[
"
source_type
"
]
if
src_ports
:
if
src_ports
:
isource
[
"
Port
"
]
=
[
int
(
port
)
for
port
in
src_ports
]
isource
[
"
Port
"
]
=
[
int
(
port
)
for
port
in
src_ports
]
# Fold multiple IPs with the same portset
# Fold multiple IPs with the same portset
...
@@ -317,10 +321,13 @@ class IdeaGen(object):
...
@@ -317,10 +321,13 @@ class IdeaGen(object):
"
_CESNET
"
:
{
"
_CESNET
"
:
{
"
EventTemplate
"
:
tmpl
[
"
template
"
],
"
EventTemplate
"
:
tmpl
[
"
template
"
],
},
},
"
Source
"
:
[
isource
],
"
Target
"
:
itargets
,
"
Target
"
:
itargets
,
"
Node
"
:
[
inode
]
"
Node
"
:
[
inode
]
}
}
if
tmpl
.
get
(
"
source_to_target
"
,
False
):
idea
[
"
Target
"
].
append
(
isource
)
else
:
idea
[
"
Source
"
]
=
[
isource
]
return
idea
return
idea
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment