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 itarian 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

How to add script analysis to a profile to detect suspicious code and autoruns

Release Time

Click ‘Configuration Templates’ > ‘Profiles’ > open a Windows profile > Click ‘Add Section’ > ‘Script Analysis’

  • Script analysis improves endpoint protection by analyzing the code of a program to detect zero-day and file-less malware.

    Comodo Client Security (CCS) uses the following two methods to analyze code:
    • Heuristic command line analysis -  Identifies files which have virus-like attributes. This lets CCS detect new, previously unknown malware.
    • Embedded Code Detection – Detects non-compiled, file-less code loaded to your system memory. File-less malware allows malicious actors to directly execute commands on your system.
    • See the background infromation at the end of this section if you want to know more about these technologies.
  • This article explains how to add a script analysis section to a profile.

Add script analysis to a profile

Configure script analysis

Background information

Add script analysis to a profile

  • Login to ITarian
  • Click 'Applications' > 'Endpoint Manager'
  • Click 'Configuration Templates' > 'Profiles'
  • Click the ‘Profiles’ tab
  • Open the Windows profile applied to your target devices
    • Open the 'Script Analysis' tab

    • Click 'Add Profile Section' > 'Script Analysis', if it hasn't yet been added
  • Enable script analysis under the 'General Settings' tab
  • Click 'Save'


Configure script analysis

The script analysis screen has three tabs:

  • General Settings - Enable script analysis and set the maximum file size which should be checked.
  • Runtime Detection - Select which programs are monitored.
  • Autoruns Scan - Choose programs that you want to monitor to see if they make changes to auto-run entries, Windows services and scheduled tasks.

General Settings


  • Perform Script Analysis - Enable/Disable script analysis. An alert is generated if malicious code is found in any item. (Default = Enabled)
  • Limit the total size of saved detected scripts to - CCS stores scripts run by managed applications for analysis. This option lets you specify the total size of stored scripts. When the set limit is reached, the older scripts are deleted automatically. (Default = 100 KB)

Runtime Detection

  • Lets you select executables which should be analyzed throughout their runtime.
  • You can also add custom applications that you want to protect.

    • Use the switch in the 'Heuristic Command-Line Analysis' column to enable/disable heuristic command line analysis for each application.
    • Use the switch in the 'Embedded Code Detection' column to enable/disable embedded code detection for each application.
  • Click 'Add'  to include a new application:

    • Enter the name of the application in the 'Add Application' dialog and click 'Add'.
    • Repeat the process to add more applications
  • Click 'OK' to apply your changes.

Autoruns Scan

  • Select applications which should be monitored in case they make changes to autoruns, Windows services or scheduled tasks.
  • You can also add custom applications which you want to monitor.
  • Click the 'Autoruns Scan' tab

    • Use the switch in the 'Heuristic Command-Line Analysis' column to enable/disable heuristic command-line analysis for each application.
    • Use the switch in the 'Embedded Code Detection' column to enable/disable embedded code detection for each application.
  • Click 'Add' to include a new application:

    • Enter the name of the application then click 'Add'.
    • Repeat the process to add more applications
  • To reset the list to the default list of applications, click 'Reset to Default' on the top
  • Click 'OK' to apply your changes.

Background information

Heuristic command line analysis:

  • Heuristic analysis helps identify new malware by inspecting a file’s code to see if it contains code typical of a virus.
  • The system detects files that have ‘virus-like’ attributes, instead of looking for a signature that matches a signature on the blacklist.
  • This allows the engine to predict new viruses - even if they are not in the current virus database.

Embedded code detection:

There are two types of executable programs:

  • Compiled - These programs can execute on their own. Examples include .exe and .dll files.
  • Non-compiled - These are scripts which require an interpreter program to execute them. For example, Powershell scripts (.ps1) are interpreted and executed by the Powershell program.

Embedded code detection protects you against attacks from non-compiled malware (also known as file-less malware).

  • File-less malware attacks allow hackers to directly execute powershell commands on your system.
  • These commands can be used to take control of endpoints, install ransomware, steal confidential data and more.
  • File-less scripts reside in memory, so no trace of them remains after the computer is restarted.
  • Example programs affected by these attacks are wscript.exe, cmd.exe, java.exe and javaw.exe.
  • For example, the program wscript.exe can be made to execute visual basic scripts (.vbs files) via a command similar to 'wscript.exe c:/tests/test.vbs'. When script analysis is enabled, CCS detects c:/tests/test.vbs from the command-line and applies all security checks to this file.