
SilentButDeadly는 Windows 필터링 플랫폼(WFP)을 사용하여 EDR/AV 소프트웨어의 클라우드 연결을 차단함으로써 이를 무력화하도록 특별히 설계된 네트워크 통신 차단기입니다. 이 버전은 프로세스 종료 없이 네트워크 격리에만 중점을 둡니다.
SilentButDeadly는 Windows 필터링 플랫폼(WFP)을 사용하여 EDR/AV 소프트웨어의 클라우드 연결을 차단함으로써 해당 소프트웨어를 무력화하도록 설계된 네트워크 통신 차단기입니다. 이 버전은 프로세스 종료 없이 네트워크 격리에만 중점을 둡니다.
블로그: https://ryan.framinan.net/blog/silentbutdeadly
[*] Checking administrative privileges...
[+] Running with Administrator privileges
[#] Press <Enter> to begin EDR enumeration...
CheckTokenMembership()을 사용하여 관리자 권한 확인[*] Scanning for target security processes...
[+] Found SentinelAgent.exe (SentinelOne) - PID: 1234
[+] Found MsMpEng.exe (Windows Defender) - PID: 5678
[*] Total target processes found: 2
[#] Press <Enter> to block network communications...
CreateToolhelp32Snapshot()을 사용하여 프로세스 스냅샷 생성PROCESS_QUERY_INFORMATION 액세스 권한으로 프로세스 핸들 열기[*] Initializing Windows Filtering Platform...
[>] Initializing COM library
[>] Generating WFP provider GUID
[>] Opening WFP engine handle
[+] Windows Filtering Platform initialized successfully
[*] Configuring network filters to block EDR communications...
[>] Processing filters for SentinelAgent.exe (PID: 1234)
[>] Process path: C:\Program Files\SentinelOne\Sentinel Agent\SentinelAgent.exe
[>] Outbound filter added successfully
[>] Inbound filter added successfully
[+] Network communication blocked for SentinelAgent.exe
[+] Communication blocking established for 2 processes
각 EDR 프로세스에 대해:
QueryFullProcessImageNameW()를 사용하여 전체 프로세스 이미지 경로 검색FwpmGetAppIdFromFileName0()을 사용하여 경로를 WFP AppID blob으로 변환FWPM_LAYER_ALE_AUTH_CONNECT_V4 (나가는 연결 차단)FWPM_LAYER_ALE_AUTH_RECV_ACCEPT_V4 (들어오는 연결 차단)[*] Attempting to disable EDR services...
[>] Processing service: SentinelAgent
[>] Current service state: Running
[>] Attempting to stop service...
[+] Stop signal sent to SentinelAgent
[+] Service stopped successfully
[+] Service SentinelAgent set to disabled
[+] Disabled 2 EDR services
SERVICE_DISABLED로 변경=================================================================
OPERATION SUMMARY
=================================================================
[SentinelOne] SentinelAgent.exe - PID: 1234
[Windows Defender] MsMpEng.exe - PID: 5678
Total Processes Found: 2
Network Blocks Applied: 2
WFP Status: Active
=================================================================
[#] Press <Enter> to remove filters and exit...
[*] Removing network blocking rules...
[+] Network blocking rules removed
[*] Operation complete
FWP_ACTION_BLOCKFWPM_CONDITION_ALE_APP_ID (프로세스별)FWPM_FILTER_FLAG_CLEAR_ACTION_RIGHTg_EDRTargets 배열을 통해 쉽게 확장 가능-v, --verbose: 상세 작업 로깅 활성화-p, --persistent: 프로그램 종료 후에도 필터 유지-h, --help: 사용 정보 표시-p 플래그 사용 시 제외)