Welcome, Guest. Please login or register.
Did you miss your activation email?
June 18, 2013, 01:50:55 AM

Login with username, password and session length

668642 Posts
71102 Topics
145707 Members

Latest Member: skenney

Search:     Advanced search | Tag Cloud
+  Welcome to the Comodo Forum
|-+  Security Products & Services
| |-+  Comodo Instant Malware Analysis Online - CIMA
| | |-+  CIMA .NET
« previous next »
Pages: [1] Go Down Print
Author Topic: CIMA .NET  (Read 3044 times)
darcjrt
Malware Research Group
Comodo's Hero
*****
Offline Offline

Posts: 466



CIMA .NET
« on: February 26, 2009, 10:35:22 PM »

Does the VM running CIMA can execute .Net executables? Specifically c# framework 2.0?? As it is becoming a std on windows the .Net framework, new malware is coming out!

Shouldnt this create a suspicious file in CIMA?

using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Win32;
using System.IO;

namespace CAMAS
{
    class Program
    {
        static void Main(string[] args)
        {
            RegistryKey r = Registry.LocalMachine.CreateSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run");

            if (r != null)
            {
                r.SetValue("testApp", "c:\\sample.exe"); //this creates a new key on a startup registry key
            }

            string f = Environment.GetFolderPath(Environment.SpecialFolder.System);
            FileStream fs = new FileStream(f + "\\test.dll", FileMode.Create, FileAccess.Write); //This creates a dll file in system32
            fs.Close();
            fs.Dispose();
        }
    }
}
Logged

Best Regards,

J
Tags:
Pages: [1] Go Up Print 
« previous next »
Jump to:  

SSL Certificate Free Virus Removal Firewall
Page created in 0.05 seconds with 21 queries.
Powered by SMF 1.1.18 | SMF © 2006, Simple Machines Design by 7dana.com