Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
01-26-2006, 06:43 PM
|
#1
|
Member
Registered: Apr 2004
Location: Saskatchewan
Distribution: Ubuntu, Centos
Posts: 208
Rep:
|
Can i hide a file with bmap????
i know u can hide text and i can hide most file that way(because they mostly are text or script)
But can i hide a binary file in a slack????
|
|
|
01-26-2006, 08:43 PM
|
#2
|
Moderator
Registered: May 2001
Posts: 29,415
|
Why don't you just try it. Your system has enough binaries to play with...
|
|
|
01-27-2006, 09:31 AM
|
#3
|
Member
Registered: Apr 2004
Location: Saskatchewan
Distribution: Ubuntu, Centos
Posts: 208
Original Poster
Rep:
|
so far i did'nt have any succes. the somewhat closest i got was with:
bmap --target (File with slack) --mode putslack (Binary file)
which get me a "seek error"
Or i just tried:
cp (binary file) (binary file).2 | bmap --mode putslack (File with slack)
gives me:
stuffing block 1107588
slack size 1490
block size 4096
#i made sure to check that the slack was big enough to hold the file.
well it did copy something in the slack but not what i wanted.
I can easily place the output of any operation mabe by or on a binary in the slack but not the file itself.
|
|
|
01-29-2006, 07:32 AM
|
#4
|
Moderator
Registered: May 2001
Posts: 29,415
|
a "seek error"
Hmm. No idea why. Maybe run strace on it. Then again Bmap is rather old and I think it's not supported/maintained anymore.
#i made sure to check that the slack was big enough to hold the file.
How did you check? Read somewhere the kernel does show the right value but "stat" doesn't.
|
|
|
All times are GMT -5. The time now is 07:36 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|