All of lore.kernel.org
 help / color / mirror / Atom feed
From: Antony Stone <Antony@Soft-Solutions.co.uk>
To: netfilter <netfilter@lists.netfilter.org>
Subject: Re: Samba "Leak"
Date: Wed, 7 Jul 2004 20:35:48 +0100	[thread overview]
Message-ID: <200407072035.48484.Antony@Soft-Solutions.co.uk> (raw)
In-Reply-To: <1089228185.30076.14.camel@localhost>

On Wednesday 07 July 2004 8:23 pm, David Cary Hart wrote:

> I cannot figure this out. Our server - running IPTables - has very few
> ports open to input and the default is Drop. While a substantial number
> of 139 and 445 packets show up in the log as rejected, I am seeing a few
> attempts to connect to Samba in the log. These are identified by WAN IPs
> so they are not spoofing localhost or a LAN IP.
>
> I also have INVALID and fragmented packets rejected so that path is
> closed.
>
> So far, nobody has actually gained access, yet it is disconcerting. Any
> ideas how these are getting past the firewall?

So, you have a firewall (routing packets between LAN & Internet), and you also 
have netfilter running on Samba server?

You have netfilter LOGging turned on on the server for these packets - do you 
also have the same LOGging rules on the firewall (so that you would see if 
that's where they were coming from)?

Here are my comments / thoughts:

1. Just because you're seeing WAN addresses doesn't mean they aren't spoofed 
(they could be packets from the LAN, but with external source addresses?)

2. Do you have any wireless involved anywhere, as a means for unknown clients 
to access the network?

3. A packet sniffer / IDS on the external firewall link + the Samba subnet 
(DMZ?) should tell you what is really going on.   Maybe a chance to play with 
Snort :)

Regards,

Antony.

-- 
Behind the counter a boy with a shaven head stared vacantly into space,
a dozen spikes of microsoft protruding from the socket behind his ear.

 - William Gibson, Neuromancer (1984)

                                                     Please reply to the list;
                                                           please don't CC me.



  reply	other threads:[~2004-07-07 19:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-07 19:23 Samba "Leak" David Cary Hart
2004-07-07 19:35 ` Antony Stone [this message]
2004-07-07 21:52   ` David Cary Hart
2004-07-07 22:03     ` Antony Stone

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200407072035.48484.Antony@Soft-Solutions.co.uk \
    --to=antony@soft-solutions.co.uk \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.