How can i hide a process OR encrypt and then decrypt a string?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How can i hide a process OR encrypt and then decrypt a string?
Hello,
I've got a problem where at the moment i pass data from one file to another with this method:-
script1:
...
commands
...
...
/script2 DATA
exit
script2:
...
...
$1
commands
...
Which gets the data back again, this is fine but the data being passed is sensitive data so i'd like to be able to either hide the process from a 'ps or top or whatever' OR pass the data so if it was viewed its encrypted, and all done pass wordless so it needs to be symmetrical encryption, using keys or something, obviously the data is being processed quite fast so the keys won't be around very long even though this still leads to possible data decryption, perhaps ow thinking about it both methods working together would be ok. Although as long as someone doesn't have root then the key should be safe and therefore the encrypted data safe. Basically thats what i do and i need to come up with something to hide the data.
For renaming the process (which is security by obscurity and isn't recommended) you can take a look at the $0 variable -- in perl that is functionally the "process name" variable.
Hi,
Its the same in bash but i don't know how to change it, i have seen this idea in other posts already and would be interested in doing it with the encryption method. Please more ideas and methods anyone
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.