Automation SoftwareAutomation Anywhere
  Home > Product > Solutions > IT Automation > T97  

T97 - Terminal Emulator Automation: Checking for malware in remote machine by looking at which programs initiate connections

Task Description

This task shows you how using Automation Anywhere, you can easily automate any type of Terminal Emulator. To see how to run the sample provided download a free trial version of Automation Anywhere and see step 10 below. This example looks at the programs on the remote machine that are making connections with the outside world, and check if any unexpected program or malware is present in the list.

Test File T97.atmn

Solutions
1 Create new task
  • Click on New -> Task Editor.
Terminal Emulator
Screenshot 1

Terminal Emulator
Screenshot 2

Terminal Emulator
Screenshot 3


Terminal Emulator
Screenshot 4

Task Editor
Screenshot 5
2 Connect to Terminal
  • Using the Terminal Emulator command, select the ‘Connect’ action.
  • Specify a Session name.
  • Specify the Host name and Terminal prompt of the remote machine to connect.
3 Wait till text ‘login’ appears on terminal screen
  • Select the ‘Terminal Emulator->Wait’ action.
  • Specify the Session name.
  • Select ‘Wait till text appears’ option in Terminal Event.
  • Specify ‘login’ as Text.
4 Send username to Terminal
  • Select the ‘Terminal Emulator->Send Text’ action.
  • Specify the Session name.
  • Specify the <username> for the remote machine as Text.
  • In ‘Wait for terminal prompt to appear’, select “Don’t Wait”.
5 Wait till text ‘password’ appears on terminal screen
  • Select the ‘Terminal Emulator->Wait’ action.
  • Specify the Session name.
  • Select ‘Wait till text appears’ option in Terminal Event.
  • Specify ‘password’ as Text.
6 Send password to Terminal
  • Select the ‘Terminal Emulator->Send Text’ action.
  • Specify the Session name.
  • Specify the <password> for the remote machine as Text.
  • In ‘Wait for terminal prompt to appear’, select ‘After sending text’.
7 Send netstat command to Terminal
  • Select the ‘Terminal Emulator->Send Text’ action.
  • Specify the Session name.
  • Specify the command ‘netstat –b’ as Text and redirect the output to a file in the shared folder of the local machine.
  • In ‘Wait for terminal prompt to appear’, select ‘After sending text’.
8 Disconnect from Terminal
  • Select the ‘Terminal Emulator->Disconnect’ action.
  • Specify the Session name.
9 Save the task.
10 How to run the task:
  • In case you do not have Automation Anywhere installed, please download and install it from, http://www.automationanywhere.com/download/freeTrial.htm
  • Copy T97.atmn to location, My Documents\Automation Anywhere\Automation Anywhere\My Tasks
  • Change remote machine name, username, password and folder name as per your computer.
  • Launch Automation Anywhere and from Task List select T97.atmn and click on RUN button to run the task.
 

Buy Now Free Trial

Next Steps
Compare versions Compare versions
Watch a flash demo Watch a flash demo
Contact me Contact me
Ask the Expert Ask the Expert
Request live demo Request live demo

Call 1-888-484-3535

Our Customers
Automation Anywhere Customers
Customer list | Case Studies

We started using this product to copy data from legacy system to new system. Now we use it just to do about anything automated. Countless hours saved. Thank you guys.
- Jack Greenberg

Read Customer Testimonies >>
  Products     Download     Purchase     Services     Support     Customers     Company     Sitemap     Trademark FacebookTwitterAutomation Anywhere Blog © Automation Anywhere, Inc. 2012 Privacy Policy
Automation Anywhere Call: 1-888-484-3535 x1   

Automation Software - Free Trial Automation Software - Buy Now