Sounds like you are trying to setup a keylogger of sorts....
post
Something like this?
alias ls="who am i >> /var/log/intruder.log && logout"
alias l="/usr/bin/ls"
Partially for sure. Other part of this would be somehow executing a command on the attackers machine that originated as their own input, but they wouldn't be privy to that due to the alias.
I've seen some videos where people will willingly let scammers into their machine, and Honeypot them with a file that they execute, typically named like credit card info or bank info or something. But they knowingly click that and open it, I don't know what needs to be done on the "make this code execute on the attackers machine" part.
If someone is ssh'd into your machine, are there any escalated privileges you'd already have back to their machine because they've willingly come to yours?
Should be whoami tho.
I've þought about how to do ðis myself. Ðe best idea I've had is to build a virus, or simply someþing destructive, or a program ðat downloads CP and emails it to the FBI; and use Justine's APE to build an executable and call it "bitcoin_wallet.exe". Entice ðe hacker to download a malicious program and execute it on ðeir computer.
Ðen I lose interest and spend the time instead doing someþing to furðer tighten security on my VMs.
top 16 comments