Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.comp.os.windows-10 > #97683 > unrolled thread

how do I trace back who triggered open with?

Started byT <T@invalid.invalid>
First post2019-09-06 17:42 -0700
Last post2019-09-10 18:39 -0700
Articles 10 — 4 participants

Back to article view | Back to alt.comp.os.windows-10


Contents

  how do I trace back who triggered open with? T <T@invalid.invalid> - 2019-09-06 17:42 -0700
    Re: how do I trace back who triggered open with? Paul <nospam@needed.invalid> - 2019-09-06 21:05 -0400
      Re: how do I trace back who triggered open with? T <T@invalid.invalid> - 2019-09-06 18:54 -0700
        Re: how do I trace back who triggered open with? Philip Herlihy <thiswillbounceback@you.com> - 2019-09-07 10:40 +0100
          Re: how do I trace back who triggered open with? T <T@invalid.invalid> - 2019-09-07 14:04 -0700
            Re: how do I trace back who triggered open with? Philip Herlihy <thiswillbounceback@you.com> - 2019-09-08 13:28 +0100
              Re: how do I trace back who triggered open with? T <T@invalid.invalid> - 2019-09-08 17:02 -0700
        MANUALLY tell Win10 to open .VBS files using "CScript". Jeff-Relf.Me  @. - 2019-09-07 06:27 -0700
          Re: MANUALLY tell Win10 to open .VBS files using "CScript". T <T@invalid.invalid> - 2019-09-07 13:20 -0700
    Re: how do I trace back who triggered open with? T <T@invalid.invalid> - 2019-09-10 18:39 -0700

#97683 — how do I trace back who triggered open with?

FromT <T@invalid.invalid>
Date2019-09-06 17:42 -0700
Subjecthow do I trace back who triggered open with?
Message-ID<qkuude$4gm$1@dont-email.me>
Hi All,

W10

I am not having much luck with google here.

I have a potential new customer that keeps getting
a pop up every five seconds from Windows asking her
what program to open ".vbs" with.  (I smell
a virus.)

I look at her task manager and other than having
junkware and multiple anti viruses, I could not locate
who was doing it.  I also checked her "run" lines
(both run and run once, all four places) in her
registry and her start menu start up directory.
Plus, I clean out her *.tmp files.  I also had about
8 minutes on her machine before I had to go.

The pop up will let me choose another program.
Is there a diagnostic program that will tell me who
is doing the calling?

Any other suggestions on how to trace this thing back?

Many thanks,
-T


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
When we ask for advice, we are usually looking for an accomplice.
    --  Charles Varlet de La Grange
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[toc] | [next] | [standalone]


#97686

FromPaul <nospam@needed.invalid>
Date2019-09-06 21:05 -0400
Message-ID<qkuvp6$abi$1@dont-email.me>
In reply to#97683
T wrote:
> Hi All,
> 
> W10
> 
> I am not having much luck with google here.
> 
> I have a potential new customer that keeps getting
> a pop up every five seconds from Windows asking her
> what program to open ".vbs" with.  (I smell
> a virus.)
> 
> I look at her task manager and other than having
> junkware and multiple anti viruses, I could not locate
> who was doing it.  I also checked her "run" lines
> (both run and run once, all four places) in her
> registry and her start menu start up directory.
> Plus, I clean out her *.tmp files.  I also had about
> 8 minutes on her machine before I had to go.
> 
> The pop up will let me choose another program.
> Is there a diagnostic program that will tell me who
> is doing the calling?
> 
> Any other suggestions on how to trace this thing back?
> 
> Many thanks,
> -T

If the search indexer is indexing the entire disk,
you might be able to spot the .vbs file with
File Explorer and

    ext:vbs

Since the USN journal keeps track of newly created files,
the Indexer pretty well immediately indexes the file content
and adds it to Windows.edb.

Of course, no one has their entire C: indexed, due to the
ugly design of the selection dialog, so it's not like
the computer is set up to your advantage.

*******

You can try Sysinternals Process Monitor. But I couldn't tell
you what part of the OS loads a file like that. Is it explorer.exe ?
Would the call be "Operation" "Is" "ReadFile" or
"Operation" "Is" "Createfile" ? Sometimes even readfile operations
involve a createfile, so you need to filter for both to
get some ideas.

I don't know right off hand, how I would simulate that and
get a better idea of what to look for in Process Monitor. I
suppose you could implant a .vbs on your own Technician Machine
and watch what happens when you double click it.

It could also be something in Task Scheduler which has
lost its mind (or its script collection), due to a
user-initiated "injury".

So what opens a file, without knowing how to open it.
That sounds like Explorer.exe to me. But why is that
happening. I think you can pass a directory to
Explorer

    explorer.exe C:\home\todd

but can you do that with a file ???

Why wouldn't you just do

    cscript C:\some-evil.vbs

How did Explorer.exe get tricked into this ?
A ShellExt gone wrong ? It sounds more like
a side-effect of something the user did, rather
than a "well planned caper".

   Paul

[toc] | [prev] | [next] | [standalone]


#97692

FromT <T@invalid.invalid>
Date2019-09-06 18:54 -0700
Message-ID<qkv2lg$nd3$1@dont-email.me>
In reply to#97686
On 9/6/19 6:05 PM, Paul wrote:
> T wrote:
>> Hi All,
>>
>> W10
>>
>> I am not having much luck with google here.
>>
>> I have a potential new customer that keeps getting
>> a pop up every five seconds from Windows asking her
>> what program to open ".vbs" with.  (I smell
>> a virus.)
>>
>> I look at her task manager and other than having
>> junkware and multiple anti viruses, I could not locate
>> who was doing it.  I also checked her "run" lines
>> (both run and run once, all four places) in her
>> registry and her start menu start up directory.
>> Plus, I clean out her *.tmp files.  I also had about
>> 8 minutes on her machine before I had to go.
>>
>> The pop up will let me choose another program.
>> Is there a diagnostic program that will tell me who
>> is doing the calling?
>>
>> Any other suggestions on how to trace this thing back?
>>
>> Many thanks,
>> -T
> 
> If the search indexer is indexing the entire disk,
> you might be able to spot the .vbs file with
> File Explorer and
> 
>     ext:vbs
> 
> Since the USN journal keeps track of newly created files,
> the Indexer pretty well immediately indexes the file content
> and adds it to Windows.edb.
> 
> Of course, no one has their entire C: indexed, due to the
> ugly design of the selection dialog, so it's not like
> the computer is set up to your advantage.
> 
> *******
> 
> You can try Sysinternals Process Monitor. But I couldn't tell
> you what part of the OS loads a file like that. Is it explorer.exe ?
> Would the call be "Operation" "Is" "ReadFile" or
> "Operation" "Is" "Createfile" ? Sometimes even readfile operations
> involve a createfile, so you need to filter for both to
> get some ideas.
> 
> I don't know right off hand, how I would simulate that and
> get a better idea of what to look for in Process Monitor. I
> suppose you could implant a .vbs on your own Technician Machine
> and watch what happens when you double click it.
> 
> It could also be something in Task Scheduler which has
> lost its mind (or its script collection), due to a
> user-initiated "injury".
> 
> So what opens a file, without knowing how to open it.
> That sounds like Explorer.exe to me. But why is that
> happening. I think you can pass a directory to
> Explorer
> 
>     explorer.exe C:\home\todd
> 
> but can you do that with a file ???
> 
> Why wouldn't you just do
> 
>     cscript C:\some-evil.vbs
> 
> How did Explorer.exe get tricked into this ?
> A ShellExt gone wrong ? It sounds more like
> a side-effect of something the user did, rather
> than a "well planned caper".
> 
>    Paul

Hi Paul,

Thank you!

I hope she call me in, I love a mystery!

A new revision of Process Explorer hit today too.
First step would be to run open processes though
Virus Total with Process Explorer.  And I could always
start killing  stuff until the pop up went away.

Also, put her in safe mode to see it if goes away.

I told her I wouldn't charge her if I could not
get it fixed.  Suppose the second step would be to
boot off my ESET Live USB and scan her.  Then whack
her junkware.

First though, as you mentioned, it could be a program
she is running (she auto starts one of them), so exit
EVERYTHING and see if it comes back.

"some-evil.vbs".  Still chuckling.  :-)

Oh, a clue, if you click anywere on the screen when the
pop up is there, the pop up disappears for five seconds.
I don't remember Windows Run Aa doing that.  It just go
out of focus.

Thank you for the help!

-T

[toc] | [prev] | [next] | [standalone]


#97713

FromPhilip Herlihy <thiswillbounceback@you.com>
Date2019-09-07 10:40 +0100
Message-ID<MPG.37dd8b4e4568ffdb989856@news.eternal-september.org>
In reply to#97692
In article <qkv2lg$nd3$1@dont-email.me>, T@invalid.invalid says...
> 
> On 9/6/19 6:05 PM, Paul wrote:
> > T wrote:
> >> Hi All,
> >>
> >> W10
> >>
> >> I am not having much luck with google here.
> >>
> >> I have a potential new customer that keeps getting
> >> a pop up every five seconds from Windows asking her
> >> what program to open ".vbs" with.  (I smell
> >> a virus.)
> >>
> >> I look at her task manager and other than having
> >> junkware and multiple anti viruses, I could not locate
> >> who was doing it.  I also checked her "run" lines
> >> (both run and run once, all four places) in her
> >> registry and her start menu start up directory.
> >> Plus, I clean out her *.tmp files.  I also had about
> >> 8 minutes on her machine before I had to go.
> >>
> >> The pop up will let me choose another program.
> >> Is there a diagnostic program that will tell me who
> >> is doing the calling?
> >>
> >> Any other suggestions on how to trace this thing back?
> >>
> >> Many thanks,
> >> -T
> > 
> > If the search indexer is indexing the entire disk,
> > you might be able to spot the .vbs file with
> > File Explorer and
> > 
> >     ext:vbs
> > 
> > Since the USN journal keeps track of newly created files,
> > the Indexer pretty well immediately indexes the file content
> > and adds it to Windows.edb.
> > 
> > Of course, no one has their entire C: indexed, due to the
> > ugly design of the selection dialog, so it's not like
> > the computer is set up to your advantage.
> > 
> > *******
> > 
> > You can try Sysinternals Process Monitor. But I couldn't tell
> > you what part of the OS loads a file like that. Is it explorer.exe ?
> > Would the call be "Operation" "Is" "ReadFile" or
> > "Operation" "Is" "Createfile" ? Sometimes even readfile operations
> > involve a createfile, so you need to filter for both to
> > get some ideas.
> > 
> > I don't know right off hand, how I would simulate that and
> > get a better idea of what to look for in Process Monitor. I
> > suppose you could implant a .vbs on your own Technician Machine
> > and watch what happens when you double click it.
> > 
> > It could also be something in Task Scheduler which has
> > lost its mind (or its script collection), due to a
> > user-initiated "injury".
> > 
> > So what opens a file, without knowing how to open it.
> > That sounds like Explorer.exe to me. But why is that
> > happening. I think you can pass a directory to
> > Explorer
> > 
> >     explorer.exe C:\home\todd
> > 
> > but can you do that with a file ???
> > 
> > Why wouldn't you just do
> > 
> >     cscript C:\some-evil.vbs
> > 
> > How did Explorer.exe get tricked into this ?
> > A ShellExt gone wrong ? It sounds more like
> > a side-effect of something the user did, rather
> > than a "well planned caper".
> > 
> >    Paul
> 
> Hi Paul,
> 
> Thank you!
> 
> I hope she call me in, I love a mystery!
> 
> A new revision of Process Explorer hit today too.
> First step would be to run open processes though
> Virus Total with Process Explorer.  And I could always
> start killing  stuff until the pop up went away.
> 
> Also, put her in safe mode to see it if goes away.
> 
> I told her I wouldn't charge her if I could not
> get it fixed.  Suppose the second step would be to
> boot off my ESET Live USB and scan her.  Then whack
> her junkware.
> 
> First though, as you mentioned, it could be a program
> she is running (she auto starts one of them), so exit
> EVERYTHING and see if it comes back.
> 
> "some-evil.vbs".  Still chuckling.  :-)
> 
> Oh, a clue, if you click anywere on the screen when the
> pop up is there, the pop up disappears for five seconds.
> I don't remember Windows Run Aa doing that.  It just go
> out of focus.
> 
> Thank you for the help!
> 
> -T

You mention Process Explorer.  Have you tried the "Find Window Process" 
tool?  That's the little circular "crosshairs" icon on the toolbar.  You 
drag it to the window of interest, and it highlights the process 
involved.  You can then look at the process tree for more clues.  Of 
course, if the process "hides" as you describe that might be difficult.  
Sysinternals also have the excellent "Autoruns" utility, which lists 
everything set to run automatically.

-- 

Phil, London

[toc] | [prev] | [next] | [standalone]


#97765

FromT <T@invalid.invalid>
Date2019-09-07 14:04 -0700
Message-ID<ql160h$mnp$1@dont-email.me>
In reply to#97713
On 9/7/19 2:40 AM, Philip Herlihy wrote:
> You mention Process Explorer.  Have you tried the "Find Window Process"
> tool?  That's the little circular "crosshairs" icon on the toolbar.  You
> drag it to the window of interest, and it highlights the process
> involved.  You can then look at the process tree for more clues.  Of
> course, if the process "hides" as you describe that might be difficult.
> Sysinternals also have the excellent "Autoruns" utility, which lists
> everything set to run automatically.

Awesome app!  Thank you!  I am going to use this a lot.

Unfortunately, it won't work in this instance.

To simulate the problem,

    Open Process Explorer

    Open Windows Explorer (not IE)

    Find one of those ubiquitous "desktop.ini" file

    Right click on it, select "open with", "choose another app"

    Note that as soon as you click off the dialog box that pops
    up, the dialog will disappear, except for Process Explorer

    Now try and drag the circular X icon from Process Explorer
    over to the dialog box.  You get ignored.  You can not drag
    icon until the another app dialog disappears.

Poop!




[toc] | [prev] | [next] | [standalone]


#97811

FromPhilip Herlihy <thiswillbounceback@you.com>
Date2019-09-08 13:28 +0100
Message-ID<MPG.37df0439ab9b2fec989859@news.eternal-september.org>
In reply to#97765
In article <ql160h$mnp$1@dont-email.me>, T@invalid.invalid says...
> 
> On 9/7/19 2:40 AM, Philip Herlihy wrote:
> > You mention Process Explorer.  Have you tried the "Find Window Process"
> > tool?  That's the little circular "crosshairs" icon on the toolbar.  You
> > drag it to the window of interest, and it highlights the process
> > involved.  You can then look at the process tree for more clues.  Of
> > course, if the process "hides" as you describe that might be difficult.
> > Sysinternals also have the excellent "Autoruns" utility, which lists
> > everything set to run automatically.
> 
> Awesome app!  Thank you!  I am going to use this a lot.
> 
> Unfortunately, it won't work in this instance.
> 
> To simulate the problem,
> 
>     Open Process Explorer
> 
>     Open Windows Explorer (not IE)
> 
>     Find one of those ubiquitous "desktop.ini" file
> 
>     Right click on it, select "open with", "choose another app"
> 
>     Note that as soon as you click off the dialog box that pops
>     up, the dialog will disappear, except for Process Explorer
> 
>     Now try and drag the circular X icon from Process Explorer
>     over to the dialog box.  You get ignored.  You can not drag
>     icon until the another app dialog disappears.
> 
> Poop!

This is straying beyond my expertise, but that sounds something like a 
"system modal window", but one which cancels if you click anywhere else.  
The window will - I guess - be a child of File Explorer, which is 
invoked by whatever is referencing the file.

When your popup is active, it's asking how you should open a file of 
type .vbs.  In theory it should be possible to associate that filetype 
with a utility which will give you details about the process tree.  I 
tried some experiments with the handle.exe (handle64.exe) utility from 
sysinternals,  using a made-up extension.  When I clicked on a dummy 
file of that extension, I could get it to "open with" handle64, but 
that's a command-line utility, and all attempts (including some clumsy 
registry edits) to get it to redirect output to a file failed.  I've run 
out of time that I can spend on this, interesting challenge as it is.

You might try the formidable "Process Monitor" from systinternals, which 
logs vast amounts of data, and then allows you to filter it looking for 
what is of interest.  Their Sysmon utility seems to do something 
similar, but is permanantly installed.

Meanwhile, have you noted the time carefully, and looked in the Event 
Log?

-- 

Phil, London

[toc] | [prev] | [next] | [standalone]


#97847

FromT <T@invalid.invalid>
Date2019-09-08 17:02 -0700
Message-ID<ql44r3$4j3$1@dont-email.me>
In reply to#97811
On 9/8/19 5:28 AM, Philip Herlihy wrote:
> In article <ql160h$mnp$1@dont-email.me>, T@invalid.invalid says...
>>
>> On 9/7/19 2:40 AM, Philip Herlihy wrote:
>>> You mention Process Explorer.  Have you tried the "Find Window Process"
>>> tool?  That's the little circular "crosshairs" icon on the toolbar.  You
>>> drag it to the window of interest, and it highlights the process
>>> involved.  You can then look at the process tree for more clues.  Of
>>> course, if the process "hides" as you describe that might be difficult.
>>> Sysinternals also have the excellent "Autoruns" utility, which lists
>>> everything set to run automatically.
>>
>> Awesome app!  Thank you!  I am going to use this a lot.
>>
>> Unfortunately, it won't work in this instance.
>>
>> To simulate the problem,
>>
>>      Open Process Explorer
>>
>>      Open Windows Explorer (not IE)
>>
>>      Find one of those ubiquitous "desktop.ini" file
>>
>>      Right click on it, select "open with", "choose another app"
>>
>>      Note that as soon as you click off the dialog box that pops
>>      up, the dialog will disappear, except for Process Explorer
>>
>>      Now try and drag the circular X icon from Process Explorer
>>      over to the dialog box.  You get ignored.  You can not drag
>>      icon until the another app dialog disappears.
>>
>> Poop!
> 
> This is straying beyond my expertise, but that sounds something like a
> "system modal window", but one which cancels if you click anywhere else.
> The window will - I guess - be a child of File Explorer, which is
> invoked by whatever is referencing the file.
> 
> When your popup is active, it's asking how you should open a file of
> type .vbs.  In theory it should be possible to associate that filetype
> with a utility which will give you details about the process tree.  I
> tried some experiments with the handle.exe (handle64.exe) utility from
> sysinternals,  using a made-up extension.  When I clicked on a dummy
> file of that extension, I could get it to "open with" handle64, but
> that's a command-line utility, and all attempts (including some clumsy
> registry edits) to get it to redirect output to a file failed.  I've run
> out of time that I can spend on this, interesting challenge as it is.
> 
> You might try the formidable "Process Monitor" from systinternals, which
> logs vast amounts of data, and then allows you to filter it looking for
> what is of interest.  Their Sysmon utility seems to do something
> similar, but is permanantly installed.
> 
> Meanwhile, have you noted the time carefully, and looked in the Event
> Log?

Hi Philip,

Forgot about the event log.  It might be right under my nose!
And since it happens every five seconds, it should be very
verbose.  Thank you!

I think I will do a msconf no start ups boot and
maybe a safe boot to see if it goes away.  If so, I
will fire up sysinternals Auto Runs.

If it does not happen with a regular boot, I will
fire up her programs one by one to see which one
is doing the deed.  I noticed that when she boots
up she autostarts one program and then immediately
clinks of two or three others (I lost count).

I told her to tell her boss I would not charge them
if I could not fix it.  He comes in on Monday.  I
hope he goes for it.  These types of challenges put
the fun in computers.  This is driving me crazy!

Oh and whilst I have Process Monitor up, run them all
through Virus Total.

Thank you for all the tips!
-T

I will get back if I fix it!

[toc] | [prev] | [next] | [standalone]


#97727 — MANUALLY tell Win10 to open .VBS files using "CScript".

FromJeff-Relf.Me @.
Date2019-09-07 06:27 -0700
SubjectMANUALLY tell Win10 to open .VBS files using "CScript".
Message-ID<Jeff-Relf.Me@Sep.7--6.27am.Seattle.2019>
In reply to#97692
MANUALLY tell Win10 to open .VBS files using "CScript".

Win10 only trusts the manual choice, not apps/scripts.   

[toc] | [prev] | [next] | [standalone]


#97762 — Re: MANUALLY tell Win10 to open .VBS files using "CScript".

FromT <T@invalid.invalid>
Date2019-09-07 13:20 -0700
SubjectRe: MANUALLY tell Win10 to open .VBS files using "CScript".
Message-ID<ql13en$77h$3@dont-email.me>
In reply to#97727
On 9/7/19 6:27 AM, Jeff-Relf.Me@. wrote:
> MANUALLY tell Win10 to open .VBS files using "CScript".
> 
> Win10 only trusts the manual choice, not apps/scripts.
> 

Why would I risk it open a stinkin' virus!?

What I need is who is doing the call.

[toc] | [prev] | [next] | [standalone]


#97986

FromT <T@invalid.invalid>
Date2019-09-10 18:39 -0700
Message-ID<ql9j8t$kfe$2@dont-email.me>
In reply to#97683
Followup:

The customer never called me back.  Oh well ...

Thank you all for all the help and tip anyway.  I am sure
I will use them sometime in the future.

-T

[toc] | [prev] | [standalone]


Back to top | Article view | alt.comp.os.windows-10


csiph-web