<br><br><div class="gmail_quote">On Mon, Sep 28, 2009 at 2:23 AM, Russell Coker <span dir="ltr"><<a href="mailto:russell@coker.com.au">russell@coker.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Mon, 28 Sep 2009, Zbynek Houska <<a href="mailto:zbynek.houska@gmail.com">zbynek.houska@gmail.com</a>> wrote:<br>
> write a few (new) policies for software of my choice.  I intend to use<br>
> honeypots running Fedora 11 as my base system. However, I'm not sure if<br>
> college class B network will produce conclusive results.<br>
><br>
> Thus, I would appreciate support, guidance and comments from (seasoned)<br>
> SELinux gurus, developers and practitioners on this list in order to point<br>
> me in the right direction when it comes to sourcing literature, white<br>
> papers, research work other people might already have conducted and<br>
> overcoming pitfalls related to such testing environments.<br>
<br>
</div>Firstly firewall all traffic from the system in question - other than that<br>
which is required for it to be vulnerable to the attacks you desire.  If you<br>
allow ICMP echo access then someone will try and ping-flood other systems.<br>
If you allow outbound TCP connections then your system may be used to<br>
compromise others.<br></blockquote><div><br></div><div>I think I will be using private VLANs on the switch (aka switchport protected / port protected on Cisco switches) which will limit that box to be able to talk to the gateway only, hence making it impossible to compromise other systems on same subnet. Firewall of some kind will have to be used too as for example outgoing SMTP traffic from that box isn't something I would like to see.</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Probably the best way to run honeypots is to use Xen or KVM to run virtual<br>
machines.  This means that you have lots of good options for monitoring the<br>
machines while they are attacked.  But don't assume that Xvn or KVM is<br>
flawless - IE don't have any sensitive data on the same physical machine.<br></blockquote><div><br></div><div>Yes, I was thinking of exactly the same - using either KVM or UML - will have to decide what way is the most feasible one. </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
The purpose of a honeypot is to attract attack, running the latest versions of<br>
software is going to make it more difficult for attackers and partially<br>
defeats this goal.  Maybe running Fedora 10 (or earlier) with no updates<br>
would be a better option.  Of course you will probably want to back-port the<br>
latest SE Linux policy before you do this (which shouldn't be difficult).<br></blockquote><div><br></div><div>Good point here, I didn't thought it through.  </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br>
It's been a while since anyone ran a SE Linux Play Machine on Fedora, I would<br>
be happy to offer detailed advice and some testing if you want to run one.<br></blockquote><div><br></div><div>I wasn't even thinking about making 'play machine(s)' as I hoped to bring some randomness into it by making it unannounced and hope for the best - i.e. somebody trying to attack the box by scanning for running services.</div>
<div>But I have to admit, the way you proposed is more controllable and will possibly yield more predictable results (rather than wait for a random attack). Do you have much experience in setting up and running such boxes? If so, would you mind shedding some light on the entire process, please? However, I reckon I will need to announce a kind of 'hackathon'  (on this list?) in order to achieve some results as I can't imagine to be impartial if I do the attacks myself...</div>
<div><br></div><div>Regards,</div><div><br></div><div>Z.</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<font color="#888888"><br>
--<br>
<a href="mailto:russell@coker.com.au">russell@coker.com.au</a><br>
<a href="http://etbe.coker.com.au/" target="_blank">http://etbe.coker.com.au/</a>          My Main Blog<br>
<a href="http://doc.coker.com.au/" target="_blank">http://doc.coker.com.au/</a>           My Documents Blog<br>
</font></blockquote></div><br>