Free Privileged Account Discovery Tool: Identify & secure credentials to stop lateral movement. Download Free

BeyondTrust
  • Products
    Privileged Password Management
    Discover, manage, audit, and monitor privileged accounts
    Password Safe DevOps Secrets Safe
    Endpoint Privilege Management
    Manage privileges on Windows, Mac, Linux, and Unix endpoints
    Windows and Mac Unix and Linux Active Directory Bridge
    Secure Remote Access
    Centrally manage and secure remote access for service desks and vendors
    Remote Support Privileged Remote Access
    BeyondInsight Analytics
    See All Solutions
  • Resources

    Universal Privilege Management

    Our innovative Universal Privilege Management approach secures every user, asset, and session across your entire enterprise.

    Watch Video

    Learn

    Case Studies
    Competitor Comparisons
    Datasheets
    Glossary
    Product Demos
    Whitepapers

    Attend

    Events
    Go Beyond
    Training
    Webinars

    Support

    Changelog
    Professional Services
    Technical Documentation
  • Blog
  • Partners
  • Contact
  • Support
  • Services
  • Training
  • Events
  • Company

Linux Security = File Integrity Monitoring

November 14, 2016

  • Blog
  • Archive

Linux Security

Why There’s No Security Log in Linux Like There is in Windows

Linux security is all about file security. That’s because configuration in Linux is stored in files directly accessible to root. Mis-edit a file and you can be in a lot of trouble. You may not be in the habit of configuring Linux through direct file editing but that’s because many distros have built GUI or command line tools to help you avoid the aforementioned trouble. But the key point here is that you aren’t forced to go through those utilities.

This is very different than Windows. In Windows the actual bits of configuration are far more isolated and you never touch them even if you are an administrator. You are pretty much forced to go through Win32 APIs for everything. This allows Windows to enforce both privilege and validation rules.

In Linux, since you aren’t going through an API, you only get validation if you use the appropriate utility to make the configuration change instead of directly editing the file. As an example, in Linux you can create a user by either directly editing the etc/passwd and related files or it’s safer to use the useradd program instead which edits the files for you based on the command line arguments you provide.

Want to learn more? Join me in my upcoming webinar on November 30th. This is real FREE training, with CPE credits, that you won't want to miss – Good Linux Security Needs File Integrity Monitoring. Register now

Why is this such a big deal? It has some big implications.

Least Privilege

Let’s say you want to implement least privilege and allow some IT folks authority to change only a subset of properties on accounts. Maybe you want them to be able to change home directory on user accounts but nothing else. You can’t allow them to edit the whole etc/passwd file because they could change anything or even create new users, delete users or corrupt the file. And the usermod program likely doesn’t have any least privilege functionality of its own. That’s why I’ve done so many webinars in the past about sudo. If you are willing to do the work in your sudoers file you could grant them the ability to run usermod but only with the -d switch.

Auditing

The other big issue is your audit trail. If security changes are always executed through the appropriate utility (like usermod or useradd) and with sudo then it’s possible to get a decent audit trail. But what’s to stop someone from directly editing the /etc/passwd file using VI or something else? Where’s your audit trail then? The reason I’ve never created a Linux Security Log Encyclopedia (like my Windows Security Log Encyclopedia) is basically because of this. There’s no single choke point in Linux where you are forced to go to make different configuration changes. Therefore, there’s no way for Linux to generate the kind of audit log that Windows does with hundreds of unique event IDs for each security action.

Linux security is all about file security.

That’s why file integrity monitoring is of paramount importance to compliance and security for your Linux systems. If you aren’t closely monitoring changes to key security configuration files you have no way to detect major changes to your security policy.

Monitoring Windows security is primarily a matter of monitoring the security log. Monitoring Linux security requires your sudo logs and file integrity monitoring. FIM is a much, much bigger deal in Linux than in Windows.

Join me for a real training for FREE on November 10th, where we’ll look at file integrity monitoring in Linux and identify the most important files that need to be monitored. BeyondTrust has kindly sponsored my series of webinars on Linux security including this one, and product manager Paul Harper will briefly show you the file integrity monitoring capabilities being introduced to PowerBroker for Unix & Linux.

Register now

Randy Franklin Smith, Microsoft MVP & Windows Security Expert, and CEO at Monterey Technology Group, Inc.

Randy Franklin Smith is an internationally recognized expert on the security and control of Windows and Active Directory security who specializes in Windows and Active Directory security. He performs security reviews for clients ranging from small, privately held firms to Fortune 500 companies, national, and international organizations.

Randy Franklin Smith began his career in information technology in the 1980s developing software for a variety of companies. During the early 1990s, he led a business process re-engineering effort for a multi-national organization and designed several mission critical, object-oriented, client/server systems. As the Internet and Windows NT took off, Randy focused on security and led his employer's information security planning team. In 1997, he formed Monterey Technology Group, Inc. where he serves as President.

Certifications


  • Certified Information Systems Auditor (CISA)
  • Microsoft Security Most Valuable Professional (MVP)
  • Systems Security Certified Professional (SSCP)


Industry Memberships

  • Information Systems Security Association (ISSA)
  • Information Systems Audit and Control Association (ISACA)
  • Center for Internet Security (CIS)

Stay Up To Date

Get the latest news, ideas, and tactics from BeyondTrust. You may unsubscribe at any time.

I agree to receive product related communications from BeyondTrust as detailed in the Privacy Policy, and I may manage my preferences or withdraw my consent at any time.

You May Also Be Interested In:

Whitepapers

A Zero Trust Approach to Secure Access

Webcasts

Rising CISOs: Ransomware, Cyber Extortion, Cloud Compromise, oh my!

Whitepapers

A Zero Trust Approach to Windows & Mac Endpoint Security

BeyondTrust Logo
  • Facebook
  • Twitter
  • LinkedIn

Keep up with BeyondTrust

I agree to receive product related communications from BeyondTrust as detailed in the Privacy Policy, and I may manage my preferences or withdraw my consent at any time.

Customer Support
Contact Sales

Products

  • Endpoint Privilege Management
  • Password Management
  • Privileged Remote Access
  • DevOps Secrets Safe
  • Remote Support

Resources

  • Blog
  • Case Studies
  • Competitor Comparisons
  • Datasheets
  • Glossary
  • Videos
  • Webcasts
  • Whitepapers

About

  • Company
  • Careers
  • Contact
  • Events
  • Leadership Team
  • Partner Program
  • Press

Languages

  • English
  • German
  • French
  • Spanish
  • Korean
  • Portuguese
  • Japanese
  • Privacy
  • Security
  • Manage Cookies
  • WEEE Compliance

Copyright © 1999 — 2020 BeyondTrust Corporation. All rights reserved. Other trademarks identified on this page are owned by their respective owners. BeyondTrust Corporation is not a chartered bank or trust company, or depository institution. It is not authorized to accept deposits or trust accounts and is not licensed or regulated by any state or federal banking authority.