Detection rules for AIX data sources. Each rule includes its MITRE ATT&CK mapping, impact rating, and a description of what it detects.

This category contains 10 detection rules.

RuleCategoryTechniqueImpact (C/I/A)
IBM AIX Intrusion Detection AlertPrivilege EscalationT1068 - Exploitation for Privilege EscalationC:3 / I:3 / A:2
IBM AIX NIM Master Exploitation DetectionLateral MovementT1210 - Exploitation of Remote ServicesC:3 / I:3 / A:3
IBM AIX Rootkit Indicator DetectionDefense EvasionT1014 - RootkitC:3 / I:3 / A:3
IBM AIX SSH Authorized Keys Manipulation DetectionPersistenceT1098.004 - Account Manipulation: SSH Authorized KeysC:3 / I:3 / A:1
IBM AIX Security Audit Subsystem AlertDefense EvasionT1562.001 - Impair Defenses: Disable or Modify ToolsC:3 / I:3 / A:2
IBM AIX System Integrity Violation DetectedDefense EvasionT1070 - Indicator Removal on HostC:2 / I:3 / A:2
IBM AIX Trusted Computing Base ViolationDefense EvasionT1070 - Indicator RemovalC:3 / I:3 / A:2
IBM AIX Trusted Execution ViolationDefense EvasionT1036 - MasqueradingC:3 / I:3 / A:2
IBM AIX Unauthorized Crontab Modification DetectionPersistenceT1053.003 - Scheduled Task/Job: CronC:2 / I:3 / A:2
IBM AIX Unauthorized HMC Access DetectionUnauthorized AccessT1078 - Valid AccountsC:3 / I:3 / A:3

Rule Example

Below is an example of a rule definition for IBM AIX Intrusion Detection Alert (view in repository):

# Rule version v1.0.0

dataTypes:
  - ibm-aix
name: IBM AIX Intrusion Detection Alert
impact:
  confidentiality: 3
  integrity: 3
  availability: 2
category: Privilege Escalation
technique: "T1068 - Exploitation for Privilege Escalation"
adversary: origin
references:
  - https://www.ibm.com/docs/en/powersc-standard/2.1.0?topic=ids-configuring-intrusion-detection-prevention-idp-aix-endpoints
  - https://attack.mitre.org/techniques/T1068/
description: |
  Detects intrusion attempts and security violations identified by the IBM AIX intrusion detection system, including suspicious activities, privilege escalation attempts, and potential system compromises.
  
  Next Steps:
  1. Immediately isolate the affected system from the network to prevent lateral movement
  2. Review the intrusion detection logs for specific details about the attack vector and affected resources
  3. Check for any suspicious processes running with elevated privileges using 'ps aux' and 'topas'
  4. Examine system integrity with 'trustchk' command to verify critical system files
  5. Review recent user authentication logs and check for unauthorized account creation or privilege changes
  6. Collect forensic evidence including memory dumps, system logs, and file modifications
  7. Apply security patches and update AIX security configurations based on the vulnerability exploited
  8. Monitor related systems for similar intrusion attempts
  9. Check for any unauthorized file modifications using 'find' command with modification time filters
  10. Review network connections and active ports using 'netstat' and 'lsof' commands
  11. Validate system configuration against security baselines and hardening guides
  12. Document the incident details and update security monitoring rules based on attack patterns
where: |
  (
    equals("log.eventType", "ids") ||
    equals("log.eventType", "securityd") ||
    equals("log.eventType", "audit") ||
    contains("log.msg", "intrusion") ||
    contains("log.msg", "suspicious") ||
    contains("log.msg", "anomaly detected")
  ) && 
  (
    contains("log.msg", "buffer overflow") ||
    contains("log.msg", "privilege escalation") ||
    contains("log.msg", "unauthorized modification") ||
    contains("log.msg", "rootkit") ||
    contains("log.msg", "backdoor") ||
    contains("log.msg", "suspicious process") ||
    contains("log.msg", "file integrity") ||
    contains("action", "ALERT") ||
    equals("log.returnCode", "1")
  )
groupBy:
  - target.host
  - target.user

Rule Details

IBM AIX Intrusion Detection Alert

Detects intrusion attempts and security violations identified by the IBM AIX intrusion detection system, including suspicious activities, privilege escalation attempts, and potential system compromises.

IBM AIX NIM Master Exploitation Detection

Detects exploitation of IBM AIX Network Installation Management (NIM) master to deploy malicious packages, modify client configurations, or perform lateral movement across AIX infrastructure.

IBM AIX Rootkit Indicator Detection

Detects AIX-specific rootkit indicators including hidden processes, modified system binaries, suspicious kernel extensions, and integrity violations in the Trusted Computing Base.

IBM AIX SSH Authorized Keys Manipulation Detection

Detects modifications to SSH authorized_keys files on IBM AIX systems. Attackers add their SSH public keys to maintain persistent access to compromised systems.

IBM AIX Security Audit Subsystem Alert

Detects critical security events from the IBM AIX audit subsystem, including audit configuration changes, audit service disruptions, or attempts to tamper with audit logs. This rule identifies when the audit subsystem fails, is disabled, or when audit-related files are modified.

IBM AIX System Integrity Violation Detected

Detects attempts to compromise system integrity in IBM AIX, including unauthorized modifications to critical system files, audit tampering, security configuration changes, and privilege escalation attempts. This rule monitors for various indicators of system compromise including audit event tampering, security configuration file modifications, suspicious sudo usage, and privilege escalation attempts.

IBM AIX Trusted Computing Base Violation

Detects violations of the Trusted Computing Base (TCB) in IBM AIX, including unauthorized modifications to critical system files, security database tampering, or attempts to modify files protected by TCB. TCB violations indicate potential system compromise or unauthorized privilege escalation attempts.

IBM AIX Trusted Execution Violation

Detects violations of Trusted Execution (TE) policies in IBM AIX, including execution of untrusted binaries, signature verification failures, or attempts to bypass trusted execution controls. These violations may indicate attempts to execute malicious or unauthorized code on the system.

IBM AIX Unauthorized Crontab Modification Detection

Detects unauthorized crontab modifications on IBM AIX systems that could indicate persistence establishment by an attacker. Monitors for crontab changes, at job submissions, and modifications to /var/spool/cron.

IBM AIX Unauthorized HMC Access Detection

Detects unauthorized access to the IBM Hardware Management Console (HMC) that controls Power Systems hardware. HMC access allows management of LPARs, firmware, and hardware resources.