Biz44e
After analysing several packets we can conclude that there is something to be done with ICMP.
Biz44e
- After analysing several packets we can conclude that there is something to be done with
ICMP. - So apply the
ICMP filterand startanalyzing. - We can see that packets from the
source = 10.30.8.102anddestination = 192.168.42.83has someZIPMagic Numbers. - In
scapythere are lots of ways to extract the data. - Here since the
lengthis different for each packet we can easilyextractthe content. - Here to avoid he unwanted chunks apply some filter to slice them.
- It can be indentified by seeing the
hexof theZIP.



from scapy.all import *
f=rdpcap('bizz.pcap')
b = ''
for i in f[ICMP]: # Filter ICMP Packets
if len(i) == 3528: # Filter Packet 1
b+=str(i)[329:-1] # To Avoid Unwanted hex chunks slice the output
if len(i) == 3526: # Filter Packet 2
b+=str(i)[411:-1] # To Avoid Unwanted hex chunks slice the output
if len(i) == 3524: # Filter Packet 3
b+=str(i)[451:-1] # To Avoid Unwanted hex chunks slice the output
with open("final.zip", "wb") as g: # Write to the File
g.write(bytes.fromhex(b))
g.close()
- After
complilingandrunningthescriptwe shall get theZIPfile.
PCAP File — Script — Zip File — PNG File


메타데이터
- post_id
- 96810e9b2e3e
- slug
- biz44e-96810e9b2e3e
- url
- https://medium.com/@a3x3k/biz44e-96810e9b2e3e
- canonical_url
- https://medium.com/@a3x3k/biz44e-96810e9b2e3e
- author_url
- https://medium.com/@a3x3k
- status
- ok
- fetched_at
- 2026-07-28 05:30:14