Strange files on FTP account
up vote
0
down vote
favorite
We have a user who needs to use FTP for a specific application. For the last wee or so, really starnge files have been appearing in their account:
-rw------- 1 root root 59 Nov 21 14:59 WZOBLx
-rw------- 1 root root 108 Nov 21 14:59 x5yOLt
-rw------- 1 root root 63 Nov 21 14:59 XcwBDS
They are all of the same format. The individual files cannot be moved copied or deleted - eg
rm: cannot remove 'WZOBLx': No such file or director
I am assuming that the server has been compromised in some way (running proftp)? Any suggestions (other than not to use ftp!_
security ftp
add a comment |
up vote
0
down vote
favorite
We have a user who needs to use FTP for a specific application. For the last wee or so, really starnge files have been appearing in their account:
-rw------- 1 root root 59 Nov 21 14:59 WZOBLx
-rw------- 1 root root 108 Nov 21 14:59 x5yOLt
-rw------- 1 root root 63 Nov 21 14:59 XcwBDS
They are all of the same format. The individual files cannot be moved copied or deleted - eg
rm: cannot remove 'WZOBLx': No such file or director
I am assuming that the server has been compromised in some way (running proftp)? Any suggestions (other than not to use ftp!_
security ftp
Check yourftplogs. Usels -bto check for non-printing characters in the filenames. the(root,root)ownership is worrisome. Does yourftpuser get logged in asroot? If so, you have bigger problems.
– waltinator
Nov 21 at 16:16
No the user does not get logged in as root and in fact get chroot jailed. ls -b is a good idea..
– skyman
Nov 21 at 22:50
no - non printing characters. The home directories are on an nfs share so I guess their could be an nfs issue? ssh was also enabled - shutdown now
– skyman
Nov 21 at 22:52
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
We have a user who needs to use FTP for a specific application. For the last wee or so, really starnge files have been appearing in their account:
-rw------- 1 root root 59 Nov 21 14:59 WZOBLx
-rw------- 1 root root 108 Nov 21 14:59 x5yOLt
-rw------- 1 root root 63 Nov 21 14:59 XcwBDS
They are all of the same format. The individual files cannot be moved copied or deleted - eg
rm: cannot remove 'WZOBLx': No such file or director
I am assuming that the server has been compromised in some way (running proftp)? Any suggestions (other than not to use ftp!_
security ftp
We have a user who needs to use FTP for a specific application. For the last wee or so, really starnge files have been appearing in their account:
-rw------- 1 root root 59 Nov 21 14:59 WZOBLx
-rw------- 1 root root 108 Nov 21 14:59 x5yOLt
-rw------- 1 root root 63 Nov 21 14:59 XcwBDS
They are all of the same format. The individual files cannot be moved copied or deleted - eg
rm: cannot remove 'WZOBLx': No such file or director
I am assuming that the server has been compromised in some way (running proftp)? Any suggestions (other than not to use ftp!_
security ftp
security ftp
asked Nov 21 at 4:04
skyman
1215
1215
Check yourftplogs. Usels -bto check for non-printing characters in the filenames. the(root,root)ownership is worrisome. Does yourftpuser get logged in asroot? If so, you have bigger problems.
– waltinator
Nov 21 at 16:16
No the user does not get logged in as root and in fact get chroot jailed. ls -b is a good idea..
– skyman
Nov 21 at 22:50
no - non printing characters. The home directories are on an nfs share so I guess their could be an nfs issue? ssh was also enabled - shutdown now
– skyman
Nov 21 at 22:52
add a comment |
Check yourftplogs. Usels -bto check for non-printing characters in the filenames. the(root,root)ownership is worrisome. Does yourftpuser get logged in asroot? If so, you have bigger problems.
– waltinator
Nov 21 at 16:16
No the user does not get logged in as root and in fact get chroot jailed. ls -b is a good idea..
– skyman
Nov 21 at 22:50
no - non printing characters. The home directories are on an nfs share so I guess their could be an nfs issue? ssh was also enabled - shutdown now
– skyman
Nov 21 at 22:52
Check your
ftp logs. Use ls -b to check for non-printing characters in the filenames. the (root,root) ownership is worrisome. Does your ftp user get logged in as root? If so, you have bigger problems.– waltinator
Nov 21 at 16:16
Check your
ftp logs. Use ls -b to check for non-printing characters in the filenames. the (root,root) ownership is worrisome. Does your ftp user get logged in as root? If so, you have bigger problems.– waltinator
Nov 21 at 16:16
No the user does not get logged in as root and in fact get chroot jailed. ls -b is a good idea..
– skyman
Nov 21 at 22:50
No the user does not get logged in as root and in fact get chroot jailed. ls -b is a good idea..
– skyman
Nov 21 at 22:50
no - non printing characters. The home directories are on an nfs share so I guess their could be an nfs issue? ssh was also enabled - shutdown now
– skyman
Nov 21 at 22:52
no - non printing characters. The home directories are on an nfs share so I guess their could be an nfs issue? ssh was also enabled - shutdown now
– skyman
Nov 21 at 22:52
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1094696%2fstrange-files-on-ftp-account%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Check your
ftplogs. Usels -bto check for non-printing characters in the filenames. the(root,root)ownership is worrisome. Does yourftpuser get logged in asroot? If so, you have bigger problems.– waltinator
Nov 21 at 16:16
No the user does not get logged in as root and in fact get chroot jailed. ls -b is a good idea..
– skyman
Nov 21 at 22:50
no - non printing characters. The home directories are on an nfs share so I guess their could be an nfs issue? ssh was also enabled - shutdown now
– skyman
Nov 21 at 22:52