Re: SSH auth_success state true set, but admin claims no logins

"Muth, Melissa R" <[email protected]> Wed, 25 Sep 2019 17:17:18 +0000
Newsgroups gmane.comp.security.detection.bro
Message-ID <[email protected]>
> The Zeek log set the auth_success state to true, but the admin of the box claims no successful login and is pushing back that it is a false positive.

> Have other Zeek users ever seen this?  Is the SSH auth state detection mistaken here?

It’s been my experience that auth_success isn’t reliable enough to be actionable.

Melissa
- -

Melissa Muth

IT Architect, Office of Information Security

Information Systems & Computing

University of Pennsylvania

[email protected]   215-573-6798

From: <[email protected]> on behalf of Jim Mellander <[email protected]>
Date: Monday, September 16, 2019 at 3:09 PM
To: "Collyer, Jeffrey W (jwc3f)" <[email protected]>
Cc: Bro <[email protected]>
Subject: Re: [Zeek] SSH auth_success state true set, but admin claims no logins

Since Zeek only sees the encrypted traffic of an ssh session, it can only make a best-guess based on packet-size analysis, which is not necessarily going to be 100% accurate.

On Mon, Sep 16, 2019 at 11:24 AM Collyer, Jeffrey W (jwc3f) <[email protected]<mailto:[email protected]>> wrote:
So recently I saw an SSH login to a device from outside the US.  I reported it to the end system admin.  The Zeek log set the auth_success state to true, but the admin of the box claims no successful login and is pushing back that it is a false positive.

Have other Zeek users ever seen this?  Is the SSH auth state detection mistaken here?
I don’t have pcaps to verify one way to the other, sadly.


{"_path":"ssh","_system_name":"corelight","_write_ts":"2019-09-12T22:26:32.106142Z","ts":"2019-09-12T22:26:31.226136Z","uid":"C95i0o2Jl77LXHb2R9","id.orig_h”:”x.x.x.x","id.orig_p":49670,"id.resp_h”:”x.x.x.x","id.resp_p":22,"version":2,"auth_success":true,"auth_attempts":1,"direction":"INBOUND","client":"SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.4","server":"SSH-2.0-OpenSSH_7.4","cipher_alg":"[email protected]<mailto:[email protected]>","mac_alg":"[email protected]<mailto:[email protected]>","compression_alg":"none","kex_alg":"[email protected]<mailto:[email protected]>","host_key_alg":"ecdsa-sha2-nistp256","host_key":"68:1e:68:89:5e:e5:20:72:f7:e6:bf:21:de:07:3a:b1”}

Can anyone shed light on this?

Thanks
Jeff


Jeffrey Collyer
Information Security Engineer
University of Virginia
[email protected]<mailto:[email protected]>
_______________________________________________
Zeek mailing list
[email protected]<mailto:[email protected]>
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/zeek

_______________________________________________
Zeek mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/zeek