Detection rules for AIX Data sources. Every rule contains its MITRE ATT&CK mapping, an impact rating, and details on what it identifies.

This category lists 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

Identifies intrusion attempts and security violations reported by the IBM AIX intrusion detection system, such as suspicious activity, privilege escalation attempts, and possible system compromises.

IBM AIX NIM Master Exploitation Detection

Identifies abuse of the IBM AIX Network Installation Management (NIM) master to distribute malicious packages, alter client configurations, or move laterally throughout AIX infrastructure.

IBM AIX Rootkit Indicator Detection

Identifies rootkit indicators specific to AIX, such as concealed processes, altered system binaries, questionable kernel extensions, and integrity breaches within the Trusted Computing Base.

IBM AIX SSH Authorized Keys Manipulation Detection

Identifies changes to SSH authorized_keys files on IBM AIX systems. Attackers insert their SSH public keys to keep persistent access to compromised systems.

IBM AIX Security Audit Subsystem Alert

Identifies critical security events from the IBM AIX audit subsystem, such as audit configuration changes, audit service interruptions, or efforts to tamper with audit logs. This rule detects when the audit subsystem fails, is disabled, or when audit-related files are altered.

IBM AIX System Integrity Violation Detected

Identifies attempts to compromise system integrity in IBM AIX, such as unauthorized changes to critical system files, audit tampering, security configuration changes, and privilege escalation attempts. This rule watches for multiple 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

Identifies breaches of the Trusted Computing Base (TCB) in IBM AIX, such as unauthorized modifications to critical system files, security database tampering, or attempts to alter files protected by TCB. TCB violations may signal potential system compromise or unauthorized privilege escalation attempts.

IBM AIX Trusted Execution Violation

Identifies violations of Trusted Execution (TE) policies in IBM AIX, such as running untrusted binaries, signature verification failures, or attempts to circumvent trusted execution controls. Such violations may indicate efforts to execute malicious or unauthorized code on the system.

IBM AIX Unauthorized Crontab Modification Detection

Identifies unauthorized crontab modifications on IBM AIX systems that could point to an attacker establishing persistence. It monitors for crontab changes, at job submissions, and modifications to /var/spool/cron.

IBM AIX Unauthorized HMC Access Detection

Identifies unauthorized access to the IBM Hardware Management Console (HMC) that manages Power Systems hardware. HMC access permits management of LPARs, firmware, and hardware resources.