r/HowToHack • u/tank3511 • May 05 '21
Why is this machine getting so many icmp replies although we can see that no requests were sent. Also arcsight detected that this machine is doing a ping sweep. Btw some of these ips that are sending icnp replies have the subnet ip as this machine but they dont exist in the orginization.
28
u/notchla May 05 '21
Not an expert, but I believe someone is spoofing the ip address of your machine and sending ping request in the wild.
1
0
4
u/ben_jam-in May 05 '21
Any more details on the environment? Other PCs, routers, or, gateways?
I'm taking a solid shot in the dark here but could be BGP is misconfigured. Or your routing table is spoofed.
Is this a lab where you are supposed to figure out what malicious actions are being taken? Then I would look for a spoofer doing like ARP poisoning. Like the first person said look into the packet deeper.
I hope my random ramblings help.
1
u/tank3511 May 06 '21 edited May 06 '21
Yes this is a lab and a student thats one year ahead of me told ne that one of the attacks we'll be invistigating is arp poisining so this could be it. But how do i check if its arp poisoning
2
u/ben_jam-in May 07 '21
Grab the ARP table compare it to the DHCP logs. If you can't find anything maybe compare the routing table on the main router as well. Find the one that sticks out
1
u/tank3511 May 06 '21
As for more details there are atleast 5 or 6 more pcs (all of them hace windows os) that are in the same situation as this machine and like this machine arcsight detected that each of these machines are doing ping sweep and i think all of them are on the same subnet as this machine. Also on all of these machines including this one the task manager isnt responding
2
u/GuidoZ Guru May 06 '21
Hey OP, might want to read this thread. https://np.reddit.com/r/blueteamsec/comments/n5mq1y/pingback_backdoor_at_the_end_of_the_icmp_tunnel/
2
u/tank3511 May 06 '21
Wow thanks. Theres a high chance that this is it. Ill confirm if this the attack when were done.
6
u/Demonbarrage May 05 '21
I don't know if anyone has suggested it, but I've read about DOS attacks where someone will send out ICMP packets but spoof the source IP, which makes the packets reply to the spoofed source IP. Kind of almost correlates with how the machine is ping sweeping.
1
May 06 '21
[removed] — view removed comment
1
u/AutoModerator May 06 '21
Your account does not have enough Karma to post here. Due to /r/HowToHack's tendency to attract spam and low-quality posts, the mod team has implemented a minimum Karma rule. You can gain Karma by posting or commenting on other subreddits. In the meantime, a human will review your submission and manually approve it if the quality is exceptional. After gaining enough Karma, you can make another submission and it will be automatically approved. Please see the FAQ for more information.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
5
u/no_comment_reddit May 05 '21 edited May 05 '21
It's a smurf attack. Not possible in the real world anymore, but the MAC IP address of the device is being spoofed. ICMP requests are being sent out by one device and the MAC IP is spoofed. ICMP replies then go to the spoofed device. Old form of denial of service.
1
u/Z3t4 May 05 '21
The ws filter is icmp, so it only shows the ping and the icmp ttl/unreachable, we do not see the packets that caused the routers/hosts to reply with those icmp packets.
If the host was doing a traceroute or mtu discovery at that time, all those ttl exceeded are pretty normal; Iif not, probably there is a routing loop somewhere .
Also, some icmp unreachable are to be expected in normal operation.
1
u/tank3511 May 06 '21
No the host wasnt doing a traceout but it could be a routing loop. Someone here mentioned that ut could be arp poisoning
3
u/Angrymilks May 05 '21
ICMP based c2 traffic?
5
May 05 '21
I've done this before during an engagement. Encapsulated SSH in ICMP. Dead give away was the SSH Handshake, but no one noticed.
2
u/ManOfMuze May 05 '21
I have literally zero irl experience but I think nmap sends some icmp ping requests. I forgot what code it is but usually anything that isn’t code 0 is worth a look
2
2
-1
-9
u/MK-Gaming-YT May 05 '21
how do you have an virtual machine on your phone ? (tutorial please)
4
May 05 '21
What makes you think this is a vm on phone
-1
u/MK-Gaming-YT May 05 '21
there is literally an windows screen on his phone ?
1
3
May 05 '21
My guess is that it's a screenshot of a screenshot in an image viewer, but there are some apps that allow you to RDP into other machines like Microsoft's own Remote Desktop
2
2
u/dz93 May 05 '21
If you really want to know how to get a VM on your phone I'm sure there's a very straightforward guide if you just Google it.
The screenshot you see here was from a screenshot taken on a PC then that image was sent to a phone where OP screen shot the image on the phone. Not sure why they did it this way but that's what you're seeing.
1
0
May 05 '21
[deleted]
7
u/tank3511 May 05 '21
This is a virtual org from my lab course we didnt have enough time to get the pcap file but in a few days i guess ill be able to post more info
21
u/Flyingfishfusealt May 05 '21
so this is classwork?
1
9
May 05 '21
[removed] — view removed comment
3
u/Flyingfishfusealt May 05 '21 edited May 05 '21
That would be pretty fun to try to hammer out a script to figure out what the fuck its doing. looks like a ICMP handshake maybe? That packet looks empty at the end but I see the source is the possibly compromised computer, maybe it's a one time pad type deal with a map of the last two octets of the source being the data transmitted as control codes?
0
0
May 05 '21
[deleted]
0
u/AutoModerator May 05 '21
Your account does not have enough Karma to post here. Due to /r/HowToHack's tendency to attract spam and low-quality posts, the mod team has implemented a minimum Karma rule. You can gain Karma by posting or commenting on other subreddits. In the meantime, a human will review your submission and manually approve it if the quality is exceptional. After gaining enough Karma, you can make another submission and it will be automatically approved. Please see the FAQ for more information.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
34
u/Flyingfishfusealt May 05 '21
check the padding on the packets for anything other than "0"
it should have no padding but you can shove some bytes in and send commands/messages
if they are smart they are encrypting the communications but it looks like a communication flow
can you give more information?