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

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

Release Time
02/15/2019
Views
none
Categories
profiles
Tags

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.

    Xcitium Client Security (XCS) uses the following two methods to analyze code:
     
    • Heuristic command line analysis -  Identifies files that have virus-like attributes. This lets XCS 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

      OR
       
    • 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:

  • 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 - XCS 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 that 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 Script Analysis > Autoruns scans > Exclusions
     
  • Select an application in which you need to add an exclusion 
     
  • Click 'Add', Enter a regex, and click 'Ok' to save your changes


 

  • This feature will exclude and log the command line detected by script analysis by defining a regular expression.
  • For ex: If a malware script in the comment statement contains something that matches exclusion, that will be vulnerable and launched. This functionality will allow for the creation of malware that is focused on XCS.
     
  • To delete the added regex click the delete icon, and then the selected regular expression will be removed.
     
  • 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 that should be monitored if they make changes to autoruns, Windows services or scheduled tasks.
     
  • You can also add custom applications that 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 Script Analysis > Autoruns Scans > Exclusions
     
  • Select an application to which you need to add an exclusion 
     
  • Click 'Add' .Enter a regex, and click 'Ok' to save your changes

 

  • You can exclude and log the command line detected by script analysis by defining a regular expression. The detected but excluded items shall be able to log as 'ignored'.
  • Click ‘Add’ to enter a new regular expression.

To delete the added regex click the delete icon, and then the selected regular expression will be removed.

  • 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 that 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 execute PowerShell commands on your system directly.
     
  • 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 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, XCS detects c:/tests/test.vbs from the command line and applies all security checks to this file.