mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 18:18:19 +00:00
Some script reorg and a new intel extension script.
- policy/frameworks/intel/seen is the new location for the scripts that push data into the intel framework for checking. - The new policy/frameworks/intel/do_notice script adds an example mechanism for data driven notices.
This commit is contained in:
parent
d380161244
commit
32f1c736f7
15 changed files with 67 additions and 24 deletions
11
scripts/policy/frameworks/intel/seen/http-host-header.bro
Normal file
11
scripts/policy/frameworks/intel/seen/http-host-header.bro
Normal file
|
@ -0,0 +1,11 @@
|
|||
@load base/frameworks/intel
|
||||
@load ./where-locations
|
||||
|
||||
event http_header(c: connection, is_orig: bool, name: string, value: string)
|
||||
{
|
||||
if ( is_orig && name == "HOST" )
|
||||
Intel::seen([$indicator=value,
|
||||
$indicator_type=Intel::DOMAIN,
|
||||
$conn=c,
|
||||
$where=HTTP::IN_HOST_HEADER]);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue