Tags
Xcitium Client Security (XCS) what test Remote Control by ITarian RDS Server RDS EDR AEP csv access scope Comodo dialog box Windows UAC user access rights verification phone number password reset security code forgot password Android threat history generates alert lock device Android devices Mac OS devices mobile devices passcode Lock log SIEM log forwarding log storage log storage settings scan profile Parental control FLS file-lookup server internet access rights Real-time scan default profiles pre-configured profiles pre-defined profiles customize profile clone profile Clone unknown MAC profile Linux profile cloud-based service Maintenance Window maintenance analysis tool UFH check policy test policy Virtual Appliances DNS Resolver register invite graphs Dynamic IP Dome shield Integration O365 Comodo Office 365 removal tool CCS removal tool Comodo Secure Email Gateway subscriptions service Dome Antispam Valkyrie report info web Comodo SWG tutorial policy DLP PAC file iboss Bluecoat Websense Comodo Dome ICAP Dome Agent traffic URL C1 account SWG portal SSL Encrypted Traffic Dome Cloud enable widget chart endpoint dashboard file groups Rules exceptions Wi-Fi networks Wi-Fi setup security restrictions iCloud auto containment containment settings virtual file system sandbox environment client access control local configuration Comodo Client Security Rebranding Communication Client Rebranding security client re-brand Comodo Clients application rules global rules Portsets port sets Firewall ruleset rule set rulesets global proxy server global proxy antivirus settings Client Proxy remote control tool Firewall protection firewall settings configuration file export profile PowerShell VBS script Windows Standard Account Endpoint Manager Client Communication (EMCC) server security clients updates vulnerable security patches installed Client Communication Communication Client (CC) submission Communication Client tray icon script OS Patch Third Party Patch Installation Uninstallation Discovery additional package External Device Control external ITarian remote Windows device apps signed-in logged-in identify License wizard on-boarding local Comodo Client Security Mac devices Linux devices MSP customers EM profile Mac OS profile MAC OS X device user device configuration profile copy invoice enrollment Logging Settings SIEM tool external server Account Security mobile console EM device owners ownership remove MAC third party application remote uninstallation software inventory duplicate Name Master Image Golden Image Bulk Installation Package Windows Operating Systems summary information local time External IP address OS summary Devices list MDM profile iOS push certificate create APNs Apple account portal APN Apple Push Notification search bar filter options customer device group group membership managed device trust rating old duplicates removal device name MAC address MSP (Managed Service Provider) Versions Marketing & Sales Customer Relationship Management (CRM) Enroll New Device New Ticket quick actions bar release notes security status activity status profile status Sales funnel Secure Internet Gateway application launch Two factor Time zone Language Lockout time Change Password tokens device enrollment User Groups Manage Profiles User List Management customer report customer assessment customers End-User forms auto response attachments time entry address support User Directory scripts Knowledgebase canned Banlist announcements Hostname mail delivery CommandLine Power Shell PowerShell interface File Explorer Commands Interface Remote devices Remote Tools Paranoid Mode Training Mode Custom Ruleset Safe Mode The charging flow edit contracts Charging Flowchart Global Asset Rates Charging Plans Contracts charges calculated Remove role Edit a role staff interface Exclusions data loss prevention (DLP) network discoveries ITarian Remote Access Tool Tarian Remote Access Tool inactive devices Device removal settings Portal Set-up Malware File Name Security Sub-System communication client UI settings Communication Client Tray remove a department ticket submission configure department synchronize department submit ticket distributing Bandwidths client updates device management Bandwidth conservation malware activity virus scope autoruns Proxy servers fallback flag Inactive discovered devices SNMP Apple Device Enrollment Program set up service explorer manually deploy Comodo EDR agent parent process multiple ticket selection selected tickets security events folder transfer discoveries network management remote folder TLS TLS1.2 pci dss pci compliance ITarian Portal Endpoint Manager vdi environment vdi clone environment instant clone documentation vendor notice security dashboard events resolution remote tool partner onboard unknown file hunter TLS Encryption procedure parameters pass profiles history performance metrics real time remote endpoints download browse service URL Security Components system Global Software Inventory 2 minutes Integrate intagrate Active Directory Portable Interception SSL enable reporting Rule Threat Protection Rule Advance spam Customize archived outgoing incoming administrator validate domains add Antispam type PCI data loss Location Network information start software session extensions appoinments resource connection computers Comodo Rescue Disk infected opportunity opportunities custom relationship management quote COMODO-CRM protect mac device email notifications registry COM Quarantined point system restore msi contained applications processes security client events Release date department registration particular os section Two Factor Authentication Login interface dashboard report generate Direct Download Link One drive Google drive HIPS mode cleanup automatic suspicious suspicious certificates shellcode injection detect Elevated Access system user access default charging groups move current malware list store push IP address ip installer acronis auto-remediation server machine icon Product Logos rebrand backup Device Control data Chromoting WebRTC ports Protocol skip offline manual time entries ticket assignee Help Guide Tour schedule Reschedule appointment unknown application protection Virtual Desktop Local Verdict server manage calculation cost configuration charging SD contract prepaid hours products classification inventory analyze Device list OS patches global search bar Tool bar Windows Defender Security Center file group white Citrix record SPF work billable time onsite email template template variables emails Gmail SMTP disable Add collaborators admin action Audit logs feature requests submit vote remotely Reset proxy swg secure web gateway dome error disk ticket detail page thread section tickets section internal notes Sub-help topic help topic features Application control white_list Patch Management child parent scheduled customized get to headers columns company restrict customer technician remote access list iOS devices field Reports iOS device APN Certificate MAC OS X options Linux block Comodo Client Communication (CCC) allow Comodo Client Security (CCS) network zones active component tray icon hide show packages additional install block port baseline installation package bulk implement restrict firewall endpoints security and communication global export virus import Database folders files define exclusions change staff admin rating check reassign assign permissions new role create for user of device enroll associated use how profile specific Removing Devices Uninstall windows profile Configuration templates latest version clients comodo file ratings monitoring custom All Devices Ratings Track widgets Agent valkyrie malware files Kill chain report automated establishing endpoint remote session Users prevent Android organization windows assets Mac OS billing identified threats Sort Closed inside Program executed containment service desk remote control Locally runs update scan antivirus SLA Business Hours control CCS Password access Client Auto Specific Device Response Application Third party Status View Logs intended devices alert fails Company Information Configure Verdict Patch Procedures Executable Comodo Internet Security ITSM Analysis Command Line Heuristic Filter Unrecognized Trusted File Rate Malicious Purge Calendar Device Exclusion USB Admin Panel Settings ticket Default system-wide Specific Path Details Monitor Multi Set Currency Connected Who Quick Actions Comparison Version Enterprise Managed Service Provider C1 Portal Remote management Comodo Remote Control ticket management staff panel assign tickets
More

Endpoint Manager Client Communication (EMCC) installation under Windows Standard Account

Summary

This article will describe how to Install Endpoint Manager Communication Client on a Windows system using a user account with windows standard(limited) privileges.

An application can be installed under a windows standard user if the administrative privileges are provided.

Considering this ability, the process can be automated using a script and the command RUNAS:

https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/cc771525(v=ws.11)

The inconvenience with this solution is that if we use this command in a script, we will have to provide the administrative password in clear text. A solution to overcome this trouble is to encrypt the password, meaning we can use PowerShell Get-Credential cmdlet, create an AES encryption key and encrypt the password with this key. Therefore when all this is integrated into a script the administrative password is no longer in used in plain text.

To make the solution even easier to use we can go one step further and use iexpress or winrar or any other application to create from all files an .exe file and uploaded to a cloud location like google drive.

The user can receive an email with the google drive link download the .exe file and install the Endpoint Manager Communication Client on his endpoint under his standard user account.

Requirements:

  • A windows 10 lab machine
     
  • A window administrative account and password with administrative privileges (local or domain)
     
  • A standard user account (limited privileges, no install privileges)
     
  • iexpress or winrar

Recommendations:

At the end of the deployment change the password for the used user account with administrative privileges (local or domain).

Remove the install package from the public link.

Summary of the steps to generate the .exe install package:

Step 1: Create a device group in EM for the deployment

Step 2: Generate from EM portal the Endpoint Manager Communication Client msi file that will be used for this project

Step 3: Encrypt the password for the Administrator account that you want to use, using the PowerShell script

Step 4: Update and test the VBS script

Step 5: Concatenate all the files and generate an .exe file – our example using iexpress

To create this article all the tests were done on Windows 10 and Windows 7.

 


 

Step 1: Create a device group in EM portal for the deployment

Open Endpoint Manager > Create a device group for the clone machines > Associate a profile with the device group:

  • Open Endpoint Manager
     
  • Click ‘Applications’ > ‘Devices’ > ‘Device List’
     
    • Choose a target company if you are using the MSP version
       
  • Click the ‘Group Management’ tab
     
  • Click the ‘Create Group’ button:


 

  • Enter a label for the new group
     
  • Click 'Add'. The new group is created.

Next, associate the profile you want to use on the clones with your new group:

  • Click ‘Devices’ > ‘Device List’
     
  • Click the ‘Group Management’ tab
     
  • Click on the name of the group you just created. In our example, ‘TestUserInstall’
     
  • Click the ‘Manage Profiles’ button then ‘Add Profiles’


 

Step 2: Create an Endpoint Manager Communication Client install msi file that will be used for this project

  • The Endpoint Manager Communication Client auto-enrols the endpoint to your new device group.
     
  • This means the enrolled endpoints will receive the configuration profile you associated with the group in Step 1.
     
  • Each installer package is uniquely generated for your environment. Do not change the filename of the package as it is vital for enrolling the endpoints to the correct device group.

Create a CC installation package:

  • Click ‘Devices’ > ‘Device List’ > ‘Bulk Installation Package’
     
  • This opens the installer config Screen:


 

  • Complete the details as follows:
     
    • User - The user with whom the package is associated. By default, this is the admin who is currently logged-in. You can change the user if required.
       
    • Customer - MSPs only. Choose the company on whose behalf you want to create the installer.
       
    • Device Group - Type the name of the group you created in step 1. In our example, this is ‘TestUserInstall’.
       
    • Operating system - Choose the OS of the target endpoints
       
    • Package options - Leave only ‘Communication client selected’. Don’t select ‘Comodo Client – Security’
       
    • Restart / UI options - Leave at defaults
       
  • Scroll down and click the ‘Download Installer’ button.
  • Save the file to your local machine
     


Reminder:

Do NOT rename the .msi in any way. Doing so will mean the endpoints won’t get enrolled/added to the correct device group. You may ignore/close the ‘Auto Discovery and Deployment Tool’ pop-up. 


Step 3: Encrypt the password for the Administrator account that you want to use using the PowerShell script

You will have something similar to this:


 

Start running the EncryptKey.ps1 script
 

 


Note:

https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7

If the PowerShell execution policies are on the default value, you will be asked to change it in order to be able to run a PowerShell script.


Once the script will run you will be asked to provide credential

AD credential example:
 


Or if you use Local account; example:
 


After you provide the credentials a new folder will be created on the same folder level with the name passwords
 


Inside this folder, you will have two files:

  • aes.key
     
  • password.txt
     


 

If you look inside of these files you will see that everything is encrypted:
 

 


 

Please copy paste these two files on your working directory:
 


 

Step 4: Update and test the VBS script
 


Note:

Why we use a vbs script and not a PowerShell script to trigger the install?

By default in Windows Powershell scripts are disabled on the operating systems:

https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7

To overcome this, the following vbs script will send multiple PowerShell commands, therefore we do not use a script.

 

Please edit the InstallFileEncryptKey.vbs file and the first two lines with your information
 


Now you are ready to make the first test.

You can copy the 4 files to a test endpoint

For this test first please use a windows standard user, to confirm the limited privileges. Please try to install the Endpoint Manager Communication Client using the .msi file.

You will receive the following pop-up:
 


 

After you have confirmed that using your current user, you don’t have the right to install an application, please run the InstallFileEncryptKey.vbs file.
 


A PowerShell window will pop-up and at the end, the Endpoint Manager Communication Client will be installed.
 

 


 

Step 5: Concatenate all the files and generate an .exe install file – our example using iexpress
 


Note:

You need to use the iexpress on a windows 10 machine.

If you create the .exe file using the iexpress from a windows 7 machine, the final exe package will not work on Windows 10 systems.

 

To start, open iexpress on your machine:
 


 

Choose “Create new Self Extraction Directive file” and click Next.
 

   
 

Select “Extract files and run an installation command” and click Next.
 

         

           
Please provide a Package Title and click Next.
 

 

           

Select “No prompt” and click Next.
 

 

Select “Do not display a license” and click Next.
 


Please add the 4 files from your working directory and click next.
 


On the Install Program section please use this command:

c:\windows\system32\cscript.exe InstallFileEncryptKey.vbs
 

Select “Hidden” and click Next.
 


 

Select “No message“ and click Next.
 


 

Browse and select where to save the .exe file.

Check the boxes for “Hide File Extracting Progress Animation from User” and “Store files using Long File Name inside Package”.

Please continue by clicking Next.


 

Select “No restart” and click Next.
 


 

Select “Don’t save” and click Next.
 


 

Click Next.
 

 

 


At the end click Finish.


Now please test the .exe file as you have done on Step 4
 


 

Once your test is a success, you can share the generated .exe file with your users and they can use it to install Endpoint Manager Communication Client under their windows standard account.
 


Recommendations:

At the end of the deployment change the password for the used user account with administrative privileges (local or domain).

Remove the install package from the public link.