Page 1 of 1

WSUS Offline Update security?

PostPosted: 29.03.2018, 09:54
by ntech
Hello,

I am concerned about the security of WSUS offline update. I am not sure what it does to check file integrity of the 1) downloaded updates and 2) self update ?

Kind Regards

Re: WSUS Offline Update security?

PostPosted: 29.03.2018, 15:14
by Dalai
Downloaded updates and the update catalog (wsusscn2.cab) are verified by their embedded digital signature using sigcheck.exe (by Sysinternals). Also hashdeep.exe is used to calculate hashes (md5, sha1 and sha256) of all updates; these hashes can be verified before installing any updates.

As for WSUS Offline's self-update, well, I don't think there's any verification or integrity check. However, you don't need to use the self-update function and update it manually, if you prefer.

Regards
Dalai

Re: WSUS Offline Update security?

PostPosted: 30.03.2018, 09:15
by WSUSUpdateAdmin
Hi.

Dalai wrote:As for WSUS Offline's self-update, well, I don't think there's any verification or integrity check.

There is!
The release archive's hashes are verified against the published values (see UpdateOU.cmd):
Code: Select all
  echo Verifying integrity of %%~nxi...
  .\client\bin\%HASHDEEP_EXE% -a -l -vv -k %%~ni_hashes.txt %%~nxi
  if errorlevel 1 (
    popd
    goto IntegrityError
  )

:)
Cheers,
Torsten

Re: WSUS Offline Update security?

PostPosted: 30.03.2018, 16:21
by Dalai
Ah, nice! Didn't know that. (Again what learned :mrgreen:.)

Regards
Dalai

Re: WSUS Offline Update security?

PostPosted: 31.03.2018, 17:48
by ntech
Thanks for the info, Dalai. No problem with the actual updates.

WSUSUpdateAdmin wrote:The release archive's hashes are verified against the published values


Is the release hash file downloaded using insecure http? Or is it checked for tampering?



Kind Regards

Re: WSUS Offline Update security?

PostPosted: 31.03.2018, 19:47
by Dalai
All files downloaded from wsusoffline.net are done via HTTP, not HTTPS. But that's not a problem as long as the way from your system to the server has not been tampered with (MitM).

Regards
Dalai

Re: WSUS Offline Update security?

PostPosted: 01.04.2018, 12:00
by ntech
Ok, thanks for the info. Then the hash check provides little security. I think It is better to download the update tool from the website.