Solved

Program to monitor activities of another application

Posted on 2011-03-24
16
372 Views
Last Modified: 2012-05-11
We need to check a certain application and make sure its not going to unauthorized folders.  

Is there an application that we can run, have in memory, and see what X application is accessing what folder?

We need something like SQL Profiler but for application to monitor the folder it visits.
0
Comment
Question by:rayluvs
  • 7
  • 3
  • 3
  • +2
16 Comments
 
LVL 10

Accepted Solution

by:
abbright earned 250 total points
Comment Utility
You can use diskmon to monitor disk accesses of a program: http://msdn.microsoft.com/en-us/library/bb896646.aspx
0
 
LVL 3

Expert Comment

by:Josef Al-Chacar
Comment Utility
Get COMODO fire wall free edition it monitors all programs that try to to anything . If you set it to paranoid protection level. If you set the level to lower it will monitor less programs

It will ask you if you want to let the program do what it wants to.
0
 

Author Comment

by:rayluvs
Comment Utility
Two things:

   1.  It seems that it doesn't monitor a specific program, it looks that it monitors all read/access.  

         Can we configure to monitor one apps?

    2.  Can we configure to display the path & files is accessing?
          (it seems it uses sectors)
0
 
LVL 3

Expert Comment

by:Josef Al-Chacar
Comment Utility
You can mark files as unrecognized so it monitors those files. Also you can sandbox files which means you can run programs in a virtual environment and if they cause problems you can remove them with no damage to your computer.
0
 

Author Comment

by:rayluvs
Comment Utility
josefah:

  I have used COMODO as a firewall for long time.   I checked the software but where do I tell to monitor
  a specific program?
0
 
LVL 3

Expert Comment

by:Josef Al-Chacar
Comment Utility
Yeah i only know how to restrict certain programs. I recommend setting defense plus to paranoid mode then run your program and it will then show what it is trying to access. Yes it will show other stuff too but the end result will be the same.

Something else you could use but would be kind of overkill would be dependency walker. You can select certain files and it tells you exactly what other files it depends on to run. That may point you in the right direction.  
0
 

Author Comment

by:rayluvs
Comment Utility
Ok... let me say that what we need is to monitor only one application.  Can I do this with Comodo?

Also, what is "dependency walker"?
0
 
LVL 2

Expert Comment

by:Hapexamendios
Comment Utility
Dependancy walker is a development tool which would show you all dependencies for a particular binary - e.g. all the DLL files a program uses.

Might or might not be useful here.

Try this instead:

Download Sysinternals Suite from http://technet.microsoft.com/en-us/sysinternals/bb842062
Unzip the contents to any folder you like
Locate and run Process Monitor
(When I launch mine, it launches the "Filter" editor by default - you may need to start teh Filter editor manually byu going to the Filter menu, and selecting "Filter..."
In the left drop-down, select "Path", then leave the operator at "is", and enter the path you want to monitor

"Simples", as they say :)

HTH - ping back if not...
0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 

Author Comment

by:rayluvs
Comment Utility
True, Dependancy walker is not useful; I need to see what folders or files the application hits.  I'll download your link and give it a try.
0
 
LVL 53

Expert Comment

by:McKnife
Comment Utility
You could use NTFS auditing to see if anyone (or any process) accesses that folder. However, auditing will not prevent processes from doing so.
0
 

Author Comment

by:rayluvs
Comment Utility
Yes, ok interestimg... where do I find this?
0
 
LVL 53

Assisted Solution

by:McKnife
McKnife earned 250 total points
Comment Utility
Right where you set the NTFS permissions. Rightclick the folder - properties - security - advanced - auditing ->setup auditing there. That's only the first half. The second half is here: open secpol.msc - loc. policies - audit policy - audit object access. Done.

Now any sort of access you configured to audit on that folder will be logged to the security event log (open eventvwr).
0
 

Author Comment

by:rayluvs
Comment Utility
Thanx
0
 

Author Closing Comment

by:rayluvs
Comment Utility
Thanx
0
 
LVL 53

Expert Comment

by:McKnife
Comment Utility
I really wonder how diskmon has helped you with that task. It does not show processes nor folder activity - or how do we use it right, abbright?
0
 
LVL 10

Expert Comment

by:abbright
Comment Utility
Looks like I had something wrong here, sorry. The tool I meant was "filemon" rather than "diskmon": http://en.wikipedia.org/wiki/FileMon. This has been incorporated into sysinternal's process monitor: http://technet.microsoft.com/en-us/sysinternals/bb896645.
I'm really sorry for the confusion.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

It’s a strangely common occurrence that when you send someone their login details for a system, they can’t get in. This article will help you understand why it happens, and what you can do about it.
Big data transfers via information superhighways require special attention and protection. Learn more about the IT-regulations of the country where your server is located. Analyze cloud providers and their encryption systems for safe data transit. S…
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now