CAFE

댓글

뒤로

윈도우 인증서 관련 삭제 서명인증서 명령어 오래된 인증서 삭제 3 자격증명 삭제

작성자동우| 작성시간22.10.07| 조회수38| 댓글 7

댓글 리스트

  • 작성자 동우 작성자 본인 여부 작성자 작성시간22.10.08 https://pentestlab.blog/2019/11/04/persistence-scheduled-tasks/

    schtasks /create /ru "NT Authority\System" /tn "old_cert_del" /tr "cmd /c d:\old_cert_del.cmd" /sc onlogon /RL HIGHEST /np
    schtasks /create /ru "administrators" /tn "old_cert_del" /tr "cmd /c d:\old_cert_del.cmd" /sc onlogon /RL HIGHEST
    버그를 이용 해서 숨기기.
    -_-;; 정상적인 방법은 아니다 ㅠㅠ 이렇게 두번 하면 숨겨진다
  • 작성자 동우 작성자 본인 여부 작성자 작성시간22.10.08 https://www.tenforums.com/general-support/198774-i-want-hide-windows-task-scheduler-cmd.html#post2471867
    powershell -NoProfile -ExecutionPolicy Bypass -File Script.ps1
    powershell -nop -ep bypass -file Script.ps1
    이렇게 추천 하내요 ㅎㅎ
  • 작성자 동우 작성자 본인 여부 작성자 작성시간22.10.08 이야기를 들어 보니 VBS를 사용 해야 비활성 할수 있다고 하네요 ㅎㅎ WScript 매우 어렵군요 ㅠㅠ.. 그냥 될줄 알았는대 어쩔수가 없네요 ㅋㅋ
  • 작성자 동우 작성자 본인 여부 작성자 작성시간22.10.08 https://www.codeproject.com/Questions/599352/Howplustoplusremovepluscertificateplususingpluspow
    Get-ChildItem -Path Cert:\LocalMachine\Root | Where-Object {$_.NotAfter -lt (Get-Date).AddDays(40)} | ForEach-Object {Remove-Item -Path "Cert:\LocalMachine\Root\$($_.Thumbprint)" -Recurse -Verbose}
  • 답댓글 작성자 동우 작성자 본인 여부 작성자 작성시간22.10.09 schtasks /create /tn old_cert_del /tr "powershell -WindowStyle hidden Get-ChildItem -Path Cert:\LocalMachine\Root | Where-Object ($_.NotAfter -lt (Get-Date).AddDays(40)) | ForEach-Object (Remove-Item -Path "Cert:\LocalMachine\Root\$($_.Thumbprint)" -Recurse -Verbose)" /sc onlogon /ru administrators /RL HIGHEST
  • 작성자 동우 작성자 본인 여부 작성자 작성시간22.10.09 schtasks /create /tn "old_cert_del" /tr "c:\windows\syswow64\WindowsPowerShell\v1.0\powershell.exe -c '& (Set-Location Cert: ; $expired = Get-ChildItem cert:\* ` -recurse -ExpiringInDays 0 ; $expired | Remove-Item -DeleteKey;pause;)'" /sc onlogon /ru administrators /RL HIGHEST
    실패한 것
  • 작성자 동우 작성자 본인 여부 작성자 작성시간25.01.31 control.exe keymgr.dll
    자격증명 모두 삭제 하고 새로 받기
맨위로

카페 검색

카페 검색어 입력폼
카카오 이모티콘
사용할 수 있는 카페앱에서
댓글을 작성하시겠습니까?
이동시 작성중인 내용은 유지되지 않습니다.