Add PAM Sessions from auth.log and secure - #369
Merged
Merged
Conversation
One artifact under Logins (Linux): each line in which pam_unix recorded a session being opened or closed, for any service (sshd, su, sudo, cron, GDM, the systemd user manager and others), with the service, user, the user's UID where Linux-PAM 1.7.0 writes it, the login name and the process's user ID split out. Both the 1.7.0 and the 1.0.1 forms are read. The shared syslog reader gains syslog_lines() and reported_time(), and program_lines() now uses them; SSH Server Log, sudo Commands and Account Changes give byte-identical output before and after on the tested images. Checked on ubuntu2604_arm64_triage (1,370 rows), ubuntu2604_arm64_authlog (1,404) and honeynet_fc7_debian5 (18, each console login matching a wtmp record at the same second). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a PAM Sessions artifact for Linux images, read from auth.log and secure and their rotations. Each row is a pam_unix "session opened" or "session closed" line, for any service, with:
It reads the forms of Linux-PAM 1.7.0 and 1.0.1. The shared syslog reader gains a function that returns every line, which program_lines now uses; the other syslog artifacts' output is unchanged.
🤖 Generated with Claude Code