Daily Linux Forensics Trivia #11 - Yesterday's question asked how to spot processes running from deleted executables during live analysis. How would you recover the deleted executable?
Then @DfirNotes chimed in with the other typical way for doing this, "lsof +L1", which would show all open but unlinked files ("+L1" means "link count < 1", or zero). If you just want running deleted executables, make it "lsof +L1 -a -d txt"
Trivia Answer #10 - @jgasmussen got in first with one good answer: "ls -l /proc/*/exe 2>/dev/null | grep deleted" (bonus points for redirecting stderr!)
Something I need cis people to understand: Trans people were four times as likely to be violently attacked, three times as likely to go hungry, and twice as likely to live in poverty *and then* all this bullshit started.
Only one more day to get the early bird discount for BSides Augusta! It's always a great con. I was thinking about heading that way, but noticed there are no offensive appsec talks on the schedule. :-(
I’m saying this as a manager. Like, have an open dialogue with your boss and give constructive and courteous feedback to your peers first, but if you are constantly silently saving the day and nobody sees it, they’re probably gonna get promoted and you’re not.
• If you're wrong, admit it.
• If you're confused, ask questions.
• If you're stuck, seek for help.
• If you make mistake, learn from it.
• If you learn something, teach others
Daily Linux Forensics Trivia #10 - When investigating a live Linux system, how can you detect if a process is running from a deleted binary? [and don't forget to sign up for live Linux forensics training wildwesthackinfest.com/deadw…]
From the early days of Unix file systems, permissions are stored in a packed two-byte field. The upper four bits are the file type. The remaining twelve bits track set-UID, set-GID, "sticky", and then "rwx" perms for owner, group, and other.
I think it would get ugly. They’d want to install their own “old white guy” advisors and have you run things the “old white guy” way. Money never comes without strings.