public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* sshd.exe infected with IDP.Generic?
@ 2020-07-10 19:01 Ernie Rael
  2020-07-10 19:59 ` Marco Atzeri
  2020-07-11 14:47 ` Ernie Rael
  0 siblings, 2 replies; 5+ messages in thread
From: Ernie Rael @ 2020-07-10 19:01 UTC (permalink / raw)
  To: cygwin

On Win7. To get an elevated shell, I typically do "$ ssh xxx@yyy". And 
not very often.

Below is an excerpt of something potentially horrible that just happened.

Note the

    rm *

I exited the shell. I did the "ssh..." again (yeah I'm crazy), in a 
different bash window. And this time avast reported that it stashed 
sshd.exe into the virus chest.

I'm not sure who/what the culprit is, or what's going on. But it does 
look like there was (is?) some kind of infection somewhere on my system. 
I had used ftp earlier to put a file to a remote, but...?

I didn't realize that netstat was a windows command (not that I wouldn't 
have used it).

I've got the sshd.exe file. It has a date of Feb 18. So

  * Can I check if the bits in sshd.exe are as expected?
  * Any suggestions on cleaning up and/or restoring sanity? (I'm running
    a full virus scan right now, should be amusing...)
  * How can I get sshd.exe back? Is there a cygwin command to check that
    the packages are all as they should be?

-ernie

=============== EXCERPT ==========================

>
> $ ssh xxx@yyy
> Last login: Mon May 18 21:37:37 2020 from 192.168.0.11
>       ____________________, ______________________________________
>    .QQQQQQQQQQQQQQQQQQQQQQQQL_ |                                      |
>  .gQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ__ 
> |                                      |
>  ........
>
> ADMIN ~
> $ netstat -b -a | less
>
>
> ######################### worked but had to ^Z/kill to get out
>
> ADMIN ~
> $
>
> ADMIN ~
> $
>
> ADMIN ~
> $ rm *
> rm: cannot remove 'play': Is a directory
> rm: cannot remove 'system': Is a directory
>
> ADMIN erra@spirit ~
> $
>
>
> ADMIN ~/play
> $ netstat -b -a | less
>
> ######################### let netstat complete normally, got out of 
> less ok
>
>
> ADMIN ~/play
> $ client_loop: send disconnect: Connection reset by peer


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-07-11 19:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-10 19:01 sshd.exe infected with IDP.Generic? Ernie Rael
2020-07-10 19:59 ` Marco Atzeri
2020-07-10 20:37   ` Brian Inglis
2020-07-11 14:47 ` Ernie Rael
2020-07-11 19:45   ` Brian Inglis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).