?? readme.dcerpc
字號:
DCE/RPC====Andrew Mullican <amullican@sourcefire.com>-- Overview --The dcerpc preprocessor detects and decodes SMB and DCE/RPC traffic.It is primarily interested in DCE/RPC data, and only decodes SMBto get at the DCE/RPC data carried by the SMB layer.Currently, the preprocessor only handles reassembly of fragmentationat both the SMB and DCE/RPC layer. Snort rules can be evaded byusing both types of fragmentation; with the preprocessor enabledthe rules are given a buffer with a reassembled SMB or DCE/RPCpacket to examine.At the SMB layer, only fragmentation using WriteAndX is currentlyreassembled. Other methods will be handled in future versions ofthe preprocessor.Autodetection of SMB is done by looking for "\xFFSMB" at the start ofthe SMB data, as well as checking the NetBIOS header (which is alwayspresent for SMB) for the type "SMB Session".Autodetection of DCE/RPC is not as reliable. Currently, two bytes arechecked in the packet. Assuming that the data is a DCE/RPC header,one byte is checked for DCE/RPC version (5) and another for the eitherthe type "DCE/RPC Request" or "DCE/RPC Bind". If both match, thepreprocessor proceeds with that assumption that it is looking at DCE/RPCdata. If subsequent checks are nonsensical, it ends processing.-- Configuration --The proprocessor has several configuration options. They are describedbelow:The configuration options are described below:* autodetect Ignore configured ports - examine all packets in attempt to determine SMB or DCE/RPC traffic. Default is on* ports smb { <int> [<int>] } ports dcerpc { <int> [<int>] } Ports that the preprocessor monitors for SMB or DCE/RPC traffic Default is not configured (although default values would be 139 and 445 for SMB, and 135 for DCE/RPC)* disable_smb_frag Do not attempt to reassemble SMB fragmentation Default is off (not configured)* disable_dcerpc_frag Do not attempt to reassemble DCE/RPC fragmentation Default is off (not configured)* max_frag_size Maximum reassembled fragment size, in bytes Default 3000* memcap Maximum amount of memory available to the DCE/RPC preprocessor, in kilobytes Default 100000 * alert_memcap Alert if memcap is exceeded Default is off (not configured) Examples:preprocessor dcerpc: \ autodetect \ disable_smb_frag \ max_frag_size 4000 preprocessor dcerpc: \ ports smb { 139 445 } dcerpc { 135 } \ disable_dcerpc_frag \ memcap 50000 Default:preprocessor dcerpc: \ autodetect \ max_frag_size 3000 \ memcap 100000 \ alert_memcap-- Alerts --There is currently only one alert, which is triggered when the preprocessorhas reached the "memcap" limit for memory allocation. The alert isgid 130, sid 1.-- Conclusion --At the current time, there is not much to do with the dcerpc preprocessorother than turn it on and let it reassemble fragmented DCE/RPC packets.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -