Skip to content
mybox Help Center

Help sections

  • Getting Started
  • Account & Billing
  • Domains & DNS
  • Hosting & Servers
  • Email
  • Security & SSL
  • WordPress & CMS
  • Grow Online
mybox.com All services operational
/

Language

  • English
  • Română
  • mybox panel
  • Webmail
Start free
/
  • Getting Started
  • Account & Billing
  • Domains & DNS
  • Hosting & Servers
  • Email
  • Security & SSL
  • WordPress & CMS
  • Grow Online
  • Help Center
  • mybox.com
  • English
  • Română
All services operational Start free
  1. Help Center
  2. Security & SSL
  3. Account & Password Security
How-to Security & SSL

FTP client – How to take care of security?

Updated October 20, 2026 2 min read
On this page
  1. How FTP Credentials Are Stolen
  2. Saved Passwords
  3. Keystroke Monitoring
  4. What Happens After Credentials Are Stolen?
  5. Recommended Security Practices
  6. Do Not Save FTP Passwords
  7. Use SFTP Instead of FTP
  8. Keep Your Computer Protected
  9. Use Strong Passwords
  10. Regularly Scan Your Website
  11. Change Passwords After a Security Incident
  12. Summary

When using FTP clients to manage your website files, it is important to follow security best practices to protect your hosting account from unauthorized access and malware infections.

Over the years, malware authors have increasingly targeted FTP users through various forms of malicious software, including:

  • Keyloggers
  • Password-stealing trojans
  • Credential harvesters
  • Automated website infection tools

These threats can infect a local computer and steal FTP credentials stored in popular FTP applications.

How FTP Credentials Are Stolen

Malware commonly obtains FTP credentials through one of the following methods:

Saved Passwords

Many FTP clients allow users to save connection details, including passwords.

Popular applications affected by this type of attack include:

  • FileZilla
  • WinSCP
  • Total Commander
  • Cyberduck
  • Other FTP/SFTP clients

If malware gains access to the computer, it may extract saved credentials directly from the application’s configuration files.

Keystroke Monitoring

Some malware acts as a keylogger and records everything typed on the keyboard, including:

  • FTP usernames
  • FTP passwords
  • Control panel logins
  • Email passwords

The captured information is then transmitted to the attacker.

What Happens After Credentials Are Stolen?

Once an attacker obtains FTP access, they may:

  • Inject malicious code into website files.
  • Modify index.php, index.html, or other core files.
  • Insert spam links.
  • Redirect visitors to malicious websites.
  • Distribute malware through your website.
  • Create backdoors for future access.

In some cases, automated malware performs these actions without any direct involvement from a human attacker.

Recommended Security Practices

Do Not Save FTP Passwords

As a security best practice, avoid storing FTP passwords in your FTP client whenever possible.

Instead:

  • Enter the password manually when connecting.
  • Disable password saving features if available.

This significantly reduces the risk of credential theft if the computer becomes infected.

Use SFTP Instead of FTP

Whenever possible, use:

SFTP (SSH File Transfer Protocol)

instead of standard FTP.

Benefits include:

  • Encrypted authentication
  • Encrypted file transfers
  • Better protection against network interception

Keep Your Computer Protected

Ensure that:

  • Your operating system is updated.
  • Antivirus software is installed and active.
  • Anti-malware protection is regularly updated.
  • Suspicious software is not installed.

Use Strong Passwords

FTP passwords should:

  • Be unique
  • Contain at least 12–16 characters
  • Include uppercase and lowercase letters
  • Include numbers and special characters

Avoid reusing passwords from other services.

Regularly Scan Your Website

Periodically review your website files for:

  • Unexpected modifications
  • Unknown PHP files
  • Suspicious redirects
  • Obfuscated code

Early detection can help prevent larger security incidents.

Change Passwords After a Security Incident

If you suspect that your computer has been infected or that your FTP credentials may have been exposed:

  1. Scan and clean the infected device.
  2. Change all FTP passwords immediately.
  3. Review website files for unauthorized changes.
  4. Update CMS software, plugins, and themes.

Summary

To improve the security of your hosting account:

  • Avoid saving FTP passwords in client applications.
  • Use SFTP whenever possible.
  • Keep your computer protected with updated security software.
  • Use strong, unique passwords.
  • Monitor your website for unauthorized modifications.
  • Change credentials immediately if a compromise is suspected.

Following these recommendations can significantly reduce the risk of website infections caused by stolen FTP credentials.

Was this article helpful?

Didn't find an answer?

Our support team is here for you 24/7 – write to us and we will help you sort it out.

Helpdesk 24/7 Open a ticket in the mybox panel mybox panel Log in and manage your services

On this page

  1. How FTP Credentials Are Stolen
  2. Saved Passwords
  3. Keystroke Monitoring
  4. What Happens After Credentials Are Stolen?
  5. Recommended Security Practices
  6. Do Not Save FTP Passwords
  7. Use SFTP Instead of FTP
  8. Keep Your Computer Protected
  9. Use Strong Passwords
  10. Regularly Scan Your Website
  11. Change Passwords After a Security Incident
  12. Summary

Related articles

All in Account & Password Security
How-to Account & Login Management How do I set up 2FA in the mybox panel? Two-factor authentication (2FA) adds a second verification step when logging in to the mybox panel. After entering your password, the panel asks… 1 min read How-to WebMail mail.mybox.com How do I set up two-step verification in Webmail? Security is a priority today, and two-step verification, which requires not only knowing and providing a password, but also a one-time code,… 2 min read How-to WebMail mail.mybox.com How to change your email password in WebMail The mailbox password can be changed directly in webmail at mail.mybox.com — without accessing the mybox panel. This is useful when the… 1 min read
mybox

Modular web hosting – free out of the box, modular to grow.

Help sections

  • Getting Started
  • Account & Billing
  • Domains & DNS
  • Hosting & Servers
  • Email
  • Security & SSL
  • WordPress & CMS
  • Grow Online

mybox

  • mybox.com
  • mybox panel
  • Webmail
  • Helpdesk 24/7
© 2026 mybox 1,680 articles