<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://gigatux.com/wiki/index.php?action=history&amp;feed=atom&amp;title=User_attacking_sites_outbound</id>
	<title>User attacking sites outbound - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://gigatux.com/wiki/index.php?action=history&amp;feed=atom&amp;title=User_attacking_sites_outbound"/>
	<link rel="alternate" type="text/html" href="https://gigatux.com/wiki/index.php?title=User_attacking_sites_outbound&amp;action=history"/>
	<updated>2026-11-06T13:40:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://gigatux.com/wiki/index.php?title=User_attacking_sites_outbound&amp;diff=623&amp;oldid=prev</id>
		<title>Cocodude: Created page with &quot;Sometimes user accounts get compromised and start attacking other, external sites. We don&#039;t really want to implement a firewall rule to block all outbound traffic on, say, por...&quot;</title>
		<link rel="alternate" type="text/html" href="https://gigatux.com/wiki/index.php?title=User_attacking_sites_outbound&amp;diff=623&amp;oldid=prev"/>
		<updated>2015-09-30T08:11:43Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Sometimes user accounts get compromised and start attacking other, external sites. We don&amp;#039;t really want to implement a firewall rule to block all outbound traffic on, say, por...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Sometimes user accounts get compromised and start attacking other, external sites. We don&amp;#039;t really want to implement a firewall rule to block all outbound traffic on, say, port 80, so these attacks get through.&lt;br /&gt;
&lt;br /&gt;
It is hard to determine what user process is doing the attacking and very hard indeed to figure out retrospectively.&lt;br /&gt;
&lt;br /&gt;
Some tools to help are:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;lsof -i :80 | grep -v LISTEN&amp;#039;&amp;#039; - Show all connections on port 80. Ensure you&amp;#039;re looking at outbound connections to port 80 and pay attention to the USER column.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;tcpdump -s 0 -a net 1.2.3.4/24&amp;#039;&amp;#039; - Standard dump of all output going to a certain subnet. Useful if we know the subnet.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;lsof -p &amp;lt;PID&amp;gt;&amp;#039;&amp;#039; - Get a list of open files for this PID. Useful in combination with the first lsof, when we know the PID. Look for the earlier entries which are usually in /home and might point to the script location.&lt;/div&gt;</summary>
		<author><name>Cocodude</name></author>
	</entry>
</feed>