Snort mailing list archives

"HTTP inspect preprocessor: UNKNOWN METHOD"


From: saiwer saiwer <saiwer.saiwer () gmail com>
Date: Thu, 20 Jun 2013 16:58:38 +0200

Hello all,

I wrote again the same message because the other e-mail has a horrible
format.

I have a problem with HTTP inspect preprocessor. There are alerts "UNKNOWN
METHOD" with correct requests.


For example, in this alert POST method is clear but preprocessor create an
event:

Capture information:

(Event)

        sensor id: 0    event id: 18    event second: 1371723727
event microsecond: 370955

        sig id: 31      gen id: 119     revision: 1      classification: 2

        priority: 3     ip source: XXX.XXX.XXX.XXX       ip destination:
YYY.YYY.YYY.YYY

        src port: 59918 dest port: 80   protocol: 6     impact_flag: 0
blocked: 0



Packet

        sensor id: 0    event id: 18    event second: 1371723727

        packet second: 1371723727       packet microsecond: 370955

        linktype: 1     packet_length: 1438

[    0] 00 01 D7 A2 87 45 88 43 E1 0C 53 5C 81 00 01 2C  .....E.C..S\...,

[   16] 08 00 45 00 05 8C 11 A9 40 00 80 06 D2 62 C0 A8  ..E.....@....b..

[   32] 32 DE 0A 86 13 54 EA 0E 00 50 BF F4 55 2E E7 08  2....T...P..U...

[   48] E0 EB 50 10 80 07 2F C2 00 00 50 4F 53 54 20 2F  ..P.../...POST /

[   64] 6F 77 61 43 6F 72 72 65 6F 2F 65 76 2E 6F 77 61  owaCorreo/ev.owa

[   80] 3F 6F 65 68 3D 31 26 6E 73 3D 50 65 6E 64 69 6E  ?oeh=1&ns=Pendin

[   96] 67 52 65 71 75 65 73 74 26 65 76 3D 46 69 6E 69  gRequest&ev=Fini

[  112] 73 68 4E 6F 74 69 66 69 63 61 74 69 6F 6E 52 65  shNotificationRe

[  128] 71 75 65 73 74 26 55 41 3D 30 20 48 54 54 50 2F  quest&UA=0 HTTP/

[  144] 31 2E 31 0D 0A                                   1.1..

...



http_inspect configuration:

preprocessor http_inspect: global iis_unicode_map unicode.map 1252
compress_depth 65535 decompress_depth 65535

preprocessor http_inspect_server: server default \
    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 \
    webroot no

preprocessor http_inspect_server: server { YYY.YYY.YYY.YYY } profile iis \

    ports { 80 }
------------------------------------------------------------------------------
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!

Current thread: