Question

Server 2003 AD brute force attacked from other server

Asked by: braker15

One of our server 2003 boxes keeps sending failed kerbros authentications to our primary domain controller.  The primary domain controllers security log is corrupt (is this a coiencidence?).

I'm running wireshark now on the primary domain controller and can see all the failed attempts.  I am pretty sure the username that keeps failiing doesn't even exist.

I'm going to run wireshark on the server that is doing the attacks.  I cannot turn off this server nor disconnect it because it is running our defect software that at any given time 30-80 people might be using.

What would you guys recommend I do to remedy this situation?  What other tools can i use?

Thank you so much

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-07-01 at 10:14:40ID24537112
Topics

Digital Forensics

,

Intrusion Detection Systems (IDS)

,

Operating Systems Network Security

Participating Experts
4
Points
500
Comments
13

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Prevent attackers from brute force attack.
    Dear Experts How to protect brute force attack either Pop3 or HTTP attack or any authentication methods? I'm aware that, at the moment of brute force attack, there will be the slow response from that service. How to prevent intruders ?
  2. Brute Force Attack
    Hello everyone, I have an IIS server that is behind a firewall but in the DMZ, this server we recently enabled FTP on to be able to have other satellite offices so they can upload their own files for the websites they create to our server. Access to the different websites ...
  3. Brute Force Attacks On AJAX
    if someone knows how to spoof all the server variables e.g. http_referer, how do you stop them from writting a loop based on your ajax backend page? if they look into the ajax frontend page, they will see something like http://mysite/backend.aspx?=variable How do I stop th...
  4. Brute force or disctionary attack detection
    Can anyone reccomend software for windows server 2003 with exchange 2003 that can detect brute force and dictionary attacks and block the ip address after so many attempts?
  5. prevent brute force attacks Zywall 35
    Hi, is it possible to prevent brute force attacks with Zyxel Zywall 35 fiewall?
  6. SSH Brute Force Attack
    one of our monitor server performing a Brute Force attacks against some of its clients. can you please let me know how can we get rid of such attackes..what is best way to protect againt bruce force attack.

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: richrumblePosted on 2009-07-02 at 18:16:46ID: 24769186

We don't risk it anymore, if you have that big an issue, and it sounds like an account is on the box that shouldn't be on the box, you need to rebuild. You have to create some downtime fo that box to back up the data you need so you can restore that data to a new server you build up. Have the new server built first, get the downtime, restore as much functionality as you can.
We've also found that separating duties is a must, let AD servers be just AD servers, and use VmWare or Xen for virtualizing  servers that don't need to be run on dedicated hardware. (VMware or AD will complain when you to install a GC on a vmware instance)
If you can locate what is trying to use this account, disable it, maybe that is all you need, but you should probably rebuild if the server was compromised.
-rich

 

by: PhateonPosted on 2009-07-03 at 04:14:08ID: 24771577

Please post a HJT log so that we can see which research some more about your issue. Also, why don't you temporarily block the port 750 for the said machine on the internal firewall or maybe configure an ACL?

 

by: breadtanPosted on 2009-07-04 at 01:34:04ID: 24776339

Seems like the failed attempts are like classic known weakness of kerberos systems.
- Replay attacks and password-guessing attacks. A replay attack would involve intercepting or otherwise acquiring a Kerberos ticket and then fraudulently representing that ticket in an attempt to gain authentication. Password guessing in a Kerberos system could be done by intercepting Kerberos tickets from the network and then making a brute force attempt to decrypt the intercepted tickets.
-  An attacker may exploit outdated software in the infrastructure. For example, there are many problems with Kerberos version 4. In order to prevent these attacks, Kerberos 5 has been modified to use triple DES in Cipher Block Chaining (CBC) mode.
- Having said that password attack in v5 based on password is still possible (like in this case).

Recommendations (ref to http://www.windowsdevcenter.com/pub/a/windows/excerpt/swarrior_ch14/index1.html):
a) Authentication scheme that relies on only username and password can be cracked using repeated attempts. This is why most password protected resources will limit the number of unsuccessful login attempts over a time period to a reasonably low number that still guarantees a typo won't lock the user out forever.

b) For increased security extra services will be required such as limiting login attempts (or better yet hiding the server from all but) a known trusted range of network addresses (either logical addresses such as IP ranges or stronger still physical addresses like MAC addresses or other hardware specific data, possibly a combination of all these).

c) By using both hardware authentication combined with allowing only known network addresses AND username/password authentication you can at least be sure that any attempt comes from inside the known network AND from a known machine on that network. If you have people using l0phtcrack on the internal LAN it should then be easy to catch them by logging the number of repeated fail attempts from a single connection and having some alarm trigged to security if there's an unusual number of fails from a given location (say more than 5 attempts in a 10 minute interval to the same account, or attempting to log into 5 accounts in that same interval).

d) Adding smartcards into the equation makes it even easier to pinpoint the source of the intrusion attempt. But this is a more tedious change over especially having higher cost due to hardware involved but do consider it for longer term

>> As of now I suggest changing the password lockdown attempts (reactive to contain attack for interim) and if possible up a backup server (see below) for failover (business continuity).

High resiliency related info:
a) Kerberos was designed to allow for a Master/Slave replication cluster. While a Kerberos cluster can consist of any number of hosts, it is recommended that you have at least two. A master which serves as the primary server and at least one slave which is available as a backup to the master. The master and slave servers may be thought of as Primary and Secondary servers respectively.

b) Despite the errors, do also note that critical system (like AD) should maintain high availability and scalability. Take a look at You should be looking at "Using IT Procedures to Increase Availability and Scalability" in <http://technet.microsoft.com/en-us/library/cc786570(WS.10).aspx>

For AD (or kerberos systems), do spend some time looking at the practices:
a) Automated clustering - http://technet.microsoft.com/en-us/library/cc787869(WS.10).aspx
b) Deploying secure AD - http://technet.microsoft.com/en-us/library/cc756081(WS.10).aspx
c) Strengthening Domain and Domain Controller Policy Settings (see audit and password portion) - http://technet.microsoft.com/en-us/library/cc773142(WS.10).aspx
http://tldp.org/HOWTO/Kerberos-Infrastructure-HOWTO/server-replication.html

Hope it helps

 

by: braker15Posted on 2009-07-05 at 18:19:45ID: 24781931

thank you very much for all of the help.  one of our servers had a suspicious file sysdrv.sys.. i uploaded it to virus total and sure enough it looks like an irc backdoor virus.

http://www.virustotal.com/analisis/63c53b675c438fdb9da8088ae9e81cac005e0a91610c0aab060585c1af8b7bca-1246623218

i keep seeing failed requests from username krbtgt or server$@domain ... i've attached a packet.



 

by: braker15Posted on 2009-07-05 at 18:25:18ID: 24781946

i keep seeing these in my event log:

Event Type:      Failure Audit
Event Source:      Security
Event Category:      Account Logon
Event ID:      673
Date:            7/5/2009
Time:            2:46:51 PM
User:            NT AUTHORITY\SYSTEM
Computer:      DMZDC1A
Description:
Service Ticket Request:
       User Name:            DMZSQL1A$@DMZ.COM
       User Domain:            DMZ.COM
       Service Name:            host/dmzsql1a.dmz.com
       Service ID:            -
       Ticket Options:            0x40810000
       Ticket Encryption Type:      -
       Client Address:            63.xxx.xxx.103
       Failure Code:            0x12
       Logon GUID:            -
       Transited Services:      -


a few days ago i got about twelve of these a second (i shut down the server at offending ip):
Event Type:      Failure Audit
Event Source:      Security
Event Category:      Account Logon
Event ID:      675
Date:            7/2/2009
Time:            7:46:40 PM
User:            NT AUTHORITY\SYSTEM
Computer:      DMZDC1A
Description:
Pre-authentication failed:
       User Name:      TsInternetUser
       User ID:            DMZ\TsInternetUser
       Service Name:      krbtgt/DMZ.COM
       Pre-Authentication Type:      0x2
       Failure Code:      0x12
       Client Address:      63.xxx.xxx.229


For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

 

by: PhateonPosted on 2009-07-06 at 03:12:10ID: 24783775

You might have been infected with Backdoor.Ryknos. Try disinfecting it with http://www.symantec.com/business/security_response/writeup.jsp?docid=2005-111016-4134-99

 

by: richrumblePosted on 2009-07-06 at 05:19:29ID: 24784409

We rebuild our servers/computers when infected, peace of mind and assurance that we removed the virus. Look at what AV makers on virustotal detected the nasty, backup your files, scan them with one of those AV programs to make sure your backed up data isn't infected. Rebuild the server, restore the backup data to the new server, turn off the old server, re-ip/rename the new server. Get AV installed on your critical servers.
We have ghost images for most servers, pc's and LT's that make rebuilding go much faster.
-rich

 

by: breadtanPosted on 2009-07-11 at 00:04:35ID: 24829478

Agree that the DC should be "restore" into original state.
You may also want to consider Virtual image for DC and restoring is easier (reverting snapshots).
Minimally AV need to be installed but note that it should not be connected online (preferably not), hence manual update is needed.
Better to have some IDS or HIPS in the infrastructure so that these similar traffic can be monitored and alerts can be correlated early (but revamp take times and consideration, talk to the IT Team)

Also to share that beside Virustotal, you can consider online malware analysis services like ThreatExpert, CwSandbox. They give more detail reports (check out their sample reports) as VirusTotal is more of a "surface report"
- http://www.threatexpert.com/introduction.aspx
- http://www.cwsandbox.org/?site=1&page=submit

Last but not least, do harden your server and turn off unnecessary services e.g. Telnet, etc. Good to go for pentest as regular checks

 

by: astralcomputingPosted on 2009-07-14 at 05:04:31ID: 24848414

Firstly, if that box is that important that you cannot shut it down, invest in redundancy.

Secondly, you (almost) definately have a rootkit, because rootkits setup a .sys file to mask their true apps. Look for exe's in the Windows and windows\system32 directory with the Hidden and Read on or system attribute and approach any with suspicion.

 

by: breadtanPosted on 2009-07-18 at 00:19:57ID: 24885112

See good rootkit detector like
a) GMER - quite technical but free (http://www.gmer.net/)
b) FSecure Blacklight - Free and good (http://www.f-secure.com/en_EMEA/products/technologies/blacklight/)
c) RootKit Revealer - Free  (http://technet.microsoft.com/en-us/sysinternals/bb897445.aspx)

My take is try out the Blacklight first to see if it can catch any .... :)

Best of luck !!

 

by: braker15Posted on 2009-08-28 at 09:31:08ID: 25209301

Okay, I am using ee mobile now, I really appreciate all the help. I will assign points when I return to my pc

thank you!

 

by: braker15Posted on 2009-09-02 at 14:01:20ID: 31598855

thank you

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...