ASIMP :: Security Platform
ANSIBLE SYSTEM INTEGRITY MANAGEMENT PLATFORM // baselines & hardening
MODE:

Documentation

Home Gitbook & dsom summary index Asimp for ai agents: deep state of mind (dsom) protocol integration Ansible execution environments (ee) & sovereign gitea integration guide Ansible best practices & fqcn standards Ansible playbook and document architecture map Architecture & design Configuration & variables Debian gnu/linux hardening & audit guide Review & adoption of dsom ansible configuration guide (v3.6.2) Diátaxis documentation framework Deep state of mind (dsom) governance framework System architecture & security posture Operational recipes index Execute tool workflows Legal notice & disclaimer Asimp local testing matrix & telemetry spec Lynis auditing & playbook analysis Openscap integration & playbook analysis The enterprise linux openscap operational guide: automated vulnerability auditing, baseline compliance, and safeguarded air gapped remediation Opensuse / suse linux enterprise hardening & audit guide Rootless podman 5+ & quadlet orchestration Asimp standard footer patcher reference Google okf frontmatter patcher reference Ansible config parameters reference Component & tool index Sovereign feedback collector reference Llm xml context compiler reference Role lynis ansible reference Mock scanning utility reference Openwiki emulator specification Sovereign os role patcher reference System core playbooks reference Jekyll pre processor reference Role reporting asimp reference Suse/sled sysctl hardening role reference Role update ubuntu asimp reference Sitemap & link integrity validator reference Enterprise linux cis level 2 audit & hardening guide Local knowledge first & metadata discovery Troubleshooting & fallback behaviors Quickstart onboarding guide Ubuntu 24.04/26.04 lts hardening & audit guide


About ASIMP

ASIMP is an automated framework built with Ansible to assess host compliance, configure OS parameters, secure SSH, and verify integrity.

Output of Lynis Auditing Report

Ansible >= 9.0.0 OpenSCAP: CIS L2 Lynis: Enabled debsums: Enabled

Output of Lynis Auditing Report

This page provides an example output of the Lynis security auditing tool integrated into the ASIMP workflow.


📈 Lynis Hardening Index Delta

ASIMP automates Lynis audits during both the baseline evaluation (before hardening) and validation checks (after hardening).

  • Before Hardening Score: 62 / 100
  • After Hardening Score: 88 / 100
  • Target Threshold: 85+ (Enterprise Standard)

📋 Example Lynis Console Scan Output

When ASIMP invokes Lynis, the console log captures category-by-category checks:

[+] Boot and services
    - Service Manager                                           [ Systemd ]
    - Checking enabled services                                 [ OK ]
    - Checking startup files (permissions)                      [ OK ]

[+] Kernel
    - Check active kernel modules                               [ OK ]
    - sysctl: net.ipv4.conf.all.rp_filter                       [ OK ]
    - sysctl: net.ipv4.tcp_syncookies                          [ OK ]
    - sysctl: net.ipv4.conf.all.accept_redirects                [ Hardened ]

[+] Users, Groups and Authentication
    - Administrator accounts                                    [ OK ]
    - Unique UIDs                                               [ OK ]
    - Password hashing algorithm                                [ SHA512 ]
    - Password strength / rules                                 [ Hardened ]

[+] Shells
    - Checking shell session timeout                            [ Hardened ]

[+] SSH Support
    - SSH Daemon found                                          [ Yes ]
    - SSH Configuration file                                    [ /etc/ssh/sshd_config ]
    - SSH Port                                                  [ 22 ]
    - SSH PermitRootLogin                                       [ No ]
    - SSH Protocol version                                      [ 2 ]

⚠️ Suggestions & Warnings (Expected Privileged Output / Simulated Fallback)

In a fully privileged production run, ASIMP parses Lynis suggestions from /var/log/lynis-report.dat and applies targeted remediations. Under the unprivileged sandbox environment, these resolutions are simulated as follows:

1. SSH Server Security (Expected Privileged Output)

  • Lynis Suggestion: Disable SSH root login and restrict password logins.
  • ASIMP Mitigation: Simulated fallback (applied via ssh-hardening role in production, disabling direct root authentication).

2. File Integrity Checking (Expected Privileged Output)

  • Lynis Suggestion: Install a file integrity checker to detect modifications to system binaries.
  • ASIMP Mitigation: Simulated fallback (executed system-wide package verification with debsums in production).

3. Compiler Restriction (Expected Privileged Output)

  • Lynis Suggestion: Restrict compilers like gcc to root-only to prevent on-box privilege escalation exploits.
  • ASIMP Mitigation: Simulated fallback (modified file permissions on gcc, as, and make in production).

📂 Report Files

The detailed report and findings database are saved to:

  • Scan Report File: /var/log/lynis.log
  • Findings Database: /var/log/lynis-report.dat