mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Merge remote-tracking branch 'origin/topic/vlad/rdp_bluekeep'
* origin/topic/vlad/rdp_bluekeep: RDP: Add weird if specification violated for max channels allowed.
This commit is contained in:
commit
c3725a5e3f
5 changed files with 11 additions and 3 deletions
|
@ -201,6 +201,9 @@ event rdp_client_network_data(c: connection, channels: ClientChannelList)
|
|||
for ( i in channels )
|
||||
# Remove the NULs at the end
|
||||
c$rdp$client_channels[i] = gsub(channels[i]$name, /\x00+$/, "");
|
||||
|
||||
if ( |channels| > 31 )
|
||||
Reporter::conn_weird("RDP_channels_requested_exceeds_max", c, fmt("%s", |channels|));
|
||||
}
|
||||
|
||||
event rdp_gcc_server_create_response(c: connection, result: count) &priority=5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue