IT Security Matters

Klaus Jochem

Skip to content
  • Home
  • About me
    • About me
    • Copyright and Disclaimer
  • Microsoft AppLocker in der Automatisierungstechnik

Keep the attack surface small – Avoid using globally defined service accounts!

23 May 2015

Restarting a complex application is a tough task, in particular when many interconnected services have to be restarted in the correct order. A restart becomes a great challenge in a mixed Linux/Windows server environment with dozens of databases, applications and web services.

Some application administrators developed a smart tool to simplify restart jobs. A graphical representation of the application system, with services represented as blocks and dependencies as connections between the blocks, allows the controlled restart of single services as well as the entire application system. Even a restart simulation is possible.

For every service a restart procedure is implemented. If the service receives a restart command, the restart procedure on the respective server is executed. Works perfect, even in a mixed Linux/Windows environment.

I first came across this smart tool during a security assessment of a complex application. On a Windows server I found an SSH service which ran in the context of a globally defined service account. This globally defined service account was member of the local administrator group. For security reasons the local login with this service account was disabled. Really clever!

Unfortunately, each globally defined service account increases the attack surface of your IT system. Once an attacker compromises such an account he gets privileged access to every system where the account is used for administrative tasks. In the worst case, without segmentation in trusted zones, an attacker could get access to all your Windows servers.

How to mitigate this vulnerability? The fast way is to ‘Deny login from the network‘ for this service account in addition to ‘deny login locally’. This will hamper an attacker from exploring your network with a compromised account. If an administrator must configure a service he must sign in with his personal administration account. To change the service he has to enter the service account’s password.

In addition I recommend to question the use of globally defined service accounts in general. As mentioned above such accounts increase the attack surface of your IT system.

With this I recommend: Before you use a globally defined service account for an administrative tasks, ask yourself the question: Can I imagine to do this with a locally defined service account?

If your answer is Yes, and the extra effort is low, you should implement the service with a local account. Make this approach mandatory for all IT staff to keep the attack surface of your IT system sustainably small.

Wishing all a Happy Memorial Day weekend!

Share this:

  • Email
  • Print
  • LinkedIn

Like this:

Like Loading...

Related

This entry was posted in Opinion, Survival tips and tagged Attack Surface, complex application systems, Deny login from the network, Deny logon locally, Restart, Service accounts, SUDO, Trusted zones on May 23, 2015 by Klaus Jochem.

Post navigation

← Some thoughts about ‘Mitigation strategies for data-wiping malware’ Is Micro-Segmentation the new universal remedy? →

Technology and more

  • 4 Elementary IT Security Design Principles
  • Microsoft AppLocker in der Automatisierungstechnik

Endnotes

  • SRM Blog Information Security Breach Reports
  • [1] Frequently Asked Questions on eBay Password Change
  • [2] Ponemon Institute, Cost of Cyber Crime Study: United States 2013
  • [3] Hashed Passwords – Crack The Cred
  • [4] Important Information – Office Passwort Reset
  • [5] Reducing the Effectiveness of Pass-the-Hash

Tags

  • administrative privileges
  • anti-malware
  • AppGuard
  • Attack Surface
  • critical infrastructure
  • Cyber Attack
  • data breach
  • Endpoint Protection
  • Malware
  • Phishing
  • Principle of least privilege
  • Ransomware
  • Remote Code Execution Vulnerability
  • Separation of Duties
  • strong passwords
  • Two factor Authentication
  • UAC
  • Vulnerability
  • WannaCry
  • Zero day exploits

Archive

  • October 2021 (1)
  • September 2021 (1)
  • July 2021 (1)
  • June 2021 (1)
  • May 2021 (1)
  • April 2021 (1)
  • March 2021 (2)
  • January 2021 (3)
  • October 2020 (1)
  • August 2020 (2)
  • June 2020 (4)
  • May 2020 (4)
  • April 2020 (1)
  • March 2020 (3)
  • January 2020 (1)
  • December 2019 (1)
  • November 2019 (1)
  • October 2019 (1)
  • September 2019 (2)
  • August 2019 (3)
  • July 2019 (2)
  • June 2019 (1)
  • May 2019 (2)
  • April 2019 (1)
  • March 2019 (3)
  • February 2019 (1)
  • January 2019 (2)
  • December 2018 (1)
  • November 2018 (2)
  • October 2018 (2)
  • September 2018 (1)
  • August 2018 (2)
  • July 2018 (1)
  • June 2018 (3)
  • May 2018 (2)
  • April 2018 (3)
  • March 2018 (3)
  • February 2018 (3)
  • January 2018 (3)
  • December 2017 (1)
  • November 2017 (3)
  • October 2017 (6)
  • September 2017 (1)
  • August 2017 (1)
  • July 2017 (5)
  • June 2017 (2)
  • May 2017 (5)
  • April 2017 (4)
  • March 2017 (3)
  • February 2017 (3)
  • January 2017 (2)
  • December 2016 (2)
  • November 2016 (5)
  • October 2016 (8)
  • September 2016 (4)
  • August 2016 (4)
  • July 2016 (6)
  • June 2016 (4)
  • May 2016 (4)
  • April 2016 (5)
  • March 2016 (6)
  • February 2016 (9)
  • January 2016 (7)
  • December 2015 (2)
  • November 2015 (6)
  • October 2015 (4)
  • September 2015 (4)
  • August 2015 (5)
  • July 2015 (6)
  • June 2015 (6)
  • May 2015 (9)
  • April 2015 (8)
  • March 2015 (8)
  • February 2015 (8)
  • January 2015 (10)
  • December 2014 (4)
  • November 2014 (9)
  • October 2014 (9)
  • September 2014 (9)
  • August 2014 (10)
  • July 2014 (10)
  • June 2014 (5)

Blogs I Follow

  • EFRONA MOR - Writer & Author of Epic Fantasy
  • Jaya's Blog
  • Dopamine Writes 🖊️🖊️
  • TIME GENTS
  • Crowdbase Blog

Subscribe

RSS Feed

Blog at WordPress.com.
EFRONA MOR - Writer & Author of Epic Fantasy

How To Become a Better Writer—Best Epic Fantasy Books

Jaya's Blog

Dopamine Writes 🖊️🖊️

Composed thoughts, Penned & Compiled

TIME GENTS

Australian Pub Project, Established 2013

Crowdbase Blog

A blog about knowledge sharing, collective intelligence and enterprise collaboration.

  • Follow Following
    • IT Security Matters
    • Join 209 other followers
    • Already have a WordPress.com account? Log in now.
    • IT Security Matters
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • View post in Reader
    • Manage subscriptions
    • Collapse this bar
%d bloggers like this: