Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
sipcheck — Asterisk 인증 로그를 모니터링하고, iptables를 사용하여 반복된 로그인 실패 시도가 있는 IP를 자동으로 차단하며, 구성 가능한 임계값과 영구 블랙리스트 기능을 제공합니다. | Kitploit
도구/GitHubGitHub/sinologicnet/sipcheck
Defensive ToolsIDS/IPS EvasionNetwork SecurityAuthenticationIntrusion Detection
GitHubsinologicnet/sipcheck

sipcheck

Asterisk 인증 로그를 모니터링하고, iptables를 사용하여 반복된 로그인 실패 시도가 있는 IP를 자동으로 차단하며, 구성 가능한 임계값과 영구 블랙리스트 기능을 제공합니다.

저장소 보기
2576년 전Kitploit 검토 완료

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유
웹사이트

SIPCheck v.3.0

소개

SIPCheck는 Asterisk 사용자 인증을 감시하고, 사용자(또는 봇)가 잘못된 비밀번호로 등록하거나 통화를 시도하면 자동으로 차단하는 도구입니다.

Fail2Ban과 달리, SIPCheck는 공격자뿐만 아니라 신뢰할 수 있는 클라이언트도 관리합니다. 따라서 신뢰할 수 있다고 입증된 SIP 사용자가 있는 경우, 잘못된 비밀번호가 수신되더라도 차단하지 않습니다. 그렇지 않으면 해당 IP 뒤에 있는 많은 SIP 클라이언트도 함께 차단될 수 있기 때문입니다.

이러한 이유로, 이전 버전에 비해 여러 기능을 갖춘 이 애플리케이션을 처음부터 다시 설계했습니다.

  • 더 쉬움: 설치, 구성 및 실행이 쉽습니다.
  • 리소스: 많은 동시 통화를 처리하는 대규모 시스템에 적합하며, 로그 파일 액세스 및 많은 실시간 정보 구문 분석을 피합니다.
  • 영속성: 애플리케이션이나 시스템을 다시 시작해야 하는 경우에도 걱정하지 마세요. SIPCheck는 다시 시작할 때 공격자를 방화벽에 유지합니다.
  • 신뢰성: 새로운 만료 시간 시스템은 IPTable에서 오래된 공격자를 제거하여 끝없고 제어할 수 없는 목록을 방지합니다.
  • 제어: 작은 구성 파일 sipcheck.conf를 사용하여 차단 전 시도 횟수, 공격자가 방화벽에 머무는 시간 및 의심되는 사용자가 감시되는 시간을 제어할 수 있습니다.

요구 사항

SIPCheck는 Asterisk가 실행되는 동일한 시스템에서 실행되어야 합니다. (다른 시스템에서 실행될 수 있지만 방화벽은 실행되는 시스템에서 사용됩니다.) SIPCheck는 방화벽에 규칙을 추가 및 제거하기 위해 root 권한이 필요합니다.

Python 3

SIPCheck 3는 Python 3와 requirements.txt에 정의된 라이브러리를 사용하여 작동합니다.

Asterisk 관리자 계정

/etc/asterisk/manager.conf에 다음과 같은 관리자 사용자가 있어야 합니다 (사용자 및 비밀번호 변수 변경):

Asterisk Manager Interface의 새 사용자를 생성해야 합니다.

root@kitploit:~
[CHANGETHISUSER]
secret = CHANGETHISPASSWORD
deny = 0.0.0.0/0.0.0.0
permit = 127.0.0.1/255.255.255.255
read = security
write = system

이 사용자를 생성/수정한 후에는 관리자 구성을 다시 로드해야 합니다:

root@kitploit:~
asterisk -rx 'manager reload'

설치 방법

root@kitploit:~
# Download github repository
git clone https://github.com/sinologicnet/sipcheck.git /opt/sipcheck
cd /opt/sipcheck

# Update repositories
apt-get update

# Install PIP for Python3
apt-get install python3-pip

# Install the libraries required 
pip3 install -r requirements.txt

# Copy the sample of configuration file into a official configuration file
cp sipcheck.conf.sample sipcheck.conf

# Edit this file to configure SIPCheck
nano sipcheck.conf

# Make executable sipcheck.py
chmod 777 sipcheck.py

# Insert the script into systemd
cp /opt/sipcheck/sipcheck.service /etc/systemd/system/
systemctl enable sipcheck

# Start the application
systemctl start sipcheck

# Check if everything is working fine
tail -f /var/log/sipcheck.log

실제 작동 예시...

root@kitploit:~
2020-03-14 19:25:51,309 INFO: -----------------------------------------------------
2020-03-14 19:25:51,309 INFO: Starting SIPCheck 3 ...
2020-03-14 19:25:51,309 INFO: + Added 185.53.88.49,1584140431 into blacklist again from the time: 1584140431
2020-03-14 19:25:51,309 INFO: BL: Detected attack from IP: '185.53.88.49' (Banning address)
2020-03-14 19:25:51,312 INFO: + Added 195.154.28.205,1584140431 into blacklist again from the time: 1584140431
2020-03-14 19:25:51,312 INFO: BL: Detected attack from IP: '195.154.28.205' (Banning address)
2020-03-14 19:25:51,313 INFO: + Added 92.246.85.154,1584140431 into blacklist again from the time: 1584140431
2020-03-14 19:25:51,313 INFO: BL: Detected attack from IP: '92.246.85.154' (Banning address)
2020-03-14 19:25:51,315 INFO: + Added 113.141.67.163,1584140431 into blacklist again from the time: 1584140431
2020-03-14 19:25:51,315 INFO: BL: Detected attack from IP: '113.141.67.163' (Banning address)
2020-03-14 19:25:51,317 INFO: + Added 192.227.132.19,1584140431 into blacklist again from the time: 1584140431
2020-03-14 19:25:51,317 INFO: BL: Detected attack from IP: '192.227.132.19' (Banning address)
2020-03-14 19:25:51,319 INFO: + Added 45.143.220.240,1584140431 into blacklist again from the time: 1584140431
2020-03-14 19:25:51,319 INFO: BL: Detected attack from IP: '45.143.220.240' (Banning address)
2020-03-14 19:25:51,321 INFO: + Added 45.143.221.59,1584200178 into blacklist again from the time: 1584200178
2020-03-14 19:25:51,321 INFO: BL: Detected attack from IP: '45.143.221.59' (Banning address)
2020-03-14 19:25:51,322 INFO: + Added 192.3.140.204,1584200178 into blacklist again from the time: 1584200178
2020-03-14 19:25:51,322 INFO: BL: Detected attack from IP: '192.3.140.204' (Banning address)
2020-03-14 19:25:51,324 INFO: + Added 185.221.135.138,1584200178 into blacklist again from the time: 1584200178
2020-03-14 19:25:51,324 INFO: BL: Detected attack from IP: '185.221.135.138' (Banning address)
2020-03-14 19:25:51,326 INFO: + Added 45.143.220.25,1584200178 into blacklist again from the time: 1584200178
2020-03-14 19:25:51,326 INFO: BL: Detected attack from IP: '45.143.220.25' (Banning address)
2020-03-14 19:25:51,331 INFO: + Added 10.10.10.10 into whitelist during one year
2020-03-14 19:25:51,332 INFO: + Added 10.10.12.12 into whitelist during one year
2020-03-14 19:25:51,341 INFO: protocol version: '5.0.0'
2020-03-14 19:25:51,342 INFO: Sending awaiting actions
2020-03-14 19:47:09,842 WARNING: Received anonymous INVITE from IP 91.212.38.210
2020-03-14 20:47:14,776 INFO: TL: Expired time for 91.212.38.210
2020-03-14 21:14:17,786 WARNING: Received wrong password for user Administrator from IP 45.234.152.38
2020-03-14 21:50:28,963 WARNING: Received wrong password for user administrator from IP 45.234.152.38
2020-03-14 22:07:02,806 WARNING: Received wrong password for user 10 from IP 45.234.152.38
2020-03-14 22:14:18,490 INFO: TL: Expired time for 45.234.152.38
2020-03-14 22:24:22,969 WARNING: Received anonymous INVITE from IP 45.143.220.220
2020-03-14 22:43:22,100 WARNING: Received wrong password for user 11 from IP 45.234.152.38
2020-03-14 23:19:42,874 WARNING: Received wrong password for user 100 from IP 45.234.152.38
2020-03-14 23:24:26,489 INFO: TL: Expired time for 45.143.220.220
2020-03-14 23:27:28,488 WARNING: Received anonymous INVITE from IP 45.143.220.214
도구 다운로드