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

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

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

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

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
CVE-2019-19781-DFIR-Notes — 내 Citrix ADC NetScaler CVE-2019-19781 취약점 DFIR 노트 | Kitploit
도구/GitHubGitHub/azeemering/cve-2019-19781-dfir-notes
Indicator of Compromise (IOC) ManagementVulnerability AnalysisDigital ForensicsThreat IntelligenceLearning & EducationIncident ResponseCurated ResourcesLog Analysis

인기

모두 보기 →

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

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유
GitHub
azeemering/cve-2019-19781-dfir-notes

CVE-2019-19781-DFIR-Notes

내 Citrix ADC NetScaler CVE-2019-19781 취약점 DFIR 노트

저장소 보기
13년 전아직 검토되지 않음

Splunk 관점에 기반함. 아래 리소스는 침해 지표(IoC)를 적절히 분석하기 위해 로그 수집이 필수적임을 보여줍니다. 좋은 위기를 낭비하지 마세요... 모든 로그를 수집하세요!

영향 / 근본 원인:

로직 취약점으로 인한 원격 사전 인증 임의 명령 실행, 즉 신뢰할 수 있는 실행 가능.

일부 리소스

https://support.citrix.com/article/CTX267027 https://www.fireeye.com/blog/threat-research/2020/01/vigilante-deploying-mitigation-for-citrix-netscaler-vulnerability-while-maintaining-backdoor.html https://www.trustedsec.com/blog/netscaler-remote-code-execution-forensics/ http://deyda.net/index.php/en/2020/01/15/checklist-for-citrix-adc-cve-2019-19781/ https://github.com/x1sec/CVE-2019-19781/blob/master/CVE-2019-19781-DFIR.md https://nvd.nist.gov/vuln/detail/CVE-2019-19781 https://www.reddit.com/r/blueteamsec/comments/en4m7j/multiple_exploits_for_cve201919781_citrix/ 네덜란드 NCSC: https://english.ncsc.nl/latest/news/2020/january/20/install-patches-for-citrix-adc-en-citrix-gateway-servers https://www.ncsc.nl/actueel/advisory?id=NCSC%2D2019%2D0979 NCSC의 플로우차트: https://english.ncsc.nl/binaries/ncsc-en/documents/publications/2020/januari/21/flowchart-citrix-vulnerability/Flowchart+Citrix+vulnerability.pdf 대부분의 조직, 사이트, 회사들은 같은 내용을 되풀이하네요... :-( 저처럼요 ;-)

  • Netscaler에서 진단 번들 파일(Collector file / dump)을 수집하고 Splunk에 수집: https://docs.citrix.com/en-us/citrix-adc/13/system/basic-operations/how-to-collect-technical-support-bundle.html

수집된 IoC 기반 체크리스트

  • HTTP 로그 파일 검토 -------------------------------------------------------------------✔️ Splunk 사용

/var/log/httpaccess.log | /var/log/httperror.log | /etc/httpd.conf | /var/log/websocketd.log from dumpfiles and our syslog data from Netscalers. Check Webserver log entries indicating successful exploitation...

  • 2020년 1월 10일부터 지금까지 수정된 모든 파일 확인 ----------------------------------✔️ Splunk 사용

알려진 악성코드의 파일 시스템 경로 확인

  • 비표준 템플릿 파일 모두 검토------------------------------------------✔️ Splunk 사용

selection: c-uri-path: - '/../vpns/' - '/vpns/cfg/smb.conf' - '/vpns/portal/scripts/.pl' and all other variants you can think of. Netscaler 디렉토리에서 악성 용어 및 예상치 못한 수정 사항을 찾습니다.

  • 모든 사용자의 크론 작업 확인-------------------------------------------------------------✔️ Splunk 사용

/shell/crontab-l.out

  • 모든 실행 중인 프로세스 확인--------------------------------------------------------------✔️ Splunk 사용

/shell/top-b.out + others

  • bash 히스토리 확인-----------------------------------------------------------------------✔️ Splunk 사용

/var/log/bash.log from dumpfile & index=yourindex host=yournetscalerhosts (bash.log & sh.log) 기본적으로 셸 히스토리에서 모든 사후 익스플로잇을 확인...

  • 수신 서비스 및 TCP/UDP 연결 검토----------------------------------------✔️ Splunk 사용

/shell/sockstat.out and other methods. 알려진 악성코드가 사용하는 포트 확인.

  • 범위 내 취약한 시스템에 대한 ISP/ASN 번호 확인------------------------------------✔️ Splunk 사용

index=yourshodanindex asn=yourASN# CVE-2019-19781 vulns.CVE-2019-19781.verified=true

  • 방화벽/IDS/IPS 로깅 확인-----------------------------------------------------------✔️ Splunk 사용

댓글 없음 😅

  • Splunk에서 확인 (Sigma 규칙 기반-->https://github.com/Neo23x0/sigma/blob/master/rules/web/web_citrix_cve_2019_19781_exploit.yml#L17 detection: selection: c-uri-path: - '/../vpns/' - '/vpns/cfg/smb.conf' - '/vpns/portal/scripts/.pl' condition: selection fields:

    • client_ip
    • vhost
    • url
    • response

    더 많은 가능한 IoC:

    어젯밤 Citrix #netscaler CVE-2019-19781 허니팟에서 새로운 백도어에 맞았습니다. IRC를 통해 통신하는 DDoS 봇입니다. 50.71.90.246:4545로의 연결 및 /tmp/.perl 파일을 조심하세요.

제가 놓친 것이 있다면 IoC나 확인할 다른 사항을 추가해주세요. #Sh*trix

#허니팟 로그를 Splunk로 https://github.com/x1sec/citrix-honeypot

결과/데이터는 ./log 디렉토리에 기록됩니다. 내용은 다음과 같습니다: hits.log - 스캔 시도 및 익스플로잇 시도 (모든 데이터 포함, 예: 헤더, POST 본문) all.log - 서버에 도달하는 모든 HTTP 요청 logins.log - 웹 인터페이스에 로그인 시도 tlsErrors.log - 인터넷 스캐너가 종종 포트 443에 잘못된 데이터를 보냅니다. HTTPS 오류가 여기에 기록됩니다.

#업데이트

  • Citrix가 2020-01-23에 패치를 출시했습니다: https://www.citrix.com/blogs/2020/01/23/fixes-now-available-for-citrix-adc-citrix-gateway-versions-12-1-and-13-0/

  • Netscaler를 새로 재설치한 후 Splunk Universal Forwarder를 설치하세요. (FreeBSD 설치) 문서: https://docs.splunk.com/Documentation/Forwarder/8.0.1/Forwarder/Installanixuniversalforwarder#Install_the_universal_forwarder_on_FreeBSD 바이너리: https://www.splunk.com/bin/splunk/DownloadActivityServlet?architecture=x86_64&platform=freebsd&version=8.0.1&product=universalforwarder&filename=splunkforwarder-8.0.1-6db836e2fb9e-freebsd-11.1-amd64.txz&wget=true

  • Citrix NetScaler가 syslog 데이터를 생성하도록 구성하는 방법: https://docs.splunk.com/Documentation/AddOns/released/CitrixNetscaler/Setup https://docs.citrix.com/en-us/citrix-adc/12-1/system/audit-logging/configuring-audit-logging.html

  • Citrix Netscaler용 Splunk Add-On: https://splunkbase.splunk.com/app/2770/

도구 다운로드