Home page logo
/

snort logo Snort mailing list archives

"HTTP inspect preprocessor: UNKNOWN METHOD"
From: "Jose Luis" <saiwer () mixmail com>
Date: Thu, 20 Jun 2013 15:03:14 +0200



 
  Normal
  0
  
  
  21
  
  
  false
  false
  false
  
  ES
  X-NONE
  X-NONE
  
   
   
   
   
   
   
   
   
   
   
   
  
  MicrosoftInternetExplorer4
  
   
   
   
   
   
   
   
   
   
   
   
  
Hello all,&nbsp;
I have problem with HTTP inspect preprocessor. There are alerts
&quot;UNKNOWN METHOD&quot; with correct requests. &nbsp;
For example:&nbsp;
Capture information:&nbsp;
(Event)&nbsp;
        sensor id:
0    event id: 18    event second:
1371723727        event microsecond: 370955&nbsp;
        sig id:
31      gen id: 119     revision:
1      classification: 2&nbsp;
        priority:
3     ip source:
XXX.XXX.XXX.XXX       ip destination:
YYY.YYY.YYY.YYY&nbsp;
        src port: 59918 dest port:
80   protocol: 6     impact_flag: 0 
blocked: 0&nbsp;
&nbsp;&nbsp;
Packet&nbsp;
        sensor id:
0    event id: 18    event second: 1371723727&nbsp;
        packet second:
1371723727       packet microsecond: 370955&nbsp;
        linktype:
1     packet_length: 1438&nbsp;
[    0] 00 01 D7 A2 87 45 88 43 E1 0C 53 5C 81 00 01
2C  .....E.C..S\...,&nbsp;
[   16] 08 00 45 00 05 8C 11 A9 40 00 80 06 D2 62 C0 A8  ..E..... ()     b  &nbsp;
[   32] 32 DE 0A 86 13 54 EA 0E 00 50 BF F4 55 2E E7 08 
2....T...P..U...&nbsp;
[   48] E0 EB 50 10 80 07 2F C2 00 00 50 4F 53 54 20 2F 
.P.../...POST /&nbsp;
[   64] 6F 77 61 43 6F 72 72 65 6F 2F 65 76 2E 6F 77 61 
owaCorreo/ev.owa&nbsp;
[   80] 3F 6F 65 68 3D 31 26 6E 73 3D 50 65 6E 64 69 6E 
?oeh=1&amp;ns=Pendin&nbsp;
[   96] 67 52 65 71 75 65 73 74 26 65 76 3D 46 69 6E 69 
gRequest&amp;ev=Fini&nbsp;
[  112] 73 68 4E 6F 74 69 66 69 63 61 74 69 6F 6E 52 65 
shNotificationRe&nbsp;
[  128] 71 75 65 73 74 26 55 41 3D 30 20 48 54 54 50 2F 
quest&amp;UA=0 HTTP/&nbsp;
[  144] 31 2E 31 0D
0A                                  
1.1..&nbsp;
..&nbsp;&nbsp;
In this alert, POST method is clear but preprocessor create an alert.
Snort version is 2.9.4.6

http_inspect configuration:&nbsp;
preprocessor http_inspect: global iis_unicode_map unicode.map 1252
compress_depth 65535 decompress_depth 65535
preprocessor http_inspect_server: server default \
    http_methods { GET POST PUT SEARCH MKCOL COPY MOVE LOCK UNLOCK NOTIFY POLL BCOPY BDELETE BMOVE LINK UNLINK OPTIONS 
HEAD DELETE TRACE TRACK CONNECT SOURCE SUBSCRIBE UNSUBSCRIBE PROPFIND PROPPATCH BPROPFIND BPROPPATCH RPC_CONNECT 
PROXY_SUCCESS BITS_POST CCM_POST SMS_POST RPC_IN_DATA RPC_OUT_DATA RPC_ECHO_DATA } \
    chunk_length 500000 \
    server_flow_depth 0 \
    client_flow_depth 0 \
    post_depth 65495 \
    oversize_dir_length 500 \
    max_header_length 750 \
    max_headers 100 \
    max_spaces 200 \
    small_chunk_length { 10 5 } \
    ports { 80 81 311 383 591 593 631 901 1220 1414 1741 1830 2301 2381 2809 3037 3128 3702 4343 4848 5250 6988 7000 
7001 7144 7145 7510 7777 7779 8000 8008 8014 8028 8080 8085 8088 8090 8118 8123 8180 8181 8222 8243 8280 8300 8800 8888 
8899 9000 9060 9080 9090 9091 9443 9999 11371 34443 34444 41080 50002 55555 } \
    non_rfc_char { 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 } \
    enable_cookie \
    extended_response_inspection \
    inspect_gzip \
    normalize_utf \
    unlimited_decompress \
    normalize_javascript \
    apache_whitespace no \
    ascii no \
    bare_byte no \
    directory no \
    double_decode no \
    iis_backslash no \
    iis_delimiter no \
    iis_unicode no \
    multi_slash no \
    utf_8 no \
    u_encode yes
&nbsp;
preprocessor http_inspect_server: server { YYY.YYY.YYY.YYY } profile iis

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=snort-users

Please visit http://blog.snort.org to stay current on all the latest Snort news!

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]