Retour sur le portail  

Vous n'êtes pas connecté. (Attention, le login du forum est différent du login membre Vulnerabilite.com. Il s'agit d'un compte différent.) Pour participer au forum, vous devez donc créer un nouveau compte ou vous enregistrer si vous en possédez déjà un.

#1 2008-04-05 15:37:02

almensour
Membre
Date d'inscription: 2008-03-29
Messages: 2

Snort ne demare pas !!!!

J'ai essayé de travailller avec Snort en mode IDS.J'ai configurer snort de manière à pouvoir sauvegarder les données d'alerte dans une base de donnée MySQL.
Pour que j'ai Snort en mode IDS, je tappe la commande suivant dans l'invite commande uns fois que je me situe dans le repertoire bin de Snort:
C:\win-ids\snort\bin>snort -A full -i2 -c c:\win-ids\snort\etc\snort.conf
Running in IDS mode

        --== Initializing Snort ==--
Initializing Output Plugins!
Var '_ADDRESS' redefined
Initializing Preprocessors!
Initializing Plug-ins!
Parsing Rules file c:\win-ids\snort\etc\snort.conf
PortVar 'HTTP_PORTS' defined :  [ 80 2301 3128 8000 8080 8180 8888]
PortVar 'SHELLCODE_PORTS' defined :  [ 0:79 81:65535]
PortVar 'ORACLE_PORTS' defined :  [ 1521]
PortVar 'AUTH_PORTS' defined :  [ 113]
PortVar 'DNS_PORTS' defined :  [ 53]
PortVar 'FINGER_PORTS' defined :  [ 79]
PortVar 'FTP_PORTS' defined :  [ 21]
PortVar 'IMAP_PORTS' defined :  [ 143]
PortVar 'IRC_PORTS' defined :  [ 6665:6669 7000]
PortVar 'MSSQL_PORTS' defined :  [ 1433]
PortVar 'NNTP_PORTS' defined :  [ 119]
PortVar 'POP2_PORTS' defined :  [ 109]
PortVar 'POP3_PORTS' defined :  [ 110]
PortVar 'SUNRPC_PORTS' defined :  [ 111 32770:32779]
PortVar 'RLOGIN_PORTS' defined :  [ 513]
PortVar 'RSH_PORTS' defined :  [ 514]
PortVar 'SMB_PORTS' defined :  [ 139 445]
PortVar 'SMTP_PORTS' defined :  [ 25]
PortVar 'SNMP_PORTS' defined :  [ 161]
PortVar 'SSH_PORTS' defined :  [ 22]
PortVar 'TELNET_PORTS' defined :  [ 23]
PortVar 'MAIL_PORTS' defined :  [ 25 143 465 691]
PortVar 'SSL_PORTS' defined :  [ 25 443 465 636 993 995]
Detection:
   Search-Method = AC-BNFA
Frag3 global config:
    Max frags: 65536
    Fragment memory cap: 4194304 bytes
Frag3 engine config:
    Target-based policy: WINDOWS
    Fragment timeout: 180 seconds
    Fragment min_ttl:   1
    Fragment ttl_limit: 5
    Fragment Problems: 0
Stream5 global config:
    Track TCP sessions: ACTIVE
    Max TCP sessions: 8192
    Memcap (for reassembly packet storage): 8388608
    Track UDP sessions: ACTIVE
    Max UDP sessions: 131072
    Track ICMP sessions: INACTIVE
Stream5 TCP Policy config:
    Reassembly Policy: WINDOWS
    Timeout: 30 seconds
    Min ttl:  1
    Options:
        Static Flushpoint Sizes: YES
    Reassembly Ports:
      21 client (Footprint)
      23 client (Footprint)
      25 client (Footprint)
      42 client (Footprint)
      53 client (Footprint)
      80 client (Footprint)
      110 client (Footprint)
      111 client (Footprint)
      135 client (Footprint)
      136 client (Footprint)
      137 client (Footprint)
      139 client (Footprint)
      143 client (Footprint)
      445 client (Footprint)
      465 client (Footprint)
      513 client (Footprint)
      691 client (Footprint)
      1433 client (Footprint)
      1521 client (Footprint)
      2100 client (Footprint)
Stream5 UDP Policy config:
    Timeout: 30 seconds
    Options:
        Ignore Any -> Any Rules: YES
HttpInspect Config:
    GLOBAL CONFIG
      Max Pipeline Requests:    0
      Inspection Type:          STATELESS
      Detect Proxy Usage:       NO
      IIS Unicode Map Filename: c:\win-ids\snort\etc\unicode.map
      IIS Unicode Map Codepage: 1252
    DEFAULT SERVER CONFIG:
      Server profile: All
      Ports: 80 2301 3128 8000 8080 8180 8888
      Flow Depth: 1460
      Max Chunk Length: 500000
      Inspect Pipeline Requests: YES
      URI Discovery Strict Mode: NO
      Allow Proxy Usage: NO
      Disable Alerting: NO
      Oversize Dir Length: 500
      Only inspect URI: NO
      Ascii: YES alert: NO
      Double Decoding: YES alert: NO
      %U Encoding: YES alert: YES
      Bare Byte: YES alert: NO
      Base36: OFF
      UTF 8: YES alert: NO
      IIS Unicode: YES alert: NO
      Multiple Slash: YES alert: NO
      IIS Backslash: YES alert: NO
      Directory Traversal: YES alert: NO
      Web Root Traversal: YES alert: NO
      Apache WhiteSpace: YES alert: NO
      IIS Delimiter: YES alert: NO
      IIS Unicode Map: GLOBAL IIS UNICODE MAP CONFIG
      Non-RFC Compliant Characters: 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07
      Whitespace Characters: 0x09 0x0b 0x0c 0x0d
rpc_decode arguments:
    Ports to decode RPC on: 111 32770 32771 32772 32773 32774 32775 32776 32777
32778 32779
    alert_fragments: INACTIVE
    alert_large_fragments: ACTIVE
    alert_incomplete: ACTIVE
    alert_multiple_requests: ACTIVE
command line overrides rules file alert plugin!
command line overrides rules file alert plugin!
Tagged Packet Limit: 256
Loading dynamic engine c:\win-ids\snort\lib\snort_dynamicengine\sf_engine.dll...
done
Loading dynamic preprocessor library c:\win-ids\snort\lib\snort_dynamicpreproces
sor\sf_dcerpc.dll... done
Loading dynamic preprocessor library c:\win-ids\snort\lib\snort_dynamicpreproces
sor\sf_dns.dll... done
Loading dynamic preprocessor library c:\win-ids\snort\lib\snort_dynamicpreproces
sor\sf_ftptelnet.dll... done
Loading dynamic preprocessor library c:\win-ids\snort\lib\snort_dynamicpreproces
sor\sf_smtp.dll... done
Loading dynamic preprocessor library c:\win-ids\snort\lib\snort_dynamicpreproces
sor\sf_ssh.dll... done
FTPTelnet Config:
    GLOBAL CONFIG
      Inspection Type: stateful
      Check for Encrypted Traffic: YES alert: YES
      Continue to check encrypted data: YES
    TELNET CONFIG:
      Ports: 23
      Are You There Threshold: 20
      Normalize: YES
      Detect Anomalies: YES
    FTP CONFIG:
      FTP Server: default
        Ports: 21 2100
        Check for Telnet Cmds: OFF
        Identify open data channels: NO
      FTP Client: default
        Check for Bounce Attacks: YES alert: YES
        Check for Telnet Cmds: YES alert: NO
        Max Response Length: 200

SMTP Config:
    Ports: 25 465 691
    Inspection Type: Stateful
    Normalize: ATRN AUTH BDAT DATA DEBUG EHLO EMAL ESAM ESND ESOM ETRN EVFY EXPN
HELO HELP IDENT MAIL NOOP ONEX QUEU QUIT RCPT RSET SAML SEND SIZE STARTTLS SOML
TICK TIME TURN TURNME VERB VRFY X-EXPS XADR XAUTH XCIR XEXCH50 XGEN XLICENSE X-
LINK2STATE XSTA XTRN XUSR PIPELINING CHUNKING DSN XQUEU
    Ignore Data: No
    Ignore TLS Data: No
    Ignore SMTP Alerts: No
    Max Command Line Length: Unlimited
    Max Specific Command Line Length:
       ATRN:255 AUTH:246 BDAT:255 DATA:246 DEBUG:255
       EHLO:500 EMAL:255 ESAM:255 ESND:255 ESOM:255
       ETRN:246 EVFY:255 EXPN:255 HELO:500 HELP:500
       IDENT:255 MAIL:260 NOOP:255 ONEX:246 QUEU:246
       QUIT:246 RCPT:300 RSET:246 SAML:246 SEND:246
       SIZE:255 STARTTLS:246 SOML:246 TICK:246 TIME:246
       TURN:246 TURNME:246 VERB:246 VRFY:255 X-EXPS:246
       XADR:246 XAUTH:246 XCIR:246 XEXCH50:246 XGEN:246
       XLICENSE:246 X-LINK2STATE:246 XSTA:246 XTRN:246 XUSR:246
       PIPELINING:246 CHUNKING:246 DSN:246 XQUEU:246
    Max Header Line Length: 1000
    Max Response Line Length: 512
    X-Link2State Alert: Yes
    Drop on X-Link2State Alert: No
    Alert on commands: None

DCE/RPC Decoder config:
    Autodetect ports ENABLED
    SMB fragmentation ENABLED
    DCE/RPC fragmentation ENABLED
    Max Frag Size: 3000 bytes
    Memcap: 100000 KB
    Alert if memcap exceeded DISABLED

DNS config:
    DNS Client rdata txt Overflow Alert: ACTIVE
    Obsolete DNS RR Types Alert: INACTIVE
    Experimental DNS RR Types Alert: INACTIVE
    Ports: 53

+++++++++++++++++++++++++++++++++++++++++++++++++++
Initializing rule chains...
8559 Snort rules read
    8559 detection rules
    0 decoder rules
    0 preprocessor rules
8559 Option Chains linked into 522 Chain Headers
0 Dynamic rules
+++++++++++++++++++++++++++++++++++++++++++++++++++

+-------------------[Rule Port Counts]---------------------------------------
|             tcp     udp    icmp      ip
|     src    1008      38       0       0
|     dst    6494     422       0       0
|     any     484     115      20       7
|      nc      15       4       3       4
|     s+d      16      16       0       0
+----------------------------------------------------------------------------
-------------------------------------------------------------------------------
Rule application order: activation->dynamic->pass->drop->alert->log
Log directory = log
Verifying Preprocessor Configurations!
Warning: 'ignore_any_rules' option for Stream5 UDP disabled because of UDP rule
with flow or flowbits option
343 out of 512 flowbits in use.

Initializing Network Interface \Device\NPF_{B52636D7-8B3A-4C70-A69F-12AFC450230E
}
Decoding Ethernet on interface \Device\NPF_{B52636D7-8B3A-4C70-A69F-12AFC450230E
}
ERROR: OpenAlertFile() => fopen() alert file log/alert.ids: No such file or dire
ctory
Fatal Error, Quitting..


j'ai esaayé de mettre un ficier comme preciseé mais le resultat est pareil!!
besoin d'aide SVP!!!  wink

Hors ligne

 

Pied de page du Forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson

© 2000-2006 Vulnerabilite.com
Edité par la société ISECURELABS | Notice légale | Contact


Liens Promo : téléchargements windows - Actualités, logiciels et astuce - Ports & Services