So in the line of ‘can you trust the upstream’, one of the docker containers I used to do a build causes this to be emitted to the kernel log. And I cannot fathom a legitimate reason grep would be doing either networking or ptrace.
[1121294.488937] ICMPv6: process `grep' is using deprecated sysctl (syscall) net.ipv6.neigh.eth0.base_reachable_time - use net.ipv6.neigh.eth0.base_reachable_time_ms instead [1121296.349670] ptrace attach of "bash"[12928] was attempted by "grep --color=auto -ir coffee-script . .. .babelrc .git .gitignore .nvmrc .scss-lint.yml .travis.yml .tx"[24230] [1121296.349738] ptrace attach of "bash"[12928] was attempted by "grep --color=auto -ir coffee-script . .. .babelrc .git .gitignore .nvmrc .scss-lint.yml .travis.yml .tx"[24230] [1121296.350034] ptrace attach of "bash"[12928] was attempted by "grep --color=auto -ir coffee-script . .. .babelrc .git .gitignore .nvmrc .scss-lint.yml .travis.yml .tx"[24230]
Now, I have seen linux rootkits that modify e.g. netstat (for 2 reasons, 1 is to prevent you from seeing open sockets, and the other is to cause a command that you will run as root to have a payload and thus activate).
Does anyone have any info on a legitimate reason this would occur?
Leave a Reply