Replies: 1 comment
-
As of c4bc724, the parsing code has been split off into https://github.com/hillu/linux-audit-parser-rs. You'll find the code there in (Unfortunately, there are exceptions to the rather straightforward encoding rule, but there's extra code for those exceptions.) The |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am currently working with auditd, and as you mentioned here :
I am looking for the specific part of the code that determines, for an
EXECVE
entry, whether a string in hexadecimal format (for an argument) originates directly from the command line or is a result of converting the command line to hexadecimal due to the constraints mentioned above. I’d like to understand the logic behind this mechanism. Could you briefly explain how it works?For example, in the README.md, the
a2
field is transformed into a human-readable string :If for some reason a binary asks for a hexadecimal or decimal string as an argument (
./binary 757365
or./binary "757365"
), it will give something like this if I'm not mistaken :Will Laurel try to convert the string "757365" from hex to ASCII and give the following result or leave the string as is ?
Do you detect the presence of the double quote after the
equals sign
of thea1
field ?I’ve gone through the code to try and figure it out (specifically the
coalesce.rs
file), but I’m not an experienced developer, especially not in Rust, so I’m not sure if I’m looking in the right place. From what I understood, this might be related to thehandle_syscall
and/ortransform_execve
functions.Beta Was this translation helpful? Give feedback.
All reactions