Solved

Can you monitor server logins for all accounts that are not on the local network?

Posted on 2011-02-28
15
280 Views
Last Modified: 2012-05-11
I want to be able to know what accounts are login/logged out from outside the local network. Is there a way to send alerts or log this? I know event viewer logs all types of logon/logoff and their login type so I assume someone out there has a app that monitors this.

Also, can I monitor the IP, computer name, or anything else with external logon/logoffs. Same goes for all logons that are unsuccessful.
0
Comment
Question by:rpmccly
  • 9
  • 6
15 Comments
 
LVL 35

Expert Comment

by:Cris Hanna
Comment Utility
essemtially you want to enable auditing...do you have SBS 2003 or SBS 2008?
0
 
LVL 1

Author Comment

by:rpmccly
Comment Utility
SBS 2003
0
 
LVL 35

Expert Comment

by:Cris Hanna
Comment Utility
HOW TO: Audit Active Directory Objects in Windows Server 2003
http://support.microsoft.com/kb/814595
This step-by-step article describes how to use Windows Server 2003 auditing to track user activities and system-wide events in Active Directory.

0
 
LVL 1

Author Comment

by:rpmccly
Comment Utility
Great, I won't be able to get to this today, I will let you know when I get a chance.
0
 
LVL 1

Author Comment

by:rpmccly
Comment Utility
ok I looked intot he auditing. I'm able to audit specific accounts but there is so much that I can choose from that I have no idea what to choose. Basically, all I want to monitor is whether or not someone has success or fails to login with the administrator account. Is this logged in the event viewer > security? Is it possible to do this in its own place?
0
 
LVL 35

Expert Comment

by:Cris Hanna
Comment Utility
Event ID 529 is logged when there are unsuccessful login, regardless of the account
But in auditing you select to just audit logon events

Otherwise you are looking at 3rd party tools

Is there something going on that you're trying to figure out.?
0
 
LVL 1

Author Comment

by:rpmccly
Comment Utility
we had an issue in the past with a prior employee but I just thought it would be nice to know if someone accessed the server successfully that wasn't supposed to. I could sort through the event viewer every day but thats just not worth it since we aren't having any issues. Ideally, I would want to be sent an email if someone was able to login to certain accounts during off-peak hours.
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 35

Expert Comment

by:Cris Hanna
Comment Utility
you might take a look at this question and the Assisted solution as one option
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/2003_Server/Q_22011987.html

So basically it's going to come down to writing something or purchasing a third party product designed to do something more in depth..
0
 
LVL 1

Author Comment

by:rpmccly
Comment Utility
Ok, where do I edit the script? Here is a copy and paste of what I am talking about.

-I add a few lines to the users logon script to create a file which records  UserName, ComputerName, date and time in a simple single line, and the IP from which they connected. As written below it will create the log/text file in \\Server\Logs\LogOns.Log and the entries will look like:
Log File
Log On:  UserName ComputerName  Fri 09/30/20   8:07  
  TCP    10.0.1.100:3389        10.0.33.100:4267        ESTABLISHED
{Where 10.0.1.100 is the computer IP and 10.0.33.100 is the remote user's IP}
---------------------------------------------------------------------------
:Logging
If Exist "\\Server\Logs\LogOns.Log" GoTo START
Echo Log File > "\\Server\Logs\LogOns.Log"
:START
Echo Log On:  %USERNAME% %COMPUTERNAME%  %Date:~0,12%  %Time:~0,5% >> "\\Server\Logs\LogOns.Log"
Netstat  -an  |find  "3389"  |find  /I  "established"  >> "\\Server\Logs\LogOns.Log"
---------------------------------------------------------------------------
Note the user will need write privileges for the \\Server\Logs\LogOns.Log folder, or at least the file name.

0
 
LVL 1

Author Comment

by:rpmccly
Comment Utility
All I can do is choose success or fail under "Audit account logon events" - not sure where I can edit the script.

0
 
LVL 1

Author Comment

by:rpmccly
Comment Utility
Also, can I do this for a single account? I don't want all logs for every account on the domain, just the admin account.
0
 
LVL 35

Expert Comment

by:Cris Hanna
Comment Utility
No, with the built in tools, it's an all or nothing situation.
There are plenty of 3rd party tools available that can give you more granular reporting...that may be the way you'll have to go
0
 
LVL 1

Author Comment

by:rpmccly
Comment Utility
Okay, do you have one in mind that would is good?
0
 
LVL 35

Accepted Solution

by:
Cris Hanna earned 500 total points
Comment Utility
you can do a google search for "monitor AD logins" and you'll get many results like this one
http://www.manageengine.com/products/ad-manager/index.html
0
 
LVL 1

Author Closing Comment

by:rpmccly
Comment Utility
It works but its expensive...
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Because virtualization becomes more and more common, and, with Microsoft Hyper-V included in Windows Server at no additional costs, and, most server hardware nowadays is more than capable of running a physical Small Business Server (SBS) 2008 or 201…
Learn about cloud computing and its benefits for small business owners.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now