
A Zeek package to detect the Pingback malware ICMP tunnel command and control (C2) network traffic.
Pingback C2 도구가 생성한 ICMP 핑 터널을 탐지하기 위한 Zeek 패키지 및 Suricata 규칙입니다.
관련 블로그 게시물: https://corelight.blog/2021/05/07/pingback-icmp-tunneling-malware/
이 패키지를 설치하는 가장 쉬운 방법은 zkg를 사용하는 것입니다:
zkg install corelight/pingback
이 예제 PCAP을 사용하여 아래에서 따라해 보세요:
$ ls
Pingback_ICMP.pcapng
$ zeek -Cr Pingback_ICMP.pcapng pingback
$ cat notice.log
#separator \x09
#set_separator ,
#empty_field (empty)
#unset_field -
#path notice
#open 2021-05-07-14-43-48
#fields ts uid id.orig_h id.orig_p id.resp_h id.resp_p fuid file_mime_type file_desc proto note msg sub src dst p n peer_descr actions suppress_for remote_location.country_code remote_location.region remote_location.city remote_location.latitude remote_location.longitude
#types time string addr port addr port string string string enum enum string string addr addr port count string set[enum] interval string string string double double
1619505583.332605 CH7l4D48kbE3nWo7M7 192.168.38.131 8 192.168.38.172 0 - - - icmp Pingback::Pingback_Tunnel An ICMP ping request message may have been Pingback C2 ref:trustwave.com/en-us/resources/blogs/spiderlabs-blog/backdoor-at-the-end-of-the-icmp-tunnel/ seq=53764 , |payload|=788 , icmp_info=[v6=F, itype=8, icode=0, len=788, ttl=64] , first 20 bytes of ICMP payload=shell\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 192.168.38.131 192.168.38.172 0 - - Notice::ACTION_LOG 3600.000000 - - - - -
1619505583.333021 CH7l4D48kbE3nWo7M7 192.168.38.131 8 192.168.38.172 0 - - - icmp Pingback::Pingback_Tunnel An ICMP ping reply message may have been Pingback C2 ref:trustwave.com/en-us/resources/blogs/spiderlabs-blog/backdoor-at-the-end-of-the-icmp-tunnel/ seq=53764 , |payload|=788 , icmp_info=[v6=F, itype=0, icode=0, len=788, ttl=128] , first 20 bytes of ICMP payload=shell\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 192.168.38.131 192.168.38.172 0 - - Notice::ACTION_LOG 3600.000000 - - - - -
#close 2021-05-07-14-43-48
Copyright (c) 2021, Corelight, Inc. All rights reserved.
소스 및 바이너리 형태로의 재배포와 사용은 수정 여부와 관계없이 다음 조건을 충족하는 경우에 허용됩니다:
(1) 소스 코드의 재배포는 위의 저작권 고지, 이 조건 목록 및 다음 면책 조항을 유지해야 합니다.
(2) 바이너리 형태의 재배포는 위의 저작권 고지, 이 조건 목록 및 다음 면책 조항을 배포본과 함께 제공되는 문서 및/또는 기타 자료에 포함해야 합니다.
(3) Corelight의 이름이나 어떠한 기여자의 이름도 사전 서면 승인 없이 이 소프트웨어에서 파생된 제품을 보증하거나 홍보하는 데 사용할 수 없습니다.
이 소프트웨어는 저작권 보유자 및 기여자에 의해 "있는 그대로" 제공되며, 상품성 및 특정 목적에의 적합성에 대한 묵시적 보증을 포함하되 이에 국한되지 않는 모든 명시적 또는 묵시적 보증은 부인됩니다. 어떠한 경우에도 저작권 소유자나 기여자는 직접, 간접, 우발, 특별, 예시적 또는 결과적 손해(대체 상품 또는 서비스의 조달, 사용, 데이터 또는 이익의 손실, 업무 중단을 포함하되 이에 국한되지 않음)에 대해, 계약, 엄격한 책임 또는 불법 행위(과실 또는 기타 포함) 등 어떠한 책임 이론에 의해서도, 이 소프트웨어 사용과 관련하여 발생한 어떤 방식으로든 책임을 지지 않으며, 그러한 손해의 가능성이 사전에 통보된 경우에도 마찬가지입니다.