• Daum
  • |
  • 카페
  • |
  • 메일
  • |
 
카페정보
카페 프로필 이미지
간단유틸
카페 가입하기
 
 
 
카페 게시글
보안2off 윈도우 인증서 관련 삭제 서명인증서 명령어 오래된 인증서 삭제 3 자격증명 삭제
동우 추천 0 조회 337 22.10.07 19:54 댓글 7
게시글 본문내용
 
다음검색
첨부된 파일 개 ▼
댓글
  • 작성자 22.10.08 05:34

    첫댓글 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 17:14

    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 17:16

    이야기를 들어 보니 VBS를 사용 해야 비활성 할수 있다고 하네요 ㅎㅎ WScript 매우 어렵군요 ㅠㅠ.. 그냥 될줄 알았는대 어쩔수가 없네요 ㅋㅋ

  • 작성자 22.10.08 23:59

    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 00:07

    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 00:01

    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 19:47

    control.exe keymgr.dll
    자격증명 모두 삭제 하고 새로 받기

최신목록