• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Is /var/www/vhosts/<domain>/.pki a plesk directory?

raytracy

Basic Pleskian
(CentOS 7.4 + Plesk Onyx 17.5)

We are investigating a Plesk website intrusion incident, and find that some of our /var/www/vhosts/<domain> has a newly created .pki directory, but some domain has not.

We don't know the purpose of .pki directory and would like to know does it related to Plesk?
Or it put by intruder from outside?

We try to delete it and created a read only file with same name (chmod 000 and chattr +i to it), but found that the file we created has been deleted within 24hr, and the .pki become a directory again....

We find the .pki by following command:
find /var/www/vhosts/ -maxdepth 2 -type d -name .pki -print | xargs stat

The stat of .pki directory looks like:

File: ‘/var/www/vhosts/<domain>/.pki’
Size: 19 Blocks: 0 IO Block: 4096 directory
Device: fd02h/64770d Inode: 67277663 Links: 3
Access: (0740/drwxr-----) Uid: (10001/clientuseradm) Gid: ( 1004/ psacln)
Context: system_u: object_r:httpd_sys_content_t:s0
Access: 2018-05-13 18:42:59.366486763 +0800
Modify: 2017-11-15 08:52:49.656936014 +0800
Change: 2017-11-15 08:52:49.656936014 +0800
Birth: -
 
Last edited:
.pki is something like "package installer" and is a directory that appears whenever you choose the application archive to install an application like Wordpress, Joomla, Drupal or any others from there. It is a safe directory and can be left where it is.
 
Back
Top