Feature/add uid to ps everywhere#210
Open
itayfoT wants to merge 2 commits intoEC-DIGIT-CSIRC:mainfrom
Open
Conversation
Contributor
- Add UID field to all ps_everywhere output entries - Extract UID from ps.txt, psthread.txt, spindump-nosymbols.txt, and logarchive (euid) - Add _sanitize_uid() helper to filter invalid placeholder UIDs (0xAAAAAAAA, 0xFFFFFFFF) - Update deduplication logic to consider UID as part of uniqueness - Same process with different UIDs now tracked as separate entries - Use None for missing/invalid UIDs (not 0) - All tests pass successfully
- Add UID extraction with sanitization for invalid placeholder values - Add PID and PPID to all process entries - Add parent process name (PPNAME) resolution - Build PID to process name mapping from multiple sources - Update deduplication to consider UID, PID, and PPID - Fix code style issues
718eabb to
4ad5b06
Compare
Author
|
Hi @dario-br thank you for your response, removed |
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.
Add UID Extraction to ps_everywhere Analyzer
Summary
Adds User ID (UID) field to ps_everywhere analyzer output for security analysis and forensic investigations.
Changes
_sanitize_uid()helper to filter invalid placeholder values (0xAAAAAAAA, 0xFFFFFFFF)uid: Nonefor sources without UID informationOutput
{ "data": { "source": "ps.txt", "uid": 0 } }