• Products
    LOG COLLECTOR
    NXLog Enterprise Edition
    Full feature multi-platform log collection
    NXLog Community Edition
    Open-source free log collector
    ADD-ONS FOR NXLOG ENTERPRISE EDITION
    NXLog Add-Ons
    Integration with various software
    AGENT MANAGER FOR NXLOG ENTERPRISE EDITION
    NXLog Manager
    Manage and monitor NXLog instances
    NXLog Minder
    Hyper-scalable, API-first agent management
    DATABASE FOR NXLOG ENTERPRISE EDITION
    Raijin Database Engine
    The schemaless SQL database for storing events
    more from nxlog
    Professional Services
    Compare NXLog EE and CE
  • Downloads
    NXLog Enterprise Edition
    Full feature multi-platform log collection
    NXLog Manager
    Manage and monitor NXLog instances
    NXLog Community Edition
    Open-source free log collector
  • Solutions
    Integrations
    With SIEM, Devices, SaaS...
    Specfic OS support
    AIX, Linux, FreeBSD
    SCADA/ICS
    Energy, Oil & Gas, Transport...
    Windows Event log
    Collect locally or remotely, ..
    DNS Logging
    Enterprise-grade DNS log...
    Log Collection Modes
    Agent-based, Agentless or Cloud
    Agent Management
    Agents management and monitoring
    FIM
    File Integrity Monitoring
    macOS Logging
    ULS events, Apple System Logs ...

    By Industry

    Financial Services
    Government & Education
    Entertainment & Gambling
    Telecommunications
    Medical & Healthcare
    Military & Defense
    Law Firms & Legal Counsel
    Industrial & Manufacturing
  • Partners
    Find a Reseller
    Look for our resellers worldwide
    Technology Ecosystem
    See all our partners and integrations
    Partner Program
    Join our community of partners
    Partner Portal →
  • Resources
    Documentation
    Products guides and integrations
    Blog
    Tutorials, updates and releases
    White papers
    Datasheets, infographics and more
    Videos
    Trainings and tutorial on specific topics
    Webinars
    Community events and webinars
    Community Forum →
  • Support
  • Why Nxlog
    About Us
    Our journey, team and mission
    Customers
    Testimonials and case studies
    Careers
    We are hiring!
    Contact Us →
Log In Sign Up
Request Trial
LOG COLLECTOR
NXLog Enterprise Edition
Full feature multi-platform log collection
NXLog Community Edition
Open-source free log collector
ADD-ONS FOR NXLOG ENTERPRISE EDITION
NXLog Add-Ons
Integration with various software
AGENT MANAGER FOR NXLOG ENTERPRISE EDITION
NXLog Manager
Manage and monitor NXLog instances
NXLog Minder
Hyper-scalable, API-first agent management
DATABASE FOR NXLOG ENTERPRISE EDITION
Raijin Database Engine
The schemaless SQL database for storing events
more from nxlog
Professional Services
Compare NXLog EE and CE
NXLog Enterprise Edition
Full feature multi-platform log collection
NXLog Manager
Manage and monitor NXLog instances
NXLog Community Edition
Open-source free log collector
Integrations
With SIEM, Devices, SaaS...
Specfic OS support
AIX, Linux, FreeBSD
SCADA/ICS
Energy, Oil & Gas, Transport...
Windows Event log
Collect locally or remotely, ..
DNS Logging
Enterprise-grade DNS log...
Log Collection Modes
Agent-based, Agentless or Cloud
Agent Management
Agents management and monitoring
FIM
File Integrity Monitoring
macOS Logging
ULS events, Apple System Logs ...

By Industry

Financial Services
Government & Education
Entertainment & Gambling
Telecommunications
Medical & Healthcare
Military & Defense
Law Firms & Legal Counsel
Industrial & Manufacturing
Find a Reseller
Look for our resellers worldwide
Technology Ecosystem
See all our partners and integrations
Partner Program
Join our community of partners
Partner Portal →
Documentation
Products guides and integrations
Blog
Tutorials, updates and releases
White papers
Datasheets, infographics and more
Videos
Trainings and tutorial on specific topics
Webinars
Community events and webinars
Community Forum →
Support
About Us
Our journey, team and mission
Customers
Testimonials and case studies
Careers
We are hiring!
Contact Us →
  • Loading...
Request Trial
January 24, 2020 fimsecurity

What is File Integrity Monitoring (FIM)? Why do you need it?

By Tamás Burtics

Share
ALL SIEM STRATEGY SECURITY ANNOUNCEMENT DEPLOYMENT COMPLIANCE COMPARISON RSS

About File Integrity Monitoring (FIM)

File integrity monitoring is implemented as a detection mechanism to monitor changes to important files and folders. File integrity monitoring is largely used as a security measure for detection and for meeting obligations such as compliance. By using file integrity monitoring, better control measures can be taken due to being able to track and provide data for alerts of activities on assets that are being monitored, such as potential unauthorized changes. It also allows for better incident response like the detection of malware outbreaks or malicious changes made by malware to critical assets. It can also serve as an intruder detection tactic to monitor changes to vital configuration files.

Within compliance, file integrity monitoring represents a crucial role in meeting obligations and requirements. Below are some examples of compliance mandates and obligations related to FIM:

HIPAA/HITECH

Electronically protected health information will require FIM / electronic mechanisms to corroborate that a particular data has not not been compromised in an unauthorized manner.

PCI DSS 11.5, 12.9

A POS system would require FIM for PCI DSS compliance.

SOX (Sarbanes Oxley)/COBIT Framework

For the SOX/COBIT Framework, FIM is required for reporting on internal control structures (SOX 404), Internal controls (SOX 302), Supporting applications (COBIT enablers), and Evaluation and monitoring (COBIT lifecycle).

NERC-CIP 10-2

FIM can help the configuration change management and vulnerability assessments required by CIP-010-2.

FISMA (part of NIST SP 800-53)

FIM can assist with ensuring that organizations remain compliant under the NIST SP 800-53 federal guidelines.

The Gramm-Leach-Bliley Act (GLB Act or GLBA) or the Financial Modernization Act of 1999

FIM meets the following requirements of the GLB Act; Security Process, Information Security Risk Assessment, Information Security Strategy, Security Control Implementation - Access Control and Security Controls Implementation – Encryption.

Critical Security Controls

Implementing FIM can help checking that critical system files have not been altered, as is required by CIS.

What is real time integrity monitoring?

There are two modes for file integrity monitoring - real time integrity monitoring and periodic auditing and integrity monitoring.

Real time integrity monitoring is when files, folders, applications or hierarchical databases like the Windows Registry are monitored in real-time through the use of kernel-level auditing. Kernel-level auditing usually provides improved performance (especially for large file sets) as well as a more detailed data output.

The most obvious advantage of real time monitoring is that all events are logged as they occur; and the granularity of reporting is not limited by the scan intervals. Because the reported events are more detailed, they can provide information that is not available in periodic integrity monitoring. Real time integrity monitoring is useful if there is a need to track compliance and change control violations, as well as when crucial datapoints like whom made the change needs to be known. It can also provide further insights on other potential indicators of attacks.

What is periodic auditing and integrity monitoring? How do periodic checks apply in log collection?

Administrators run periodic auditing and integrity monitoring by configuring set intervals to scan the file system. On the first run (when a file set or the registry is in a known secure state), a database of checksums is created. Subsequent scans are performed at regular intervals, then the checksums are compared. When a change is detected, an event is generated and logged to a set file. When logs are generated due to irregular results from subsequent checksum scans, these are forwarded for further monitoring and alerting.

This method has some downsides. It does not protect a system from file signature bypass and does not do static anomaly detection. There can also be gaps in places to run integrity checking within the operating system environment. In addition, if weak or obsolete hashing algorithms are used, it opens up the possibility for a hash collision attack (where two inputs strings of a hash function produces the same hash result). This can be avoided by enforcing the use of stronger hashing algorithms.

Since the checks only involves checksum monitoring, there is a lack of change details involved. It is not possible to determine which user account made a change as the filesystem or registry does not provide such information, as a result, there may be multiple changes present by different users between scans. If this is an obstacle, real time file integrity monitoring should be implemented instead.

Integration and deployment notes with NXLog

Auditing on various operating systems is important as it provides data on file/ directory access and changes. The crucial element is determining what critical files should be monitored and what system auditing should be deployed on them. The list of systems to be monitored for FIM may and should include; Servers that deal with authentication and/or authorization such as Domain Controllers, PKI servers, Application Servers, Database Servers, Web and DNS Servers as well as key staff desktops engaged in critical business functions. Furthermore, all systems in scope for any PCI DSS network including POS should be subject for auditing.

The NXLog Enterprise Edition offers the File Integrity Monitoring (im_fim) module for all supported platforms. By utilizing this module, administrators can use file integrity monitoring as part of their overall log collection strategy. With this module, IT professionals can easily add a potential list of file locations to monitor for. Sources of files, may be included from both, outside sources and from the organization’s own internal needs.

As an addition to file integrity monitoring, the changes of critical Windows Registry hive keys must be monitored as well. The Windows Registry Monitoring (im_regmon) module from NXLog provides the solution to monitor the required list of critical Windows Registry hive keys for changes. In frameworks such as the MITRE ATT&CK Framework, hive keys are typically targeted for changes (depending on the malware). Additional rules are available for FIM and RegMon to test and use with NXLog.

While FIM is a key element of IT Security and compliance, it is important to be aware that FIM on its own does not provide crucial details, such as the user identity that initiated the change. By using NXLog, these details can be easily obtained from the OS/kernel since all operating systems have auditing capabilities that NXLog supports natively.

On Windows, administrators can enable the correct audit policy for specific events via Group Policy, then collect relevant Windows events using the EventLog for Windows 2008/Vista and Later (im_msvistalog) module. Collecting Sysmon logs can also be used, as it detects changes in file creation time to understand when a file was really created. Modification of file create timestamps is a technique commonly used by malware to cover its tracks. On Linux, the Linux Audit System (im_linuxaudit) module can be set up to collect audit logs, similarly, on AIX systems the AIX Auditing (im_aixaudit) can be used for the same purpose. In addition, the Basic Security Module Auditing (im_bsm) and (xm_bsm) modules can be utilized on other Unix platforms for auditing. NXLog recommends to take advantage of both file integrity monitoring and auditing for a more thorough log collection and monitoring approach in your enterprise. Feel free to download the trial or contact us if you have any questions on how NXLog can help your business.

  • fim
  • log collection
Share

Facebook Twitter LinkedIn Reddit Mail
Related Posts

Agent-based versus agentless log collection - which option is best?
5 minutes | October 22, 2019

Stay connected:

Sign up

Keep up to date with our weekly digest of articles.

By clicking singing up, I agree to the use of my personal data in accordance with NXLog Privacy Policy.

Featured posts

Announcing NXLog Enterprise Edition 5.7
January 20, 2023
NXLog - 2022 in review
December 22, 2022
Need to replace syslog-ng? Changing to NXLog is easier than you think
November 23, 2022
The EU's response to cyberwarfare
November 22, 2022
Looking beyond Cybersecurity Awareness Month
November 8, 2022
GDPR compliance and log data
September 23, 2022
NXLog in an industrial control security context
August 10, 2022
Raijin vs Elasticsearch
August 9, 2022
NXLog provides native support for Google Chronicle
May 11, 2022
Aggregating macOS logs for SIEM systems
February 17, 2022
How a centralized log collection tool can help your SIEM solutions
April 1, 2020

Categories

  • SIEM
  • STRATEGY
  • SECURITY
  • ANNOUNCEMENT
  • DEPLOYMENT
  • COMPLIANCE
  • COMPARISON

Subscribe to our newsletter to get the latest updates, news, and products releases.

© Copyright 2023 NXLog Ltd.

PRIVACY POLICY TERMS OF USE

  • PRODUCTS

  • NXLOG ENTERPRISE EDITION
  • NXLOG COMMUNITY EDITION
  • NXLOG ADD-ONS
  • NXLOG MANAGER
  • NXLOG MINDER
  • RAIJIN DATABASE
  • MORE NXLOG

  • COMPARE SOLUTIONS
  • INDUSTRIES
  • INTERGRATIONS
  • FIND A RESELLER
  • PARTNER PROGRAM
  • RESOURCES

  • DOCUMENTATION
  • WHITE PAPERS
  • WEBINARS
  • TUTORIALS
  • BLOG
  • COMMUNITY FORUM
  • ABOUT US

  • WHY NXLOG
  • CUSTOMERS
  • CAREERS
  • CONTACT US
  • DOWNLOADS

  • NXLOG ENTERPRISE EDITION
  • NXLOG COMMUNITY EDITION
  • NXLOG MINDER
  • NXLOG MANAGER
  • NXLOG ADD-ONS
  • RAIJIN DATABASE