*

PortSentry Report Viewer

About This Page
This is a simple analysis of the portsentry history log. It only logs the first port hit by the server by default, but you can pretty much tell what things are by the first port they hit anyway. For instance, everything hitting the 135 TCP port are most likely worms trying to exploit the Windows RPC vulnerability. Anyways, with this I can tell who's looking at my computer. Nottice that ports 80, 443, and 22 are NOT logged since those ports are actually in use.

TCP and UDP Port Tables
List of what services run on what ports, from Wikipedia
List of Ports are attacked by known Worms, Rootkits, etc
(I'll try to build this into the analysis automatically at some point)

Download the code used here
The Analyzation Code

Update
Due to a bug in dd-wrt which made some port forwards not work correctly while my server was set to the DMZ, only certain ports not firewalled off can reach my network so portsentry won't see anything beyond what's on my priviate network. I generated some sample stuff below but you can download the code and try it out for yourself if you want.

The config I used for it was basically to anlayze everything below about port 60000 (1024 is recommended though) using the advanced mode (ie #>portsentry -atcp) and then I read the history file and syslog.

View PortSentry History View PortSentry Logs



Beginning 08/24/2010
20:23:09 Host: 192.168.1.8/192.168.1.8
         Port: 10000 TCP Blocked
         Analysis: Probably Webmin Connection Attempt - Probable Attacker Scan

20:13:06 Host: 192.168.1.14/192.168.1.14
         Port: 1433 TCP Blocked
         Analysis: Probable Scan for MS SQL Server - Most likely malicious


Beginning 08/21/2010
08:03:03 Host: 192.168.1.8/192.168.1.8
         Port: 667 TCP Blocked


ENDING ANALYSIS: Max of 100 lines reached.










reece
home
history
baby
pictures
calendar
addresses
wall
projects
4006
word
flickr
monitor
chat
lolmail
work
cocard
ibm
resume
dev
sudoku
security
portsentry
portknock
badbot
setuid
web
greasemonkey
visitors
links
downloads
misc
art
vote
influence
waffles