Go Back   The macosxhints Forums > OS X Help Requests > Networking



Reply
 
Thread Tools Rate Thread Display Modes
Old 02-23-2007, 07:09 PM   #1
heluani
Triple-A Player
 
Join Date: May 2005
Location: Berkeley, CA
Posts: 238
asl.log entry

Hi there, lately my browser's been taking forever to start downloading a page. I don't know why I decided to take a look at the logs and I found in the asl.log several (thousands) of entries like the following

Code:
[Time 2007.02.24 01:04:36 UTC] [Facility authpriv] [Sender com.apple.SecurityServer] [PID -1] [Message authinternal failed to authenticate user root.] [Level 3] [UID -2] [GID -2] [Host Porron]
Code:
[Time 2007.02.24 01:04:36 UTC] [Facility authpriv] [Sender com.apple.SecurityServer] [PID -1] [Message Failed to authorize right system.login.tty by process /usr/sbin/sshd for authorization created by /usr/sbin/sshd.] [Level 5] [UID -2] [GID -2] [Host Porron]
Are these normal?

R.
heluani is offline   Reply With Quote
Old 02-23-2007, 11:37 PM   #2
ElectricSheep
Triple-A Player
 
Join Date: Mar 2006
Posts: 173
I'm curious...how are you connected to the internet? Do you have a Firewall/Router sitting between you and your internet connection? If yes, do you have port forwarding set up on the Firewall/Router for Remote Access?

Someone could be hammering your Mac attempting to brute force their way into SSH to gain root access.
ElectricSheep is offline   Reply With Quote
Old 03-28-2007, 12:50 PM   #3
heluani
Triple-A Player
 
Join Date: May 2005
Location: Berkeley, CA
Posts: 238
Quote:
Originally Posted by ElectricSheep
I'm curious...how are you connected to the internet? Do you have a Firewall/Router sitting between you and your internet connection? If yes, do you have port forwarding set up on the Firewall/Router for Remote Access?

Someone could be hammering your Mac attempting to brute force their way into SSH to gain root access.

Ooops, I'm sorry for the delay, I've been out of town. Answering your questions:

1) I am connected to the internet via a cable modem and behind a router doing NAT.

2) I did have the router forwarding the ssh ports to one particular IP that it's (usually) assigned to my desktop. (Here's another topic, In my setup I have a desktop connected to the router through ethernet and wireless, and a laptop to wireless, using DHCP on the router I don't know how to tell the desktop to use the ethernet interface by default, nor the router to assign a particular IP number to the ethernet connection, the router is a standard Linksys BEFW11S4)

3) I had however the firewall on both desktop and laptop working, but allowing incoming connections to the ssh ports.

4) When I stop forwarding ports on the router I stop getting those logs entries, supporting the theory that someone is trying to "hammer" (as you put it) my ssh server. But I find it strange that some kid that knows how to brute force attack a mac server will be trying with a particular home...

Anyways, going through all my logs I can't say that someone actually did break into (though they could be much smarter than me and have erased tracks) and I started looking at those logs cause the issue with my browser (the original post) and this just supports the theory that those logs just mean something that I have no clue about!

Thanks,

R.
heluani is offline   Reply With Quote
Old 03-29-2007, 01:07 PM   #4
ElectricSheep
Triple-A Player
 
Join Date: Mar 2006
Posts: 173
Quote:
But I find it strange that some kid that knows how to brute force attack a mac server will be trying with a particular home...

These kinds of attacks are usually automated by a script that scans a range of IP addresses for open services (in your case it was SSH) and then tried a number of different expoloits/attacks on that service to gain access. You'd be surprised what kinds of traffic filters its way to the casual home internet user. I used to keep a live monitor on my firewall, and I would see all kinds of remote exploits, worms, and password attacks coming off of the Comcast network.
ElectricSheep is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 07:18 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.