github.com/bishopfox/sliver
Affected
- introduced
1.5.0, fixed1.5.40(semver)
Fixed versions
1.5.40
Fix
- Fixed version
1.5.40go get github.com/bishopfox/[email protected]
Advisory
Also known as: CVE-2023-34758, CVE-2023-35170, GO-2023-1866
Silver vulnerable to MitM attack against implants due to a cryptography vulnerability
Summary
The current cryptography implementation in Sliver up to version 1.5.39 allows a MitM with access to the corresponding implant binary to execute arbitrary codes on implanted devices via intercepted and crafted responses. (Reserved CVE ID: CVE-2023-34758)
Details
Please see the PoC repo.
PoC
Please also see the PoC repo.
To setup a simple PoC environment,
notepad.exe window should pop up on the implanted VM. Impact
A successful attack grants the attacker permission to execute arbitrary code on the implanted device.
References
https://github.com/BishopFox/sliver/blob/master/implant/sliver/cryptography/implant.go
https://github.com/BishopFox/sliver/blob/master/implant/sliver/cryptography/crypto.go
https://github.com/tangent65536/Slivjacker
Credits
Ting-Wei Hsieh from CHT Security Co. Ltd.
Critical Basis: The source's own band: CRITICAL
1.5.0, fixed 1.5.40 (semver)1.5.40
1.5.40go get github.com/bishopfox/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0